Lines Matching refs:ipprot
199 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()
255 ipprot->protocol == protocol) { in ip_local_deliver_finish()
259 ret = ipprot->handler(skb); in ip_local_deliver_finish()
263 flag = ip_run_ipprot(skb, skb->nh.iph, ipprot, (raw_sk != NULL)); in ip_local_deliver_finish()