Searched refs:ctlfunc (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215.1.10/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-11215.1.10/bsd/netinet6/ |
| H A D | icmp6.c | 994 void (*ctlfunc)(int, struct sockaddr *, void *, struct ifnet *); in icmp6_notify_error() local 1184 ctlfunc = ip6_protox[nxt]->pr_ctlinput; in icmp6_notify_error() 1185 if (ctlfunc) { in icmp6_notify_error() 1190 (void) (*ctlfunc)(code, SA(&icmp6dst), in icmp6_notify_error()
|