Lines Matching defs:nxt
172 u_int16_t nxt;
405 nxt = esptail.esp_nxt;
455 if (sav->utun_is_keepalive_fn(sav->utun_pcb, &m, nxt, sav->flags, (off + esplen + ivlen))) {
466 if (ipsec4_tunnel_validate(m, off + esplen + ivlen, nxt, sav, &ifamily)) {
595 nxt = IPPROTO_DONE;
619 ip->ip_p = nxt;
633 if (nxt == IPPROTO_TCP || nxt == IPPROTO_UDP) {
638 if (nxt != IPPROTO_DONE) {
639 if ((ip_protox[nxt]->pr_flags & PR_LASTHDR) != 0 &&
650 if (nxt != IPPROTO_UDP) { /* not UPD packet - drop it */
692 ip_proto_dispatch_in(m, off, nxt, 0);
735 u_int16_t nxt;
955 nxt = esptail.esp_nxt;
973 if (sav->utun_is_keepalive_fn(sav->utun_pcb, &m, nxt, sav->flags, (off + esplen + ivlen))) {
984 if (ipsec6_tunnel_validate(m, off + esplen + ivlen, nxt, sav)) {
1060 nxt = IPPROTO_DONE;
1074 *prvnxtp = nxt;
1176 return nxt;