ethh 385 drivers/infiniband/hw/i40iw/i40iw_cm.c struct ethhdr *ethh; ethh 423 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh = (struct ethhdr *)buf; ethh 434 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_dest, cm_node->rem_mac); ethh 435 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_source, cm_node->loc_mac); ethh 437 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_proto = htons(ETH_P_8021Q); ethh 439 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); ethh 441 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = htons(ETH_P_IP); ethh 443 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh->h_proto = htons(ETH_P_IP); ethh 464 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_dest, cm_node->rem_mac); ethh 465 drivers/infiniband/hw/i40iw/i40iw_cm.c ether_addr_copy(ethh->h_source, cm_node->loc_mac); ethh 467 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_proto = htons(ETH_P_8021Q); ethh 469 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); ethh 470 drivers/infiniband/hw/i40iw/i40iw_cm.c ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = htons(ETH_P_IPV6); ethh 472 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh->h_proto = htons(ETH_P_IPV6); ethh 3134 drivers/infiniband/hw/i40iw/i40iw_cm.c struct vlan_ethhdr *ethh; ethh 3146 drivers/infiniband/hw/i40iw/i40iw_cm.c ethh = (struct vlan_ethhdr *)rbuf->mem.va; ethh 3148 drivers/infiniband/hw/i40iw/i40iw_cm.c if (ethh->h_vlan_proto == htons(ETH_P_8021Q)) { ethh 3149 drivers/infiniband/hw/i40iw/i40iw_cm.c vtag = ntohs(ethh->h_vlan_TCI); ethh 1465 drivers/infiniband/hw/i40iw/i40iw_utils.c struct ethhdr *ethh = (struct ethhdr *)buf->mem.va; ethh 1467 drivers/infiniband/hw/i40iw/i40iw_utils.c if (ethh->h_proto == htons(0x8100)) { ethh 1469 drivers/infiniband/hw/i40iw/i40iw_utils.c buf->vlan_id = ntohs(((struct vlan_ethhdr *)ethh)->h_vlan_TCI) & VLAN_VID_MASK; ethh 306 drivers/media/dvb-core/dvb_net.c struct ethhdr *ethh; ethh 734 drivers/media/dvb-core/dvb_net.c h->ethh = (struct ethhdr *)h->priv->ule_skb->data; ethh 735 drivers/media/dvb-core/dvb_net.c memcpy(h->ethh->h_dest, dest_addr, ETH_ALEN); ethh 736 drivers/media/dvb-core/dvb_net.c eth_zero_addr(h->ethh->h_source); ethh 737 drivers/media/dvb-core/dvb_net.c h->ethh->h_proto = htons(h->priv->ule_sndu_type); ethh 764 drivers/media/dvb-core/dvb_net.c .ethh = NULL, ethh 147 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct ethhdr *ethh; ethh 151 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ethh = skb_put(skb, sizeof(struct ethhdr)); ethh 154 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c memcpy(ethh->h_dest, ndev->dev_addr, ETH_ALEN); ethh 163 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ethh->h_dest[5] += HNS3_NIC_LB_DST_MAC_ADDR; ethh 164 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c eth_zero_addr(ethh->h_source); ethh 165 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ethh->h_proto = htons(ETH_P_ARP); ethh 730 drivers/net/ethernet/mellanox/mlx4/en_rx.c const struct ethhdr *ethh = va; ethh 736 drivers/net/ethernet/mellanox/mlx4/en_rx.c dma_sync_single_for_cpu(priv->ddev, dma, sizeof(*ethh), ethh 739 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (is_multicast_ether_addr(ethh->h_dest)) { ethh 745 drivers/net/ethernet/mellanox/mlx4/en_rx.c mac_hash = ethh->h_source[MLX4_EN_MAC_HASH_IDX]; ethh 749 drivers/net/ethernet/mellanox/mlx4/en_rx.c ethh->h_source)) ethh 52 drivers/net/ethernet/mellanox/mlx4/en_selftest.c struct ethhdr *ethh; ethh 66 drivers/net/ethernet/mellanox/mlx4/en_selftest.c ethh = skb_put(skb, sizeof(struct ethhdr)); ethh 68 drivers/net/ethernet/mellanox/mlx4/en_selftest.c memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN); ethh 69 drivers/net/ethernet/mellanox/mlx4/en_selftest.c eth_zero_addr(ethh->h_source); ethh 70 drivers/net/ethernet/mellanox/mlx4/en_selftest.c ethh->h_proto = htons(ETH_P_ARP); ethh 974 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct ethhdr *ethh; ethh 979 drivers/net/ethernet/mellanox/mlx4/en_tx.c ethh = (struct ethhdr *)skb->data; ethh 980 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest); ethh 981 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2)); ethh 107 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c struct ethhdr *ethh; ethh 122 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c ethh = skb_push(skb, ETH_HLEN); ethh 132 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c ether_addr_copy(ethh->h_dest, priv->netdev->dev_addr); ethh 133 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c eth_zero_addr(ethh->h_source); ethh 134 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c ethh->h_proto = htons(ETH_P_IP); ethh 188 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c struct ethhdr *ethh; ethh 196 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c ethh = (struct ethhdr *)skb_mac_header(skb); ethh 197 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c if (!ether_addr_equal(ethh->h_dest, orig_ndev->dev_addr)) ethh 1680 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct ethhdr *ethh; ethh 1688 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ethh = buf; ethh 1689 drivers/net/ethernet/qlogic/qed/qed_iwarp.c eth_type = ntohs(ethh->h_proto); ethh 1692 drivers/net/ethernet/qlogic/qed/qed_iwarp.c vethh = (struct vlan_ethhdr *)ethh; ethh 1699 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (!ether_addr_equal(ethh->h_dest, ethh 1704 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ethh->h_dest, p_hwfn->p_rdma_info->iwarp.mac_addr); ethh 1708 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ether_addr_copy(remote_mac_addr, ethh->h_source); ethh 1709 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ether_addr_copy(local_mac_addr, ethh->h_dest); ethh 1712 drivers/net/ethernet/qlogic/qed/qed_iwarp.c eth_type, ethh->h_source); ethh 1715 drivers/net/ethernet/qlogic/qed/qed_iwarp.c eth_hlen, ethh->h_dest); ethh 1717 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iph = (struct iphdr *)((u8 *)(ethh) + eth_hlen); ethh 228 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *ethh; ethh 248 drivers/net/ipvlan/ipvlan_core.c ethh = eth_hdr(skb); ethh 250 drivers/net/ipvlan/ipvlan_core.c mac_hash = ipvlan_mac_hash(ethh->h_dest); ethh 252 drivers/net/ipvlan/ipvlan_core.c if (ether_addr_equal(ethh->h_dest, port->dev->broadcast)) ethh 499 drivers/net/ipvlan/ipvlan_core.c struct ethhdr *ethh = eth_hdr(skb); ethh 509 drivers/net/ipvlan/ipvlan_core.c if (is_multicast_ether_addr(ethh->h_dest)) { ethh 517 drivers/net/ipvlan/ipvlan_core.c skb_pull(skb, sizeof(*ethh)); ethh 32 lib/test_blackhole_dev.c struct ethhdr *ethh; ethh 64 lib/test_blackhole_dev.c ethh = (struct ethhdr *)skb_push(skb, sizeof(struct ethhdr)); ethh 288 net/openvswitch/actions.c const struct ovs_action_push_eth *ethh) ethh 301 net/openvswitch/actions.c ether_addr_copy(hdr->h_source, ethh->addresses.eth_src); ethh 302 net/openvswitch/actions.c ether_addr_copy(hdr->h_dest, ethh->addresses.eth_dst); ethh 50 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c struct ethhdr *ethh; ethh 60 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c ethh = data; ethh 61 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c if (ethh + 1 > data_end) ethh 64 tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c switch (bpf_ntohs(ethh->h_proto)) {