Searched refs:ctlfunc (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | ip_icmp.c | 446 void (*ctlfunc)(int, struct sockaddr *, void *, struct ifnet *); in icmp_input() local 616 ctlfunc = ip_protox[icp->icmp_ip.ip_p]->pr_ctlinput; in icmp_input() 618 if (ctlfunc) { in icmp_input() 629 (*ctlfunc)(code, SA(&icmpsrc), in icmp_input()
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | icmp6.c | 996 void (*ctlfunc)(int, struct sockaddr *, void *, struct ifnet *); in icmp6_notify_error() local 1186 ctlfunc = ip6_protox[nxt]->pr_ctlinput; in icmp6_notify_error() 1187 if (ctlfunc) { in icmp6_notify_error() 1192 (void) (*ctlfunc)(code, SA(&icmp6dst), in icmp6_notify_error()
|