/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 1354 if (FIELDS_NOT_SUPPORTED(ib_spec->eth.mask, LAST_ETH_FIELD)) 1358 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, 1360 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, 1362 mlx4_spec->eth.vlan_tag = ib_spec->eth.val.vlan_tag; 1363 mlx4_spec->eth.vlan_tag_msk = ib_spec->eth.mask.vlan_tag; 1631 err = mlx4_tunnel_steer_add(to_mdev(qp->device)->dev, ib_spec->eth [all...] |
H A D | qp.c | 3071 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { 3072 vlan = be16_to_cpu(ah->av.eth.vlan) & 0x0fff; 3128 sqp->ud_header.ip4.ttl = ah->av.eth.hop_limit; 3180 ether_addr_copy(sqp->ud_header.eth.smac_h, ah->av.eth.s_mac); 3181 ether_addr_copy(sqp->ud_header.eth.dmac_h, ah->av.eth.mac); 3182 memcpy(&ctrl->srcrb_flags16[0], ah->av.eth.mac, 2); 3183 memcpy(&ctrl->imm, ah->av.eth.mac + 2, 4); 3185 if (!memcmp(sqp->ud_header.eth [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | network_helpers.c | 39 .eth.h_proto = __bpf_constant_htons(ETH_P_IP), 48 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
|
/linux-master/net/bridge/ |
H A D | br_multicast.c | 943 struct ethhdr *eth; local 967 pkt_size = sizeof(*eth) + sizeof(*iph) + 4 + igmp_hdr_size; 980 eth = eth_hdr(skb); 982 ether_addr_copy(eth->h_source, brmctx->br->dev->dev_addr); 983 ip_eth_mc_map(ip_dst, eth->h_dest); 984 eth->h_proto = htons(ETH_P_IP); 985 skb_put(skb, sizeof(*eth)); 989 iph->tot_len = htons(pkt_size - sizeof(*eth)); 1066 __skb_pull(skb, sizeof(*eth)); 1094 struct ethhdr *eth; local 4815 struct ethhdr eth; local [all...] |
/linux-master/net/mac80211/ |
H A D | rx.c | 2773 struct ethhdr eth; local 2776 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(eth)); 2815 memcpy(ð, skb->data, ETH_HLEN - 2); 2818 eth.h_dest, eth.h_source); 2841 struct ethhdr *eth; local 2850 if (!pskb_may_pull(skb, sizeof(*eth) + 6)) 2853 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(*eth)); 2856 if (!pskb_may_pull(skb, sizeof(*eth) + mesh_hdrlen)) 2859 eth [all...] |
/linux-master/arch/mips/include/asm/ip32/ |
H A D | mace.h | 353 struct mace_ethernet eth; member in struct:sgi_mace
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs.h | 261 struct ib_uverbs_flow_spec_eth eth; member in union:ib_uverbs_flow_spec::__anon772
|
/linux-master/arch/mips/rb532/ |
H A D | devices.c | 27 #include <asm/mach-rc32434/eth.h>
|
/linux-master/include/rdma/ |
H A D | ib_pack.h | 246 struct ib_unpacked_eth eth; member in struct:ib_ud_header
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 101 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); 158 seq_printf(m, " eth=%pM->%pM etype=%04x"
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fweh.h | 236 * @eth: standard ether header. 241 struct ethhdr eth; member in struct:brcmf_event
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 1019 struct ethhdr *eth = (struct ethhdr *)(skb->data); local 1023 __be16 proto = eth->h_proto; 1034 proto = __vlan_get_protocol(skb, eth->h_proto, NULL); 1044 } else if (eth_type_vlan(eth->h_proto)) { 1045 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); 1081 struct ethhdr *eth = (struct ethhdr *)(skb->data); local 1116 if (ntohs(eth->h_proto) == ETH_P_IPV6)
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 437 struct ethhdr *eth; local 512 eth = (struct ethhdr *)n->data; 513 eth->h_proto = skb->protocol; 1432 struct ethhdr *eth = (struct ethhdr *)header; local 1434 eth->h_proto = t->eth_proto; 1479 struct ethhdr *eth = (struct ethhdr *)header; local 1481 eth->h_proto = t->eth_proto;
|
/linux-master/net/sched/ |
H A D | cls_flower.c | 48 struct flow_dissector_key_eth_addrs eth; member in struct:fl_flow_key 1770 fl_set_key_val(tb, key->eth.dst, TCA_FLOWER_KEY_ETH_DST, 1771 mask->eth.dst, TCA_FLOWER_KEY_ETH_DST_MASK, 1772 sizeof(key->eth.dst)); 1773 fl_set_key_val(tb, key->eth.src, TCA_FLOWER_KEY_ETH_SRC, 1774 mask->eth.src, TCA_FLOWER_KEY_ETH_SRC_MASK, 1775 sizeof(key->eth.src)); 2048 FLOW_DISSECTOR_KEY_ETH_ADDRS, eth); 3265 if (fl_dump_key_val(skb, key->eth.dst, TCA_FLOWER_KEY_ETH_DST, 3266 mask->eth [all...] |
/linux-master/drivers/net/ethernet/amd/ |
H A D | sunlance.c | 883 struct ethhdr __iomem *eth = (struct ethhdr __iomem *) packet; local 887 sbus_writeb(dev->dev_addr[i], ð->h_dest[i]); 888 sbus_writeb(dev->dev_addr[i], ð->h_source[i]); 896 struct ethhdr *eth = (struct ethhdr *) packet; local 899 eth->h_dest[i] = dev->dev_addr[i]; 900 eth->h_source[i] = dev->dev_addr[i];
|
/linux-master/drivers/net/phy/ |
H A D | nxp-c45-tja11xx-macsec.c | 1555 struct ethhdr eth; member in struct:tja11xx_tlv_header 1565 struct ethhdr *eth; local 1567 eth = eth_hdr(skb); 1569 memmove(tlv, eth, sizeof(*eth)); 1571 tlv->eth.h_proto = htons(ETH_P_TJA11XX_TLV);
|
/linux-master/arch/arm64/boot/dts/ti/ |
H A D | Makefile | 77 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo 81 k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
|
/linux-master/scripts/dtc/include-prefixes/arm64/ti/ |
H A D | Makefile | 77 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo 81 k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
|
/linux-master/tools/testing/selftests/net/ |
H A D | gro.c | 236 struct ethhdr *eth = buf; local 238 memcpy(eth->h_dest, dst_mac, ETH_ALEN); 239 memcpy(eth->h_source, src_mac, ETH_ALEN); 240 eth->h_proto = ethhdr_proto;
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_mm.sh | 32 before=$(ethtool_std_stats_get $if "eth-mac" "FramesTransmittedOK" $src) 36 after=$(ethtool_std_stats_get $if "eth-mac" "FramesTransmittedOK" $src) 325 if check_ethtool_pmac_std_stats_support $netif eth-mac; then
|
/linux-master/net/core/ |
H A D | pktgen.c | 2715 struct ethhdr *eth; local 2737 eth = skb_push(skb, ETH_HLEN); 2738 memcpy(eth, pkt_dev->hh, 2 * ETH_ALEN); 2739 eth->h_proto = protocol; 2883 __u8 *eth; local 2917 eth = skb_push(skb, 14); 2949 memcpy(eth, pkt_dev->hh, 12); 2950 *(__be16 *) & eth[12] = protocol; 3011 __u8 *eth; local 3045 eth [all...] |
/linux-master/net/xfrm/ |
H A D | xfrm_output.c | 659 const struct ethhdr *eth; local 691 eth = (struct ethhdr *)skb_inner_mac_header(skb); 693 switch (ntohs(eth->h_proto)) {
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_tx.c | 233 struct ethhdr *eth; local 236 eth = (struct ethhdr *)skb->data; 237 if (eth->h_proto != htons(ETH_P_IP))
|
/linux-master/drivers/net/netdevsim/ |
H A D | dev.c | 745 struct ethhdr *eth; local 754 eth = skb_put(skb, sizeof(struct ethhdr)); 755 eth_random_addr(eth->h_dest); 756 eth_random_addr(eth->h_source); 757 eth->h_proto = htons(ETH_P_IP);
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2470 struct ethhdr *eth = eth_hdr(skb); local 2472 if (ntohs(eth->h_proto) == ETH_P_IPV6 || 2473 (ntohs(eth->h_proto) == ETH_P_IP && 2684 struct ethhdr *eth; local 2707 eth = eth_hdr(skb); 2708 if (ntohs(eth->h_proto) == ETH_P_ARP) 2711 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && 2742 eth = eth_hdr(skb); 2743 f = vxlan_find_mac(vxlan, eth->h_dest, vni); 2747 (ntohs(eth [all...] |