| /netbsd/src/external/bsd/ipf/dist/lib/ |
| D | ipft_tx.c | 369 ip6->ip6_nxt = IPPROTO_TCP; 373 ip6->ip6_nxt = IPPROTO_UDP; 377 ip6->ip6_nxt = IPPROTO_ICMPV6; 381 ip6->ip6_nxt = atoi(*cpp); 384 ip6->ip6_nxt = IPPROTO_IPV6; 389 switch (ip6->ip6_nxt) 404 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { 414 if (ip6->ip6_nxt == IPPROTO_TCP) { 429 if (ip6->ip6_nxt == IPPROTO_TCP || ip6->ip6_nxt == IPPROTO_UDP) { 448 if (ip6->ip6_nxt == IPPROTO_TCP) { [all …]
|
| /netbsd/src/sys/netinet6/ |
| D | raw_ip6.c | 194 if (in6p_ip6(inp).ip6_nxt && in rip6_input() 195 in6p_ip6(inp).ip6_nxt != proto) in rip6_input() 335 if (inp && in6p_ip6(inp).ip6_nxt && in rip6_ctlinput() 336 in6p_ip6(inp).ip6_nxt == nxt) in rip6_ctlinput() 465 ip6->ip6_nxt = in6p_ip6(inp).ip6_nxt; in rip6_output() 473 const uint8_t nxt = ip6->ip6_nxt; in rip6_output() 615 in6p_ip6(inp).ip6_nxt = proto; in rip6_attach()
|
| D | ip6_input.c | 367 IP6_STATINC(IP6_STAT_NXTHIST + ip6->ip6_nxt); in ip6_input() 562 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) { in ip6_input() 615 nxt = ip6->ip6_nxt; in ip6_input() 1138 if (xip6->ip6_nxt == IPPROTO_HOPOPTS) { in ip6_savecontrol() 1144 xip6->ip6_nxt); in ip6_savecontrol() 1175 int nxt = xip6->ip6_nxt, off = sizeof(struct ip6_hdr); in ip6_savecontrol() 1363 return offsetof(struct ip6_hdr, ip6_nxt); in ip6_get_prevhdr() 1370 nxt = ip6->ip6_nxt; in ip6_get_prevhdr() 1420 *nxtp = ip6.ip6_nxt; in ip6_nexthdr()
|
| D | ip6_forward.c | 104 ip6->ip6_nxt, reason); in ip6_cantforward() 368 ip6->ip6_nxt, if_name(rcvif), in ip6_forward()
|
| D | ip6_flow.c | 306 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) in ip6flow_fastforward() 574 if (ip6_maxflows == 0 || ip6->ip6_nxt == IPPROTO_IPV6_ICMP) in ip6flow_create()
|
| D | ip6_output.c | 371 u_char *nexthdrp = &ip6->ip6_nxt; in ip6_output() 387 *mtod(exthdrs.ip6e_dest2, u_char *) = ip6->ip6_nxt; in ip6_output() 388 ip6->ip6_nxt = IPPROTO_DSTOPTS; in ip6_output() 756 if (ip6->ip6_nxt == IPPROTO_HOPOPTS) { in ip6_output() 932 nextproto = ip6->ip6_nxt; in ip6_output() 933 ip6->ip6_nxt = IPPROTO_FRAGMENT; in ip6_output()
|
| D | in6_offload.c | 85 KASSERT(iph->ip6_nxt == IPPROTO_TCP); in tcp6_segment()
|
| D | in6_l2tp.c | 138 ip6hdr.ip6_nxt = IPPROTO_L2TP; in in6_l2tp_output()
|
| D | icmp6.c | 981 u_int8_t nxt = eip6->ip6_nxt; in icmp6_notify_error() 1968 if (in6p_ip6(inp).ip6_nxt != IPPROTO_ICMPV6) in icmp6_rip6_input() 2103 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect() 2187 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_reflect() 2569 ip6->ip6_nxt = IPPROTO_ICMPV6; in icmp6_redirect_output()
|
| D | in6_gif.c | 165 ip6->ip6_nxt = proto; in in6_gif_output()
|
| /netbsd/src/external/bsd/tcpdump/dist/ |
| D | print-ip6.c | 65 nh = GET_U_1(ip6->ip6_nxt); in ip6_finddst() 193 nh = GET_U_1(ip6->ip6_nxt); in nextproto6_cksum() 290 nh = GET_U_1(ip6->ip6_nxt); in ip6_print()
|
| D | ip6.h | 90 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
|
| /netbsd/src/sys/netipsec/ |
| D | ipsec_output.c | 232 ip6->ip6_nxt = IPPROTO_UDP; in ipsec_process_done() 625 off = offsetof(struct ip6_hdr, ip6_nxt); in ipsec4_process_packet() 652 *off = offsetof(struct ip6_hdr, ip6_nxt); in compute_ipsec_pos() 653 nxt = ip6->ip6_nxt; in compute_ipsec_pos()
|
| D | xform_ipip.c | 473 ip6o->ip6_nxt = IPPROTO_IPIP; in ipip_output() 485 ip6o->ip6_nxt = IPPROTO_IPV6; in ipip_output()
|
| D | ipsec_input.c | 464 protoff = offsetof(struct ip6_hdr, ip6_nxt); in ipsec6_common_input() 468 nxt = (mtod(*mp, struct ip6_hdr *))->ip6_nxt; in ipsec6_common_input()
|
| /netbsd/src/sys/netinet/ |
| D | ip6.h | 94 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt macro
|
| /netbsd/src/sys/arch/xen/xen/ |
| D | xennet_checksum.c | 132 nxt = ip6h->ip6_nxt; in xennet_checksum_fill()
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | dump.c | 204 ip6.ip6_nxt = IPPROTO_UDP;
|
| /netbsd/src/sys/net/ |
| D | rss_config.c | 208 switch (ip6->ip6_nxt) { in rss_toeplitz_hash_from_mbuf_ipv6()
|
| D | ether_sw_offload.c | 231 proto = ip6->ip6_nxt; in ether_sw_offload_rx()
|
| /netbsd/src/sys/net/npf/ |
| D | npf_sendpkt.c | 155 ip6->ip6_nxt = IPPROTO_TCP; in npf_return_tcp()
|
| /netbsd/src/sys/external/bsd/ipf/netinet/ |
| D | ip_nat6.c | 1433 p = oip6->ip6_nxt; in ipf_nat6_icmperrorlookup() 1590 if (oip6->ip6_nxt == IPPROTO_TCP) { in ipf_nat6_icmperror() 1594 } else if (oip6->ip6_nxt == IPPROTO_UDP) { in ipf_nat6_icmperror() 1601 } else if (oip6->ip6_nxt == IPPROTO_ICMPV6) in ipf_nat6_icmperror() 1769 if (oip6->ip6_nxt == IPPROTO_UDP) { in ipf_nat6_icmperror() 1780 } else if (oip6->ip6_nxt == IPPROTO_TCP) { in ipf_nat6_icmperror() 3686 ip6->ip6_nxt = IPPROTO_UDP; in ipf_nat6_builddivertmp() 3688 ip6->ip6_nxt = IPPROTO_IPIP; in ipf_nat6_builddivertmp()
|
| /netbsd/src/sys/altq/ |
| D | altq_subr.c | 840 fin6->fi6_proto = ip6->ip6_nxt; in altq_extractflow() 849 && ip6->ip6_nxt > IPPROTO_IPV6)) in altq_extractflow() 1009 proto = ip6->ip6_nxt; in extract_ports6()
|
| /netbsd/src/external/bsd/ipf/dist/ |
| D | ip_nat6.c | 1466 p = oip6->ip6_nxt; 1629 if (oip6->ip6_nxt == IPPROTO_TCP) { 1633 } else if (oip6->ip6_nxt == IPPROTO_UDP) { 1640 } else if (oip6->ip6_nxt == IPPROTO_ICMPV6) 1808 if (oip6->ip6_nxt == IPPROTO_UDP) { 1819 } else if (oip6->ip6_nxt == IPPROTO_TCP) { 3751 ip6->ip6_nxt = IPPROTO_UDP; 3753 ip6->ip6_nxt = IPPROTO_IPIP;
|
| /netbsd/src/usr.sbin/npf/npftest/libnpftest/ |
| D | npf_mbuf_subr.c | 206 ip6->ip6_nxt = proto; in mbuf_construct6()
|