Home
last modified time | relevance | path

Searched refs:ip6_nxt (Results 1 – 25 of 49) sorted by relevance

12

/f-stack/freebsd/netinet6/
H A Dip6_forward.c123 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 Dip6_input.c631 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 Dip6_gre.c377 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 Dip6_fastfwd.c107 ip6->ip6_nxt == IPPROTO_HOPOPTS || in ip6_tryforward()
H A Din6_rss.c252 proto = ip6->ip6_nxt; in rss_mbuf_software_hash_v6()
H A Draw_ip6.c504 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 Din6_gif.c320 ip6->ip6_nxt = proto; in in6_gif_output()
H A Dip6_output.c591 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 Dicmp6.c925 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 Desp.c211 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 Dipsec_process.c161 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 Dipip.h53 outip6->ip6_nxt = IPPROTO_ESP; in ipip_outbound()
H A Dipsec_worker.c30 offsetof(struct ip6_hdr, ip6_nxt)); in process_ipsec_get_pkt_type()
/f-stack/freebsd/netinet/
H A Dip6.h91 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c124 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 Dnat64_translate.c568 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 Dtcpmod.c129 proto = ip6->ip6_nxt; in tcpmod_ipv6_setmss()
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_sched_fq_codel.c232 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_codel_classify_flow()
237 switch (ip6->ip6_nxt) { in fq_codel_classify_flow()
H A Ddn_sched_fq_pie.c801 *((uint8_t *) &tuple[0]) = ip6->ip6_nxt; in fq_pie_classify_flow()
806 switch (ip6->ip6_nxt) { in fq_pie_classify_flow()
H A Dip_fw_pfil.c501 if (ip6->ip6_nxt == IPPROTO_FRAGMENT) { in ipfw_divert()
/f-stack/freebsd/netipsec/
H A Dipsec_output.c265 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 Dip_fil_freebsd.c421 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 Dip_nat6.c1458 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 Dpf_norm.c919 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 Daltq_subr.c1065 fin6->fi6_proto = ip6->ip6_nxt;
1074 && ip6->ip6_nxt > IPPROTO_IPV6))
1240 proto = ip6->ip6_nxt;

12