Lines Matching defs:nxt
362 int nxt = 0, ours = 0;
374 nxt = ip6->ip6_nxt;
825 nxt = hbh->ip6h_nxt;
834 nxt = ip6->ip6_nxt;
912 while (nxt != IPPROTO_DONE) {
936 if (mhist && M_TRAILINGSPACE(mhist) >= sizeof(nxt)) {
938 bcopy(&nxt, hist, sizeof(nxt));
939 mhist->m_len += sizeof(nxt);
952 if ((ipsec_bypass == 0) && (ip6_protox[nxt]->pr_flags & PR_LASTHDR) != 0) {
973 filter->ipf_filter.cookie, (mbuf_t*)&m, off, nxt);
987 if (!(ip6_protox[nxt]->pr_flags & PR_PROTOLOCK)) {
989 nxt = (*ip6_protox[nxt]->pr_input)(&m, &off);
993 nxt = (*ip6_protox[nxt]->pr_input)(&m, &off);
1406 int proto, off, nxt;
1418 nxt = -1;
1422 newoff = ip6_nexthdr(m, off, proto, &nxt);
1427 if ((proto = nxt) == IPPROTO_ROUTING) {
1438 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr);
1458 switch (nxt) {
1472 if (nxt == IPPROTO_AH)
1479 ext = ip6_pullexthdr(m, off, nxt);
1485 if (nxt == IPPROTO_AH)
1496 switch (nxt) {
1525 * the code just in case (nxt overwritten or
1537 nxt = ip6e->ip6e_nxt;
1556 ip6_pullexthdr(m, off, nxt)
1559 int nxt;
1566 switch (nxt) {
1573 printf("ip6_pullexthdr: invalid nxt=%d\n", nxt);
1578 if (nxt == IPPROTO_AH)
1628 int len, nxt;
1631 nxt = ip6->ip6_nxt;
1636 switch (nxt) {
1647 nxt = ip6e->ip6e_nxt;
1746 int nxt;
1749 nxt = -1;
1750 nxtp = &nxt;