Lines Matching refs:proto
122 int proto;
129 proto = ip->ip_p;
146 if (ep->proto >= 0 && ep->proto != proto)
149 prio = (*ep->func)(m, off, proto, ep->arg);
204 encap6_input(struct mbuf **mp, int *offp, int proto)
230 if (ep->proto >= 0 && ep->proto != proto)
233 prio = (*ep->func)(m, *offp, proto, ep->arg);
258 return (*psw->pr_input)(mp, offp, proto);
266 return rip6_input(mp, offp, proto);
285 encap_attach(int af, int proto, const struct sockaddr *sp,
304 if (ep->proto != proto)
327 ep->proto = proto;
341 encap_attach_func(int af, int proto,
357 ep->proto = proto;