Home
last modified time | relevance | path

Searched refs:ipprot (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dip_input.c199 struct inet_protocol *ipprot, int force_copy) in ip_run_ipprot() argument
204 if (ipprot->protocol == iph->protocol) { in ip_run_ipprot()
206 if (ipprot->copy || force_copy) in ip_run_ipprot()
210 ipprot->handler(skb2); in ip_run_ipprot()
213 ipprot = (struct inet_protocol *) ipprot->next; in ip_run_ipprot()
214 } while(ipprot != NULL); in ip_run_ipprot()
241 struct inet_protocol *ipprot; in ip_local_deliver_finish() local
250 ipprot = (struct inet_protocol *) inet_protos[hash]; in ip_local_deliver_finish()
252 if(ipprot != NULL) { in ip_local_deliver_finish()
254 ipprot->next == NULL && in ip_local_deliver_finish()
[all …]
Dicmp.c531 struct inet_protocol *ipprot; in icmp_unreach() local
652 ipprot = (struct inet_protocol *) inet_protos[hash]; in icmp_unreach()
653 while (ipprot) { in icmp_unreach()
656 nextip = (struct inet_protocol *) ipprot->next; in icmp_unreach()
665 if (protocol == ipprot->protocol && ipprot->err_handler) in icmp_unreach()
666 ipprot->err_handler(skb, info); in icmp_unreach()
668 ipprot = nextip; in icmp_unreach()
/linux-2.4.37.9/net/ipv6/
Dip6_input.c125 struct inet6_protocol *ipprot; in ip6_input_finish() local
172 for (ipprot = (struct inet6_protocol *) inet6_protos[hash]; in ip6_input_finish()
173 ipprot != NULL; in ip6_input_finish()
174 ipprot = (struct inet6_protocol *) ipprot->next) { in ip6_input_finish()
177 if (ipprot->protocol != nexthdr) in ip6_input_finish()
180 if (ipprot->copy || raw_sk) in ip6_input_finish()
184 ipprot->handler(buff); in ip6_input_finish()
Dicmp.c424 struct inet6_protocol *ipprot; in icmpv6_notify() local
459 for (ipprot = (struct inet6_protocol *) inet6_protos[hash]; in icmpv6_notify()
460 ipprot != NULL; in icmpv6_notify()
461 ipprot=(struct inet6_protocol *)ipprot->next) { in icmpv6_notify()
462 if (ipprot->protocol != nexthdr) in icmpv6_notify()
465 if (ipprot->err_handler) in icmpv6_notify()
466 ipprot->err_handler(skb, NULL, type, code, inner_offset, info); in icmpv6_notify()