| /f-stack/freebsd/netinet6/ |
| H A D | ip6_forward.c | 123 ip6->ip6_nxt, in ip6_forward() 221 ip6->ip6_nxt, in ip6_forward() 294 ip6->ip6_nxt, if_name(m->m_pkthdr.rcvif), in ip6_forward()
|
| H A D | ip6_input.c | 631 IP6STAT_INC(ip6s_nxthist[ip6->ip6_nxt]); in ip6_input() 844 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) { in ip6_input() 848 nxt = ip6->ip6_nxt; in ip6_input() 1401 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) { in ip6_savecontrol() 1424 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr); in ip6_savecontrol() 1598 return (offsetof(struct ip6_hdr, ip6_nxt)); in ip6_get_prevhdr() 1603 nxt = ip6->ip6_nxt; in ip6_get_prevhdr() 1646 *nxtp = ip6.ip6_nxt; in ip6_nexthdr()
|
| H A D | ip6_gre.c | 377 sc->gre_oip6.ip6_nxt = IPPROTO_UDP; in in6_gre_attach() 383 sc->gre_oip6.ip6_nxt = IPPROTO_GRE; in in6_gre_attach()
|
| H A D | ip6_fastfwd.c | 107 ip6->ip6_nxt == IPPROTO_HOPOPTS || in ip6_tryforward()
|
| H A D | in6_rss.c | 252 proto = ip6->ip6_nxt; in rss_mbuf_software_hash_v6()
|
| H A D | raw_ip6.c | 504 ip6->ip6_nxt = inp->inp_ip_p; in rip6_output() 533 *p = in6_cksum(m, ip6->ip6_nxt, sizeof(*ip6), plen); in rip6_output()
|
| H A D | in6_gif.c | 320 ip6->ip6_nxt = proto; in in6_gif_output()
|
| H A D | ip6_output.c | 591 nexthdrp = &ip6->ip6_nxt; in ip6_output() 622 *mtod(exthdrs.ip6e_dest2, u_char *) = ip6->ip6_nxt; in ip6_output() 623 ip6->ip6_nxt = IPPROTO_DSTOPTS; in ip6_output() 1241 nextproto = ip6->ip6_nxt; in ip6_output() 1242 ip6->ip6_nxt = IPPROTO_FRAGMENT; in ip6_output()
|
| H A D | icmp6.c | 925 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error() 2089 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect() 2153 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect() 2511 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_redirect_output()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | esp.c | 211 ip6->ip6_nxt = *nexthdr; in esp_inbound_post() 252 nlp = ip6->ip6_nxt; in esp_outbound() 322 ip6->ip6_nxt = IPPROTO_ESP; in esp_outbound()
|
| H A D | ipsec_process.c | 161 ofs = offsetof(struct ip6_hdr, ip6_nxt); in copy_to_trf() 168 ofs = offsetof(struct ip6_hdr, ip6_nxt); in copy_to_trf()
|
| H A D | ipip.h | 53 outip6->ip6_nxt = IPPROTO_ESP; in ipip_outbound()
|
| H A D | ipsec_worker.c | 30 offsetof(struct ip6_hdr, ip6_nxt)); in process_ipsec_get_pkt_type()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip6.h | 91 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 124 proto = ip6->ip6_nxt; in nptv6_getlasthdr() 179 ip6->ip6_nxt); in nptv6_translate_icmpv6() 241 ip6->ip6_nxt); in nptv6_rewrite_internal() 299 ip6->ip6_nxt); in nptv6_rewrite_external() 382 ip6->ip6_nxt); in ipfw_nptv6()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 568 ip6f.ip6f_nxt = ip6->ip6_nxt; in nat64_fragment6() 569 ip6->ip6_nxt = IPPROTO_FRAGMENT; in nat64_fragment6() 749 oip6->ip6_nxt = IPPROTO_ICMPV6; in nat64_icmp6_reflect() 1117 eip6->ip6_nxt = (ip.ip_p == IPPROTO_ICMP) ? IPPROTO_ICMPV6: ip.ip_p; in nat64_icmp_translate() 1202 proto = ip6->ip6_nxt; in nat64_getlasthdr() 1295 ip6.ip6_nxt = (proto == IPPROTO_ICMP) ? IPPROTO_ICMPV6: proto; in nat64_do_handle_ip4() 1507 proto = ip6i->ip6_nxt; in nat64_handle_icmp6()
|
| /f-stack/freebsd/netpfil/ipfw/pmod/ |
| H A D | tcpmod.c | 129 proto = ip6->ip6_nxt; in tcpmod_ipv6_setmss()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | dn_sched_fq_codel.c | 232 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_codel_classify_flow() 237 switch (ip6->ip6_nxt) { in fq_codel_classify_flow()
|
| H A D | dn_sched_fq_pie.c | 801 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_pie_classify_flow() 806 switch (ip6->ip6_nxt) { in fq_pie_classify_flow()
|
| H A D | ip_fw_pfil.c | 501 if (ip6->ip6_nxt == IPPROTO_FRAGMENT) { in ipfw_divert()
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_output.c | 265 off = offsetof(struct ip6_hdr, ip6_nxt); in ipsec4_perform_request() 581 off = offsetof(struct ip6_hdr, ip6_nxt); in ipsec6_perform_request() 972 ip6->ip6_nxt = proto; in ipsec_encap()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_fil_freebsd.c | 421 ip6->ip6_nxt = IPPROTO_TCP; 481 fnew.fin_p = ip6->ip6_nxt; 656 ip6->ip6_nxt = IPPROTO_ICMPV6; 1472 sum = in6_cksum(m, ip6->ip6_nxt, off, len);
|
| H A D | ip_nat6.c | 1458 p = oip6->ip6_nxt; 1621 if (oip6->ip6_nxt == IPPROTO_TCP) { 1625 } else if (oip6->ip6_nxt == IPPROTO_UDP) { 1632 } else if (oip6->ip6_nxt == IPPROTO_ICMPV6) 1800 if (oip6->ip6_nxt == IPPROTO_UDP) { 1811 } else if (oip6->ip6_nxt == IPPROTO_TCP) { 3743 ip6->ip6_nxt = IPPROTO_UDP; 3745 ip6->ip6_nxt = IPPROTO_IPIP;
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_norm.c | 919 ip6->ip6_nxt = proto; in pf_reassemble6() 973 proto = hdr->ip6_nxt; in pf_refragment6() 974 hdr->ip6_nxt = IPPROTO_FRAGMENT; in pf_refragment6() 1189 else if (r->proto && r->proto != h->ip6_nxt) in pf_normalize_ip6() 1222 proto = h->ip6_nxt; in pf_normalize_ip6()
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_subr.c | 1065 fin6->fi6_proto = ip6->ip6_nxt; 1074 && ip6->ip6_nxt > IPPROTO_IPV6)) 1240 proto = ip6->ip6_nxt;
|