ETH_P_IP 161 arch/powerpc/platforms/ps3/gelic_udbg.c h_vlan->h_vlan_encapsulated_proto = ETH_P_IP; ETH_P_IP 44 arch/um/drivers/slip_kern.c return htons(ETH_P_IP); ETH_P_IP 49 arch/um/drivers/slirp_kern.c return htons(ETH_P_IP); ETH_P_IP 369 arch/um/drivers/vector_user.c txfd = create_raw_fd(iface, 0, ETH_P_IP); /* Turn off RX on this fd */ ETH_P_IP 497 drivers/firewire/net.c case ETH_P_IP: ETH_P_IP 1275 drivers/firewire/net.c case htons(ETH_P_IP): ETH_P_IP 1881 drivers/infiniband/hw/bnxt_re/ib_verbs.c ether_type = ETH_P_IP; ETH_P_IP 2829 drivers/infiniband/hw/bnxt_re/ib_verbs.c case ETH_P_IP: ETH_P_IP 2834 drivers/infiniband/hw/bnxt_re/ib_verbs.c len = (eth_type == ETH_P_IP ? sizeof(struct iphdr) : ETH_P_IP 441 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = htons(ETH_P_IP); ETH_P_IP 443 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh->h_proto = htons(ETH_P_IP); ETH_P_IP 3187 drivers/infiniband/hw/mlx4/qp.c (ip_version == 4 ? ETH_P_IP : ETH_P_IPV6); ETH_P_IP 2777 drivers/infiniband/hw/mlx5/main.c ethertype, ETH_P_IP); ETH_P_IP 3149 drivers/infiniband/hw/mlx5/main.c ipv4_spec_valid = (eth_type == ETH_P_IP) && ETH_P_IP 419 drivers/infiniband/hw/qedr/qedr_roce_cm.c ether_type = ETH_P_IP; ETH_P_IP 48 drivers/infiniband/sw/rxe/rxe_icrc.c (skb->protocol == htons(ETH_P_IP) ? ETH_P_IP 62 drivers/infiniband/sw/rxe/rxe_icrc.c if (skb->protocol == htons(ETH_P_IP)) { /* IPv4 */ ETH_P_IP 398 drivers/infiniband/sw/rxe/rxe_net.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 434 drivers/infiniband/sw/rxe/rxe_net.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 500 drivers/infiniband/sw/rxe/rxe_net.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 168 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 286 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 337 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 398 drivers/infiniband/sw/rxe/rxe_recv.c else if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 775 drivers/infiniband/sw/rxe/rxe_resp.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 897 drivers/infiniband/sw/rxe/rxe_resp.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1442 drivers/infiniband/ulp/ipoib/ipoib_cm.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1109 drivers/infiniband/ulp/ipoib/ipoib_main.c if ((header->proto != htons(ETH_P_IP)) && ETH_P_IP 1132 drivers/infiniband/ulp/ipoib/ipoib_main.c case htons(ETH_P_IP): ETH_P_IP 428 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c case htons(ETH_P_IP): ETH_P_IP 1529 drivers/message/fusion/mptlan.c (fcllc->ethertype == htons(ETH_P_IP) || ETH_P_IP 107 drivers/net/arcnet/rfc1051.c return htons(ETH_P_IP); ETH_P_IP 117 drivers/net/arcnet/rfc1051.c return htons(ETH_P_IP); ETH_P_IP 170 drivers/net/arcnet/rfc1051.c case ETH_P_IP: ETH_P_IP 111 drivers/net/arcnet/rfc1201.c return htons(ETH_P_IP); ETH_P_IP 128 drivers/net/arcnet/rfc1201.c return htons(ETH_P_IP); ETH_P_IP 387 drivers/net/arcnet/rfc1201.c case ETH_P_IP: ETH_P_IP 1350 drivers/net/bonding/bond_alb.c case htons(ETH_P_IP): ETH_P_IP 1391 drivers/net/bonding/bond_alb.c case ETH_P_IP: { ETH_P_IP 2572 drivers/net/bonding/bond_main.c arp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 3265 drivers/net/bonding/bond_main.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 3922 drivers/net/bonding/bond_main.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1790 drivers/net/ethernet/amd/xgbe/xgbe-drv.c case htons(ETH_P_IP): ETH_P_IP 1806 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((skb->protocol == htons(ETH_P_IP)) && ETH_P_IP 319 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (unlikely(skb->protocol != htons(ETH_P_IP)) && ETH_P_IP 596 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 482 drivers/net/ethernet/aquantia/atlantic/aq_nic.c dx_buff->is_ip_cso = (htons(ETH_P_IP) == skb->protocol) ? ETH_P_IP 1411 drivers/net/ethernet/atheros/alx/main.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1606 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (skb->protocol == htons(ETH_P_IP) || ETH_P_IP 2113 drivers/net/ethernet/atheros/atlx/atl1.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 2369 drivers/net/ethernet/atheros/atlx/atl1.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1244 drivers/net/ethernet/broadcom/bcmsysport.c case htons(ETH_P_IP): ETH_P_IP 1262 drivers/net/ethernet/broadcom/bcmsysport.c ip_ver == htons(ETH_P_IP)) ETH_P_IP 736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c case ETH_P_IP: ETH_P_IP 1299 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (ip_proto == htons(ETH_P_IP)) { ETH_P_IP 1347 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (proto != htons(ETH_P_IP) && proto != htons(ETH_P_IPV6)) ETH_P_IP 4629 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.ethertype = htons(ETH_P_IP); ETH_P_IP 11013 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (keys1->basic.n_proto == htons(ETH_P_IP)) { ETH_P_IP 11070 drivers/net/ethernet/broadcom/bnxt/bnxt.c if ((fkeys->basic.n_proto != htons(ETH_P_IP) && ETH_P_IP 950 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (fkeys->basic.n_proto == htons(ETH_P_IP)) { ETH_P_IP 194 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (match.key->n_proto == htons(ETH_P_IP) || ETH_P_IP 433 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_flags |= flow->l2_key.ether_type == htons(ETH_P_IP) ? ETH_P_IP 555 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c req.ethertype = htons(ETH_P_IP); ETH_P_IP 3405 drivers/net/ethernet/broadcom/cnic.c l4kwqe->etype = ETH_P_IP; ETH_P_IP 1514 drivers/net/ethernet/broadcom/genet/bcmgenet.c case htons(ETH_P_IP): ETH_P_IP 1534 drivers/net/ethernet/broadcom/genet/bcmgenet.c ip_ver == htons(ETH_P_IP)) ETH_P_IP 2495 drivers/net/ethernet/brocade/bna/bnad.c if (vlan_get_protocol(skb) == htons(ETH_P_IP)) { ETH_P_IP 2864 drivers/net/ethernet/brocade/bna/bnad.c if (net_proto == htons(ETH_P_IP)) ETH_P_IP 3590 drivers/net/ethernet/cadence/macb_main.c reg = GEM_BFINS(ETHTCMP, (uint16_t)ETH_P_IP, reg); ETH_P_IP 1378 drivers/net/ethernet/chelsio/cxgb/sge.c skb->protocol == htons(ETH_P_IP) && ETH_P_IP 65 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c likely(skb->protocol == htons(ETH_P_IP)) && ETH_P_IP 260 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (eth_ip_type != ETH_P_IP && eth_ip_type != ETH_P_IPV6) { ETH_P_IP 164 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (protocol != htons(ETH_P_IP) && protocol != htons(ETH_P_IPV6)) ETH_P_IP 1228 drivers/net/ethernet/chelsio/cxgb4/sge.c case htons(ETH_P_IP): ETH_P_IP 182 drivers/net/ethernet/cisco/enic/enic_clsf.c if (!res || keys.basic.n_proto != htons(ETH_P_IP) || ETH_P_IP 299 drivers/net/ethernet/cisco/enic/enic_main.c case htons(ETH_P_IP): ETH_P_IP 311 drivers/net/ethernet/cisco/enic/enic_main.c case ntohs(ETH_P_IP): ETH_P_IP 668 drivers/net/ethernet/cisco/enic/enic_main.c case ntohs(ETH_P_IP): ETH_P_IP 694 drivers/net/ethernet/cisco/enic/enic_main.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { ETH_P_IP 1169 drivers/net/ethernet/cortina/gemini.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 923 drivers/net/ethernet/emulex/benet/be.h return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; ETH_P_IP 5238 drivers/net/ethernet/emulex/benet/be_main.c case htons(ETH_P_IP): ETH_P_IP 685 drivers/net/ethernet/faraday/ftgmac100.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { ETH_P_IP 1433 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c case ETH_P_IP: ETH_P_IP 351 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be16 *)(key + off) = htons(ETH_P_IP); ETH_P_IP 397 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c *(__be16 *)(key + off) = htons(ETH_P_IP); ETH_P_IP 343 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_h = ETH_P_IP; /* IPv4 */ ETH_P_IP 356 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.ethtype_h = ETH_P_IP; /* IPv4 */ ETH_P_IP 363 drivers/net/ethernet/freescale/fec_main.c return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; ETH_P_IP 84 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 183 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1549 drivers/net/ethernet/hisilicon/hns/hns_enet.c ethhdr->h_proto = htons(ETH_P_IP); ETH_P_IP 761 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c } else if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 840 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1807 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if ((fkeys.basic.n_proto != htons(ETH_P_IP) && ETH_P_IP 2483 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (type == htons(ETH_P_IP)) { ETH_P_IP 5399 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples.ether_proto = ETH_P_IP; ETH_P_IP 5420 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rule->tuples.ether_proto = ETH_P_IP; ETH_P_IP 6015 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fkeys->basic.n_proto == htons(ETH_P_IP)) { ETH_P_IP 6053 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (tuples->ether_proto == ETH_P_IP) { ETH_P_IP 1957 drivers/net/ethernet/ibm/ehea/ehea_main.c if (vlan_get_protocol(skb) != htons(ETH_P_IP)) ETH_P_IP 1045 drivers/net/ethernet/ibm/ibmveth.c ((skb->protocol == htons(ETH_P_IP) && ETH_P_IP 1190 drivers/net/ethernet/ibm/ibmveth.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1242 drivers/net/ethernet/ibm/ibmveth.c if (skb_proto == ETH_P_IP) { ETH_P_IP 1281 drivers/net/ethernet/ibm/ibmveth.c if (skb_proto == ETH_P_IP) ETH_P_IP 1276 drivers/net/ethernet/ibm/ibmvnic.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1527 drivers/net/ethernet/ibm/ibmvnic.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 2707 drivers/net/ethernet/intel/e1000/e1000_main.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 2775 drivers/net/ethernet/intel/e1000/e1000_main.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 3235 drivers/net/ethernet/intel/e1000/e1000_main.c if (protocol == htons(ETH_P_IP)) ETH_P_IP 5452 drivers/net/ethernet/intel/e1000e/netdev.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 5514 drivers/net/ethernet/intel/e1000e/netdev.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 5732 drivers/net/ethernet/intel/e1000e/netdev.c if (((struct ethhdr *)skb->data)->h_proto != htons(ETH_P_IP)) ETH_P_IP 5886 drivers/net/ethernet/intel/e1000e/netdev.c if (protocol == htons(ETH_P_IP)) ETH_P_IP 670 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (vlan_get_protocol(skb) != htons(ETH_P_IP)) ETH_P_IP 697 drivers/net/ethernet/intel/fm10k/fm10k_main.c case htons(ETH_P_IP): ETH_P_IP 722 drivers/net/ethernet/intel/fm10k/fm10k_main.c case htons(ETH_P_IP): ETH_P_IP 837 drivers/net/ethernet/intel/fm10k/fm10k_main.c case htons(ETH_P_IP): ETH_P_IP 7536 drivers/net/ethernet/intel/i40e/i40e_main.c if (filter->n_proto != ETH_P_IP && filter->n_proto != ETH_P_IPV6) ETH_P_IP 3612 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (protocol == htons(ETH_P_IP)) ETH_P_IP 3367 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c cfilter.n_proto = ETH_P_IP; ETH_P_IP 3421 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (cfilter.n_proto == ETH_P_IP && mask.dst_ip[0]) ETH_P_IP 3501 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c cfilter->n_proto = ETH_P_IP; ETH_P_IP 2735 drivers/net/ethernet/intel/iavf/iavf_main.c if (n_proto != ETH_P_IP && n_proto != ETH_P_IPV6) ETH_P_IP 2461 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (protocol == htons(ETH_P_IP)) ETH_P_IP 1774 drivers/net/ethernet/intel/ice/ice_txrx.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 5803 drivers/net/ethernet/intel/igb/igb_main.c if (((first->protocol == htons(ETH_P_IP)) && ETH_P_IP 2101 drivers/net/ethernet/intel/igbvf/netdev.c if (((protocol == htons(ETH_P_IP)) && ETH_P_IP 2322 drivers/net/ethernet/intel/igbvf/netdev.c if (protocol == htons(ETH_P_IP)) ETH_P_IP 866 drivers/net/ethernet/intel/igc/igc_main.c if ((first->protocol == htons(ETH_P_IP) && ETH_P_IP 1105 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (first->protocol == htons(ETH_P_IP)) ETH_P_IP 8081 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (((first->protocol == htons(ETH_P_IP)) && ETH_P_IP 8382 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((first->protocol != htons(ETH_P_IP)) && ETH_P_IP 8392 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->protocol == htons(ETH_P_IP) && ETH_P_IP 9428 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (protocol != htons(ETH_P_IP)) ETH_P_IP 492 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (first->protocol == htons(ETH_P_IP)) ETH_P_IP 3865 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (((first->protocol == htons(ETH_P_IP)) && ETH_P_IP 3878 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (first->protocol == htons(ETH_P_IP)) ETH_P_IP 947 drivers/net/ethernet/jme.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 2071 drivers/net/ethernet/jme.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 2101 drivers/net/ethernet/jme.c case htons(ETH_P_IP): ETH_P_IP 684 drivers/net/ethernet/marvell/mv643xx_eth.c BUG_ON(skb->protocol != htons(ETH_P_IP) && ETH_P_IP 1691 drivers/net/ethernet/marvell/mvneta.c if (l3_proto == htons(ETH_P_IP)) ETH_P_IP 1854 drivers/net/ethernet/marvell/mvneta.c if (l3_proto == htons(ETH_P_IP)) { ETH_P_IP 2030 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (l3_proto == htons(ETH_P_IP)) { ETH_P_IP 2893 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (l3_proto == htons(ETH_P_IP)) { ETH_P_IP 1386 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_match_etype(&pe, 0, ETH_P_IP); ETH_P_IP 374 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 85 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c if (ethertype.v == ETH_P_IP) { ETH_P_IP 277 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c ETH_P_IP); ETH_P_IP 60 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h case htons(ETH_P_IP): ETH_P_IP 80 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h swp_spec.tun_l3_proto = htons(ETH_P_IP); ETH_P_IP 125 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 157 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c swp_spec.tun_l3_proto = htons(ETH_P_IP); ETH_P_IP 263 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c (skb->protocol != htons(ETH_P_IP) && ETH_P_IP 318 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c if (mdata->ethertype != htons(ETH_P_IP)) ETH_P_IP 443 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP) ETH_P_IP 445 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP) ETH_P_IP 504 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (tuple->etype == htons(ETH_P_IP)) { ETH_P_IP 618 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (tuple->etype == htons(ETH_P_IP)) { ETH_P_IP 645 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (tuple->etype == htons(ETH_P_IP)) ETH_P_IP 683 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (fk.basic.n_proto != htons(ETH_P_IP) && ETH_P_IP 696 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 704 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 712 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 720 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 728 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 743 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 751 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 759 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c .etype = ETH_P_IP, ETH_P_IP 801 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (ethertype == ETH_P_IP) ETH_P_IP 147 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); ETH_P_IP 4275 drivers/net/ethernet/mellanox/mlx5/core/en_main.c case htons(ETH_P_IP): ETH_P_IP 743 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (proto == htons(ETH_P_IP)) { ETH_P_IP 797 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (*proto == htons(ETH_P_IP)) ETH_P_IP 817 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c rc = ((proto == htons(ETH_P_IP)) ? IP_ECN_set_ce((struct iphdr *)ip) : ETH_P_IP 827 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c return (proto == htons(ETH_P_IP)) ? ((struct iphdr *)ip_p)->protocol : ETH_P_IP 888 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c case htons(ETH_P_IP): ETH_P_IP 134 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c ethh->h_proto = htons(ETH_P_IP); ETH_P_IP 166 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 244 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c lbtp->pt.type = htons(ETH_P_IP); ETH_P_IP 1702 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ETH_P_IP); ETH_P_IP 2675 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (ethertype != ETH_P_IP && ethertype != ETH_P_IPV6) ETH_P_IP 61 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 302 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c if (n_proto != ETH_P_IP && n_proto != ETH_P_IPV6) { ETH_P_IP 4974 drivers/net/ethernet/micrel/ksz884x.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 81 drivers/net/ethernet/mscc/ocelot_flower.c if (proto == ETH_P_IP || ETH_P_IP 103 drivers/net/ethernet/mscc/ocelot_flower.c if (ntohs(match.key->n_proto) == ETH_P_IP) { ETH_P_IP 120 drivers/net/ethernet/mscc/ocelot_flower.c ntohs(f->common.protocol) == ETH_P_IP) { ETH_P_IP 1182 drivers/net/ethernet/myricom/myri10ge/myri10ge.c (vh->h_vlan_encapsulated_proto == htons(ETH_P_IP) || ETH_P_IP 4034 drivers/net/ethernet/neterion/s2io.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 634 drivers/net/ethernet/neterion/vxge/vxge-main.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 68 drivers/net/ethernet/netronome/nfp/abm/cls.c case htons(ETH_P_IP): ETH_P_IP 182 drivers/net/ethernet/netronome/nfp/abm/cls.c tos_off = proto == htons(ETH_P_IP) ? 16 : 20; ETH_P_IP 244 drivers/net/ethernet/netronome/nfp/abm/cls.c if (cls_u32->common.protocol != htons(ETH_P_IP) && ETH_P_IP 346 drivers/net/ethernet/netronome/nfp/flower/offload.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 436 drivers/net/ethernet/netronome/nfp/flower/offload.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 3520 drivers/net/ethernet/netronome/nfp/nfp_net_common.c case htons(ETH_P_IP): ETH_P_IP 1118 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 463 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { ETH_P_IP 487 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { ETH_P_IP 1904 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (protocol == cpu_to_be16(ETH_P_IP)) { ETH_P_IP 1719 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (eth_type == ETH_P_IP) { ETH_P_IP 391 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 467 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol != htons(ETH_P_IP) && ETH_P_IP 471 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 524 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1424 drivers/net/ethernet/qlogic/qede/qede_filter.c if (fltr->tuple.eth_proto == htons(ETH_P_IP)) { ETH_P_IP 1485 drivers/net/ethernet/qlogic/qede/qede_filter.c if (t->eth_proto == htons(ETH_P_IP)) ETH_P_IP 1501 drivers/net/ethernet/qlogic/qede/qede_filter.c if (a->eth_proto != htons(ETH_P_IP) || ETH_P_IP 1502 drivers/net/ethernet/qlogic/qede/qede_filter.c b->eth_proto != htons(ETH_P_IP)) ETH_P_IP 1872 drivers/net/ethernet/qlogic/qede/qede_filter.c tuple->eth_proto = htons(ETH_P_IP); ETH_P_IP 1892 drivers/net/ethernet/qlogic/qede/qede_filter.c tuple->eth_proto = htons(ETH_P_IP); ETH_P_IP 1918 drivers/net/ethernet/qlogic/qede/qede_filter.c if (proto != htons(ETH_P_IP) && ETH_P_IP 1931 drivers/net/ethernet/qlogic/qede/qede_filter.c if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IP)) ETH_P_IP 1935 drivers/net/ethernet/qlogic/qede/qede_filter.c else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IP)) ETH_P_IP 2062 drivers/net/ethernet/qlogic/qede/qede_filter.c proto = htons(ETH_P_IP); ETH_P_IP 912 drivers/net/ethernet/qlogic/qede/qede_fp.c case htons(ETH_P_IP): ETH_P_IP 1712 drivers/net/ethernet/qlogic/qede/qede_fp.c case htons(ETH_P_IP): ETH_P_IP 557 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_IP) { ETH_P_IP 753 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_IP) ETH_P_IP 1260 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 26 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 369 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 407 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 5798 drivers/net/ethernet/realtek/r8169_main.c case htons(ETH_P_IP): ETH_P_IP 5820 drivers/net/ethernet/realtek/r8169_main.c case htons(ETH_P_IP): ETH_P_IP 471 drivers/net/ethernet/rocker/rocker_ofdpa.c case ETH_P_IP: ETH_P_IP 1266 drivers/net/ethernet/rocker/rocker_ofdpa.c __be16 eth_type = htons(ETH_P_IP); ETH_P_IP 1569 drivers/net/ethernet/rocker/rocker_ofdpa.c .eth_type = htons(ETH_P_IP), ETH_P_IP 2030 drivers/net/ethernet/rocker/rocker_ofdpa.c eth_type = htons(ETH_P_IP); ETH_P_IP 2272 drivers/net/ethernet/rocker/rocker_ofdpa.c __be16 eth_type = htons(ETH_P_IP); ETH_P_IP 4013 drivers/net/ethernet/sfc/ef10.c if (spec->ether_type == htons(ETH_P_IP) && ETH_P_IP 4089 drivers/net/ethernet/sfc/ef10.c ETH_P_IPV6 : ETH_P_IP); ETH_P_IP 835 drivers/net/ethernet/sfc/ethtool.c spec.ether_type == htons(ETH_P_IP) && ETH_P_IP 913 drivers/net/ethernet/sfc/ethtool.c spec.ether_type == htons(ETH_P_IP) && ETH_P_IP 1127 drivers/net/ethernet/sfc/ethtool.c spec.ether_type = htons(ETH_P_IP); ETH_P_IP 1198 drivers/net/ethernet/sfc/ethtool.c spec.ether_type = htons(ETH_P_IP); ETH_P_IP 812 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ether_type == htons(ETH_P_IP) && ETH_P_IP 890 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ether_type == htons(ETH_P_IP) && ETH_P_IP 1062 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ether_type = htons(ETH_P_IP); ETH_P_IP 1133 drivers/net/ethernet/sfc/falcon/ethtool.c spec.ether_type = htons(ETH_P_IP); ETH_P_IP 1994 drivers/net/ethernet/sfc/falcon/farch.c if (gen_spec->ether_type != htons(ETH_P_IP)) ETH_P_IP 2097 drivers/net/ethernet/sfc/falcon/farch.c gen_spec->ether_type = htons(ETH_P_IP); ETH_P_IP 187 drivers/net/ethernet/sfc/falcon/filter.h spec->ether_type = htons(ETH_P_IP); ETH_P_IP 212 drivers/net/ethernet/sfc/falcon/filter.h spec->ether_type = htons(ETH_P_IP); ETH_P_IP 845 drivers/net/ethernet/sfc/falcon/rx.c if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) ETH_P_IP 860 drivers/net/ethernet/sfc/falcon/rx.c if (fk.basic.n_proto == htons(ETH_P_IP)) { ETH_P_IP 880 drivers/net/ethernet/sfc/falcon/rx.c if (spec.ether_type == htons(ETH_P_IP)) ETH_P_IP 958 drivers/net/ethernet/sfc/falcon/rx.c if (spec->ether_type == htons(ETH_P_IP) && ETH_P_IP 384 drivers/net/ethernet/sfc/falcon/selftest.c payload->header.h_proto = htons(ETH_P_IP); ETH_P_IP 2053 drivers/net/ethernet/sfc/farch.c if (gen_spec->ether_type != htons(ETH_P_IP)) ETH_P_IP 2156 drivers/net/ethernet/sfc/farch.c gen_spec->ether_type = htons(ETH_P_IP); ETH_P_IP 213 drivers/net/ethernet/sfc/filter.h spec->ether_type = htons(ETH_P_IP); ETH_P_IP 238 drivers/net/ethernet/sfc/filter.h spec->ether_type = htons(ETH_P_IP); ETH_P_IP 1604 drivers/net/ethernet/sfc/ptp.c likely(skb->protocol == htons(ETH_P_IP)) && ETH_P_IP 869 drivers/net/ethernet/sfc/rx.c if (req->spec.ether_type == htons(ETH_P_IP)) ETH_P_IP 918 drivers/net/ethernet/sfc/rx.c if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) { ETH_P_IP 938 drivers/net/ethernet/sfc/rx.c if (fk.basic.n_proto == htons(ETH_P_IP)) { ETH_P_IP 1053 drivers/net/ethernet/sfc/rx.c if (spec->ether_type == htons(ETH_P_IP) && ETH_P_IP 384 drivers/net/ethernet/sfc/selftest.c payload->header.h_proto = htons(ETH_P_IP); ETH_P_IP 155 drivers/net/ethernet/sfc/tx_tso.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 183 drivers/net/ethernet/sfc/tx_tso.c if (st->protocol == htons(ETH_P_IP)) { ETH_P_IP 494 drivers/net/ethernet/sgi/ioc3-eth.c if (eh->h_proto != htons(ETH_P_IP)) ETH_P_IP 1137 drivers/net/ethernet/socionext/netsec.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 117 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ehdr->h_proto = htons(ETH_P_IP); ETH_P_IP 122 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ptr[3] = htons(ETH_P_IP); ETH_P_IP 138 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tag[1] = htons(ETH_P_IP); ETH_P_IP 143 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tag[3] = htons(ETH_P_IP); ETH_P_IP 207 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 329 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.type = htons(ETH_P_IP); ETH_P_IP 907 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.type = htons(ETH_P_IP); ETH_P_IP 1240 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP); ETH_P_IP 111 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c case ETH_P_IP: ETH_P_IP 2134 drivers/net/ethernet/sun/cassini.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 6561 drivers/net/ethernet/sun/niu.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 312 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 419 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == ETH_P_IP) { ETH_P_IP 428 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1174 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1233 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1356 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1387 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 709 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 985 drivers/net/ethernet/xilinx/ll_temac_main.c (skb->protocol == htons(ETH_P_IP)) && ETH_P_IP 733 drivers/net/ethernet/xilinx/xilinx_axienet_main.c skb->protocol == htons(ETH_P_IP) && ETH_P_IP 425 drivers/net/ethernet/xilinx/xilinx_emaclite.c if (proto_type == ETH_P_IP) { ETH_P_IP 916 drivers/net/geneve.c } else if (ntohs(eth->h_proto) == ETH_P_IP) { ETH_P_IP 176 drivers/net/gtp.c case ETH_P_IP: ETH_P_IP 579 drivers/net/gtp.c case ETH_P_IP: ETH_P_IP 592 drivers/net/gtp.c case ETH_P_IP: ETH_P_IP 250 drivers/net/hamradio/6pack.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 765 drivers/net/hamradio/baycom_epp.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 224 drivers/net/hamradio/bpqether.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 917 drivers/net/hamradio/dmascc.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 394 drivers/net/hamradio/hdlcdrv.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 522 drivers/net/hamradio/mkiss.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1643 drivers/net/hamradio/scc.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 585 drivers/net/hamradio/yam.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 264 drivers/net/hyperv/netvsc_drv.c if (flow.basic.n_proto == htons(ETH_P_IP)) ETH_P_IP 272 drivers/net/hyperv/netvsc_drv.c if (flow.basic.n_proto == htons(ETH_P_IP)) ETH_P_IP 283 drivers/net/hyperv/netvsc_drv.c if (flow.basic.n_proto == htons(ETH_P_IP)) ETH_P_IP 476 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 629 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 658 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 795 drivers/net/hyperv/netvsc_drv.c skb->protocol == htons(ETH_P_IP)) ETH_P_IP 152 drivers/net/ipvlan/ipvlan_core.c case htons(ETH_P_IP): { ETH_P_IP 524 drivers/net/ipvlan/ipvlan_core.c else if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 381 drivers/net/netdevsim/dev.c eth->h_proto = htons(ETH_P_IP); ETH_P_IP 382 drivers/net/netdevsim/dev.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 338 drivers/net/ppp/ppp_generic.c case ETH_P_IP: ETH_P_IP 357 drivers/net/ppp/ppp_generic.c ETH_P_IP, ETH_P_IP 369 drivers/net/slip/slip.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 944 drivers/net/thunderbolt.c if (protocol == htons(ETH_P_IP)) { ETH_P_IP 1748 drivers/net/tun.c struct tun_pi pi = { 0, cpu_to_be16(ETH_P_IP) }; ETH_P_IP 1894 drivers/net/tun.c pi.proto = htons(ETH_P_IP); ETH_P_IP 212 drivers/net/usb/cdc_mbim.c case htons(ETH_P_IP): ETH_P_IP 376 drivers/net/usb/cdc_mbim.c proto = htons(ETH_P_IP); ETH_P_IP 930 drivers/net/usb/hso.c odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP); ETH_P_IP 285 drivers/net/usb/lg-vl600.c packet->h_proto = htons(ETH_P_IP); ETH_P_IP 234 drivers/net/usb/qmi_wwan.c skbn->protocol = htons(ETH_P_IP); ETH_P_IP 559 drivers/net/usb/qmi_wwan.c proto = htons(ETH_P_IP); ETH_P_IP 1810 drivers/net/usb/r8152.c case htons(ETH_P_IP): ETH_P_IP 1841 drivers/net/usb/r8152.c case htons(ETH_P_IP): ETH_P_IP 208 drivers/net/usb/sierra_net.c return skb->protocol == cpu_to_be16(ETH_P_IP) || ETH_P_IP 843 drivers/net/usb/sierra_net.c eth_hdr(skb)->h_proto = cpu_to_be16(ETH_P_IP); ETH_P_IP 996 drivers/net/vmxnet3/vmxnet3_drv.c ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP)); ETH_P_IP 1249 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(hdr.eth->h_proto != htons(ETH_P_IP) && ETH_P_IP 1250 drivers/net/vmxnet3/vmxnet3_drv.c hdr.veth->h_vlan_encapsulated_proto != htons(ETH_P_IP)); ETH_P_IP 306 drivers/net/vrf.c case htons(ETH_P_IP): ETH_P_IP 606 drivers/net/vrf.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 649 drivers/net/vrf.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 1830 drivers/net/vxlan.c parp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 2060 drivers/net/vxlan.c case ETH_P_IP: ETH_P_IP 2538 drivers/net/vxlan.c (ntohs(eth->h_proto) == ETH_P_IP && ETH_P_IP 2679 drivers/net/vxlan.c (ntohs(eth->h_proto) == ETH_P_IP || ETH_P_IP 76 drivers/net/wan/dlci.c case ETH_P_IP: ETH_P_IP 155 drivers/net/wan/dlci.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 140 drivers/net/wan/hdlc_cisco.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 292 drivers/net/wan/hdlc_fr.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 927 drivers/net/wan/hdlc_fr.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 943 drivers/net/wan/hdlc_fr.c case ETH_P_IP: /* a long variant */ ETH_P_IP 152 drivers/net/wan/hdlc_ppp.c return htons(ETH_P_IP); ETH_P_IP 179 drivers/net/wan/hdlc_ppp.c case ETH_P_IP: ETH_P_IP 26 drivers/net/wan/hdlc_raw.c return cpu_to_be16(ETH_P_IP); ETH_P_IP 480 drivers/net/wimax/i2400m/netdev.c cpu_to_be16(ETH_P_IP)); ETH_P_IP 483 drivers/net/wimax/i2400m/netdev.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 531 drivers/net/wimax/i2400m/netdev.c cpu_to_be16(ETH_P_IP)); ETH_P_IP 534 drivers/net/wimax/i2400m/netdev.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 1681 drivers/net/wireless/ath/wil6210/txrx.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 215 drivers/net/wireless/intel/ipw2x00/libipw_tx.c if (eth->h_proto != htons(ETH_P_IP)) ETH_P_IP 4999 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 117 drivers/net/wireless/intel/iwlwifi/mvm/tx.c (skb->protocol != htons(ETH_P_IP) && ETH_P_IP 124 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 169 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 828 drivers/net/wireless/intel/iwlwifi/mvm/tx.c bool ipv4 = (skb->protocol == htons(ETH_P_IP)); ETH_P_IP 1509 drivers/net/wireless/realtek/rtlwifi/base.c if (ETH_P_IP == ether_type) { ETH_P_IP 60 drivers/net/wireless/st/cw1200/pm.c .type = __cpu_to_le16(ETH_P_IP), ETH_P_IP 1242 drivers/net/wireless/ti/wlcore/cmd.c arp_hdr->ar_pro = cpu_to_be16(ETH_P_IP); ETH_P_IP 162 drivers/net/xen-netback/hash.c case htons(ETH_P_IP): ETH_P_IP 188 drivers/net/xen-netback/hash.c case htons(ETH_P_IP): ETH_P_IP 271 drivers/net/xen-netback/rx.c skb->protocol == htons(ETH_P_IP) ? ETH_P_IP 276 drivers/net/xen-netback/rx.c skb->protocol == htons(ETH_P_IP) ? ETH_P_IP 92 drivers/s390/net/ctcm_main.c (header->type != ETH_P_IP)) { ETH_P_IP 624 drivers/s390/net/netiucv.c pskb->protocol = cpu_to_be16(ETH_P_IP); ETH_P_IP 918 drivers/s390/net/qeth_core.h case htons(ETH_P_IP): ETH_P_IP 1325 drivers/s390/net/qeth_l3_main.c ETH_P_IP; ETH_P_IP 1331 drivers/s390/net/qeth_l3_main.c if (prot == ETH_P_IP) ETH_P_IP 687 drivers/scsi/qedi/qedi_main.c eh->h_proto != htons(ETH_P_IP) && ETH_P_IP 366 drivers/staging/gdm724x/gdm_lte.c case ETH_P_IP: ETH_P_IP 645 drivers/staging/gdm724x/gdm_lte.c eth.h_proto = htons(ETH_P_IP); ETH_P_IP 646 drivers/staging/gdm724x/gdm_lte.c vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IP); ETH_P_IP 365 drivers/staging/octeon/ethernet-tx.c if ((skb->protocol == htons(ETH_P_IP)) && ETH_P_IP 578 drivers/staging/octeon/ethernet-tx.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 2583 drivers/staging/qlge/qlge_main.c if (likely(l3_proto == htons(ETH_P_IP))) { ETH_P_IP 428 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->ether_type == ETH_P_IP) { ETH_P_IP 439 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pattrib->ether_type == ETH_P_IP) {/* IP header */ ETH_P_IP 238 drivers/staging/rtl8188eu/os_dep/os_intfs.c case htons(ETH_P_IP): ETH_P_IP 273 drivers/staging/rtl8188eu/os_dep/os_intfs.c case htons(ETH_P_IP): ETH_P_IP 240 drivers/staging/rtl8192e/rtllib_tx.c if (eth->h_proto != htons(ETH_P_IP)) ETH_P_IP 617 drivers/staging/rtl8192e/rtllib_tx.c if (ether_type == ETH_P_IP) { ETH_P_IP 266 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c if (eth->h_proto != htons(ETH_P_IP)) ETH_P_IP 239 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->ether_type == ETH_P_IP) { ETH_P_IP 249 drivers/staging/rtl8712/rtl871x_xmit.c if (pattrib->ether_type == ETH_P_IP) {/* IP header*/ ETH_P_IP 719 drivers/staging/rtl8723bs/core/rtw_xmit.c if (ETH_P_IP == pattrib->ether_type) { ETH_P_IP 729 drivers/staging/rtl8723bs/core/rtw_xmit.c if (ETH_P_IP == pattrib->ether_type) {/* IP header */ ETH_P_IP 387 drivers/staging/rtl8723bs/os_dep/os_intfs.c case htons(ETH_P_IP): ETH_P_IP 423 drivers/staging/rtl8723bs/os_dep/os_intfs.c case ETH_P_IP: ETH_P_IP 148 drivers/staging/wilc1000/wilc_wlan.c if (eth_hdr_ptr->h_proto != htons(ETH_P_IP)) ETH_P_IP 2736 drivers/tty/n_gsm.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 2795 drivers/tty/n_gsm.c if (nc->protocol != htons(ETH_P_IP)) ETH_P_IP 97 include/linux/mlx5/fs_helpers.h ethertype = ETH_P_IP; ETH_P_IP 4387 include/linux/netdevice.h case htons(ETH_P_IP): ETH_P_IP 16 include/linux/virtio_net.h skb->protocol = cpu_to_be16(ETH_P_IP); ETH_P_IP 90 include/linux/virtio_net.h skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 176 include/net/inet_ecn.h case cpu_to_be16(ETH_P_IP): ETH_P_IP 195 include/net/inet_ecn.h case cpu_to_be16(ETH_P_IP): ETH_P_IP 275 include/net/inet_ecn.h if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 290 include/net/inet_ecn.h if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 322 include/net/ip_tunnels.h case htons(ETH_P_IP): ETH_P_IP 377 include/net/ip_tunnels.h if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 388 include/net/ip_tunnels.h if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 85 include/net/netfilter/nf_queue.h case htons(ETH_P_IP): ETH_P_IP 19 include/net/tun_proto.h return htons(ETH_P_IP); ETH_P_IP 35 include/net/tun_proto.h case htons(ETH_P_IP): ETH_P_IP 304 include/net/vxlan.h case htons(ETH_P_IP): ETH_P_IP 709 lib/test_bpf.c { { 10, ETH_P_IP }, { 100, ETH_P_IP } }, ETH_P_IP 6483 lib/test_bpf.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 6490 lib/test_bpf.c skb->vlan_proto = htons(ETH_P_IP); ETH_P_IP 6830 lib/test_bpf.c skb[i]->protocol = htons(ETH_P_IP); ETH_P_IP 43 net/802/fc.c if (type == ETH_P_IP || type == ETH_P_ARP) ETH_P_IP 55 net/802/fddi.c if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) ETH_P_IP 59 net/802/fddi.c if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) ETH_P_IP 1296 net/appletalk/ddp.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 233 net/atm/br2684.c case ETH_P_IP: ETH_P_IP 395 net/atm/br2684.c if (type == htons(ETH_P_IP) && ETH_P_IP 461 net/atm/br2684.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 486 net/atm/br2684.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 222 net/atm/clip.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 584 net/atm/mpc.c if (eth->h_proto != htons(ETH_P_IP)) ETH_P_IP 127 net/ax25/ax25_in.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 245 net/ax25/ax25_in.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 81 net/ax25/ax25_ip.c case ETH_P_IP: ETH_P_IP 1129 net/batman-adv/bridge_loop_avoidance.c if (arphdr->ar_pro != htons(ETH_P_IP)) ETH_P_IP 1083 net/batman-adv/distributed-arp-table.c if (arphdr->ar_pro != htons(ETH_P_IP)) ETH_P_IP 1545 net/batman-adv/distributed-arp-table.c if (proto != htons(ETH_P_IP)) ETH_P_IP 654 net/batman-adv/gateway_client.c case htons(ETH_P_IP): ETH_P_IP 690 net/batman-adv/gateway_client.c case htons(ETH_P_IP): ETH_P_IP 405 net/batman-adv/main.c case htons(ETH_P_IP): ETH_P_IP 304 net/batman-adv/multicast.c qr4->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IP); ETH_P_IP 305 net/batman-adv/multicast.c qr4->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IP); ETH_P_IP 563 net/batman-adv/multicast.c if (src->proto == htons(ETH_P_IP)) ETH_P_IP 606 net/batman-adv/multicast.c if (br_ip_entry->addr.proto == htons(ETH_P_IP)) { ETH_P_IP 1013 net/batman-adv/multicast.c *is_routable = ETH_P_IP; ETH_P_IP 1108 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1138 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1162 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1255 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1360 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1580 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 1685 net/batman-adv/multicast.c case ETH_P_IP: ETH_P_IP 92 net/bluetooth/bnep/core.c s->proto_filter[0].start = ETH_P_IP; ETH_P_IP 138 net/bridge/br_arp_nd_proxy.c if (parp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 72 net/bridge/br_mdb.c if (ip->proto == htons(ETH_P_IP)) ETH_P_IP 103 net/bridge/br_mdb.c if (mp->addr.proto == htons(ETH_P_IP)) ETH_P_IP 354 net/bridge/br_mdb.c if (entry->addr.proto == htons(ETH_P_IP)) ETH_P_IP 399 net/bridge/br_mdb.c if (entry->addr.proto == htons(ETH_P_IP)) ETH_P_IP 532 net/bridge/br_mdb.c if (entry->addr.proto == htons(ETH_P_IP)) { ETH_P_IP 89 net/bridge/br_multicast.c br_dst.proto = htons(ETH_P_IP); ETH_P_IP 127 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 235 net/bridge/br_multicast.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 247 net/bridge/br_multicast.c eth->h_proto = htons(ETH_P_IP); ETH_P_IP 428 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 599 net/bridge/br_multicast.c br_group.proto = htons(ETH_P_IP); ETH_P_IP 704 net/bridge/br_multicast.c if (ip->proto == htons(ETH_P_IP)) ETH_P_IP 756 net/bridge/br_multicast.c br_group.proto = htons(ETH_P_IP); ETH_P_IP 1114 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 1258 net/bridge/br_multicast.c saddr.proto = htons(ETH_P_IP); ETH_P_IP 1502 net/bridge/br_multicast.c br_group.proto = htons(ETH_P_IP); ETH_P_IP 1555 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 1742 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 2289 net/bridge/br_multicast.c case ETH_P_IP: ETH_P_IP 2321 net/bridge/br_multicast.c case htons(ETH_P_IP): ETH_P_IP 67 net/bridge/br_netfilter_hooks.c (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 89 net/bridge/br_netfilter_hooks.c return vlan_proto(skb) == htons(ETH_P_IP) && brnet->filter_vlan_tagged; ETH_P_IP 528 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 547 net/bridge/br_netfilter_hooks.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 630 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 750 net/bridge/br_netfilter_hooks.c skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 847 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 742 net/bridge/br_private.h case (htons(ETH_P_IP)): ETH_P_IP 73 net/bridge/netfilter/ebt_among.c if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { ETH_P_IP 104 net/bridge/netfilter/ebt_among.c if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { ETH_P_IP 43 net/bridge/netfilter/ebt_arp.c if (ah->ar_pln != sizeof(__be32) || ah->ar_pro != htons(ETH_P_IP)) ETH_P_IP 36 net/bridge/netfilter/ebt_arpreply.c ap->ar_pro != htons(ETH_P_IP) || ETH_P_IP 109 net/bridge/netfilter/ebt_ip.c if (e->ethproto != htons(ETH_P_IP) || ETH_P_IP 98 net/bridge/netfilter/ebt_log.c htons(ETH_P_IP)) { ETH_P_IP 244 net/bridge/netfilter/nf_conntrack_bridge.c case htons(ETH_P_IP): ETH_P_IP 309 net/bridge/netfilter/nf_conntrack_bridge.c case htons(ETH_P_IP): ETH_P_IP 369 net/bridge/netfilter/nf_conntrack_bridge.c case htons(ETH_P_IP): ETH_P_IP 309 net/bridge/netfilter/nft_reject_bridge.c case htons(ETH_P_IP): ETH_P_IP 59 net/caif/caif_usb.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 101 net/caif/chnl_net.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 4685 net/core/dev.c case htons(ETH_P_IP): ETH_P_IP 2922 net/core/ethtool.c match->key.basic.n_proto = htons(ETH_P_IP); ETH_P_IP 2910 net/core/filter.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 2920 net/core/filter.c if (from_proto == htons(ETH_P_IP) && ETH_P_IP 2925 net/core/filter.c to_proto == htons(ETH_P_IP)) ETH_P_IP 2992 net/core/filter.c case htons(ETH_P_IP): ETH_P_IP 3032 net/core/filter.c if (skb->protocol != htons(ETH_P_IP) && ETH_P_IP 3086 net/core/filter.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 3091 net/core/filter.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 3168 net/core/filter.c if (unlikely(proto != htons(ETH_P_IP) && ETH_P_IP 5731 net/core/filter.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) ETH_P_IP 474 net/core/flow_dissector.c arp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 606 net/core/flow_dissector.c *p_proto = htons(ETH_P_IP); ETH_P_IP 800 net/core/flow_dissector.c if (flow_keys->addr_proto == ETH_P_IP && ETH_P_IP 1006 net/core/flow_dissector.c case htons(ETH_P_IP): { ETH_P_IP 1166 net/core/flow_dissector.c proto = htons(ETH_P_IP); ETH_P_IP 1312 net/core/flow_dissector.c proto = htons(ETH_P_IP); ETH_P_IP 90 net/core/lwt_bpf.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 185 net/core/lwt_bpf.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 637 net/core/lwt_bpf.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 453 net/core/netpoll.c skb->protocol = eth->h_proto = htons(ETH_P_IP); ETH_P_IP 2727 net/core/pktgen.c __be16 protocol = htons(ETH_P_IP); ETH_P_IP 2777 net/core/pktgen.c *vlan_encapsulated_proto = htons(ETH_P_IP); ETH_P_IP 4898 net/core/skbuff.c case htons(ETH_P_IP): ETH_P_IP 316 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 411 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 578 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1590 net/ipv4/af_inet.c skb_set_inner_protocol(skb, cpu_to_be16(ETH_P_IP)); ETH_P_IP 1864 net/ipv4/af_inet.c .type = cpu_to_be16(ETH_P_IP), ETH_P_IP 1904 net/ipv4/af_inet.c .type = cpu_to_be16(ETH_P_IP), ETH_P_IP 154 net/ipv4/arp.c .protocol = cpu_to_be16(ETH_P_IP), ETH_P_IP 570 net/ipv4/arp.c arp->ar_pro = htons(ETH_P_IP); ETH_P_IP 590 net/ipv4/arp.c arp->ar_pro = htons(ETH_P_IP); ETH_P_IP 702 net/ipv4/arp.c if (arp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 720 net/ipv4/arp.c arp->ar_pro != htons(ETH_P_IP)) ETH_P_IP 509 net/ipv4/ip_fragment.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 233 net/ipv4/ip_gre.c if (gre_parse_header(skb, &tpi, NULL, htons(ETH_P_IP), ETH_P_IP 409 net/ipv4/ip_gre.c hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IP), 0); ETH_P_IP 532 net/ipv4/ip_gre.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 112 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 372 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 430 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 506 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 566 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 607 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 615 net/ipv4/ip_tunnel.c if (!df && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 677 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 722 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 788 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 799 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP) && !tunnel->ignore_df) ETH_P_IP 104 net/ipv4/ip_vti.c .proto = htons(ETH_P_IP), ETH_P_IP 212 net/ipv4/ip_vti.c case htons(ETH_P_IP): { ETH_P_IP 270 net/ipv4/ip_vti.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 316 net/ipv4/ip_vti.c case htons(ETH_P_IP): ETH_P_IP 507 net/ipv4/ipconfig.c if (rarp->ar_pro != htons(ETH_P_IP)) ETH_P_IP 640 net/ipv4/ipconfig.c .type = cpu_to_be16(ETH_P_IP), ETH_P_IP 859 net/ipv4/ipconfig.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 202 net/ipv4/ipip.c .proto = htons(ETH_P_IP), ETH_P_IP 282 net/ipv4/ipip.c case htons(ETH_P_IP): ETH_P_IP 629 net/ipv4/ipmr.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 616 net/ipv4/netfilter/ipt_CLUSTERIP.c arp->ar_pro != htons(ETH_P_IP) || ETH_P_IP 45 net/ipv4/netfilter/nf_dup_ipv4.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 63 net/ipv4/netfilter/nf_reject_ipv4.c nskb->protocol = htons(ETH_P_IP); ETH_P_IP 177 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 196 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 488 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 522 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 923 net/ipv4/ping.c else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) ETH_P_IP 1697 net/ipv4/route.c skb->protocol != htons(ETH_P_IP)) ETH_P_IP 1813 net/ipv4/route.c skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1822 net/ipv4/route.c if (skb->protocol != htons(ETH_P_IP)) { ETH_P_IP 2152 net/ipv4/route.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 2961 net/ipv4/route.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 31 net/ipv4/xfrm4_output.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 889 net/ipv6/ip6_gre.c case htons(ETH_P_IP): ETH_P_IP 943 net/ipv6/ip6_gre.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 1004 net/ipv6/ip6_gre.c case htons(ETH_P_IP): ETH_P_IP 1050 net/ipv6/ip6_gre.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 875 net/ipv6/ip6_tunnel.c .proto = htons(ETH_P_IP), ETH_P_IP 1184 net/ipv6/ip6_tunnel.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1398 net/ipv6/ip6_tunnel.c case htons(ETH_P_IP): ETH_P_IP 454 net/ipv6/ip6_vti.c case htons(ETH_P_IP): { ETH_P_IP 565 net/ipv6/ip6_vti.c case htons(ETH_P_IP): ETH_P_IP 248 net/ipv6/seg6_iptunnel.c else if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 369 net/ipv6/seg6_local.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 704 net/ipv6/sit.c .proto = htons(ETH_P_IP), ETH_P_IP 1035 net/ipv6/sit.c case htons(ETH_P_IP): ETH_P_IP 1090 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 1132 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 1341 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 299 net/ipv6/udp.c is_udp4 = (skb->protocol == htons(ETH_P_IP)); ETH_P_IP 3980 net/mac80211/tx.c case htons(ETH_P_IP): ETH_P_IP 142 net/mpls/af_mpls.c } else if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 296 net/mpls/af_mpls.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 1636 net/netfilter/ipvs/ip_vs_core.c if (type != htons(ETH_P_IP)) ETH_P_IP 1100 net/netfilter/ipvs/ip_vs_xmit.c htons(ETH_P_IP) : htons(ETH_P_IPV6); ETH_P_IP 15 net/netfilter/nf_flow_table_inet.c case htons(ETH_P_IP): ETH_P_IP 251 net/netfilter/nf_flow_table_ip.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 185 net/netfilter/nf_log_common.c case htons(ETH_P_IP): ETH_P_IP 448 net/netfilter/nf_synproxy_core.c nskb->protocol = htons(ETH_P_IP); ETH_P_IP 798 net/netfilter/nfnetlink_queue.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 207 net/netfilter/nft_chain_filter.c case htons(ETH_P_IP): ETH_P_IP 262 net/netfilter/nft_chain_filter.c case htons(ETH_P_IP): ETH_P_IP 139 net/netfilter/nft_exthdr.c if (skb->protocol != htons(ETH_P_IP)) ETH_P_IP 28 net/netfilter/nft_fib_netdev.c case ETH_P_IP: ETH_P_IP 102 net/netfilter/nft_fwd_netdev.c if (skb->protocol != htons(ETH_P_IP)) { ETH_P_IP 82 net/netfilter/nft_log.c case htons(ETH_P_IP): ETH_P_IP 178 net/netfilter/nft_meta.c case htons(ETH_P_IP): { ETH_P_IP 264 net/netfilter/nft_payload.c case htons(ETH_P_IP): ETH_P_IP 140 net/netfilter/nft_synproxy.c case htons(ETH_P_IP): ETH_P_IP 83 net/netfilter/xt_AUDIT.c case htons(ETH_P_IP): ETH_P_IP 52 net/netrom/nr_dev.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 830 net/openvswitch/actions.c if (key->eth.type == htons(ETH_P_IP)) { ETH_P_IP 108 net/openvswitch/conntrack.c case ETH_P_IP: ETH_P_IP 207 net/openvswitch/conntrack.c if (key->eth.type == htons(ETH_P_IP) && ETH_P_IP 303 net/openvswitch/conntrack.c if (swkey->eth.type == htons(ETH_P_IP)) { ETH_P_IP 499 net/openvswitch/conntrack.c if (key->eth.type == htons(ETH_P_IP)) { ETH_P_IP 755 net/openvswitch/conntrack.c skb->protocol == htons(ETH_P_IP) && ETH_P_IP 822 net/openvswitch/conntrack.c if (key->eth.type == htons(ETH_P_IP)) ETH_P_IP 844 net/openvswitch/conntrack.c if (key->eth.type == htons(ETH_P_IP)) ETH_P_IP 1257 net/openvswitch/conntrack.c case htons(ETH_P_IP): ETH_P_IP 537 net/openvswitch/flow.c if (key->eth.type == htons(ETH_P_IP)) { ETH_P_IP 621 net/openvswitch/flow.c arp->ar_pro == htons(ETH_P_IP) && ETH_P_IP 934 net/openvswitch/flow.c key->eth.type != htons(ETH_P_IP)) ETH_P_IP 192 net/openvswitch/flow_netlink.c if (match->key->eth.type == htons(ETH_P_IP)) { ETH_P_IP 2070 net/openvswitch/flow_netlink.c if (swkey->eth.type == htons(ETH_P_IP)) { ETH_P_IP 2126 net/openvswitch/flow_netlink.c if ((swkey->eth.type == htons(ETH_P_IP) || ETH_P_IP 2160 net/openvswitch/flow_netlink.c } else if (swkey->eth.type == htons(ETH_P_IP) && ETH_P_IP 2715 net/openvswitch/flow_netlink.c if (eth_type != htons(ETH_P_IP)) ETH_P_IP 2764 net/openvswitch/flow_netlink.c if ((eth_type != htons(ETH_P_IP) && ETH_P_IP 2772 net/openvswitch/flow_netlink.c if ((eth_type != htons(ETH_P_IP) && ETH_P_IP 2785 net/openvswitch/flow_netlink.c if ((eth_type != htons(ETH_P_IP) && ETH_P_IP 3061 net/openvswitch/flow_netlink.c (eth_type != htons(ETH_P_IP) && ETH_P_IP 44 net/phonet/pep-gprs.c return htons(ETH_P_IP); ETH_P_IP 180 net/phonet/pep-gprs.c case htons(ETH_P_IP): ETH_P_IP 21 net/rxrpc/utils.c case ETH_P_IP: ETH_P_IP 46 net/sched/act_connmark.c if (skb->protocol == htons(ETH_P_IP)) { ETH_P_IP 593 net/sched/act_csum.c case cpu_to_be16(ETH_P_IP): ETH_P_IP 104 net/sched/act_ct.c case htons(ETH_P_IP): ETH_P_IP 236 net/sched/act_ct.c if (skb->protocol == htons(ETH_P_IP) && ETH_P_IP 99 net/sched/act_ctinfo.c if (tc_skb_protocol(skb) == htons(ETH_P_IP)) { ETH_P_IP 45 net/sched/act_skbedit.c case htons(ETH_P_IP): ETH_P_IP 155 net/sched/cls_flow.c case htons(ETH_P_IP): ETH_P_IP 168 net/sched/cls_flow.c case htons(ETH_P_IP): ETH_P_IP 1105 net/sched/cls_flower.c if (key->basic.n_proto == htons(ETH_P_IP) || ETH_P_IP 1157 net/sched/cls_flower.c } else if (key->basic.n_proto == htons(ETH_P_IP) && ETH_P_IP 2280 net/sched/cls_flower.c if ((key->basic.n_proto == htons(ETH_P_IP) || ETH_P_IP 2332 net/sched/cls_flower.c else if (key->basic.n_proto == htons(ETH_P_IP) && ETH_P_IP 63 net/sched/em_ipset.c case htons(ETH_P_IP): ETH_P_IP 216 net/sched/em_ipt.c case htons(ETH_P_IP): ETH_P_IP 595 net/sched/sch_cake.c if (tc_skb_protocol(skb) != htons(ETH_P_IP)) ETH_P_IP 1524 net/sched/sch_cake.c case htons(ETH_P_IP): ETH_P_IP 214 net/sched/sch_dsmark.c case htons(ETH_P_IP): ETH_P_IP 307 net/sched/sch_dsmark.c case htons(ETH_P_IP): ETH_P_IP 101 net/tipc/udp_media.c if (ntohs(addr->proto) == ETH_P_IP) ETH_P_IP 127 net/tipc/udp_media.c if (ntohs(ua->proto) == ETH_P_IP) ETH_P_IP 169 net/tipc/udp_media.c if (dst->proto == htons(ETH_P_IP)) { ETH_P_IP 313 net/tipc/udp_media.c if (ntohs(addr->proto) == ETH_P_IP) ETH_P_IP 338 net/tipc/udp_media.c src.proto = htons(ETH_P_IP); ETH_P_IP 403 net/tipc/udp_media.c if (ntohs(remote->proto) == ETH_P_IP) { ETH_P_IP 419 net/tipc/udp_media.c if (ntohs(addr->proto) == ETH_P_IP) { ETH_P_IP 585 net/tipc/udp_media.c addr->proto = htons(ETH_P_IP); ETH_P_IP 719 net/tipc/udp_media.c if (local.proto == htons(ETH_P_IP)) { ETH_P_IP 764 net/wireless/util.c case htons(ETH_P_IP): ETH_P_IP 375 net/xfrm/xfrm_input.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 365 net/xfrm/xfrm_interface.c case htons(ETH_P_IP): ETH_P_IP 331 net/xfrm/xfrm_output.c skb->protocol = htons(ETH_P_IP); ETH_P_IP 646 net/xfrm/xfrm_output.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 31 samples/bpf/parse_ldabs.c if (load_half(skb, offsetof(struct ethhdr, h_proto)) != ETH_P_IP) ETH_P_IP 39 samples/bpf/parse_simple.c if (eth->h_proto != htons(ETH_P_IP)) ETH_P_IP 144 samples/bpf/parse_varlen.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 119 samples/bpf/sockex2_kern.c if (likely(proto == ETH_P_IP)) ETH_P_IP 157 samples/bpf/sockex2_kern.c if (proto == ETH_P_IP) ETH_P_IP 50 samples/bpf/sockex3_kern.c case ETH_P_IP: ETH_P_IP 172 samples/bpf/sockex3_kern.c parse_eth_proto(skb, ETH_P_IP); ETH_P_IP 269 samples/bpf/sockex3_kern.c parse_eth_proto(skb, ETH_P_IP); ETH_P_IP 50 samples/bpf/tc_l2_redirect_kern.c if (eth_proto == htons(ETH_P_IP)) ETH_P_IP 76 samples/bpf/tc_l2_redirect_kern.c if (eth->h_proto == htons(ETH_P_IP)) { ETH_P_IP 127 samples/bpf/tc_l2_redirect_kern.c if (eth->h_proto == htons(ETH_P_IP)) { ETH_P_IP 166 samples/bpf/tc_l2_redirect_kern.c if (eth->h_proto == htons(ETH_P_IP)) { ETH_P_IP 216 samples/bpf/tc_l2_redirect_kern.c if (eth->h_proto == htons(ETH_P_IP)) { ETH_P_IP 179 samples/bpf/test_lwt_bpf.c ehdr.h_proto = __constant_htons(ETH_P_IP); ETH_P_IP 79 samples/bpf/xdp1_kern.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 95 samples/bpf/xdp2_kern.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 146 samples/bpf/xdp_adjust_tail_kern.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 62 samples/bpf/xdp_fwd_kern.c if (h_proto == htons(ETH_P_IP)) { ETH_P_IP 133 samples/bpf/xdp_fwd_kern.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 347 samples/bpf/xdp_redirect_cpu_kern.c case ETH_P_IP: ETH_P_IP 416 samples/bpf/xdp_redirect_cpu_kern.c case ETH_P_IP: ETH_P_IP 541 samples/bpf/xdp_redirect_cpu_kern.c case ETH_P_IP: ETH_P_IP 140 samples/bpf/xdp_router_ipv4_kern.c } else if (h_proto == htons(ETH_P_IP)) { ETH_P_IP 127 samples/bpf/xdp_tx_iptunnel_kern.c set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); ETH_P_IP 228 samples/bpf/xdp_tx_iptunnel_kern.c if (h_proto == htons(ETH_P_IP)) ETH_P_IP 5008 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 5105 security/selinux/hooks.c if (skb && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 5405 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 3848 security/smack/smack_lsm.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) ETH_P_IP 3995 security/smack/smack_lsm.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 4096 security/smack/smack_lsm.c if (skb->protocol == htons(ETH_P_IP)) ETH_P_IP 107 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 118 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 120 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 149 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .vlan_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 160 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 162 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 193 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 206 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 208 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 219 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 231 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 233 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 333 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 350 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 352 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 361 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 378 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .addr_proto = ETH_P_IP, ETH_P_IP 380 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .n_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 120 tools/testing/selftests/bpf/progs/bpf_flow.c case bpf_htons(ETH_P_IP): ETH_P_IP 172 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_eth_proto(skb, bpf_htons(ETH_P_IP)); ETH_P_IP 277 tools/testing/selftests/bpf/progs/bpf_flow.c keys->addr_proto = ETH_P_IP; ETH_P_IP 466 tools/testing/selftests/bpf/progs/test_l4lb.c if (eth_proto == bpf_htons(ETH_P_IP)) ETH_P_IP 466 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c if (eth_proto == bpf_htons(ETH_P_IP)) ETH_P_IP 33 tools/testing/selftests/bpf/progs/test_pkt_access.c if (eth->h_proto == bpf_htons(ETH_P_IP)) { ETH_P_IP 85 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c if (data_check.eth_protocol == bpf_htons(ETH_P_IP)) { ETH_P_IP 30 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c if (eth_proto == bpf_htons(ETH_P_IP)) { ETH_P_IP 104 tools/testing/selftests/bpf/progs/test_tc_edt.c if (skb->protocol == bpf_htons(ETH_P_IP)) ETH_P_IP 209 tools/testing/selftests/bpf/progs/test_tc_tunnel.c eth.h_proto = bpf_htons(ETH_P_IP); ETH_P_IP 315 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 316 tools/testing/selftests/bpf/progs/test_tc_tunnel.c return encap_ipv4(skb, IPPROTO_IPIP, ETH_P_IP); ETH_P_IP 324 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 325 tools/testing/selftests/bpf/progs/test_tc_tunnel.c return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP); ETH_P_IP 333 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 342 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 351 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 352 tools/testing/selftests/bpf/progs/test_tc_tunnel.c return encap_ipv4(skb, IPPROTO_UDP, ETH_P_IP); ETH_P_IP 360 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 369 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) ETH_P_IP 379 tools/testing/selftests/bpf/progs/test_tc_tunnel.c return encap_ipv4(skb, IPPROTO_IPV6, ETH_P_IP); ETH_P_IP 526 tools/testing/selftests/bpf/progs/test_tc_tunnel.c case __bpf_constant_htons(ETH_P_IP): ETH_P_IP 65 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c case ETH_P_IP: ETH_P_IP 128 tools/testing/selftests/bpf/progs/test_xdp.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); ETH_P_IP 226 tools/testing/selftests/bpf/progs/test_xdp.c if (h_proto == bpf_htons(ETH_P_IP)) ETH_P_IP 124 tools/testing/selftests/bpf/progs/test_xdp_loop.c set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); ETH_P_IP 222 tools/testing/selftests/bpf/progs/test_xdp_loop.c if (h_proto == bpf_htons(ETH_P_IP)) ETH_P_IP 813 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (eth_proto == ETH_P_IP) ETH_P_IP 70 tools/testing/selftests/bpf/progs/xdping_kern.c if (eth->h_proto != bpf_htons(ETH_P_IP)) ETH_P_IP 364 tools/testing/selftests/bpf/test_flow_dissector.c cfg_l3_inner == PF_INET ? ETH_P_IP ETH_P_IP 168 tools/testing/selftests/bpf/test_progs.c .eth.h_proto = __bpf_constant_htons(ETH_P_IP), ETH_P_IP 269 tools/testing/selftests/bpf/test_select_reuseport.c expected.eth_protocol = htons(ETH_P_IP); ETH_P_IP 498 tools/testing/selftests/net/msg_zerocopy.c uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6; ETH_P_IP 75 tools/testing/selftests/net/psock_fanout.c addr.sll_protocol = htons(ETH_P_IP); ETH_P_IP 109 tools/testing/selftests/net/psock_snd.c tag[1] = htons(ETH_P_IP); ETH_P_IP 113 tools/testing/selftests/net/psock_snd.c eth->h_proto = htons(ETH_P_IP); ETH_P_IP 175 tools/testing/selftests/net/psock_snd.c laddr.sll_protocol = htons(ETH_P_IP); ETH_P_IP 202 tools/testing/selftests/net/psock_snd.c laddr.sll_protocol = htons(ETH_P_IP); ETH_P_IP 134 tools/testing/selftests/net/psock_tpacket.c if (eth->h_proto != htons(ETH_P_IP)) { ETH_P_IP 154 tools/testing/selftests/net/psock_tpacket.c eth->h_proto = htons(ETH_P_IP); ETH_P_IP 51 tools/testing/selftests/net/txring_overwrite.c eth->h_proto = htons(ETH_P_IP); ETH_P_IP 79 tools/testing/selftests/net/txring_overwrite.c fdr = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)); ETH_P_IP 492 tools/testing/selftests/networking/timestamping/txtimestamp.c laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6);