Lines Matching defs:ip6_protox
124 u_char ip6_protox[IPPROTO_MAX];
205 /* Initialize the entire ip6_protox[] array to IPPROTO_RAW. */
207 ip6_protox[i] = pr - inet6sw;
210 * in ip6_protox[].
218 ip6_protox[pr->pr_protocol] = pr - inet6sw;
225 * The protocol to be inserted into ip6_protox[] must be already registered
244 if (ip6_protox[ip6proto] != pr - inet6sw) /* IPPROTO_RAW */
254 ip6_protox[pr->pr_protocol] = pr - inet6sw;
274 if (ip6_protox[ip6proto] == pr - inet6sw) /* IPPROTO_RAW */
278 ip6_protox[ip6proto] = pr - inet6sw;
1019 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);