Lines Matching refs:nxt
453 int nxt = 0, ours = 0;
525 nxt = ip6->ip6_nxt;
986 nxt = hbh->ip6h_nxt;
1009 nxt = ip6->ip6_nxt;
1135 while (nxt != IPPROTO_DONE) {
1162 (ip6_protox[nxt]->pr_flags & PR_LASTHDR) != 0) {
1185 (mbuf_t *)&m, off, nxt);
1203 if ((pr_input = ip6_protox[nxt]->pr_input) == NULL) {
1206 nxt = IPPROTO_DONE;
1207 } else if (!(ip6_protox[nxt]->pr_flags & PR_PROTOLOCK)) {
1209 nxt = pr_input(&m, &off, nxt);
1212 nxt = pr_input(&m, &off, nxt);
1717 int nxt = ip6->ip6_nxt, off = sizeof (struct ip6_hdr);
1737 switch (nxt) {
1751 if (nxt == IPPROTO_AH)
1758 ext = ip6_pullexthdr(m, off, nxt);
1764 if (nxt == IPPROTO_AH)
1775 switch (nxt) {
1812 * the code just in case (nxt overwritten or
1824 nxt = ip6e->ip6e_nxt;
1885 ip6_pullexthdr(m, off, nxt)
1888 int nxt;
1895 switch (nxt) {
1902 printf("ip6_pullexthdr: invalid nxt=%d\n", nxt);
1907 if (nxt == IPPROTO_AH)
1957 int len, nxt;
1960 nxt = ip6->ip6_nxt;
1965 switch (nxt) {
1976 nxt = ip6e->ip6e_nxt;
2066 int nxt;
2069 nxt = -1;
2070 nxtp = &nxt;