Lines Matching refs:nxt
336 int *nxt, int *ours)
381 *nxt = hbh->ip6h_nxt;
418 int nxt, ours = 0;
920 error = ip6_input_hbh(m, &plen, &rtalert, &off, &nxt, &ours);
924 nxt = ip6->ip6_nxt;
997 while (nxt != IPPROTO_DONE) {
1019 if (ip6_ipsec_input(m, nxt))
1027 if (nxt == IPPROTO_ICMPV6 && rtalert != ~0)
1030 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
1492 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr);
1512 switch (nxt) {
1526 if (nxt == IPPROTO_AH)
1533 ext = ip6_pullexthdr(m, off, nxt);
1539 if (nxt == IPPROTO_AH)
1550 switch (nxt) {
1580 * the code just in case (nxt overwritten or
1592 nxt = ip6e->ip6e_nxt;
1648 ip6_pullexthdr(struct mbuf *m, size_t off, int nxt)
1655 switch (nxt) {
1662 printf("ip6_pullexthdr: invalid nxt=%d\n", nxt);
1667 if (nxt == IPPROTO_AH)
1715 int len, nxt;
1718 nxt = ip6->ip6_nxt;
1723 switch (nxt) {
1734 nxt = ip6e->ip6e_nxt;
1825 int nxt;
1828 nxt = -1;
1829 nxtp = &nxt;