Symbol: ETH_P_IPV6
drivers/firewire/net.c
1268
case htons(ETH_P_IPV6):
drivers/firewire/net.c
489
case ETH_P_IPV6:
drivers/firewire/net.c
991
case htons(ETH_P_IPV6):
drivers/infiniband/core/lag.c
72
skb->protocol = eth->h_proto = htons(is_ipv4 ? ETH_P_IP : ETH_P_IPV6);
drivers/infiniband/hw/bnxt_re/ib_verbs.c
2465
ether_type = ETH_P_IPV6;
drivers/infiniband/hw/bnxt_re/ib_verbs.c
3554
case ETH_P_IPV6: {
drivers/infiniband/hw/ionic/ionic_controlpath.c
557
hdr->eth.type = cpu_to_be16(ETH_P_IPV6);
drivers/infiniband/hw/irdma/cm.c
519
htons(ETH_P_IPV6);
drivers/infiniband/hw/irdma/cm.c
521
ethh->h_proto = htons(ETH_P_IPV6);
drivers/infiniband/hw/mlx4/qp.c
3183
(ip_version == 4 ? ETH_P_IP : ETH_P_IPV6);
drivers/infiniband/hw/mlx5/fs.c
330
ethertype, ETH_P_IPV6);
drivers/infiniband/hw/mlx5/fs.c
615
ipv6_spec_valid = (eth_type == ETH_P_IPV6) &&
drivers/infiniband/hw/qedr/qedr_roce_cm.c
421
ether_type = ETH_P_IPV6;
drivers/infiniband/sw/rxe/rxe_net.c
418
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/infiniband/sw/rxe/rxe_net.c
577
skb->protocol = htons(ETH_P_IPV6);
drivers/infiniband/sw/rxe/rxe_recv.c
121
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/infiniband/sw/rxe/rxe_recv.c
202
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/infiniband/ulp/ipoib/ipoib_cm.c
1443
else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/infiniband/ulp/ipoib/ipoib_main.c
1153
(header->proto != htons(ETH_P_IPV6)) &&
drivers/infiniband/ulp/ipoib/ipoib_main.c
1176
case htons(ETH_P_IPV6):
drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c
417
case htons(ETH_P_IPV6):
drivers/net/amt.c
1041
skb_set_inner_protocol(skb, htons(ETH_P_IPV6));
drivers/net/amt.c
1099
skb_set_inner_protocol(skb, htons(ETH_P_IPV6));
drivers/net/amt.c
1158
skb_set_inner_protocol(skb, htons(ETH_P_IPV6));
drivers/net/amt.c
2191
ETH_P_IPV6);
drivers/net/amt.c
2330
skb->protocol = htons(ETH_P_IPV6);
drivers/net/amt.c
2331
eth->h_proto = htons(ETH_P_IPV6);
drivers/net/amt.c
2427
skb->protocol = htons(ETH_P_IPV6);
drivers/net/amt.c
2428
eth->h_proto = htons(ETH_P_IPV6);
drivers/net/amt.c
2528
skb->protocol = htons(ETH_P_IPV6);
drivers/net/amt.c
2529
eth->h_proto = htons(ETH_P_IPV6);
drivers/net/amt.c
829
skb->protocol = htons(ETH_P_IPV6);
drivers/net/amt.c
849
eth->h_proto = htons(ETH_P_IPV6);
drivers/net/arcnet/rfc1201.c
114
return htons(ETH_P_IPV6);
drivers/net/arcnet/rfc1201.c
391
case ETH_P_IPV6:
drivers/net/bareudp.c
456
proto == htons(ETH_P_IPV6))
drivers/net/bareudp.c
95
proto = htons(ETH_P_IPV6);
drivers/net/bonding/bond_alb.c
1383
case htons(ETH_P_IPV6):
drivers/net/bonding/bond_alb.c
1451
case ETH_P_IPV6: {
drivers/net/bonding/bond_main.c
3414
bool is_ipv6 = skb->protocol == __cpu_to_be16(ETH_P_IPV6);
drivers/net/bonding/bond_main.c
4130
} else if (l2_proto == htons(ETH_P_IPV6)) {
drivers/net/bonding/bond_main.c
5271
if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/airoha/airoha_ppe.c
354
l2->etype = ETH_P_IPV6;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
1475
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/asp2/bcmasp.c
367
val_16 = htons(ETH_P_IPV6);
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c
187
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/bcmsysport.c
1253
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
3372
if (protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
752
case ETH_P_IPV6:
drivers/net/ethernet/broadcom/bnxt/bnxt.c
13968
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/bnxt/bnxt.c
13975
} else if (skb->inner_protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
13995
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/bnxt/bnxt.c
14023
case htons(ETH_P_IPV6):
drivers/net/ethernet/broadcom/bnxt/bnxt.c
15676
fkeys->basic.n_proto != htons(ETH_P_IPV6)) ||
drivers/net/ethernet/broadcom/bnxt/bnxt.c
15683
if (fkeys->basic.n_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1686
if (proto != htons(ETH_P_IP) && proto != htons(ETH_P_IPV6))
drivers/net/ethernet/broadcom/bnxt/bnxt.c
5989
if (fkeys->basic.n_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
6347
if (keys->basic.n_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/bnxt/bnxt.c
6348
req->ethertype = htons(ETH_P_IPV6);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1421
fkeys->basic.n_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1436
fkeys->basic.n_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
395
match.key->n_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/broadcom/genet/bcmgenet.c
2086
case htons(ETH_P_IPV6):
drivers/net/ethernet/brocade/bna/bnad.c
2860
else if (net_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
181
if (ethtype_key == ETH_P_IPV6)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
331
if (eth_ip_type != ETH_P_IP && eth_ip_type != ETH_P_IPV6) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
167
if (protocol != htons(ETH_P_IP) && protocol != htons(ETH_P_IPV6))
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
170
inet_family = (protocol == htons(ETH_P_IPV6)) ? PF_INET6 : PF_INET;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
205
if (protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/chelsio/cxgb4/sge.c
1282
case htons(ETH_P_IPV6):
drivers/net/ethernet/cisco/enic/enic_main.c
257
case htons(ETH_P_IPV6):
drivers/net/ethernet/cisco/enic/enic_main.c
270
case ntohs(ETH_P_IPV6):
drivers/net/ethernet/cisco/enic/enic_main.c
636
case ntohs(ETH_P_IPV6):
drivers/net/ethernet/cisco/enic/enic_main.c
659
} else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) {
drivers/net/ethernet/emulex/benet/be_main.c
1095
if (eh->h_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/emulex/benet/be_main.c
1318
if ((*skb)->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/emulex/benet/be_main.c
5103
case htons(ETH_P_IPV6):
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1511
case ETH_P_IPV6:
drivers/net/ethernet/freescale/enetc/enetc.c
207
return vlan_get_protocol(skb) == htons(ETH_P_IPV6);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
188
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/hisilicon/hns/hns_enet.c
97
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1271
if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1373
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2958
fkeys.basic.n_proto != htons(ETH_P_IPV6)) ||
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3033
else if (protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3890
} else if (type == htons(ETH_P_IPV6)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6331
rule->tuples.ether_proto = ETH_P_IPV6;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6360
rule->tuples.ether_proto = ETH_P_IPV6;
drivers/net/ethernet/ibm/ibmveth.c
1247
(skb->protocol == htons(ETH_P_IPV6) &&
drivers/net/ethernet/ibm/ibmveth.c
1348
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/ibm/ibmveth.c
1405
} else if (skb_proto == ETH_P_IPV6) {
drivers/net/ethernet/ibm/ibmveth.c
1436
else if (skb_proto == ETH_P_IPV6)
drivers/net/ethernet/ibm/ibmvnic.c
2191
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/ibm/ibmvnic.c
2574
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/intel/e1000/e1000_main.c
2782
case cpu_to_be16(ETH_P_IPV6):
drivers/net/ethernet/intel/e1000e/netdev.c
5537
case cpu_to_be16(ETH_P_IPV6):
drivers/net/ethernet/intel/fm10k/fm10k_main.c
689
case htons(ETH_P_IPV6):
drivers/net/ethernet/intel/fm10k/fm10k_main.c
714
case htons(ETH_P_IPV6):
drivers/net/ethernet/intel/fm10k/fm10k_main.c
829
case htons(ETH_P_IPV6):
drivers/net/ethernet/intel/i40e/i40e_main.c
8353
if (filter->n_proto != ETH_P_IP && filter->n_proto != ETH_P_IPV6)
drivers/net/ethernet/intel/i40e/i40e_main.c
8356
if (filter->n_proto == ETH_P_IPV6) {
drivers/net/ethernet/intel/i40e/i40e_main.c
8422
if (filter->n_proto == ETH_P_IPV6)
drivers/net/ethernet/intel/i40e/i40e_main.c
8479
(filter->src_ipv4 && filter->n_proto != ETH_P_IPV6) ||
drivers/net/ethernet/intel/i40e/i40e_main.c
8508
} else if ((filter->dst_ipv4 && filter->n_proto != ETH_P_IPV6) ||
drivers/net/ethernet/intel/i40e/i40e_main.c
8512
if (filter->n_proto == ETH_P_IPV6)
drivers/net/ethernet/intel/i40e/i40e_txrx.c
185
eth.h_proto = cpu_to_be16(ETH_P_IPV6);
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3842
cfilter.n_proto = ETH_P_IPV6;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3892
if (cfilter.n_proto == ETH_P_IPV6 && mask.dst_ip[3])
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
3988
cfilter->n_proto = ETH_P_IPV6;
drivers/net/ethernet/intel/iavf/iavf_fdir.c
576
fltr->eth_data.etype == htons(ETH_P_IPV6))
drivers/net/ethernet/intel/iavf/iavf_main.c
3857
if (n_proto != ETH_P_IP && n_proto != ETH_P_IPV6)
drivers/net/ethernet/intel/iavf/iavf_main.c
3859
if (n_proto == ETH_P_IPV6) {
drivers/net/ethernet/intel/iavf/iavf_txrx.c
2350
else if (protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/intel/ice/ice_arfs.c
372
else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP)
drivers/net/ethernet/intel/ice/ice_arfs.c
374
else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP)
drivers/net/ethernet/intel/ice/ice_arfs.c
469
n_proto == htons(ETH_P_IPV6))
drivers/net/ethernet/intel/ice/ice_tc_lib.c
317
if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IPV6) &&
drivers/net/ethernet/intel/ice/ice_tc_lib.c
573
if (headers->l2_key.n_proto == htons(ETH_P_IPV6) &&
drivers/net/ethernet/intel/ice/ice_txrx.c
2292
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
441
else if (protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9127
(first->protocol != htons(ETH_P_IPV6)))
drivers/net/ethernet/jme.c
2076
case htons(ETH_P_IPV6):
drivers/net/ethernet/marvell/mvneta.c
1968
} else if (l3_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
3619
} else if (l3_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c
1501
mvpp2_prs_match_etype(&pe, 0, ETH_P_IPV6);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
729
pkt->etype = cpu_to_be16(ETH_P_IPV6);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
736
pkt->etype = cpu_to_be16(ETH_P_IPV6);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
786
pkt->etype = cpu_to_be16(ETH_P_IPV6);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c
716
} else if (ntohs(flow_spec->etype) == ETH_P_IPV6) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1105
case ETH_P_IPV6:
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1164
if (ntohs(eth->h_proto) == ETH_P_IPV6)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
834
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/mediatek/mtk_ppe.c
272
l2->etype = ETH_P_IPV6;
drivers/net/ethernet/mediatek/mtk_ppe.c
731
l2->etype = ETH_P_IPV6;
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c
98
} else if ((ethertype.m == 0xffff && ethertype.v == ETH_P_IPV6) ||
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.h
85
fk.basic.n_proto != htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en/selq.c
147
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
1439
case htons(ETH_P_IPV6):
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
2514
(basic.key->n_proto != htons(ETH_P_IP) && basic.key->n_proto != htons(ETH_P_IPV6)) ||
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
556
ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
660
ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
901
key_basic.n_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
477
if (swp_spec->l3_proto == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
487
if (swp_spec->tun_l3_proto == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
491
if (swp_spec->l3_proto == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
69
case htons(ETH_P_IPV6):
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
83
swp_spec.tun_l3_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
1786
eth_hdr->h_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
238
skb->protocol != htons(ETH_P_IPV6))))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
285
skb->protocol != htons(ETH_P_IPV6)))) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
94
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.c
154
skb->protocol != htons(ETH_P_IPV6)))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.c
44
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.c
71
case ETH_P_IPV6:
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.c
88
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
504
if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_TCP)
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
506
if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_UDP)
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
707
if (tuple->etype == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
744
fk.basic.n_proto != htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
194
MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6);
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5005
case htons(ETH_P_IPV6):
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
5028
case htons(ETH_P_IPV6):
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1216
if (*proto == htons(ETH_P_IPV6))
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1308
case htons(ETH_P_IPV6):
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
2379
match->key->n_proto == htons(ETH_P_IPV6))) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
2408
else if (ethertype == ETH_P_IPV6)
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3556
ethertype != ETH_P_IP && ethertype != ETH_P_IPV6)
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
1004
*etype = ETH_P_IPV6;
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
106
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
114
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
122
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
130
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
145
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
153
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
161
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
302
if (ethertype == ETH_P_IPV6)
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
98
.etype = ETH_P_IPV6,
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
992
*etype = ETH_P_IPV6;
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.c
663
case ETH_P_IPV6:
drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c
1078
if (spec->ip_version == 6 || spec->ethertype == ETH_P_IPV6)
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c
545
if (n_proto != ETH_P_IP && n_proto != ETH_P_IPV6) {
drivers/net/ethernet/micrel/ksz884x.c
4489
skb->protocol == htons(ETH_P_IPV6))) {
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
548
skb->protocol == htons(ETH_P_IPV6) &&
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
180
LAN966X_VCAP_IPV6_EV_PTP_TRAP, ETH_P_IPV6);
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
185
LAN966X_VCAP_IPV6_GEN_PTP_TRAP, ETH_P_IPV6);
drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c
112
} else if (st->l3_proto == ETH_P_IPV6 &&
drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c
19
case ETH_P_IPV6:
drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c
28
case ETH_P_IPV6:
drivers/net/ethernet/microchip/lan966x/lan966x_vcap_impl.c
149
if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microchip/lan966x/lan966x_vcap_impl.c
240
if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
105
} else if (st->l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
1101
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
1114
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
1126
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
133
ETH_P_IPV6,
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
141
ETH_P_IPV6,
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
149
ETH_P_IPV6,
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
1535
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
1635
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
1717
case ETH_P_IPV6:
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
437
if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6)
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
453
if (l3_proto != ETH_P_IP && l3_proto != ETH_P_IPV6)
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
511
if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
549
l3_proto != ETH_P_IPV6) {
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
640
if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c
669
l3_proto != ETH_P_IPV6) {
drivers/net/ethernet/microchip/vcap/vcap_tc.c
103
if (st->l3_proto == ETH_P_IPV6) {
drivers/net/ethernet/microsoft/mana/mana_en.c
159
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/microsoft/mana/mana_en.c
418
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/mscc/ocelot_flower.c
718
if (ntohs(match.key->n_proto) == ETH_P_IPV6) {
drivers/net/ethernet/mscc/ocelot_flower.c
768
proto == ETH_P_IPV6) {
drivers/net/ethernet/mscc/ocelot_vcap.c
1118
if (proto == ETH_P_IPV6)
drivers/net/ethernet/natsemi/ns83820.c
903
__vlan_hwaccel_put_tag(skb, htons(ETH_P_IPV6), tag);
drivers/net/ethernet/netronome/nfp/abm/cls.c
245
cls_u32->common.protocol != htons(ETH_P_IPV6)) {
drivers/net/ethernet/netronome/nfp/abm/cls.c
71
case htons(ETH_P_IPV6):
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
280
is_v6 = match1.key->n_proto == htons(ETH_P_IPV6);
drivers/net/ethernet/netronome/nfp/flower/offload.c
428
case cpu_to_be16(ETH_P_IPV6):
drivers/net/ethernet/netronome/nfp/flower/offload.c
518
case cpu_to_be16(ETH_P_IPV6):
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
2138
case htons(ETH_P_IPV6):
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1663
fs->h_u.ether_spec.h_proto == htons(ETH_P_IPV6)) {
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
1358
} else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) {
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
1382
} else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) {
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1881
opcode = (protocol == cpu_to_be16(ETH_P_IPV6)) ?
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1895
} else if (protocol == cpu_to_be16(ETH_P_IPV6)) {
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1731
} else if (eth_type == ETH_P_IPV6) {
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2710
if (!((vlan_get_protocol(skb) == htons(ETH_P_IPV6)) &&
drivers/net/ethernet/qlogic/qede/qede_filter.c
1458
if (a->eth_proto != htons(ETH_P_IPV6) ||
drivers/net/ethernet/qlogic/qede/qede_filter.c
1459
b->eth_proto != htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qede/qede_filter.c
1791
tuple->eth_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/qlogic/qede/qede_filter.c
1811
tuple->eth_proto = htons(ETH_P_IPV6);
drivers/net/ethernet/qlogic/qede/qede_filter.c
1852
proto != htons(ETH_P_IPV6)) {
drivers/net/ethernet/qlogic/qede/qede_filter.c
1867
else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qede/qede_filter.c
1871
else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qede/qede_filter.c
2010
proto = htons(ETH_P_IPV6);
drivers/net/ethernet/qlogic/qede/qede_filter.c
446
skb->protocol != htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qede/qede_fp.c
1772
case htons(ETH_P_IPV6):
drivers/net/ethernet/qlogic/qede/qede_fp.c
186
if (l3_proto == htons(ETH_P_IPV6) &&
drivers/net/ethernet/qlogic/qede/qede_fp.c
226
if (vlan_get_protocol(skb) == htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qede/qede_fp.c
942
case htons(ETH_P_IPV6):
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1321
if (ntohs(skb->protocol) == ETH_P_IPV6) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1340
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1842
if (ntohs(skb->protocol) == ETH_P_IPV6) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1862
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
502
opcode = (protocol == ETH_P_IPV6) ? QLCNIC_TX_TCP_LSO6 :
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
563
} else if (protocol == ETH_P_IPV6) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
754
else if (protocol == ETH_P_IPV6)
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
29
skb->protocol = htons(ETH_P_IPV6);
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c
267
skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c
423
if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c
457
if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/realtek/r8169_main.c
4387
case htons(ETH_P_IPV6):
drivers/net/ethernet/realtek/r8169_main.c
4499
case htons(ETH_P_IPV6):
drivers/net/ethernet/realtek/rtase/rtase_main.c
1229
case htons(ETH_P_IPV6):
drivers/net/ethernet/renesas/ravb_main.c
2099
case ETH_P_IPV6:
drivers/net/ethernet/rocker/rocker_ofdpa.c
1577
.eth_type = htons(ETH_P_IPV6),
drivers/net/ethernet/rocker/rocker_ofdpa.c
2040
eth_type = htons(ETH_P_IPV6);
drivers/net/ethernet/rocker/rocker_ofdpa.c
472
case ETH_P_IPV6:
drivers/net/ethernet/sfc/efx_common.c
1289
case htons(ETH_P_IPV6):
drivers/net/ethernet/sfc/ethtool_common.c
1060
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/ethtool_common.c
692
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/ethtool_common.c
763
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/ethtool_common.c
999
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/falcon/ethtool.c
1109
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/falcon/ethtool.c
1170
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/falcon/ethtool.c
840
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/falcon/ethtool.c
911
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/falcon/rx.c
856
if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6))
drivers/net/ethernet/sfc/falcon/rx.c
972
if (spec->ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/filter.h
234
spec->ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/mae.c
1508
htons(ETH_P_IPV6));
drivers/net/ethernet/sfc/mae.c
1930
bool ipv6 = conn->eth_proto == htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/mae.c
1962
bool ipv6 = conn->eth_proto == htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/mcdi_filters.c
136
ETH_P_IPV6 : ETH_P_IP);
drivers/net/ethernet/sfc/mcdi_filters.c
75
if (spec->ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/ptp.c
1384
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/sfc/rx_common.c
605
if (spec->ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/rx_common.c
926
if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) {
drivers/net/ethernet/sfc/siena/efx_common.c
1316
case htons(ETH_P_IPV6):
drivers/net/ethernet/sfc/siena/ethtool_common.c
1051
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/siena/ethtool_common.c
693
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/siena/ethtool_common.c
764
spec.ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/siena/ethtool_common.c
990
spec.ether_type = htons(ETH_P_IPV6);
drivers/net/ethernet/sfc/siena/rx_common.c
592
if (spec->ether_type == htons(ETH_P_IPV6) &&
drivers/net/ethernet/sfc/siena/rx_common.c
917
if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) {
drivers/net/ethernet/sfc/tc.c
308
match->value.eth_proto == htons(ETH_P_IPV6)))
drivers/net/ethernet/sfc/tc_conntrack.c
149
: htons(ETH_P_IPV6))) {
drivers/net/ethernet/sfc/tc_encap_actions.c
376
efx_gen_tun_header_eth(encap, ETH_P_IPV6);
drivers/net/ethernet/sfc/tc_encap_actions.c
386
efx_gen_tun_header_eth(encap, ETH_P_IPV6);
drivers/net/ethernet/sfc/tx_tso.c
158
EFX_WARN_ON_ONCE_PARANOID(protocol != htons(ETH_P_IPV6));
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4634
(proto == htons(ETH_P_IP) || proto == htons(ETH_P_IPV6));
drivers/net/ethernet/sun/niu.c
6582
case cpu_to_be16(ETH_P_IPV6):
drivers/net/ethernet/sun/sunvnet_common.c
1186
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/sun/sunvnet_common.c
1236
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/sun/sunvnet_common.c
1358
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/sun/sunvnet_common.c
1373
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ethernet/sun/sunvnet_common.c
346
if (skb->protocol != htons(ETH_P_IPV6))
drivers/net/ethernet/sun/sunvnet_common.c
436
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1213
case htons(ETH_P_IPV6):
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1244
skb->inner_protocol == htons(ETH_P_IPV6)) {
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1278
case htons(ETH_P_IPV6):
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1381
case htons(ETH_P_IPV6):
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1476
case htons(ETH_P_IPV6):
drivers/net/ethernet/wangxun/libwx/wx_lib.c
3241
skb->inner_protocol != htons(ETH_P_IPV6) &&
drivers/net/geneve.c
117
htons(ETH_P_IPV6),
drivers/net/geneve.c
1188
nested_is_v6 = skb->protocol == htons(ETH_P_IPV6);
drivers/net/geneve.c
1205
hint->nested_is_v6 = skb->protocol == htons(ETH_P_IPV6);
drivers/net/geneve.c
1378
if (ntohs(eth->h_proto) == ETH_P_IPV6) {
drivers/net/gtp.c
1288
case ETH_P_IPV6:
drivers/net/gtp.c
282
case ETH_P_IPV6:
drivers/net/gtp.c
303
*inner_proto = ETH_P_IPV6;
drivers/net/gtp.c
569
case ETH_P_IPV6:
drivers/net/hyperv/hyperv_net.h
1100
else if (flow.basic.n_proto == htons(ETH_P_IPV6))
drivers/net/hyperv/hyperv_net.h
1108
else if (flow.basic.n_proto == htons(ETH_P_IPV6))
drivers/net/hyperv/hyperv_net.h
1119
else if (flow.basic.n_proto == htons(ETH_P_IPV6))
drivers/net/ipvlan/ipvlan_core.c
184
case htons(ETH_P_IPV6): {
drivers/net/ipvlan/ipvlan_core.c
562
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/mhi_net.c
217
skb->protocol = htons(ETH_P_IPV6);
drivers/net/netdevsim/psp.c
104
case htons(ETH_P_IPV6):
drivers/net/ovpn/bind.h
80
case htons(ETH_P_IPV6):
drivers/net/ovpn/io.c
183
if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/ovpn/io.c
380
case htons(ETH_P_IPV6):
drivers/net/ovpn/peer.c
238
case htons(ETH_P_IPV6):
drivers/net/ovpn/peer.c
392
case htons(ETH_P_IPV6):
drivers/net/ovpn/peer.c
753
case htons(ETH_P_IPV6):
drivers/net/ovpn/peer.c
882
case htons(ETH_P_IPV6):
drivers/net/ovpn/skb.h
55
proto = htons(ETH_P_IPV6);
drivers/net/ppp/ppp_generic.c
350
case ETH_P_IPV6:
drivers/net/ppp/ppp_generic.c
368
ETH_P_IPV6,
drivers/net/thunderbolt/main.c
1057
} else if (protocol == htons(ETH_P_IPV6)) {
drivers/net/tun.c
1830
pi.proto = htons(ETH_P_IPV6);
drivers/net/usb/cdc_mbim.c
215
case htons(ETH_P_IPV6):
drivers/net/usb/cdc_mbim.c
383
proto = htons(ETH_P_IPV6);
drivers/net/usb/lg-vl600.c
195
ethhdr->h_proto = htons(ETH_P_IPV6);
drivers/net/usb/qmi_wwan.c
206
skbn->protocol = htons(ETH_P_IPV6);
drivers/net/usb/qmi_wwan.c
586
proto = htons(ETH_P_IPV6);
drivers/net/usb/r8152.c
2294
case htons(ETH_P_IPV6):
drivers/net/usb/r8152.c
2328
case htons(ETH_P_IPV6):
drivers/net/usb/sierra_net.c
207
skb->protocol == cpu_to_be16(ETH_P_IPV6);
drivers/net/usb/sierra_net.c
832
if (eth_hdr(skb)->h_proto != cpu_to_be16(ETH_P_IPV6))
drivers/net/vmxnet3/vmxnet3_drv.c
1164
ctx.ipv6 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IPV6));
drivers/net/vmxnet3/vmxnet3_drv.c
1554
BUG_ON(hdr.eth->h_proto != htons(ETH_P_IPV6) &&
drivers/net/vmxnet3/vmxnet3_drv.c
1555
hdr.veth->h_vlan_encapsulated_proto != htons(ETH_P_IPV6));
drivers/net/vmxnet3/vmxnet3_ethtool.c
299
case htons(ETH_P_IPV6):
drivers/net/vrf.c
1355
ETH_P_IPV6,
drivers/net/vrf.c
555
case htons(ETH_P_IPV6):
drivers/net/vrf.c
612
skb->protocol = htons(ETH_P_IPV6);
drivers/net/vrf.c
688
skb->protocol = htons(ETH_P_IPV6);
drivers/net/vxlan/vxlan_core.c
1956
reply->protocol = htons(ETH_P_IPV6);
drivers/net/vxlan/vxlan_core.c
1983
eth_hdr(reply)->h_proto = htons(ETH_P_IPV6);
drivers/net/vxlan/vxlan_core.c
1984
reply->protocol = htons(ETH_P_IPV6);
drivers/net/vxlan/vxlan_core.c
2131
case ETH_P_IPV6:
drivers/net/vxlan/vxlan_core.c
2506
if (ntohs(eth->h_proto) == ETH_P_IPV6 ||
drivers/net/vxlan/vxlan_core.c
2759
else if (ntohs(eth->h_proto) == ETH_P_IPV6 &&
drivers/net/vxlan/vxlan_core.c
2797
ntohs(eth->h_proto) == ETH_P_IPV6)) {
drivers/net/vxlan/vxlan_mdb.c
119
e->addr.proto = htons(ETH_P_IPV6);
drivers/net/vxlan/vxlan_mdb.c
1636
case htons(ETH_P_IPV6):
drivers/net/vxlan/vxlan_mdb.c
1670
case htons(ETH_P_IPV6):
drivers/net/vxlan/vxlan_mdb.c
358
case htons(ETH_P_IPV6): {
drivers/net/vxlan/vxlan_mdb.c
391
case htons(ETH_P_IPV6):
drivers/net/vxlan/vxlan_mdb.c
643
entry->addr.proto != htons(ETH_P_IPV6)) {
drivers/net/wan/hdlc_cisco.c
132
case cpu_to_be16(ETH_P_IPV6):
drivers/net/wan/hdlc_fr.c
285
case htons(ETH_P_IPV6):
drivers/net/wan/hdlc_fr.c
959
skb->protocol = htons(ETH_P_IPV6);
drivers/net/wan/hdlc_ppp.c
155
return htons(ETH_P_IPV6);
drivers/net/wan/hdlc_ppp.c
180
case ETH_P_IPV6:
drivers/net/wireguard/allowedips.c
401
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/wireguard/allowedips.c
412
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/wireguard/cookie.c
110
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/wireguard/device.c
159
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/wireguard/device.c
228
else if (skb->protocol == htons(ETH_P_IPV6))
drivers/net/wireguard/ratelimiter.c
101
else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/wireguard/receive.c
390
} else if (skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/wireguard/selftest/ratelimiter.c
162
skb6->protocol = htons(ETH_P_IPV6);
drivers/net/wireguard/socket.c
245
} else if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) {
drivers/net/wireless/ath/wil6210/txrx.c
1531
case htons(ETH_P_IPV6):
drivers/net/wireless/ath/wil6210/txrx.c
1680
case cpu_to_be16(ETH_P_IPV6):
drivers/net/wireless/intel/iwlwifi/mei/net.c
315
case htons(ETH_P_IPV6):
drivers/net/wireless/intel/iwlwifi/mld/rx.c
1610
shdr->type != htons(ETH_P_IPV6) &&
drivers/net/wireless/intel/iwlwifi/mld/tx.c
228
skb->protocol != htons(ETH_P_IPV6),
drivers/net/wireless/intel/iwlwifi/mld/tx.c
825
if (skb->protocol == htons(ETH_P_IPV6) &&
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
169
shdr->type != htons(ETH_P_IPV6) &&
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
62
skb->protocol != htons(ETH_P_IPV6)),
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
919
if (skb->protocol == htons(ETH_P_IPV6) &&
drivers/net/wireless/marvell/mwifiex/sta_rx.c
41
case ETH_P_IPV6:
drivers/net/wireless/microchip/wilc1000/wlan.c
323
case htons(ETH_P_IPV6):
drivers/net/wireless/realtek/rtlwifi/base.c
1551
} else if (ETH_P_IPV6 == ether_type) {
drivers/net/wwan/iosm/iosm_ipc_wwan.c
231
skb->protocol = htons(ETH_P_IPV6);
drivers/net/wwan/mhi_wwan_mbim.c
331
skbn->protocol = htons(ETH_P_IPV6);
drivers/net/wwan/qcom_bam_dmux.c
530
skb->protocol = htons(ETH_P_IPV6);
drivers/net/wwan/t7xx/t7xx_netdev.c
433
skb->protocol = htons(ETH_P_IPV6);
drivers/net/xen-netback/hash.c
170
case htons(ETH_P_IPV6):
drivers/net/xen-netback/hash.c
213
case htons(ETH_P_IPV6):
drivers/s390/net/qeth_core.h
961
if (proto == htons(ETH_P_IPV6))
drivers/s390/net/qeth_core.h
992
(proto == htons(ETH_P_IPV6) && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP))
drivers/s390/net/qeth_core_main.c
3854
case htons(ETH_P_IPV6):
drivers/s390/net/qeth_core_main.c
5481
u16 prot = (l3_hdr->flags & QETH_HDR_IPV6) ? ETH_P_IPV6 :
drivers/s390/net/qeth_core_main.c
6906
case htons(ETH_P_IPV6):
drivers/s390/net/qeth_core_main.c
719
qeth_dst_check_rcu(skb, htons(ETH_P_IPV6)));
drivers/s390/net/qeth_l3_main.c
1591
case htons(ETH_P_IPV6):
drivers/s390/net/qeth_l3_main.c
1676
case htons(ETH_P_IPV6):
drivers/s390/net/qeth_l3_main.c
1751
case htons(ETH_P_IPV6):
drivers/scsi/qedi/qedi_main.c
696
eh->h_proto != htons(ETH_P_IPV6)) {
include/linux/mlx5/fs_helpers.h
60
ethertype = ETH_P_IPV6;
include/linux/netdevice.h
5267
case htons(ETH_P_IPV6):
include/linux/netdevice.h
5454
return skb->protocol == htons(ETH_P_IPV6) ?
include/linux/netdevice.h
5463
return skb->protocol == htons(ETH_P_IPV6) ?
include/linux/virtio_net.h
138
skb->protocol = htons(ETH_P_IPV6);
include/linux/virtio_net.h
18
return protocol == cpu_to_be16(ETH_P_IPV6);
include/linux/virtio_net.h
22
protocol == cpu_to_be16(ETH_P_IPV6);
include/linux/virtio_net.h
361
skb_set_inner_protocol(skb, inner_isv6 ? htons(ETH_P_IPV6) :
include/linux/virtio_net.h
41
skb->protocol = cpu_to_be16(ETH_P_IPV6);
include/linux/virtio_net.h
462
if (skb->protocol == htons(ETH_P_IPV6))
include/net/inet_ecn.h
195
case cpu_to_be16(ETH_P_IPV6):
include/net/inet_ecn.h
213
case cpu_to_be16(ETH_P_IPV6):
include/net/inet_ecn.h
231
case cpu_to_be16(ETH_P_IPV6):
include/net/inet_ecn.h
309
case htons(ETH_P_IPV6):
include/net/inet_ecn.h
328
case htons(ETH_P_IPV6):
include/net/ip_tunnels.h
470
case htons(ETH_P_IPV6):
include/net/ip_tunnels.h
506
case htons(ETH_P_IPV6):
include/net/ip_tunnels.h
576
else if (payload_protocol == htons(ETH_P_IPV6))
include/net/ip_tunnels.h
587
if (payload_protocol == htons(ETH_P_IPV6))
include/net/ip_tunnels.h
600
else if (payload_protocol == htons(ETH_P_IPV6))
include/net/netfilter/nf_flow_table.h
389
return htons(ETH_P_IPV6);
include/net/netfilter/nf_queue.h
96
case htons(ETH_P_IPV6):
include/net/tun_proto.h
22
return htons(ETH_P_IPV6);
include/net/tun_proto.h
38
case htons(ETH_P_IPV6):
include/net/vxlan.h
376
case htons(ETH_P_IPV6):
kernel/audit.c
2503
case htons(ETH_P_IPV6):
lib/test_bpf.c
15081
skb[i]->protocol = htons(ETH_P_IPV6);
lib/tests/blackhole_dev_kunit.c
63
skb->protocol = htons(ETH_P_IPV6);
net/6lowpan/iphc.c
1140
if (skb->protocol != htons(ETH_P_IPV6))
net/802/fddi.c
55
if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP)
net/802/fddi.c
59
if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP)
net/atm/br2684.c
237
case ETH_P_IPV6:
net/atm/br2684.c
458
skb->protocol = htons(ETH_P_IPV6);
net/atm/br2684.c
488
skb->protocol = htons(ETH_P_IPV6);
net/batman-adv/gateway_client.c
597
case htons(ETH_P_IPV6):
net/batman-adv/gateway_client.c
627
case htons(ETH_P_IPV6):
net/batman-adv/main.c
370
case htons(ETH_P_IPV6):
net/batman-adv/multicast.c
1078
*is_routable = ETH_P_IPV6;
net/batman-adv/multicast.c
1110
case ETH_P_IPV6:
net/batman-adv/multicast.c
1138
case ETH_P_IPV6:
net/batman-adv/multicast.c
1162
case ETH_P_IPV6:
net/batman-adv/multicast.c
1430
case ETH_P_IPV6:
net/batman-adv/multicast.c
1533
case ETH_P_IPV6:
net/batman-adv/multicast.c
205
if (!br_multicast_has_router_adjacent(dev, ETH_P_IPV6))
net/batman-adv/multicast.c
304
qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6);
net/batman-adv/multicast.c
305
qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6);
net/batman-adv/multicast.c
562
else if (src->proto == htons(ETH_P_IPV6))
net/batman-adv/multicast.c
616
if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) {
net/batman-adv/multicast_forw.c
292
case htons(ETH_P_IPV6):
net/batman-adv/multicast_forw.c
338
case htons(ETH_P_IPV6):
net/bluetooth/6lowpan.c
295
local_skb->protocol = htons(ETH_P_IPV6);
net/bluetooth/6lowpan.c
326
local_skb->protocol = htons(ETH_P_IPV6);
net/bluetooth/6lowpan.c
419
err = dev_hard_header(skb, netdev, ETH_P_IPV6, NULL, NULL, 0);
net/bluetooth/6lowpan.c
430
if (type != ETH_P_IPV6)
net/bluetooth/bnep/core.c
99
s->proto_filter[2].end = ETH_P_IPV6;
net/bpf/test_run.c
1130
case htons(ETH_P_IPV6):
net/bpf/test_run.c
1707
return htons(ETH_P_IPV6);
net/bpf/test_run.c
1780
case htons(ETH_P_IPV6):
net/bridge/br_arp_nd_proxy.c
277
reply->protocol = htons(ETH_P_IPV6);
net/bridge/br_arp_nd_proxy.c
306
eth_hdr(reply)->h_proto = htons(ETH_P_IPV6);
net/bridge/br_arp_nd_proxy.c
307
reply->protocol = htons(ETH_P_IPV6);
net/bridge/br_device.c
78
skb->protocol == htons(ETH_P_IPV6) &&
net/bridge/br_input.c
174
skb->protocol == htons(ETH_P_IPV6) &&
net/bridge/br_mdb.c
164
case htons(ETH_P_IPV6):
net/bridge/br_mdb.c
203
case htons(ETH_P_IPV6):
net/bridge/br_mdb.c
259
} else if (mp->addr.proto == htons(ETH_P_IPV6)) {
net/bridge/br_mdb.c
289
case htons(ETH_P_IPV6):
net/bridge/br_mdb.c
481
case htons(ETH_P_IPV6):
net/bridge/br_mdb.c
684
case htons(ETH_P_IPV6): {
net/bridge/br_multicast.c
1125
skb->protocol = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
1132
eth->h_proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
1256
case htons(ETH_P_IPV6): {
net/bridge/br_multicast.c
1350
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
1376
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
141
br_dst.proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
1615
br_group.proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
180
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
1872
br_group.proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
3125
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
3615
saddr.proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
3797
br_group.proto = htons(ETH_P_IPV6);
net/bridge/br_multicast.c
3831
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
4033
case htons(ETH_P_IPV6):
net/bridge/br_multicast.c
4983
case ETH_P_IPV6:
net/bridge/br_multicast.c
5035
case ETH_P_IPV6:
net/bridge/br_multicast.c
5103
case htons(ETH_P_IPV6):
net/bridge/br_multicast_eht.c
388
case htons(ETH_P_IPV6):
net/bridge/br_netfilter_hooks.c
103
return vlan_proto(skb) == htons(ETH_P_IPV6) &&
net/bridge/br_netfilter_hooks.c
644
if (skb->protocol == htons(ETH_P_IPV6))
net/bridge/br_netfilter_hooks.c
708
skb->protocol = htons(ETH_P_IPV6);
net/bridge/br_netfilter_hooks.c
76
(!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
net/bridge/br_netfilter_hooks.c
892
skb->protocol == htons(ETH_P_IPV6)) {
net/bridge/br_netfilter_hooks.c
964
skb->protocol = htons(ETH_P_IPV6);
net/bridge/br_netfilter_ipv6.c
181
skb->protocol = htons(ETH_P_IPV6);
net/bridge/br_private.h
1096
if (skb->protocol == htons(ETH_P_IPV6))
net/bridge/br_private.h
1108
if (skb->protocol == htons(ETH_P_IPV6))
net/bridge/br_private.h
1146
else if (skb->protocol == htons(ETH_P_IPV6))
net/bridge/br_private.h
1187
case (htons(ETH_P_IPV6)):
net/bridge/br_private.h
1202
case htons(ETH_P_IPV6):
net/bridge/br_private.h
1218
case htons(ETH_P_IPV6):
net/bridge/br_switchdev.c
541
else if (mp->addr.proto == htons(ETH_P_IPV6))
net/bridge/netfilter/ebt_ip6.c
111
if (e->ethproto != htons(ETH_P_IPV6) || e->invflags & EBT_IPROTO)
net/bridge/netfilter/ebt_log.c
115
htons(ETH_P_IPV6)) {
net/bridge/netfilter/nf_conntrack_bridge.c
268
case htons(ETH_P_IPV6):
net/bridge/netfilter/nf_conntrack_bridge.c
352
case htons(ETH_P_IPV6):
net/bridge/netfilter/nft_reject_bridge.c
143
case htons(ETH_P_IPV6):
net/caif/chnl_net.c
88
skb->protocol = htons(ETH_P_IPV6);
net/core/dev.c
3777
vlan_get_protocol(skb) == htons(ETH_P_IPV6))) &&
net/core/dev.c
3942
if (vlan_get_protocol(skb) == htons(ETH_P_IPV6) &&
net/core/dev.c
5923
case htons(ETH_P_IPV6):
net/core/filter.c
12255
case htons(ETH_P_IPV6):
net/core/filter.c
2441
else if (skb->protocol == htons(ETH_P_IPV6))
net/core/filter.c
3365
bpf_skb_change_protocol(skb, ETH_P_IPV6);
net/core/filter.c
3407
to_proto == htons(ETH_P_IPV6))
net/core/filter.c
3410
if (from_proto == htons(ETH_P_IPV6) &&
net/core/filter.c
3480
case htons(ETH_P_IPV6):
net/core/filter.c
3525
skb->protocol != htons(ETH_P_IPV6))
net/core/filter.c
3588
bpf_skb_change_protocol(skb, ETH_P_IPV6);
net/core/filter.c
3589
else if (skb->protocol == htons(ETH_P_IPV6) &&
net/core/filter.c
3644
bpf_skb_change_protocol(skb, ETH_P_IPV6);
net/core/filter.c
3645
else if (skb->protocol == htons(ETH_P_IPV6) &&
net/core/filter.c
3724
proto != htons(ETH_P_IPV6)))
net/core/filter.c
6596
if (skb->protocol != htons(ETH_P_IPV6))
net/core/filter.c
7493
case cpu_to_be16(ETH_P_IPV6):
net/core/filter.c
7964
skb->protocol != htons(ETH_P_IPV6))
net/core/flow_dissector.c
1247
case htons(ETH_P_IPV6): {
net/core/flow_dissector.c
1392
proto = htons(ETH_P_IPV6);
net/core/flow_dissector.c
1552
if (proto != htons(ETH_P_IPV6))
net/core/flow_dissector.c
1571
if (proto != htons(ETH_P_IPV6))
net/core/flow_dissector.c
1621
proto = htons(ETH_P_IPV6);
net/core/flow_dissector.c
756
*p_proto = htons(ETH_P_IPV6);
net/core/flow_dissector.c
966
} else if (flow_keys->addr_proto == ETH_P_IPV6 &&
net/core/lwt_bpf.c
104
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/core/lwt_bpf.c
190
else if (skb->protocol == htons(ETH_P_IPV6))
net/core/lwt_bpf.c
648
skb->protocol = htons(ETH_P_IPV6);
net/core/netpoll.c
434
skb->protocol = htons(ETH_P_IPV6);
net/core/netpoll.c
491
eth->h_proto = htons(ETH_P_IPV6);
net/core/pktgen.c
3063
__be16 protocol = htons(ETH_P_IPV6);
net/core/pktgen.c
3113
*vlan_encapsulated_proto = htons(ETH_P_IPV6);
net/core/rtnetlink.c
6595
entry->addr.proto != htons(ETH_P_IPV6) &&
net/core/rtnetlink.c
6677
} else if (entry->addr.proto == htons(ETH_P_IPV6)) {
net/core/skbuff.c
6035
case htons(ETH_P_IPV6):
net/core/tso.c
73
tso->ipv6 = vlan_get_protocol(skb) == htons(ETH_P_IPV6);
net/ethtool/ioctl.c
3725
match->key.basic.n_proto = htons(ETH_P_IPV6);
net/ieee802154/6lowpan/rx.c
23
skb->protocol = htons(ETH_P_IPV6);
net/ieee802154/6lowpan/tx.c
49
if (type != ETH_P_IPV6)
net/ipv4/esp4_offload.c
127
__be16 type = inner_mode->family == AF_INET6 ? htons(ETH_P_IPV6)
net/ipv4/ip_gre.c
191
if (tpi->proto == htons(ETH_P_IPV6)) {
net/ipv4/ip_gre.c
588
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv4/ip_tunnel.c
544
else if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv4/ip_tunnel.c
596
else if (skb->protocol == htons(ETH_P_IPV6))
net/ipv4/ip_tunnel.c
642
else if (skb->protocol == htons(ETH_P_IPV6))
net/ipv4/ip_tunnel.c
713
else if (payload_protocol == htons(ETH_P_IPV6)) {
net/ipv4/ip_tunnel.c
756
} else if (payload_protocol == htons(ETH_P_IPV6)) {
net/ipv4/ip_tunnel.c
826
else if (payload_protocol == htons(ETH_P_IPV6))
net/ipv4/ip_tunnel_core.c
1114
return htons(ETH_P_IPV6);
net/ipv4/ip_tunnel_core.c
449
if (skb->protocol == htons(ETH_P_IPV6))
net/ipv4/ip_vti.c
197
case htons(ETH_P_IPV6):
net/ipv4/ip_vti.c
296
case htons(ETH_P_IPV6):
net/ipv4/ping.c
173
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv4/ping.c
206
} else if (skb->protocol == htons(ETH_P_IPV6) &&
net/ipv4/ping.c
507
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv4/ping.c
575
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv4/ping.c
921
if (skb->protocol == htons(ETH_P_IPV6) &&
net/ipv4/tcp.c
4437
else if (skb->protocol == htons(ETH_P_IPV6))
net/ipv4/tcp_input.c
1001
if (skb->protocol == htons(ETH_P_IPV6))
net/ipv4/tcp_input.c
5073
skb->protocol == htons(ETH_P_IPV6) &&
net/ipv6/af_inet6.c
876
.type = cpu_to_be16(ETH_P_IPV6),
net/ipv6/datagram.c
320
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/datagram.c
359
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/datagram.c
492
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/datagram.c
517
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/datagram.c
600
bool is_ipv6 = skb->protocol == htons(ETH_P_IPV6);
net/ipv6/esp6_offload.c
164
: htons(ETH_P_IPV6);
net/ipv6/ila/ila_lwt.c
113
if (skb->protocol != htons(ETH_P_IPV6))
net/ipv6/ila/ila_lwt.c
46
if (skb->protocol != htons(ETH_P_IPV6))
net/ipv6/ioam6_iptunnel.c
346
if (skb->protocol != htons(ETH_P_IPV6))
net/ipv6/ip6_gre.c
1022
case htons(ETH_P_IPV6):
net/ipv6/ip6_gre.c
395
if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IPV6),
net/ipv6/ip6_gre.c
576
hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IPV6), 0);
net/ipv6/ip6_gre.c
895
case htons(ETH_P_IPV6):
net/ipv6/ip6_gre.c
952
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/ip6_offload.c
338
skb_set_inner_protocol(skb, cpu_to_be16(ETH_P_IPV6));
net/ipv6/ip6_offload.c
444
.type = cpu_to_be16(ETH_P_IPV6),
net/ipv6/ip6_output.c
1679
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/ip6_output.c
233
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/ip6_output.c
338
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/ip6_tunnel.c
1120
if (payload_protocol == htons(ETH_P_IPV6)) {
net/ipv6/ip6_tunnel.c
1200
mtu = max(mtu, skb->protocol == htons(ETH_P_IPV6) ?
net/ipv6/ip6_tunnel.c
1254
else if (payload_protocol == htons(ETH_P_IPV6))
net/ipv6/ip6_tunnel.c
1441
case htons(ETH_P_IPV6):
net/ipv6/ip6_tunnel.c
915
.proto = htons(ETH_P_IPV6),
net/ipv6/ip6_vti.c
465
case htons(ETH_P_IPV6):
net/ipv6/ip6_vti.c
513
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/ip6_vti.c
561
case htons(ETH_P_IPV6):
net/ipv6/ip6mr.c
593
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/mcast.c
1739
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/ndisc.c
112
.protocol = cpu_to_be16(ETH_P_IPV6),
net/ipv6/ndisc.c
424
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/netfilter/ip6t_eui64.c
32
if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
net/ipv6/netfilter/nf_dup_ipv6.c
42
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/netfilter/nf_reject_ipv6.c
259
nskb->protocol = htons(ETH_P_IPV6);
net/ipv6/netfilter/nf_reject_ipv6.c
398
nskb->protocol = htons(ETH_P_IPV6);
net/ipv6/output_core.c
138
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/raw.c
622
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/rpl_iptunnel.c
196
if (skb->protocol != htons(ETH_P_IPV6))
net/ipv6/seg6_iptunnel.c
122
} else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/seg6_iptunnel.c
159
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/seg6_iptunnel.c
256
if (skb->protocol == htons(ETH_P_IPV6)) {
net/ipv6/seg6_iptunnel.c
393
if (skb->protocol != htons(ETH_P_IPV6))
net/ipv6/seg6_iptunnel.c
406
if (skb->protocol == htons(ETH_P_IPV6))
net/ipv6/seg6_iptunnel.c
425
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/seg6_iptunnel.c
450
skb->protocol = htons(ETH_P_IPV6);
net/ipv6/seg6_iptunnel.c
541
case htons(ETH_P_IPV6):
net/ipv6/seg6_iptunnel.c
626
case htons(ETH_P_IPV6):
net/ipv6/seg6_local.c
1149
protocol = htons(ETH_P_IPV6);
net/ipv6/seg6_local.c
1633
if (skb->protocol != htons(ETH_P_IPV6)) {
net/ipv6/sit.c
1070
case htons(ETH_P_IPV6):
net/ipv6/sit.c
704
if (iptunnel_pull_header(skb, 0, htons(ETH_P_IPV6),
net/ipv6/xfrm6_output.c
78
if (skb->protocol == htons(ETH_P_IPV6))
net/mac80211/tx.c
4407
case htons(ETH_P_IPV6):
net/mpls/af_mpls.c
170
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/mpls/af_mpls.c
343
skb->protocol = htons(ETH_P_IPV6);
net/netfilter/ipvs/ip_vs_xmit.c
1101
htons(ETH_P_IP) : htons(ETH_P_IPV6);
net/netfilter/nf_flow_table_bpf.c
87
proto = htons(ETH_P_IPV6);
net/netfilter/nf_flow_table_inet.c
38
case htons(ETH_P_IPV6):
net/netfilter/nf_flow_table_ip.c
1066
if (!nf_flow_skb_encap_protocol(ctx, skb, htons(ETH_P_IPV6)))
net/netfilter/nf_flow_table_ip.c
203
case htons(ETH_P_IPV6):
net/netfilter/nf_flow_table_ip.c
423
case htons(ETH_P_IPV6):
net/netfilter/nf_flow_table_ip.c
461
skb->protocol == htons(ETH_P_IPV6))
net/netfilter/nf_flow_table_ip.c
563
case htons(ETH_P_IPV6):
net/netfilter/nf_flow_table_offload.c
159
key->basic.n_proto = htons(ETH_P_IPV6);
net/netfilter/nf_log_syslog.c
941
case htons(ETH_P_IPV6):
net/netfilter/nf_nat_ovs.c
36
} else if (IS_ENABLED(CONFIG_IPV6) && proto == htons(ETH_P_IPV6)) {
net/netfilter/nfnetlink_queue.c
1062
skb->protocol = htons(ETH_P_IPV6);
net/netfilter/nft_chain_filter.c
180
case htons(ETH_P_IPV6):
net/netfilter/nft_chain_filter.c
243
case htons(ETH_P_IPV6):
net/netfilter/nft_chain_filter.c
298
case htons(ETH_P_IPV6):
net/netfilter/nft_exthdr.c
55
if (pkt->skb->protocol != htons(ETH_P_IPV6))
net/netfilter/nft_fib_netdev.c
37
case ETH_P_IPV6:
net/netfilter/nft_fwd_netdev.c
126
if (skb->protocol != htons(ETH_P_IPV6)) {
net/netfilter/nft_inner.c
109
llproto = htons(ETH_P_IPV6);
net/netfilter/nft_inner.c
144
case htons(ETH_P_IPV6): {
net/netfilter/nft_inner.c
76
case htons(ETH_P_IPV6):
net/netfilter/nft_meta.c
113
case htons(ETH_P_IPV6):
net/netfilter/nft_payload.c
465
case htons(ETH_P_IPV6):
net/netfilter/nft_reject_netdev.c
118
case htons(ETH_P_IPV6):
net/netfilter/nft_synproxy.c
145
case htons(ETH_P_IPV6):
net/openvswitch/actions.c
1176
if (skb->protocol == htons(ETH_P_IPV6)) {
net/openvswitch/actions.c
798
} else if (key->eth.type == htons(ETH_P_IPV6)) {
net/openvswitch/conntrack.c
114
case ETH_P_IPV6:
net/openvswitch/conntrack.c
222
} else if (key->eth.type == htons(ETH_P_IPV6) &&
net/openvswitch/conntrack.c
323
} else if (swkey->eth.type == htons(ETH_P_IPV6)) {
net/openvswitch/conntrack.c
625
else if (key->eth.type == htons(ETH_P_IPV6))
net/openvswitch/conntrack.c
647
else if (key->eth.type == htons(ETH_P_IPV6))
net/openvswitch/flow.c
1111
(key->eth.type != htons(ETH_P_IPV6) ||
net/openvswitch/flow.c
816
} else if (key->eth.type == htons(ETH_P_IPV6)) {
net/openvswitch/flow.h
171
return key->eth.type == htons(ETH_P_IPV6) &&
net/openvswitch/flow_netlink.c
2100
} else if (swkey->eth.type == htons(ETH_P_IPV6)) {
net/openvswitch/flow_netlink.c
2157
swkey->eth.type == htons(ETH_P_IPV6)) &&
net/openvswitch/flow_netlink.c
2200
} else if (swkey->eth.type == htons(ETH_P_IPV6) &&
net/openvswitch/flow_netlink.c
242
if (match->key->eth.type == htons(ETH_P_IPV6)) {
net/openvswitch/flow_netlink.c
2910
if (eth_type != htons(ETH_P_IPV6))
net/openvswitch/flow_netlink.c
2939
eth_type != htons(ETH_P_IPV6)) ||
net/openvswitch/flow_netlink.c
2947
eth_type != htons(ETH_P_IPV6)) ||
net/openvswitch/flow_netlink.c
2962
eth_type != htons(ETH_P_IPV6)) ||
net/openvswitch/flow_netlink.c
3267
eth_type != htons(ETH_P_IPV6) &&
net/openvswitch/flow_netlink.c
3295
eth_type != htons(ETH_P_IPV6) &&
net/phonet/pep-gprs.c
185
case htons(ETH_P_IPV6):
net/phonet/pep-gprs.c
48
return htons(ETH_P_IPV6);
net/psp/psp_main.c
246
} else if (skb->protocol == htons(ETH_P_IPV6)) {
net/psp/psp_main.c
286
else if (proto == htons(ETH_P_IPV6))
net/rxrpc/utils.c
30
case ETH_P_IPV6:
net/sched/act_connmark.c
56
case htons(ETH_P_IPV6):
net/sched/act_csum.c
596
case cpu_to_be16(ETH_P_IPV6):
net/sched/act_ct.c
795
case htons(ETH_P_IPV6):
net/sched/act_ctinfo.c
107
case htons(ETH_P_IPV6):
net/sched/act_pedit.c
348
case htons(ETH_P_IPV6):
net/sched/act_skbedit.c
65
case htons(ETH_P_IPV6):
net/sched/act_skbmod.c
54
case cpu_to_be16(ETH_P_IPV6):
net/sched/cls_flow.c
158
case htons(ETH_P_IPV6):
net/sched/cls_flow.c
171
case htons(ETH_P_IPV6):
net/sched/cls_flower.c
1148
key->basic.n_proto = htons(ETH_P_IPV6);
net/sched/cls_flower.c
1926
key->basic.n_proto == htons(ETH_P_IPV6)) {
net/sched/cls_flower.c
1987
} else if (key->basic.n_proto == htons(ETH_P_IPV6) &&
net/sched/cls_flower.c
3499
key->basic.n_proto == htons(ETH_P_IPV6)) &&
net/sched/cls_flower.c
3572
else if (key->basic.n_proto == htons(ETH_P_IPV6) &&
net/sched/em_ipset.c
69
case htons(ETH_P_IPV6):
net/sched/em_ipt.c
222
case htons(ETH_P_IPV6):
net/sched/sch_cake.c
1642
case htons(ETH_P_IPV6):
net/sched/sch_dualpi2.c
321
case htons(ETH_P_IPV6):
net/sched/sch_frag.c
115
} else if (skb_protocol(skb, true) == htons(ETH_P_IPV6)) {
net/tipc/udp_media.c
136
else if (ntohs(ua->proto) == ETH_P_IPV6)
net/tipc/udp_media.c
326
else if (ntohs(addr->proto) == ETH_P_IPV6)
net/tipc/udp_media.c
356
src.proto = htons(ETH_P_IPV6);
net/tipc/udp_media.c
443
} else if (ntohs(addr->proto) == ETH_P_IPV6) {
net/tipc/udp_media.c
603
addr->proto = htons(ETH_P_IPV6);
net/tipc/udp_media.c
747
} else if (local.proto == htons(ETH_P_IPV6)) {
net/wireless/util.c
968
case htons(ETH_P_IPV6):
net/xfrm/xfrm_input.c
278
skb->protocol = htons(ETH_P_IPV6);
net/xfrm/xfrm_input.c
309
skb->protocol = htons(ETH_P_IPV6);
net/xfrm/xfrm_interface_core.c
484
if (skb->protocol == htons(ETH_P_IPV6)) {
net/xfrm/xfrm_interface_core.c
535
case htons(ETH_P_IPV6):
net/xfrm/xfrm_iptfs.c
1020
protocol = cpu_to_be16(ETH_P_IPV6);
net/xfrm/xfrm_iptfs.c
2203
htons(ETH_P_IPV6);
net/xfrm/xfrm_iptfs.c
693
skb->protocol = htons(ETH_P_IPV6);
net/xfrm/xfrm_output.c
275
bool small_ipv6 = (skb->protocol == htons(ETH_P_IPV6)) && (skb->len <= IPV6_MIN_MTU);
net/xfrm/xfrm_output.c
437
skb->protocol = htons(ETH_P_IPV6);
net/xfrm/xfrm_output.c
734
case ETH_P_IPV6:
net/xfrm/xfrm_output.c
900
skb->protocol = htons(ETH_P_IPV6);
net/xfrm/xfrm_output.c
940
case htons(ETH_P_IPV6):
net/xfrm/xfrm_output.c
954
else if (skb->protocol == htons(ETH_P_IPV6) &&
samples/bpf/parse_varlen.c
146
else if (h_proto == htons(ETH_P_IPV6))
samples/bpf/sockex2_kern.c
121
else if (proto == ETH_P_IPV6)
samples/bpf/sockex2_kern.c
159
else if (proto == ETH_P_IPV6)
samples/bpf/sockex3_kern.c
143
parse_eth_proto(skb, ETH_P_IPV6);
samples/bpf/sockex3_kern.c
243
parse_eth_proto(skb, ETH_P_IPV6);
samples/bpf/sockex3_kern.c
287
case ETH_P_IPV6:
samples/bpf/tc_l2_redirect_kern.c
173
} else if (eth->h_proto == htons(ETH_P_IPV6)) {
samples/bpf/tc_l2_redirect_kern.c
218
} else if (eth->h_proto == htons(ETH_P_IPV6)) {
samples/bpf/tc_l2_redirect_kern.c
52
else if (eth_proto == htons(ETH_P_IPV6))
samples/bpf/tc_l2_redirect_kern.c
86
} else if (eth->h_proto == htons(ETH_P_IPV6)) {
samples/bpf/xdp_fwd_kern.c
135
else if (h_proto == htons(ETH_P_IPV6))
samples/bpf/xdp_fwd_kern.c
79
} else if (h_proto == htons(ETH_P_IPV6)) {
samples/bpf/xdp_tx_iptunnel_kern.c
199
set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6));
samples/bpf/xdp_tx_iptunnel_kern.c
230
else if (h_proto == htons(ETH_P_IPV6))
security/selinux/hooks.c
5408
else if (skb && skb->protocol == htons(ETH_P_IPV6))
security/smack/smack_lsm.c
4398
else if (skb->protocol == htons(ETH_P_IPV6))
tools/testing/selftests/bpf/network_helpers.c
1063
if (proto == ETH_P_IPV6) {
tools/testing/selftests/bpf/network_helpers.c
62
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
124
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
134
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
136
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
170
.vlan_proto2 = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
181
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
183
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
242
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
255
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
257
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
269
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
281
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
283
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
292
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
303
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
305
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
315
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
327
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
329
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
338
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
350
.addr_proto = ETH_P_IPV6,
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
352
.n_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/flow_dissector_classification.c
298
ETH_P_IPV6);
tools/testing/selftests/bpf/prog_tests/kfree_skb.c
40
if (CHECK(pkt_v6->eth.h_proto != htons(ETH_P_IPV6), "check_eth",
tools/testing/selftests/bpf/prog_tests/parse_tcp_hdr_opt.c
16
.pk6_v6.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
253
expected.eth_protocol = htons(ETH_P_IPV6);
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
25
.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
tools/testing/selftests/bpf/progs/bpf_flow.c
124
case bpf_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/bpf_flow.c
192
return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6));
tools/testing/selftests/bpf/progs/bpf_flow.c
333
keys->addr_proto = ETH_P_IPV6;
tools/testing/selftests/bpf/progs/cgroup_skb_sk_lookup_kern.c
72
if (skb->protocol != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/cgroup_tcp_skb.c
29
if (skb->protocol != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/crypto_sanity.c
26
if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/decap_sanity.c
39
if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/ip_check_defrag.c
92
case ETH_P_IPV6:
tools/testing/selftests/bpf/progs/test_btf_skc_cls_ingress.c
190
eth->h_proto != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_btf_skc_cls_ingress.c
97
case bpf_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_cls_redirect.c
388
encap->eth.h_proto = bpf_htons(ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_cls_redirect.c
421
proto = ETH_P_IPV6;
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
282
encap->eth.h_proto = bpf_htons(ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
317
proto = ETH_P_IPV6;
tools/testing/selftests/bpf/progs/test_l4lb.c
466
else if (eth_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_l4lb_noinline.c
465
else if (eth_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_l4lb_noinline_dynptr.c
476
else if (eth_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_migrate_reuseport.c
68
case ETH_P_IPV6: {
tools/testing/selftests/bpf/progs/test_pkt_access.c
123
} else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/test_sk_assign.c
80
} else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c
38
} else if (eth_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/test_tc_dtime.c
162
case __bpf_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_tc_neigh.c
121
case __bpf_constant_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_tc_neigh.c
96
case __bpf_constant_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_tc_neigh_fib.c
101
case __bpf_constant_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
413
eth.h_proto = bpf_htons(ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
503
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
512
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
513
return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
530
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
531
return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
539
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
548
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
557
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
558
return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6);
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
566
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
575
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
584
if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
694
case __bpf_constant_htons(ETH_P_IPV6):
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
100
case ETH_P_IPV6:
tools/testing/selftests/bpf/progs/test_xdp.c
196
set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
tools/testing/selftests/bpf/progs/test_xdp.c
227
else if (h_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_xdp_dynptr.c
211
set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
tools/testing/selftests/bpf/progs/test_xdp_dynptr.c
249
else if (h_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_xdp_loop.c
192
set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
tools/testing/selftests/bpf/progs/test_xdp_loop.c
223
else if (h_proto == bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/progs/test_xdp_meta.c
654
err = bpf_skb_change_proto(ctx, bpf_htons(ETH_P_IPV6), 0);
tools/testing/selftests/bpf/progs/test_xdp_noinline.c
805
if (eth_proto == ETH_P_IPV6)
tools/testing/selftests/bpf/progs/xdp_features.c
98
} else if (eh->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/xdp_flowtable.c
108
case bpf_htons(ETH_P_IPV6): {
tools/testing/selftests/bpf/progs/xdp_hw_metadata.c
55
if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/xdp_metadata.c
58
if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/progs/xdp_redirect_multi_kern.c
71
if (h_proto == ETH_P_IPV6) {
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
399
case ETH_P_IPV6:
tools/testing/selftests/bpf/progs/xdpwall.c
334
if (proto != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/bpf/xdp_hw_metadata.c
385
} else if (eth->h_proto == htons(ETH_P_IPV6)) {
tools/testing/selftests/bpf/xdp_metadata.h
8
#ifndef ETH_P_IPV6
tools/testing/selftests/drivers/net/gro.c
1431
ethhdr_proto = htons(ETH_P_IPV6);
tools/testing/selftests/drivers/net/hw/toeplitz.c
393
htons(ETH_P_IPV6);
tools/testing/selftests/net/ioam6_parser.c
1038
fd = socket(AF_PACKET, SOCK_DGRAM, __cpu_to_be16(ETH_P_IPV6));
tools/testing/selftests/net/lib/csum.c
424
addr.sll_protocol = htons(ETH_P_IPV6);
tools/testing/selftests/net/lib/csum.c
536
laddr.sll_protocol = htons(ETH_P_IPV6);
tools/testing/selftests/net/lib/xdp_native.bpf.c
106
} else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/net/lib/xdp_native.bpf.c
229
} else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/net/lib/xdp_native.bpf.c
296
} else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
tools/testing/selftests/net/msg_zerocopy.c
504
uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6;
tools/testing/selftests/net/nat6to4.bpf.c
227
eth2.h_proto = bpf_htons(ETH_P_IPV6); // But replace the ethertype
tools/testing/selftests/net/nat6to4.bpf.c
254
if (bpf_skb_change_proto(skb, bpf_htons(ETH_P_IPV6), 0))
tools/testing/selftests/net/nat6to4.bpf.c
62
if (skb->protocol != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/net/nat6to4.bpf.c
70
if (eth->h_proto != bpf_htons(ETH_P_IPV6))
tools/testing/selftests/net/skf_net_off.c
129
pi.proto = htons(ETH_P_IPV6);
tools/testing/selftests/net/skf_net_off.c
133
eth.h_proto = htons(ETH_P_IPV6);
tools/testing/selftests/net/tun.c
813
proto = outer_family == AF_INET ? ETH_P_IP : ETH_P_IPV6;
tools/testing/selftests/net/tun.c
830
proto = inner_family == AF_INET ? ETH_P_IP : ETH_P_IPV6;
tools/testing/selftests/net/txtimestamp.c
609
laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6);