nexthdr 296 drivers/crypto/chelsio/chcr_ipsec.c if (ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr)) nexthdr 480 drivers/infiniband/hw/i40iw/i40iw_cm.c ip6h->nexthdr = 6; nexthdr 336 drivers/infiniband/sw/rxe/rxe_net.c ip6h->nexthdr = proto; nexthdr 418 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c proto = ipv6_hdr(skb)->nexthdr; nexthdr 3279 drivers/net/bonding/bond_main.c proto = iph6->nexthdr; nexthdr 2089 drivers/net/ethernet/amazon/ena/ena_netdev.c l4_protocol = ipv6_hdr(skb)->nexthdr; nexthdr 1796 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (ipv6_hdr(skb)->nexthdr != IPPROTO_UDP) nexthdr 494 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ipv6_hdr(skb)->nexthdr == NEXTHDR_TCP) ? nexthdr 497 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ipv6_hdr(skb)->nexthdr == NEXTHDR_UDP) ? nexthdr 1248 drivers/net/ethernet/broadcom/bcmsysport.c ip_proto = ipv6_hdr(skb)->nexthdr; nexthdr 3349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c prot = ipv6_hdr(skb)->nexthdr; nexthdr 3358 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (inner_ipv6_hdr(skb)->nexthdr == IPPROTO_TCP) nexthdr 3725 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (ipv6->nexthdr == NEXTHDR_IPV6) nexthdr 3798 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c txq_index, skb->ip_summed, skb->protocol, ipv6_hdr(skb)->nexthdr, nexthdr 1307 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (iph->nexthdr == IPPROTO_UDP) nexthdr 1518 drivers/net/ethernet/broadcom/genet/bcmgenet.c ip_proto = ipv6_hdr(skb)->nexthdr; nexthdr 2869 drivers/net/ethernet/brocade/bna/bnad.c proto = ipv6_hdr(skb)->nexthdr; nexthdr 1368 drivers/net/ethernet/cavium/thunder/nicvf_queues.c ip.v6->nexthdr; nexthdr 1106 drivers/net/ethernet/chelsio/cxgb4/sge.c inner_ipv6_hdr(skb)->nexthdr; nexthdr 1110 drivers/net/ethernet/chelsio/cxgb4/sge.c ipv6_hdr(skb)->nexthdr; nexthdr 1232 drivers/net/ethernet/chelsio/cxgb4/sge.c l4_hdr = ipv6_hdr(skb)->nexthdr; nexthdr 1104 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (ip6h->nexthdr == IPPROTO_TCP) nexthdr 1106 drivers/net/ethernet/chelsio/cxgb4vf/sge.c else if (ip6h->nexthdr == IPPROTO_UDP) nexthdr 297 drivers/net/ethernet/cisco/enic/enic_main.c proto = ipv6_hdr(skb)->nexthdr; nexthdr 1174 drivers/net/ethernet/cortina/gemini.c tcp = ipv6_hdr(skb)->nexthdr == IPPROTO_TCP; nexthdr 904 drivers/net/ethernet/emulex/benet/be.h val = (ipv6_hdr(skb)->nexthdr == NEXTHDR_TCP); nexthdr 916 drivers/net/ethernet/emulex/benet/be.h val = (ipv6_hdr(skb)->nexthdr == NEXTHDR_UDP); nexthdr 929 drivers/net/ethernet/emulex/benet/be.h return ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr); nexthdr 808 drivers/net/ethernet/emulex/benet/be_main.c inner_ip_hdr(skb)->protocol : inner_ipv6_hdr(skb)->nexthdr; nexthdr 814 drivers/net/ethernet/emulex/benet/be_main.c ip_hdr(skb)->protocol : ipv6_hdr(skb)->nexthdr; nexthdr 1101 drivers/net/ethernet/emulex/benet/be_main.c if (ip6h->nexthdr != NEXTHDR_TCP && nexthdr 1102 drivers/net/ethernet/emulex/benet/be_main.c ip6h->nexthdr != NEXTHDR_UDP) { nexthdr 1320 drivers/net/ethernet/emulex/benet/be_main.c u8 nexthdr = hdr->nexthdr; nexthdr 1322 drivers/net/ethernet/emulex/benet/be_main.c if (nexthdr == IPPROTO_ICMPV6) { nexthdr 5242 drivers/net/ethernet/emulex/benet/be_main.c l4_hdr = ipv6_hdr(skb)->nexthdr; nexthdr 1443 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c l4_proto = ipv6h->nexthdr; nexthdr 104 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (ipv6hdr->nexthdr == IPPROTO_TCP && nexthdr 757 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4_proto_tmp = l3.v6->nexthdr; nexthdr 781 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4_proto_tmp = l3.v6->nexthdr; nexthdr 216 drivers/net/ethernet/huawei/hinic/hinic_tx.c *l4_proto = ip->v6->nexthdr; nexthdr 1048 drivers/net/ethernet/ibm/ibmveth.c ipv6_hdr(skb)->nexthdr != IPPROTO_TCP)) && nexthdr 1202 drivers/net/ethernet/ibm/ibmveth.c if (iph6->nexthdr == IPPROTO_TCP) { nexthdr 1259 drivers/net/ethernet/ibm/ibmveth.c iph_proto = iph6->nexthdr; nexthdr 1284 drivers/net/ethernet/ibm/ibmvnic.c if (ipv6_hdr(skb)->nexthdr == IPPROTO_TCP) nexthdr 1286 drivers/net/ethernet/ibm/ibmvnic.c else if (ipv6_hdr(skb)->nexthdr == IPPROTO_UDP) nexthdr 1532 drivers/net/ethernet/ibm/ibmvnic.c proto = ipv6_hdr(skb)->nexthdr; nexthdr 2781 drivers/net/ethernet/intel/e1000/e1000_main.c if (ipv6_hdr(skb)->nexthdr == IPPROTO_TCP) nexthdr 5520 drivers/net/ethernet/intel/e1000e/netdev.c if (ipv6_hdr(skb)->nexthdr == IPPROTO_TCP) nexthdr 701 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = ipv6_hdr(skb)->nexthdr; nexthdr 726 drivers/net/ethernet/intel/fm10k/fm10k_main.c inner_l4_hdr = inner_ipv6_hdr(skb)->nexthdr; nexthdr 841 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = network_hdr.ipv6->nexthdr; nexthdr 3081 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = ip.v6->nexthdr; nexthdr 3155 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = ip.v6->nexthdr; nexthdr 2003 drivers/net/ethernet/intel/iavf/iavf_txrx.c l4_proto = ip.v6->nexthdr; nexthdr 2077 drivers/net/ethernet/intel/iavf/iavf_txrx.c l4_proto = ip.v6->nexthdr; nexthdr 1787 drivers/net/ethernet/intel/ice/ice_txrx.c l4_proto = ip.v6->nexthdr; nexthdr 822 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr)) nexthdr 9356 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_nexthdr *nexthdr) nexthdr 9377 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr) { nexthdr 9378 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr->off == cls->knode.sel->keys[i].off && nexthdr 9379 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c nexthdr->val == nexthdr 9381 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c nexthdr->mask == nexthdr 9389 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr && !found_jump_field) nexthdr 9463 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_nexthdr *nexthdr = ixgbe_ipv4_jumps; nexthdr 9483 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; nexthdr[i].jump; i++) { nexthdr 9484 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr[i].o != cls->knode.sel->offoff || nexthdr 9485 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c nexthdr[i].s != cls->knode.sel->offshift || nexthdr 9486 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c nexthdr[i].m != nexthdr 9508 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c field_ptr, &nexthdr[i]); nexthdr 9510 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c jump->mat = nexthdr[i].jump; nexthdr 427 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr)) nexthdr 2105 drivers/net/ethernet/jme.c ip_proto = ipv6_hdr(skb)->nexthdr; nexthdr 1866 drivers/net/ethernet/marvell/mvneta.c l4_proto = ip6h->nexthdr; nexthdr 2905 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c l4_proto = ip6h->nexthdr; nexthdr 604 drivers/net/ethernet/mellanox/mlx4/en_rx.c __u8 nexthdr = ipv6h->nexthdr; nexthdr 607 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (unlikely(nexthdr == IPPROTO_FRAGMENT || nexthdr 608 drivers/net/ethernet/mellanox/mlx4/en_rx.c nexthdr == IPPROTO_HOPOPTS || nexthdr 609 drivers/net/ethernet/mellanox/mlx4/en_rx.c nexthdr == IPPROTO_SCTP)) nexthdr 615 drivers/net/ethernet/mellanox/mlx4/en_rx.c skb->csum = csum_add(temp, (__force __wsum)*(__be16 *)&ipv6h->nexthdr); nexthdr 1030 drivers/net/ethernet/mellanox/mlx4/en_tx.c ip.v6->nexthdr; nexthdr 407 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c &ip6h->nexthdr, e); nexthdr 78 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr; nexthdr 452 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr)) nexthdr 50 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c unsigned char nexthdr; nexthdr 155 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr; nexthdr 325 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c xo->proto = mdata->content.rx.nexthdr; nexthdr 828 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c ((struct ipv6hdr *)ip_p)->nexthdr; nexthdr 2621 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c __u8 nexthdr; nexthdr 2652 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c hoplimit_word->nexthdr) { nexthdr 618 drivers/net/ethernet/netronome/nfp/flower/action.c u8 nexthdr; nexthdr 635 drivers/net/ethernet/netronome/nfp/flower/action.c if (fl_hl_mask->nexthdr || fl_hl_mask->payload_len) { nexthdr 799 drivers/net/ethernet/netronome/nfp/nfp_net_common.c l4_hdr = ipv6h->nexthdr; nexthdr 3524 drivers/net/ethernet/netronome/nfp/nfp_net_common.c l4_hdr = ipv6_hdr(skb)->nexthdr; nexthdr 1912 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c l4proto = ipv6_hdr(skb)->nexthdr; nexthdr 1736 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (ip6h->nexthdr != IPPROTO_TCP) { nexthdr 2547 drivers/net/ethernet/qlogic/qed/qed_ll2.c ipv6_hdr(skb)->nexthdr == NEXTHDR_IPV6)) nexthdr 475 drivers/net/ethernet/qlogic/qede/qede_filter.c ip_proto = ipv6_hdr(skb)->nexthdr; nexthdr 1569 drivers/net/ethernet/qlogic/qede/qede_filter.c ip6->nexthdr = NEXTHDR_TCP; nexthdr 1572 drivers/net/ethernet/qlogic/qede/qede_filter.c ip6->nexthdr = NEXTHDR_UDP; nexthdr 210 drivers/net/ethernet/qlogic/qede/qede_fp.c (ipv6_hdr(skb)->nexthdr == NEXTHDR_IPV6)) nexthdr 250 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ipv6_hdr(skb)->nexthdr; nexthdr 1716 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ipv6_hdr(skb)->nexthdr; nexthdr 427 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (inner_ipv6_hdr(skb)->nexthdr == IPPROTO_UDP) nexthdr 565 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4proto = ipv6_hdr(skb)->nexthdr; nexthdr 756 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4_is_udp = ipv6_hdr(skb)->nexthdr == IPPROTO_UDP; nexthdr 128 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c csum_field = rmnet_map_get_csum_field(ip6h->nexthdr, txporthdr); nexthdr 142 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c length = (ip6h->nexthdr == IPPROTO_UDP) ? nexthdr 146 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c length, ip6h->nexthdr, 0)); nexthdr 155 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c switch (ip6h->nexthdr) { nexthdr 231 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (ip6h->nexthdr == IPPROTO_TCP || ip6h->nexthdr == IPPROTO_UDP) { nexthdr 232 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c csum = (u16 *)rmnet_map_get_csum_field(ip6h->nexthdr, txphdr); nexthdr 251 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (ip6h->nexthdr == IPPROTO_UDP) nexthdr 5827 drivers/net/ethernet/realtek/r8169_main.c ip_protocol = ipv6_hdr(skb)->nexthdr; nexthdr 159 drivers/net/ethernet/sfc/tx_tso.c EFX_WARN_ON_ONCE_PARANOID(ipv6_hdr(skb)->nexthdr != NEXTHDR_TCP); nexthdr 6566 drivers/net/ethernet/sun/niu.c ip_proto = ipv6_hdr(skb)->nexthdr; nexthdr 347 drivers/net/ethernet/sun/sunvnet_common.c if (ip6h->nexthdr != IPPROTO_TCP && nexthdr 348 drivers/net/ethernet/sun/sunvnet_common.c ip6h->nexthdr != IPPROTO_UDP) nexthdr 353 drivers/net/ethernet/sun/sunvnet_common.c if (ip6h->nexthdr == IPPROTO_TCP) { nexthdr 361 drivers/net/ethernet/sun/sunvnet_common.c } else if (ip6h->nexthdr == IPPROTO_UDP) { nexthdr 1188 drivers/net/ethernet/sun/sunvnet_common.c if (ip6h->nexthdr == IPPROTO_TCP || nexthdr 1189 drivers/net/ethernet/sun/sunvnet_common.c ip6h->nexthdr == IPPROTO_UDP) { nexthdr 1193 drivers/net/ethernet/sun/sunvnet_common.c ip6h->nexthdr, nexthdr 1236 drivers/net/ethernet/sun/sunvnet_common.c proto = ipv6_hdr(skb)->nexthdr; nexthdr 486 drivers/net/hyperv/netvsc_drv.c if (ip6->nexthdr == IPPROTO_TCP) nexthdr 488 drivers/net/hyperv/netvsc_drv.c else if (ip6->nexthdr == IPPROTO_UDP) nexthdr 668 drivers/net/hyperv/netvsc_drv.c if (ipv6_hdr(skb)->nexthdr == IPPROTO_TCP) nexthdr 185 drivers/net/ipvlan/ipvlan_core.c ip6h->nexthdr == NEXTHDR_ICMP) { nexthdr 468 drivers/net/ipvlan/ipvlan_core.c .flowi6_proto = ip6h->nexthdr, nexthdr 72 drivers/net/ipvlan/ipvlan_l3s.c .flowi6_proto = ip6h->nexthdr, nexthdr 971 drivers/net/thunderbolt.c ipv6_hdr(skb)->nexthdr, 0); nexthdr 359 drivers/net/usb/cdc_mbim.c iph->nexthdr == IPPROTO_ICMPV6 && nexthdr 1848 drivers/net/usb/r8152.c ip_protocol = ipv6_hdr(skb)->nexthdr; nexthdr 859 drivers/net/vmxnet3/vmxnet3_drv.c protocol = ipv6h->nexthdr; nexthdr 1262 drivers/net/vmxnet3/vmxnet3_drv.c if (hdr.ipv6->nexthdr != IPPROTO_TCP) nexthdr 188 drivers/net/vrf.c fl6.flowi6_proto = iph->nexthdr; nexthdr 927 drivers/net/vrf.c if (iph->nexthdr == NEXTHDR_ICMP) { nexthdr 970 drivers/net/vrf.c .flowi6_proto = iph->nexthdr, nexthdr 1953 drivers/net/vxlan.c pip6->nexthdr = IPPROTO_ICMPV6; nexthdr 2664 drivers/net/vxlan.c ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6) { nexthdr 1686 drivers/net/wireless/ath/wil6210/txrx.c protocol = ipv6_hdr(skb)->nexthdr; nexthdr 132 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = ipv6h->nexthdr; nexthdr 145 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = hp->nexthdr; nexthdr 911 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ((struct ipv6hdr *)skb_network_header(skb))->nexthdr != nexthdr 962 drivers/s390/net/qeth_core.h (ipv == 6 && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP)) nexthdr 195 drivers/staging/gdm724x/gdm_lte.c pseudo_header.ph.ph_nxt = ipv6->nexthdr; nexthdr 254 drivers/staging/gdm724x/gdm_lte.c if (ipv6_in->version != 6 || ipv6_in->nexthdr != IPPROTO_ICMPV6) nexthdr 382 drivers/staging/gdm724x/gdm_lte.c if (ipv6->nexthdr == IPPROTO_ICMPV6) /* Check NDP request */ { nexthdr 387 drivers/staging/gdm724x/gdm_lte.c } else if (ipv6->nexthdr == IPPROTO_UDP) /* Check DHCPv6 */ { nexthdr 15 include/linux/netfilter_ipv6.h nf_ip6_ext_hdr(u8 nexthdr) nexthdr 16 include/linux/netfilter_ipv6.h { return (nexthdr == IPPROTO_HOPOPTS) || nexthdr 17 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_ROUTING) || nexthdr 18 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_FRAGMENT) || nexthdr 19 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_ESP) || nexthdr 20 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_AH) || nexthdr 21 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_NONE) || nexthdr 22 include/linux/netfilter_ipv6.h (nexthdr == IPPROTO_DSTOPTS); nexthdr 244 include/net/addrconf.h static inline bool ipv6_is_mld(struct sk_buff *skb, int nexthdr, int offset) nexthdr 248 include/net/addrconf.h if (nexthdr != IPPROTO_ICMPV6 || nexthdr 145 include/net/ipv6.h __u8 nexthdr; nexthdr 160 include/net/ipv6.h u8 nexthdr; nexthdr 164 include/net/ipv6.h u8 nexthdr, __be32 frag_id, nexthdr 188 include/net/ipv6.h u8 nexthdr; nexthdr 193 include/net/ipv6.h u8 nexthdr, __be32 frag_id, struct ip6_frag_state *state); nexthdr 986 include/net/ipv6.h int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr); nexthdr 1036 include/net/ipv6.h void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, nexthdr 1055 include/net/ipv6.h bool ipv6_ext_hdr(u8 nexthdr); nexthdr 319 include/net/pkt_cls.h int nexthdr; nexthdr 14 include/net/rawv6.h void raw6_icmp_error(struct sk_buff *, int nexthdr, nexthdr 308 include/net/vxlan.h l4_hdr = ipv6_hdr(skb)->nexthdr; nexthdr 1397 include/net/xfrm.h int (*input_handler)(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 1548 include/net/xfrm.h int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type); nexthdr 1549 include/net/xfrm.h int xfrm_input_resume(struct sk_buff *skb, int nexthdr); nexthdr 1563 include/net/xfrm.h int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 1567 include/net/xfrm.h int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq); nexthdr 1569 include/net/xfrm.h static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi) nexthdr 1574 include/net/xfrm.h return xfrm_input(skb, nexthdr, spi, 0); nexthdr 1587 include/net/xfrm.h int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 1678 include/net/xfrm.h int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq); nexthdr 110 include/uapi/linux/ip.h __u8 nexthdr; nexthdr 125 include/uapi/linux/ip.h __u8 nexthdr; nexthdr 131 include/uapi/linux/ip.h __u8 nexthdr; nexthdr 49 include/uapi/linux/ipv6.h __u8 nexthdr; nexthdr 62 include/uapi/linux/ipv6.h __u8 nexthdr; nexthdr 129 include/uapi/linux/ipv6.h __u8 nexthdr; nexthdr 25 include/uapi/linux/seg6.h __u8 nexthdr; nexthdr 60 lib/test_blackhole_dev.c ip6h->nexthdr = IPPROTO_UDP; nexthdr 643 net/6lowpan/iphc.c if (lowpan_fetch_skb(skb, &hdr.nexthdr, sizeof(hdr.nexthdr))) nexthdr 647 net/6lowpan/iphc.c hdr.nexthdr); nexthdr 769 net/6lowpan/iphc.c hdr.version, ntohs(hdr.payload_len), hdr.nexthdr, nexthdr 1148 net/6lowpan/iphc.c hdr->version, ntohs(hdr->payload_len), hdr->nexthdr, nexthdr 1201 net/6lowpan/iphc.c lowpan_push_hc_data(&hc_ptr, &hdr->nexthdr, nexthdr 1202 net/6lowpan/iphc.c sizeof(hdr->nexthdr)); nexthdr 100 net/6lowpan/nhc.c nhc = lowpan_nexthdr_nhcs[hdr->nexthdr]; nexthdr 117 net/6lowpan/nhc.c nhc = lowpan_nexthdr_nhcs[hdr->nexthdr]; nexthdr 182 net/6lowpan/nhc.c hdr->nexthdr = nhc->nexthdr; nexthdr 207 net/6lowpan/nhc.c if (lowpan_nexthdr_nhcs[nhc->nexthdr]) { nexthdr 216 net/6lowpan/nhc.c lowpan_nexthdr_nhcs[nhc->nexthdr] = nhc; nexthdr 228 net/6lowpan/nhc.c lowpan_nexthdr_nhcs[nhc->nexthdr] = NULL; nexthdr 31 net/6lowpan/nhc.h .nexthdr = _nexthdr, \ nexthdr 70 net/6lowpan/nhc.h const u8 nexthdr; nexthdr 86 net/6lowpan/nhc.h struct lowpan_nhc *lowpan_nhc_by_nexthdr(u8 nexthdr); nexthdr 674 net/batman-adv/gateway_client.c if (ipv6hdr->nexthdr != IPPROTO_UDP) nexthdr 304 net/bridge/br_arp_nd_proxy.c pip6->nexthdr = IPPROTO_ICMPV6; nexthdr 72 net/bridge/br_device.c ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6) { nexthdr 121 net/bridge/br_input.c ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6) { nexthdr 347 net/bridge/br_multicast.c ip6h->nexthdr = IPPROTO_HOPOPTS; nexthdr 1656 net/bridge/br_multicast.c if (ipv6_hdr(skb)->nexthdr != IPPROTO_ICMPV6) nexthdr 119 net/bridge/br_netfilter_ipv6.c if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) { nexthdr 132 net/bridge/br_netfilter_ipv6.c if (hdr->nexthdr == NEXTHDR_HOP && br_nf_check_hbh_len(skb)) nexthdr 63 net/bridge/netfilter/ebt_ip6.c uint8_t nexthdr = ih6->nexthdr; nexthdr 67 net/bridge/netfilter/ebt_ip6.c offset_ph = ipv6_skip_exthdr(skb, sizeof(_ip6h), &nexthdr, &frag_off); nexthdr 70 net/bridge/netfilter/ebt_ip6.c if (NF_INVF(info, EBT_IP6_PROTO, info->protocol != nexthdr)) nexthdr 118 net/bridge/netfilter/ebt_log.c uint8_t nexthdr; nexthdr 128 net/bridge/netfilter/ebt_log.c &ih->saddr, &ih->daddr, ih->priority, ih->nexthdr); nexthdr 129 net/bridge/netfilter/ebt_log.c nexthdr = ih->nexthdr; nexthdr 130 net/bridge/netfilter/ebt_log.c offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr, &frag_off); nexthdr 133 net/bridge/netfilter/ebt_log.c print_ports(skb, nexthdr, offset_ph); nexthdr 373 net/bridge/netfilter/nf_conntrack_bridge.c unsigned char pnum = ipv6_hdr(skb)->nexthdr; nexthdr 223 net/bridge/netfilter/nft_reject_bridge.c u8 proto = ip6h->nexthdr; nexthdr 1062 net/core/flow_dissector.c ip_proto = iph->nexthdr; nexthdr 1298 net/core/flow_dissector.c ip_proto = fh->nexthdr; nexthdr 229 net/core/lwt_bpf.c fl6.flowi6_proto = iph6->nexthdr; nexthdr 554 net/core/lwt_bpf.c protocol = ipv6_hdr(skb)->nexthdr; nexthdr 417 net/core/netpoll.c ip6h->nexthdr = IPPROTO_UDP; nexthdr 2946 net/core/pktgen.c iph->nexthdr = IPPROTO_UDP; nexthdr 4791 net/core/skbuff.c u8 nexthdr; nexthdr 4807 net/core/skbuff.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 4811 net/core/skbuff.c switch (nexthdr) { nexthdr 4825 net/core/skbuff.c nexthdr = hp->nexthdr; nexthdr 4840 net/core/skbuff.c nexthdr = hp->nexthdr; nexthdr 4859 net/core/skbuff.c nexthdr = hp->nexthdr; nexthdr 4874 net/core/skbuff.c csum = skb_checksum_setup_ip(skb, nexthdr, off); nexthdr 4881 net/core/skbuff.c skb->len - off, nexthdr, 0); nexthdr 206 net/ipv4/ah4.c ah->nexthdr = *skb_mac_header(skb); nexthdr 288 net/ipv4/ah4.c err = ah->nexthdr; nexthdr 307 net/ipv4/ah4.c int nexthdr; nexthdr 331 net/ipv4/ah4.c nexthdr = ah->nexthdr; nexthdr 434 net/ipv4/ah4.c err = nexthdr; nexthdr 542 net/ipv4/esp4.c u8 nexthdr[2]; nexthdr 554 net/ipv4/esp4.c if (skb_copy_bits(skb, skb->len - alen - 2, nexthdr, 2)) nexthdr 558 net/ipv4/esp4.c padlen = nexthdr[0]; nexthdr 573 net/ipv4/esp4.c ret = nexthdr[1]; nexthdr 47 net/ipv4/ip_vti.c static int vti_input(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 66 net/ipv4/ip_vti.c return xfrm_input(skb, nexthdr, spi, encap_type); nexthdr 75 net/ipv4/ip_vti.c static int vti_input_proto(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 78 net/ipv4/ip_vti.c return vti_input(skb, nexthdr, spi, encap_type, false); nexthdr 61 net/ipv4/xfrm4_protocol.c int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 66 net/ipv4/xfrm4_protocol.c struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); nexthdr 76 net/ipv4/xfrm4_protocol.c if ((ret = handler->input_handler(skb, nexthdr, spi, encap_type)) != -EINVAL) nexthdr 253 net/ipv6/ah6.c int nexthdr = iph->nexthdr; nexthdr 258 net/ipv6/ah6.c switch (nexthdr) { nexthdr 266 net/ipv6/ah6.c nexthdr == NEXTHDR_HOP ? nexthdr 280 net/ipv6/ah6.c nexthdr = exthdr.opth->nexthdr; nexthdr 329 net/ipv6/ah6.c u8 nexthdr; nexthdr 379 net/ipv6/ah6.c nexthdr = *skb_mac_header(skb); nexthdr 401 net/ipv6/ah6.c ah->nexthdr = nexthdr; nexthdr 480 net/ipv6/ah6.c err = ah->nexthdr; nexthdr 525 net/ipv6/ah6.c int nexthdr; nexthdr 548 net/ipv6/ah6.c nexthdr = ah->nexthdr; nexthdr 637 net/ipv6/ah6.c err = nexthdr; nexthdr 955 net/ipv6/calipso.c new->nexthdr = 0; nexthdr 1277 net/ipv6/calipso.c if (ip6_hdr->nexthdr != NEXTHDR_HOP) nexthdr 1310 net/ipv6/calipso.c if (ip6_hdr->nexthdr == NEXTHDR_HOP) { nexthdr 1352 net/ipv6/calipso.c new_hop->nexthdr = ip6_hdr->nexthdr; nexthdr 1354 net/ipv6/calipso.c ip6_hdr->nexthdr = NEXTHDR_HOP; nexthdr 1401 net/ipv6/calipso.c ip6_hdr->nexthdr = old_hop->nexthdr; nexthdr 639 net/ipv6/datagram.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 645 net/ipv6/datagram.c switch (nexthdr) { nexthdr 647 net/ipv6/datagram.c nexthdr = ptr[0]; nexthdr 653 net/ipv6/datagram.c nexthdr = ptr[0]; nexthdr 659 net/ipv6/datagram.c nexthdr = ptr[0]; nexthdr 663 net/ipv6/datagram.c nexthdr = ptr[0]; nexthdr 481 net/ipv6/esp6.c u8 nexthdr[2]; nexthdr 493 net/ipv6/esp6.c ret = skb_copy_bits(skb, skb->len - alen - 2, nexthdr, 2); nexthdr 497 net/ipv6/esp6.c padlen = nexthdr[0]; nexthdr 512 net/ipv6/esp6.c ret = nexthdr[1]; nexthdr 35 net/ipv6/esp6_offload.c if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP)) nexthdr 36 net/ipv6/esp6_offload.c return offsetof(struct ipv6hdr, nexthdr); nexthdr 40 net/ipv6/esp6_offload.c if (exthdr->nexthdr == NEXTHDR_ESP) nexthdr 124 net/ipv6/esp6_offload.c u8 proto = iph->nexthdr; nexthdr 383 net/ipv6/exthdrs.c if (hdr->nexthdr == NEXTHDR_IPV6) { nexthdr 409 net/ipv6/exthdrs.c opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); nexthdr 537 net/ipv6/exthdrs.c opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); nexthdr 887 net/ipv6/exthdrs.c phdr->rt_hdr.nexthdr = *proto; nexthdr 936 net/ipv6/exthdrs.c sr_phdr->nexthdr = *proto; nexthdr 963 net/ipv6/exthdrs.c h->nexthdr = *proto; nexthdr 13 net/ipv6/exthdrs_core.c bool ipv6_ext_hdr(u8 nexthdr) nexthdr 18 net/ipv6/exthdrs_core.c return (nexthdr == NEXTHDR_HOP) || nexthdr 19 net/ipv6/exthdrs_core.c (nexthdr == NEXTHDR_ROUTING) || nexthdr 20 net/ipv6/exthdrs_core.c (nexthdr == NEXTHDR_FRAGMENT) || nexthdr 21 net/ipv6/exthdrs_core.c (nexthdr == NEXTHDR_AUTH) || nexthdr 22 net/ipv6/exthdrs_core.c (nexthdr == NEXTHDR_NONE) || nexthdr 23 net/ipv6/exthdrs_core.c (nexthdr == NEXTHDR_DEST); nexthdr 75 net/ipv6/exthdrs_core.c u8 nexthdr = *nexthdrp; nexthdr 79 net/ipv6/exthdrs_core.c while (ipv6_ext_hdr(nexthdr)) { nexthdr 83 net/ipv6/exthdrs_core.c if (nexthdr == NEXTHDR_NONE) nexthdr 88 net/ipv6/exthdrs_core.c if (nexthdr == NEXTHDR_FRAGMENT) { nexthdr 102 net/ipv6/exthdrs_core.c } else if (nexthdr == NEXTHDR_AUTH) nexthdr 107 net/ipv6/exthdrs_core.c nexthdr = hp->nexthdr; nexthdr 111 net/ipv6/exthdrs_core.c *nexthdrp = nexthdr; nexthdr 190 net/ipv6/exthdrs_core.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 203 net/ipv6/exthdrs_core.c nexthdr = ip6->nexthdr; nexthdr 209 net/ipv6/exthdrs_core.c found = (nexthdr == target); nexthdr 211 net/ipv6/exthdrs_core.c if ((!ipv6_ext_hdr(nexthdr)) || nexthdr == NEXTHDR_NONE) { nexthdr 221 net/ipv6/exthdrs_core.c if (nexthdr == NEXTHDR_ROUTING) { nexthdr 234 net/ipv6/exthdrs_core.c if (nexthdr == NEXTHDR_FRAGMENT) { nexthdr 251 net/ipv6/exthdrs_core.c ((!ipv6_ext_hdr(hp->nexthdr)) || nexthdr 252 net/ipv6/exthdrs_core.c hp->nexthdr == NEXTHDR_NONE)) { nexthdr 255 net/ipv6/exthdrs_core.c return hp->nexthdr; nexthdr 264 net/ipv6/exthdrs_core.c } else if (nexthdr == NEXTHDR_AUTH) { nexthdr 272 net/ipv6/exthdrs_core.c nexthdr = hp->nexthdr; nexthdr 278 net/ipv6/exthdrs_core.c return nexthdr; nexthdr 147 net/ipv6/icmp.c __u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 153 net/ipv6/icmp.c ptr = ipv6_skip_exthdr(skb, ptr, &nexthdr, &frag_off); nexthdr 156 net/ipv6/icmp.c if (nexthdr == IPPROTO_ICMPV6) { nexthdr 775 net/ipv6/icmp.c u8 nexthdr; nexthdr 781 net/ipv6/icmp.c nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr; nexthdr 782 net/ipv6/icmp.c if (ipv6_ext_hdr(nexthdr)) { nexthdr 785 net/ipv6/icmp.c &nexthdr, &frag_off); nexthdr 803 net/ipv6/icmp.c ipprot = rcu_dereference(inet6_protos[nexthdr]); nexthdr 807 net/ipv6/icmp.c raw6_icmp_error(skb, nexthdr, type, code, inner_offset, info); nexthdr 81 net/ipv6/ila/ila_common.c switch (ip6h->nexthdr) { nexthdr 1346 net/ipv6/ip6_gre.c ipv6h->nexthdr = NEXTHDR_GRE; nexthdr 57 net/ipv6/ip6_input.c ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]); nexthdr 237 net/ipv6/ip6_input.c IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); nexthdr 242 net/ipv6/ip6_input.c if (pkt_len || hdr->nexthdr != NEXTHDR_HOP) { nexthdr 255 net/ipv6/ip6_input.c if (hdr->nexthdr == NEXTHDR_HOP) { nexthdr 337 net/ipv6/ip6_input.c void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, nexthdr 355 net/ipv6/ip6_input.c nexthdr = skb_network_header(skb)[nhoff]; nexthdr 359 net/ipv6/ip6_input.c raw = raw6_local_deliver(skb, nexthdr); nexthdr 360 net/ipv6/ip6_input.c ipprot = rcu_dereference(inet6_protos[nexthdr]); nexthdr 402 net/ipv6/ip6_input.c !ipv6_is_mld(skb, nexthdr, skb_network_header_len(skb))) nexthdr 418 net/ipv6/ip6_input.c nexthdr = ret; nexthdr 512 net/ipv6/ip6_input.c u8 nexthdr = hdr->nexthdr; nexthdr 522 net/ipv6/ip6_input.c if (!ipv6_ext_hdr(nexthdr)) { nexthdr 527 net/ipv6/ip6_input.c &nexthdr, &frag_off); nexthdr 531 net/ipv6/ip6_input.c if (ipv6_is_mld(skb, nexthdr, offset)) nexthdr 64 net/ipv6/ip6_offload.c proto = opth->nexthdr; nexthdr 100 net/ipv6/ip6_offload.c proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); nexthdr 163 net/ipv6/ip6_offload.c proto = iph->nexthdr; nexthdr 175 net/ipv6/ip6_offload.c proto = opth->nexthdr; nexthdr 213 net/ipv6/ip6_offload.c proto = iph->nexthdr; nexthdr 254 net/ipv6/ip6_offload.c *(u16 *)&iph->nexthdr != *(u16 *)&iph2->nexthdr) { nexthdr 254 net/ipv6/ip6_output.c hdr->nexthdr = proto; nexthdr 334 net/ipv6/ip6_output.c u8 nexthdr = hdr->nexthdr; nexthdr 338 net/ipv6/ip6_output.c if (ipv6_ext_hdr(nexthdr)) { nexthdr 339 net/ipv6/ip6_output.c offset = ipv6_skip_exthdr(skb, sizeof(*hdr), &nexthdr, &frag_off); nexthdr 345 net/ipv6/ip6_output.c if (nexthdr == IPPROTO_ICMPV6) { nexthdr 600 net/ipv6/ip6_output.c u8 nexthdr, __be32 frag_id, nexthdr 618 net/ipv6/ip6_output.c iter->nexthdr = nexthdr; nexthdr 626 net/ipv6/ip6_output.c fh->nexthdr = nexthdr; nexthdr 654 net/ipv6/ip6_output.c fh->nexthdr = iter->nexthdr; nexthdr 667 net/ipv6/ip6_output.c u8 nexthdr, __be32 frag_id, struct ip6_frag_state *state) nexthdr 670 net/ipv6/ip6_output.c state->nexthdr = nexthdr; nexthdr 739 net/ipv6/ip6_output.c fh->nexthdr = state->nexthdr; nexthdr 774 net/ipv6/ip6_output.c u8 *prevhdr, nexthdr = 0; nexthdr 780 net/ipv6/ip6_output.c nexthdr = *prevhdr; nexthdr 848 net/ipv6/ip6_output.c err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, nexthdr 901 net/ipv6/ip6_output.c LL_RESERVED_SPACE(rt->dst.dev), prevhdr, nexthdr, frag_id, nexthdr 1766 net/ipv6/ip6_output.c hdr->nexthdr = proto; nexthdr 403 net/ipv6/ip6_tunnel.c u8 next, nexthdr = ipv6h->nexthdr; nexthdr 405 net/ipv6/ip6_tunnel.c while (ipv6_ext_hdr(nexthdr) && nexthdr != NEXTHDR_NONE) { nexthdr 413 net/ipv6/ip6_tunnel.c if (nexthdr == NEXTHDR_FRAGMENT) { nexthdr 418 net/ipv6/ip6_tunnel.c } else if (nexthdr == NEXTHDR_AUTH) { nexthdr 426 net/ipv6/ip6_tunnel.c next = hdr->nexthdr; nexthdr 427 net/ipv6/ip6_tunnel.c if (nexthdr == NEXTHDR_DEST) { nexthdr 453 net/ipv6/ip6_tunnel.c nexthdr = next; nexthdr 1215 net/ipv6/ip6_tunnel.c ipv6h->nexthdr = proto; nexthdr 109 net/ipv6/ip6_udp_tunnel.c ip6h->nexthdr = IPPROTO_UDP; nexthdr 601 net/ipv6/ip6_vti.c int protocol = iph->nexthdr; nexthdr 2304 net/ipv6/ip6mr.c iph->nexthdr = IPPROTO_NONE; nexthdr 1582 net/ipv6/mcast.c hdr->nexthdr = proto; nexthdr 41 net/ipv6/mcast_snoop.c u8 nexthdr; nexthdr 46 net/ipv6/mcast_snoop.c if (ip6h->nexthdr != IPPROTO_HOPOPTS) nexthdr 49 net/ipv6/mcast_snoop.c nexthdr = ip6h->nexthdr; nexthdr 51 net/ipv6/mcast_snoop.c offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); nexthdr 56 net/ipv6/mcast_snoop.c if (nexthdr != IPPROTO_ICMPV6) nexthdr 123 net/ipv6/mip6.c int err = destopt->nexthdr; nexthdr 143 net/ipv6/mip6.c u8 nexthdr; nexthdr 149 net/ipv6/mip6.c nexthdr = *skb_mac_header(skb); nexthdr 153 net/ipv6/mip6.c dstopt->nexthdr = nexthdr; nexthdr 251 net/ipv6/mip6.c u8 **nexthdr) nexthdr 261 net/ipv6/mip6.c *nexthdr = &ipv6_hdr(skb)->nexthdr; nexthdr 265 net/ipv6/mip6.c switch (**nexthdr) { nexthdr 291 net/ipv6/mip6.c *nexthdr = &exthdr->nexthdr; nexthdr 343 net/ipv6/mip6.c int err = rt2->rt_hdr.nexthdr; nexthdr 361 net/ipv6/mip6.c u8 nexthdr; nexthdr 366 net/ipv6/mip6.c nexthdr = *skb_mac_header(skb); nexthdr 370 net/ipv6/mip6.c rt2->rt_hdr.nexthdr = nexthdr; nexthdr 387 net/ipv6/mip6.c u8 **nexthdr) nexthdr 397 net/ipv6/mip6.c *nexthdr = &ipv6_hdr(skb)->nexthdr; nexthdr 401 net/ipv6/mip6.c switch (**nexthdr) { nexthdr 426 net/ipv6/mip6.c *nexthdr = &exthdr->nexthdr; nexthdr 459 net/ipv6/ndisc.c hdr->nexthdr = IPPROTO_ICMPV6; nexthdr 124 net/ipv6/netfilter.c u8 *prevhdr, nexthdr = 0; nexthdr 133 net/ipv6/netfilter.c nexthdr = *prevhdr; nexthdr 175 net/ipv6/netfilter.c err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, nexthdr 208 net/ipv6/netfilter.c LL_RESERVED_SPACE(skb->dev), prevhdr, nexthdr, frag_id, nexthdr 32 net/ipv6/netfilter/ip6t_ipv6header.c u8 nexthdr; nexthdr 38 net/ipv6/netfilter/ip6t_ipv6header.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 45 net/ipv6/netfilter/ip6t_ipv6header.c while (nf_ip6_ext_hdr(nexthdr)) { nexthdr 51 net/ipv6/netfilter/ip6t_ipv6header.c if (nexthdr == NEXTHDR_NONE) { nexthdr 59 net/ipv6/netfilter/ip6t_ipv6header.c if (nexthdr == NEXTHDR_ESP) { nexthdr 71 net/ipv6/netfilter/ip6t_ipv6header.c if (nexthdr == NEXTHDR_FRAGMENT) nexthdr 73 net/ipv6/netfilter/ip6t_ipv6header.c else if (nexthdr == NEXTHDR_AUTH) nexthdr 79 net/ipv6/netfilter/ip6t_ipv6header.c switch (nexthdr) { nexthdr 99 net/ipv6/netfilter/ip6t_ipv6header.c nexthdr = hp->nexthdr; nexthdr 106 net/ipv6/netfilter/ip6t_ipv6header.c if (nexthdr != NEXTHDR_NONE && nexthdr != NEXTHDR_ESP) nexthdr 41 net/ipv6/netfilter/ip6t_rpfilter.c .flowi6_proto = iph->nexthdr, nexthdr 50 net/ipv6/netfilter/ip6t_srh.c !(srh->nexthdr == srhinfo->next_hdr))) nexthdr 144 net/ipv6/netfilter/ip6t_srh.c !(srh->nexthdr == srhinfo->next_hdr))) nexthdr 392 net/ipv6/netfilter/nf_conntrack_reasm.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 394 net/ipv6/netfilter/nf_conntrack_reasm.c u8 prev_nhoff = netoff + offsetof(struct ipv6hdr, nexthdr); nexthdr 399 net/ipv6/netfilter/nf_conntrack_reasm.c while (nexthdr != NEXTHDR_FRAGMENT) { nexthdr 403 net/ipv6/netfilter/nf_conntrack_reasm.c if (!ipv6_ext_hdr(nexthdr)) { nexthdr 406 net/ipv6/netfilter/nf_conntrack_reasm.c if (nexthdr == NEXTHDR_NONE) { nexthdr 416 net/ipv6/netfilter/nf_conntrack_reasm.c if (nexthdr == NEXTHDR_AUTH) nexthdr 421 net/ipv6/netfilter/nf_conntrack_reasm.c prevhdr = nexthdr; nexthdr 424 net/ipv6/netfilter/nf_conntrack_reasm.c nexthdr = hdr.nexthdr; nexthdr 72 net/ipv6/netfilter/nf_log_ipv6.c currenthdr = ih->nexthdr; nexthdr 197 net/ipv6/netfilter/nf_log_ipv6.c currenthdr = hp->nexthdr; nexthdr 24 net/ipv6/netfilter/nf_reject_ipv6.c proto = oip6h->nexthdr; nexthdr 77 net/ipv6/netfilter/nf_reject_ipv6.c ip6h->nexthdr = protocol; nexthdr 227 net/ipv6/netfilter/nf_reject_ipv6.c proto = ip6h->nexthdr; nexthdr 49 net/ipv6/netfilter/nf_socket_ipv6.c inside_nexthdr = inside_iph->nexthdr; nexthdr 82 net/ipv6/output_core.c int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr) nexthdr 88 net/ipv6/output_core.c *nexthdr = &ipv6_hdr(skb)->nexthdr; nexthdr 93 net/ipv6/output_core.c switch (**nexthdr) { nexthdr 120 net/ipv6/output_core.c *nexthdr = &exthdr->nexthdr; nexthdr 156 net/ipv6/output_core.c IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); nexthdr 157 net/ipv6/raw.c static bool ipv6_raw_deliver(struct sk_buff *skb, int nexthdr) nexthdr 169 net/ipv6/raw.c hash = nexthdr & (RAW_HTABLE_SIZE - 1); nexthdr 178 net/ipv6/raw.c sk = __raw_v6_lookup(net, sk, nexthdr, daddr, saddr, nexthdr 185 net/ipv6/raw.c switch (nexthdr) { nexthdr 222 net/ipv6/raw.c sk = __raw_v6_lookup(net, sk_next(sk), nexthdr, daddr, saddr, nexthdr 230 net/ipv6/raw.c bool raw6_local_deliver(struct sk_buff *skb, int nexthdr) nexthdr 234 net/ipv6/raw.c raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); nexthdr 235 net/ipv6/raw.c if (raw_sk && !ipv6_raw_deliver(skb, nexthdr)) nexthdr 361 net/ipv6/raw.c void raw6_icmp_error(struct sk_buff *skb, int nexthdr, nexthdr 369 net/ipv6/raw.c hash = nexthdr & (RAW_HTABLE_SIZE - 1); nexthdr 380 net/ipv6/raw.c while ((sk = __raw_v6_lookup(net, sk, nexthdr, saddr, daddr, nexthdr 2314 net/ipv6/route.c if (likely(outer_iph->nexthdr != IPPROTO_ICMPV6)) nexthdr 2346 net/ipv6/route.c keys->basic.ip_proto = key_iph->nexthdr; nexthdr 2456 net/ipv6/route.c .flowi6_proto = iph->nexthdr, nexthdr 148 net/ipv6/seg6_iptunnel.c hdr->nexthdr = NEXTHDR_ROUTING; nexthdr 153 net/ipv6/seg6_iptunnel.c isrh->nexthdr = proto; nexthdr 202 net/ipv6/seg6_iptunnel.c isrh->nexthdr = hdr->nexthdr; nexthdr 203 net/ipv6/seg6_iptunnel.c hdr->nexthdr = NEXTHDR_ROUTING; nexthdr 352 net/ipv6/seg6_iptunnel.c fl6.flowi6_proto = hdr->nexthdr; nexthdr 169 net/ipv6/seg6_local.c fl6.flowi6_proto = hdr->nexthdr; nexthdr 25 net/ipv6/udp_offload.c u8 nexthdr; nexthdr 88 net/ipv6/udp_offload.c nexthdr = *prevhdr; nexthdr 100 net/ipv6/udp_offload.c fptr->nexthdr = nexthdr; nexthdr 25 net/ipv6/xfrm6_input.c int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi, nexthdr 31 net/ipv6/xfrm6_input.c return xfrm_input(skb, nexthdr, spi, 0); nexthdr 105 net/ipv6/xfrm6_output.c XFRM_MODE_SKB_CB(skb)->protocol = ipv6_hdr(skb)->nexthdr; nexthdr 213 net/mpls/af_mpls.c hash = jhash_1word(v6hdr->nexthdr, hash); nexthdr 136 net/netfilter/ipset/ip_set_getport.c u8 nexthdr; nexthdr 139 net/netfilter/ipset/ip_set_getport.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 142 net/netfilter/ipset/ip_set_getport.c sizeof(struct ipv6hdr), &nexthdr, nexthdr 147 net/netfilter/ipset/ip_set_getport.c return get_port(skb, nexthdr, protoff, src, port, proto); nexthdr 258 net/netfilter/ipvs/ip_vs_proto.c else if (ih->nexthdr == IPPROTO_FRAGMENT) nexthdr 325 net/netfilter/ipvs/ip_vs_proto_tcp.c ipv6_hdr(skb)->nexthdr, nexthdr 328 net/netfilter/ipvs/ip_vs_proto_udp.c ipv6_hdr(skb)->nexthdr, nexthdr 1400 net/netfilter/ipvs/ip_vs_xmit.c iph->nexthdr = next_protocol; nexthdr 355 net/netfilter/nf_conntrack_core.c u8 nexthdr; nexthdr 357 net/netfilter/nf_conntrack_core.c if (skb_copy_bits(skb, nhoff + offsetof(struct ipv6hdr, nexthdr), nexthdr 358 net/netfilter/nf_conntrack_core.c &nexthdr, sizeof(nexthdr)) != 0) { nexthdr 362 net/netfilter/nf_conntrack_core.c protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off); nexthdr 372 net/netfilter/nf_conntrack_core.c *protonum = nexthdr; nexthdr 1977 net/netfilter/nf_conntrack_core.c pnum = ipv6_hdr(skb)->nexthdr; nexthdr 369 net/netfilter/nf_conntrack_proto.c unsigned char pnum = ipv6_hdr(skb)->nexthdr; nexthdr 347 net/netfilter/nf_flow_table_ip.c switch (ip6h->nexthdr) { nexthdr 419 net/netfilter/nf_flow_table_ip.c (nf_flow_snat_port(flow, skb, thoff, ip6h->nexthdr, dir) < 0 || nexthdr 423 net/netfilter/nf_flow_table_ip.c (nf_flow_dnat_port(flow, skb, thoff, ip6h->nexthdr, dir) < 0 || nexthdr 442 net/netfilter/nf_flow_table_ip.c if (ip6h->nexthdr != IPPROTO_TCP && nexthdr 443 net/netfilter/nf_flow_table_ip.c ip6h->nexthdr != IPPROTO_UDP) nexthdr 461 net/netfilter/nf_flow_table_ip.c tuple->l4proto = ip6h->nexthdr; nexthdr 499 net/netfilter/nf_flow_table_ip.c if (nf_flow_state_check(flow, ipv6_hdr(skb)->nexthdr, skb, nexthdr 390 net/netfilter/nf_nat_proto.c u8 nexthdr; nexthdr 396 net/netfilter/nf_nat_proto.c nexthdr = ipv6h->nexthdr; nexthdr 398 net/netfilter/nf_nat_proto.c &nexthdr, &frag_off); nexthdr 856 net/netfilter/nf_nat_proto.c u8 nexthdr; nexthdr 868 net/netfilter/nf_nat_proto.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 870 net/netfilter/nf_nat_proto.c &nexthdr, &frag_off); nexthdr 872 net/netfilter/nf_nat_proto.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { nexthdr 823 net/netfilter/nf_synproxy_core.c iph->nexthdr = IPPROTO_TCP; nexthdr 1087 net/netfilter/nf_synproxy_core.c u8 nexthdr; nexthdr 1101 net/netfilter/nf_synproxy_core.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 1102 net/netfilter/nf_synproxy_core.c thoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, nexthdr 1104 net/netfilter/nf_synproxy_core.c if (thoff < 0 || nexthdr != IPPROTO_TCP) nexthdr 48 net/netfilter/nft_log.c u8 nexthdr; nexthdr 55 net/netfilter/nft_log.c nexthdr = ih->nexthdr; nexthdr 56 net/netfilter/nft_log.c ipv6_skip_exthdr(skb, skb_network_offset(skb) + sizeof(_ip6h), &nexthdr, &frag_off); nexthdr 59 net/netfilter/nft_log.c &ih->saddr, &ih->daddr, nexthdr); nexthdr 242 net/netfilter/nft_payload.c case offsetof(struct ipv6hdr, nexthdr): nexthdr 50 net/netfilter/xt_AUDIT.c u8 nexthdr; nexthdr 57 net/netfilter/xt_AUDIT.c nexthdr = ih->nexthdr; nexthdr 58 net/netfilter/xt_AUDIT.c ipv6_skip_exthdr(skb, skb_network_offset(skb) + sizeof(_ip6h), &nexthdr, &frag_off); nexthdr 61 net/netfilter/xt_AUDIT.c &ih->saddr, &ih->daddr, nexthdr); nexthdr 172 net/netfilter/xt_HMARK.c int nexthdr; nexthdr 175 net/netfilter/xt_HMARK.c nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); nexthdr 176 net/netfilter/xt_HMARK.c if (nexthdr < 0) nexthdr 179 net/netfilter/xt_HMARK.c if ((flag & IP6_FH_F_FRAG) || (nexthdr != IPPROTO_ICMPV6)) nexthdr 188 net/netfilter/xt_HMARK.c nexthdr = ipv6_find_hdr(skb, &nhoff, -1, &fragoff, &flag); nexthdr 189 net/netfilter/xt_HMARK.c if (nexthdr < 0) nexthdr 199 net/netfilter/xt_HMARK.c t->proto = nexthdr; nexthdr 222 net/netfilter/xt_TCPMSS.c u8 nexthdr; nexthdr 227 net/netfilter/xt_TCPMSS.c nexthdr = ipv6h->nexthdr; nexthdr 228 net/netfilter/xt_TCPMSS.c tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); nexthdr 100 net/netfilter/xt_TCPOPTSTRIP.c u_int8_t nexthdr; nexthdr 103 net/netfilter/xt_TCPOPTSTRIP.c nexthdr = ipv6h->nexthdr; nexthdr 104 net/netfilter/xt_TCPOPTSTRIP.c tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); nexthdr 642 net/netfilter/xt_hashlimit.c u8 nexthdr; nexthdr 659 net/netfilter/xt_hashlimit.c nexthdr = ip_hdr(skb)->protocol; nexthdr 680 net/netfilter/xt_hashlimit.c nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 681 net/netfilter/xt_hashlimit.c protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, &frag_off); nexthdr 692 net/netfilter/xt_hashlimit.c poff = proto_ports_offset(nexthdr); nexthdr 537 net/openvswitch/actions.c if (ipv6_ext_hdr(nh->nexthdr)) nexthdr 458 net/openvswitch/conntrack.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 462 net/openvswitch/conntrack.c ofs = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, nexthdr 520 net/openvswitch/conntrack.c key->ip.proto = ipv6_hdr(skb)->nexthdr; nexthdr 764 net/openvswitch/conntrack.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 767 net/openvswitch/conntrack.c &nexthdr, &frag_off); nexthdr 769 net/openvswitch/conntrack.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { nexthdr 249 net/openvswitch/flow.c int err, nexthdr, flags = 0; nexthdr 264 net/openvswitch/flow.c nexthdr = ipv6_find_hdr(skb, &payload_ofs, -1, &frag_off, &flags); nexthdr 268 net/openvswitch/flow.c key->ip.proto = nexthdr; nexthdr 280 net/openvswitch/flow.c if (unlikely(nexthdr < 0)) nexthdr 285 net/openvswitch/flow.c key->ip.proto = nexthdr; nexthdr 493 net/sched/act_csum.c u8 nexthdr; nexthdr 505 net/sched/act_csum.c nexthdr = ip6h->nexthdr; nexthdr 508 net/sched/act_csum.c switch (nexthdr) { nexthdr 521 net/sched/act_csum.c if ((nexthdr == NEXTHDR_HOP) && nexthdr 524 net/sched/act_csum.c nexthdr = ip6xh->nexthdr; nexthdr 135 net/sched/act_ct.c int nexthdr; nexthdr 143 net/sched/act_ct.c nexthdr = ipv6_find_hdr(skb, &payload_ofs, -1, &frag_off, &flags); nexthdr 144 net/sched/act_ct.c if (unlikely(nexthdr < 0)) nexthdr 245 net/sched/act_ct.c u8 nexthdr = ipv6_hdr(skb)->nexthdr; nexthdr 248 net/sched/act_ct.c &nexthdr, &frag_off); nexthdr 250 net/sched/act_ct.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { nexthdr 156 net/sched/cls_rsvp.h protocol = nhptr->nexthdr; nexthdr 26 net/sched/em_u32.c ptr += (info->nexthdr & key->offmask); nexthdr 891 net/sched/sch_cake.c if (!ipv6h || ipv6h->nexthdr != IPPROTO_TCP) nexthdr 901 net/sched/sch_cake.c if (ipv6h->nexthdr != IPPROTO_TCP) nexthdr 315 net/sched/sch_taprio.c if (!ipv6h || ipv6h->nexthdr != IPPROTO_TCP) nexthdr 320 net/sched/sch_taprio.c } else if (ipv6h->version == 6 && ipv6h->nexthdr != IPPROTO_TCP) { nexthdr 17 net/xfrm/xfrm_inout.h iph->nexthdr = XFRM_MODE_SKB_CB(skb)->protocol; nexthdr 136 net/xfrm/xfrm_input.c int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) nexthdr 141 net/xfrm/xfrm_input.c switch (nexthdr) { nexthdr 191 net/xfrm/xfrm_input.c XFRM_MODE_SKB_CB(skb)->protocol = ph->nexthdr; nexthdr 455 net/xfrm/xfrm_input.c int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) nexthdr 529 net/xfrm/xfrm_input.c if ((err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) != 0) { nexthdr 559 net/xfrm/xfrm_input.c if (!spi && (err = xfrm_parse_spi(skb, nexthdr, &spi, &seq)) != 0) { nexthdr 576 net/xfrm/xfrm_input.c x = xfrm_state_lookup(net, mark, daddr, spi, nexthdr, family); nexthdr 636 net/xfrm/xfrm_input.c nexthdr = x->type_offload->input_tail(x, skb); nexthdr 638 net/xfrm/xfrm_input.c nexthdr = x->type->input(x, skb); nexthdr 640 net/xfrm/xfrm_input.c if (nexthdr == -EINPROGRESS) nexthdr 646 net/xfrm/xfrm_input.c if (nexthdr < 0) { nexthdr 647 net/xfrm/xfrm_input.c if (nexthdr == -EBADMSG) { nexthdr 671 net/xfrm/xfrm_input.c XFRM_MODE_SKB_CB(skb)->protocol = nexthdr; nexthdr 700 net/xfrm/xfrm_input.c err = xfrm_parse_spi(skb, nexthdr, &spi, &seq); nexthdr 747 net/xfrm/xfrm_input.c xfrm_rcv_cb(skb, family, x && x->type ? x->type->proto : nexthdr, -1); nexthdr 753 net/xfrm/xfrm_input.c int xfrm_input_resume(struct sk_buff *skb, int nexthdr) nexthdr 755 net/xfrm/xfrm_input.c return xfrm_input(skb, nexthdr, 0, -1); nexthdr 464 net/xfrm/xfrm_interface.c int protocol = iph->nexthdr; nexthdr 108 net/xfrm/xfrm_ipcomp.c int nexthdr; nexthdr 119 net/xfrm/xfrm_ipcomp.c nexthdr = ipch->nexthdr; nexthdr 127 net/xfrm/xfrm_ipcomp.c err = nexthdr; nexthdr 189 net/xfrm/xfrm_ipcomp.c ipch->nexthdr = *skb_mac_header(skb); nexthdr 173 net/xfrm/xfrm_output.c ph->nexthdr = top_iph->protocol; nexthdr 247 net/xfrm/xfrm_output.c offsetof(struct ipv6hdr, nexthdr); nexthdr 255 net/xfrm/xfrm_output.c top_iph->nexthdr = xfrm_af2proto(skb_dst(skb)->ops->family); nexthdr 286 net/xfrm/xfrm_output.c offsetof(struct ipv6hdr, nexthdr); nexthdr 299 net/xfrm/xfrm_output.c ph->nexthdr = top_iph->nexthdr; nexthdr 303 net/xfrm/xfrm_output.c top_iph->nexthdr = IPPROTO_BEETPH; nexthdr 3382 net/xfrm/xfrm_policy.c u8 nexthdr; nexthdr 3385 net/xfrm/xfrm_policy.c nhoff = offsetof(struct ipv6hdr, nexthdr); nexthdr 3387 net/xfrm/xfrm_policy.c nexthdr = nh[nhoff]; nexthdr 3404 net/xfrm/xfrm_policy.c switch (nexthdr) { nexthdr 3412 net/xfrm/xfrm_policy.c nexthdr = exthdr->nexthdr; nexthdr 3429 net/xfrm/xfrm_policy.c fl6->flowi6_proto = nexthdr; nexthdr 3441 net/xfrm/xfrm_policy.c fl6->flowi6_proto = nexthdr; nexthdr 3454 net/xfrm/xfrm_policy.c fl6->flowi6_proto = nexthdr; nexthdr 3463 net/xfrm/xfrm_policy.c fl6->flowi6_proto = nexthdr; nexthdr 125 samples/bpf/hbm_kern.h pkti->is_tcp = (ip6h->nexthdr == 6); nexthdr 83 samples/bpf/parse_varlen.c uint64_t nexthdr; nexthdr 89 samples/bpf/parse_varlen.c nexthdr = ip6h->nexthdr; nexthdr 91 samples/bpf/parse_varlen.c if (nexthdr == IPPROTO_IPIP) { nexthdr 96 samples/bpf/parse_varlen.c nexthdr = iph->protocol; nexthdr 97 samples/bpf/parse_varlen.c } else if (nexthdr == IPPROTO_IPV6) { nexthdr 102 samples/bpf/parse_varlen.c nexthdr = ip6h->nexthdr; nexthdr 105 samples/bpf/parse_varlen.c if (nexthdr == IPPROTO_TCP) nexthdr 107 samples/bpf/parse_varlen.c else if (nexthdr == IPPROTO_UDP) nexthdr 89 samples/bpf/sockex2_kern.c nhoff + offsetof(struct ipv6hdr, nexthdr)); nexthdr 228 samples/bpf/sockex3_kern.c nhoff + offsetof(struct ipv6hdr, nexthdr)); nexthdr 96 samples/bpf/tc_l2_redirect_kern.c if (ip6h->nexthdr != IPPROTO_IPIP && nexthdr 97 samples/bpf/tc_l2_redirect_kern.c ip6h->nexthdr != IPPROTO_IPV6) nexthdr 57 samples/bpf/test_cgrp2_tc_kern.c ip6h->nexthdr != IPPROTO_ICMPV6) { nexthdr 59 samples/bpf/test_cgrp2_tc_kern.c eth->h_proto, ip6h->nexthdr); nexthdr 39 samples/bpf/xdp1_kern.c return ip6h->nexthdr; nexthdr 55 samples/bpf/xdp2_kern.c return ip6h->nexthdr; nexthdr 92 samples/bpf/xdp_fwd_kern.c fib_params.l4_protocol = ip6h->nexthdr; nexthdr 197 samples/bpf/xdp_redirect_cpu_kern.c return ip6h->nexthdr; nexthdr 500 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash = SuperFastHash((char *)&cpu_hash, 4, INITVAL + ip6h->nexthdr); nexthdr 167 samples/bpf/xdp_tx_iptunnel_kern.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); nexthdr 171 samples/bpf/xdp_tx_iptunnel_kern.c vip.protocol = ip6h->nexthdr; nexthdr 205 samples/bpf/xdp_tx_iptunnel_kern.c ip6h->nexthdr = IPPROTO_IPV6; nexthdr 113 security/lsm_audit.c u8 nexthdr; nexthdr 126 security/lsm_audit.c nexthdr = ip6->nexthdr; nexthdr 127 security/lsm_audit.c offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); nexthdr 131 security/lsm_audit.c *proto = nexthdr; nexthdr 132 security/lsm_audit.c switch (nexthdr) { nexthdr 4276 security/selinux/hooks.c u8 nexthdr; nexthdr 4290 security/selinux/hooks.c nexthdr = ip6->nexthdr; nexthdr 4292 security/selinux/hooks.c offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); nexthdr 4297 security/selinux/hooks.c *proto = nexthdr; nexthdr 4299 security/selinux/hooks.c switch (nexthdr) { nexthdr 3779 security/smack/smack_lsm.c u8 nexthdr; nexthdr 3797 security/smack/smack_lsm.c nexthdr = ip6->nexthdr; nexthdr 3799 security/smack/smack_lsm.c offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); nexthdr 3803 security/smack/smack_lsm.c proto = nexthdr; nexthdr 25 tools/include/uapi/linux/seg6.h __u8 nexthdr; nexthdr 69 tools/testing/selftests/bpf/prog_tests/flow_dissector.c __u8 nexthdr; nexthdr 129 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_TCP, nexthdr 173 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_TCP, nexthdr 242 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_FRAGMENT, nexthdr 244 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .ipf.nexthdr = IPPROTO_TCP, nexthdr 268 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_FRAGMENT, nexthdr 270 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .ipf.nexthdr = IPPROTO_TCP, nexthdr 290 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_TCP, nexthdr 312 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.nexthdr = IPPROTO_TCP, nexthdr 39 tools/testing/selftests/bpf/prog_tests/xdp.c iph6->nexthdr != IPPROTO_IPV6, "ipv6", nexthdr 54 tools/testing/selftests/bpf/progs/bpf_flow.c __u8 nexthdr; nexthdr 242 tools/testing/selftests/bpf/progs/bpf_flow.c static __always_inline int parse_ipv6_proto(struct __sk_buff *skb, __u8 nexthdr) nexthdr 246 tools/testing/selftests/bpf/progs/bpf_flow.c switch (nexthdr) { nexthdr 255 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_ip_proto(skb, nexthdr); nexthdr 323 tools/testing/selftests/bpf/progs/bpf_flow.c keys->ip_proto = ip6h->nexthdr; nexthdr 329 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_ipv6_proto(skb, ip6h->nexthdr); nexthdr 345 tools/testing/selftests/bpf/progs/bpf_flow.c keys->ip_proto = ip6h->nexthdr; nexthdr 347 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_ipv6_proto(skb, ip6h->nexthdr); nexthdr 361 tools/testing/selftests/bpf/progs/bpf_flow.c keys->ip_proto = fragh->nexthdr; nexthdr 373 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_ipv6_proto(skb, fragh->nexthdr); nexthdr 251 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->proto = ip6h->nexthdr; nexthdr 355 tools/testing/selftests/bpf/progs/test_l4lb.c protocol = ip6h->nexthdr; nexthdr 251 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->proto = ip6h->nexthdr; nexthdr 355 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c protocol = ip6h->nexthdr; nexthdr 64 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.ip6hdr.nexthdr = 47; /* IPPROTO_GRE */ nexthdr 36 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c unsigned char nexthdr; nexthdr 295 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c srh->nexthdr = 0; nexthdr 47 tools/testing/selftests/bpf/progs/test_pkt_access.c proto = ip6h->nexthdr; nexthdr 36 tools/testing/selftests/bpf/progs/test_seg6_loop.c unsigned char nexthdr; nexthdr 45 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c proto = ip6h->nexthdr; nexthdr 108 tools/testing/selftests/bpf/progs/test_tc_tunnel.c iph_inner.protocol = iph6_inner.nexthdr; nexthdr 302 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.ip.nexthdr = encap_proto; nexthdr 519 tools/testing/selftests/bpf/progs/test_tc_tunnel.c iph_outer.nexthdr); nexthdr 102 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c if (ipv6h->nexthdr != IPPROTO_TCP) nexthdr 650 tools/testing/selftests/bpf/progs/test_tunnel_kern.c if (iph->nexthdr == 58 /* NEXTHDR_ICMP */) { nexthdr 653 tools/testing/selftests/bpf/progs/test_tunnel_kern.c if (iph->nexthdr != 6 /* NEXTHDR_TCP */) { nexthdr 654 tools/testing/selftests/bpf/progs/test_tunnel_kern.c ERROR(iph->nexthdr); nexthdr 168 tools/testing/selftests/bpf/progs/test_xdp.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); nexthdr 172 tools/testing/selftests/bpf/progs/test_xdp.c vip.protocol = ip6h->nexthdr; nexthdr 203 tools/testing/selftests/bpf/progs/test_xdp.c ip6h->nexthdr = IPPROTO_IPV6; nexthdr 164 tools/testing/selftests/bpf/progs/test_xdp_loop.c dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); nexthdr 168 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.protocol = ip6h->nexthdr; nexthdr 199 tools/testing/selftests/bpf/progs/test_xdp_loop.c ip6h->nexthdr = IPPROTO_IPV6; nexthdr 306 tools/testing/selftests/bpf/progs/test_xdp_noinline.c ip6h->nexthdr = IPPROTO_IPV6; nexthdr 501 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.proto = ip6h->nexthdr; nexthdr 641 tools/testing/selftests/bpf/progs/test_xdp_noinline.c *protocol = ip6h->nexthdr; nexthdr 202 tools/testing/selftests/bpf/test_flow_dissector.c ip6h->nexthdr = proto; nexthdr 231 tools/testing/selftests/bpf/test_flow_dissector.c pseudo_sum += htons(ip6h->nexthdr); nexthdr 178 tools/testing/selftests/bpf/test_progs.c .iph.nexthdr = IPPROTO_TCP, nexthdr 286 tools/testing/selftests/net/msg_zerocopy.c ip6h->nexthdr = IPPROTO_EGP; nexthdr 361 tools/testing/selftests/networking/timestamping/txtimestamp.c ip6h->nexthdr = IPPROTO_UDP;