/linux-4.4.14/net/ethernet/ |
D | eth.c | 83 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in eth_header() local 86 eth->h_proto = htons(type); in eth_header() 88 eth->h_proto = htons(len); in eth_header() 96 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 99 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 108 eth_zero_addr(eth->h_dest); in eth_header() 126 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 130 if (unlikely(len < sizeof(*eth))) in eth_get_headlen() 134 if (!skb_flow_dissect_flow_keys_buf(&keys, data, eth->h_proto, in eth_get_headlen() 135 sizeof(*eth), len, 0)) in eth_get_headlen() [all …]
|
D | Makefile | 5 obj-y += eth.o
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | ah.c | 87 rdma_get_mcast_mac(&in6, ah->av.eth.mac); in create_iboe_ah() 89 memcpy(ah->av.eth.mac, ah_attr->dmac, ETH_ALEN); in create_iboe_ah() 95 memset(ah->av.eth.s_mac, 0, ETH_ALEN); in create_iboe_ah() 99 memcpy(ah->av.eth.s_mac, gid_attr.ndev->dev_addr, ETH_ALEN); in create_iboe_ah() 104 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_iboe_ah() 105 …ah->av.eth.gid_index = mlx4_ib_gid_index_to_real_index(ibdev, ah_attr->port_num, ah_attr->grh.sgid… in create_iboe_ah() 106 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah() 108 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_iboe_ah() 109 while (ah->av.eth.stat_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in create_iboe_ah() 110 !(1 << ah->av.eth.stat_rate & dev->caps.stat_rate_support)) in create_iboe_ah() [all …]
|
D | qp.c | 2312 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { in build_mlx_header() 2313 vlan = be16_to_cpu(ah->av.eth.vlan) & 0x0fff; in build_mlx_header() 2388 memcpy(sqp->ud_header.eth.dmac_h, ah->av.eth.mac, 6); in build_mlx_header() 2390 memcpy(&ctrl->srcrb_flags16[0], ah->av.eth.mac, 2); in build_mlx_header() 2391 memcpy(&ctrl->imm, ah->av.eth.mac + 2, 4); in build_mlx_header() 2399 memcpy(sqp->ud_header.eth.smac_h, smac, ETH_ALEN); in build_mlx_header() 2402 memcpy(sqp->ud_header.eth.smac_h, ah->av.eth.s_mac, ETH_ALEN); in build_mlx_header() 2405 if (!memcmp(sqp->ud_header.eth.smac_h, sqp->ud_header.eth.dmac_h, 6)) in build_mlx_header() 2408 sqp->ud_header.eth.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header() 2595 dseg->vlan = to_mah(wr->ah)->av.eth.vlan; in set_datagram_seg() [all …]
|
D | main.c | 1307 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, in parse_flow_attr() 1309 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, in parse_flow_attr() 1311 mlx4_spec->eth.vlan_tag = ib_spec->eth.val.vlan_tag; in parse_flow_attr() 1312 mlx4_spec->eth.vlan_tag_msk = ib_spec->eth.mask.vlan_tag; in parse_flow_attr() 1573 err = mlx4_tunnel_steer_add(to_mdev(qp->device)->dev, ib_spec->eth.val.dst_mac, in mlx4_ib_tunnel_steer_add()
|
D | mad.c | 1274 memcpy(to_mah(ah)->av.eth.s_mac, s_mac, 6); in mlx4_ib_send_to_wire() 1277 to_mah(ah)->av.eth.vlan = cpu_to_be16(vlan_id); in mlx4_ib_send_to_wire()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | meth.c | 111 mace->eth.mac_addr = macaddr; in load_eaddr() 118 while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \ 126 mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); in mdio_read() 128 mace->eth.phy_trans_go = 1; in mdio_read() 197 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 206 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 220 mace->eth.tx_ring_base = priv->tx_ring_dma; in meth_init_tx_ring() 241 mace->eth.rx_fifo = priv->rx_ring_dmas[i]; in meth_init_rx_ring() 279 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset() 281 mace->eth.mac_ctrl = 0; in meth_reset() [all …]
|
D | Makefile | 6 obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | sta_rx.c | 39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() local 43 eth = (struct ethhdr *)skb->data; in mwifiex_discard_gratuitous_arp() 44 switch (ntohs(eth->h_proto)) { in mwifiex_discard_gratuitous_arp() 90 struct ethhdr *eth; in mwifiex_process_rx_packet() local 116 eth = (struct ethhdr *) in mwifiex_process_rx_packet() 124 memcpy(eth->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_process_rx_packet() 125 sizeof(eth->h_source)); in mwifiex_process_rx_packet() 126 memcpy(eth->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_process_rx_packet() 127 sizeof(eth->h_dest)); in mwifiex_process_rx_packet() 131 hdr_chop = (u8 *) eth - (u8 *) local_rx_pd; in mwifiex_process_rx_packet()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 63 struct ocrdma_eth_vlan eth; in set_av_attr() local 67 memset(ð, 0, sizeof(eth)); in set_av_attr() 80 eth.eth_type = cpu_to_be16(0x8100); in set_av_attr() 81 eth.roce_eth_type = cpu_to_be16(OCRDMA_ROCE_ETH_TYPE); in set_av_attr() 83 eth.vlan_tag = cpu_to_be16(vlan_tag); in set_av_attr() 87 eth.eth_type = cpu_to_be16(OCRDMA_ROCE_ETH_TYPE); in set_av_attr() 91 memcpy(ð.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr() 92 status = ocrdma_resolve_dmac(dev, attr, ð.dmac[0]); in set_av_attr() 106 memcpy(&ah->av->eth_hdr, ð, eth_sz); in set_av_attr()
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | marvell-orion-net.txt | 25 - compatible: shall be one of "marvell,orion-eth", "marvell,kirkwood-eth". 35 - compatible: shall be one of "marvell,orion-eth-port", 36 "marvell,kirkwood-eth-port". 67 eth: ethernet-controller@72000 { 68 compatible = "marvell,orion-eth"; 76 compatible = "marvell,orion-eth-port";
|
D | lpc-eth.txt | 4 - compatible: Should be "nxp,lpc-eth" 16 compatible = "nxp,lpc-eth";
|
D | marvell-pxa168.txt | 4 - compatible: should be "marvell,pxa168-eth". 25 compatible = "marvell,pxa168-eth";
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_net.c | 140 struct ethhdr *eth; in dvb_net_eth_type_trans() local 145 eth = eth_hdr(skb); in dvb_net_eth_type_trans() 147 if (*eth->h_dest & 1) { in dvb_net_eth_type_trans() 148 if(ether_addr_equal(eth->h_dest,dev->broadcast)) in dvb_net_eth_type_trans() 154 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in dvb_net_eth_type_trans() 155 return eth->h_proto; in dvb_net_eth_type_trans() 782 u8 *eth; local 835 eth = (u8 *) skb_put(skb, pkt_len - 12 - 4 + 14 - snap); 836 memcpy(eth + 14, pkt + 12 + snap, pkt_len - 12 - 4 - snap); 839 eth[0]=pkt[0x0b]; [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 321 key->eth.tci = qp->tci | htons(VLAN_TAG_PRESENT); in parse_vlan() 464 struct ethhdr *eth; in key_extract() local 474 eth = eth_hdr(skb); in key_extract() 475 ether_addr_copy(key->eth.src, eth->h_source); in key_extract() 476 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract() 483 key->eth.tci = 0; in key_extract() 485 key->eth.tci = htons(skb->vlan_tci); in key_extract() 486 else if (eth->h_proto == htons(ETH_P_8021Q)) in key_extract() 490 key->eth.type = parse_ethertype(skb); in key_extract() 491 if (unlikely(key->eth.type == htons(0))) in key_extract() [all …]
|
D | flow_netlink.c | 149 if (match->key->eth.type == htons(ETH_P_ARP) in match_validate() 150 || match->key->eth.type == htons(ETH_P_RARP)) { in match_validate() 152 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 156 if (eth_p_mpls(match->key->eth.type)) { in match_validate() 158 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 162 if (match->key->eth.type == htons(ETH_P_IP)) { in match_validate() 164 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 197 if (match->key->eth.type == htons(ETH_P_IPV6)) { in match_validate() 199 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 917 SW_FLOW_KEY_MEMCPY(match, eth.src, in ovs_key_from_nlattrs() [all …]
|
D | actions.c | 132 key->eth.type = htons(0); in invalidate_flow_key() 137 return !!key->eth.type; in is_flow_key_valid() 237 key->eth.tci = 0; in pop_vlan() 247 key->eth.tci = vlan->vlan_tci; in push_vlan() 283 ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); in set_eth_addr() 284 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr() 748 __be16 ethertype = key->eth.type; in do_output()
|
D | flow.h | 74 } eth; member
|
D | conntrack.c | 60 switch (ntohs(key->eth.type)) { in key_to_nfproto() 309 if (key->eth.type == htons(ETH_P_IP)) { in handle_fragments() 320 } else if (key->eth.type == htons(ETH_P_IPV6)) { in handle_fragments()
|
D | datapath.c | 553 struct ethhdr *eth; in ovs_packet_cmd_execute() local 575 eth = eth_hdr(packet); in ovs_packet_cmd_execute() 580 if (eth_proto_is_802_3(eth->h_proto)) in ovs_packet_cmd_execute() 581 packet->protocol = eth->h_proto; in ovs_packet_cmd_execute()
|
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
D | img,pistachio-pinctrl.txt | 116 mfio63 eth, mips_trace_clk, mips_trace_data 117 mfio64 eth, mips_trace_dint, mips_trace_data 118 mfio65 eth, mips_trace_trigout, mips_trace_data 119 mfio66 eth, mips_trace_trigin, mips_trace_data 120 mfio67 eth, mips_trace_dm, mips_trace_data 121 mfio68 eth, mips_trace_probe_n, mips_trace_data 122 mfio69 eth, mips_trace_data 123 mfio70 eth, mips_trace_data 124 mfio71 eth
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | gdm_lte.c | 105 struct ethhdr eth; in gdm_lte_emulate_arp() local 127 memcpy(ð, skb_in->data, sizeof(struct ethhdr)); in gdm_lte_emulate_arp() 128 mac_header_data = ð in gdm_lte_emulate_arp() 225 struct ethhdr eth; in gdm_lte_emulate_ndp() local 254 memcpy(ð, skb_in->data, sizeof(struct ethhdr)); in gdm_lte_emulate_ndp() 255 if (ntohs(eth.h_proto) != ETH_P_IPV6) in gdm_lte_emulate_ndp() 257 mac_header_data = ð in gdm_lte_emulate_ndp() 350 struct ethhdr *eth; in gdm_lte_tx_nic_type() local 362 eth = (struct ethhdr *)skb->data; in gdm_lte_tx_nic_type() 363 if (ntohs(eth->h_proto) == ETH_P_8021Q) { in gdm_lte_tx_nic_type() [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | ud_header.c | 86 { STRUCT_FIELD(eth, dmac_h), 90 { STRUCT_FIELD(eth, dmac_l), 94 { STRUCT_FIELD(eth, smac_h), 98 { STRUCT_FIELD(eth, smac_l), 102 { STRUCT_FIELD(eth, type), 253 header->eth.type = cpu_to_be16(ETH_P_8021Q); in ib_ud_header_init() 301 &header->eth, buf + len); in ib_ud_header_pack()
|
D | uverbs.h | 217 struct ib_uverbs_flow_spec_eth eth; member
|
D | uverbs_cmd.c | 3036 ib_spec->eth.size = sizeof(struct ib_flow_spec_eth); in kern_spec_to_ib_spec() 3037 if (ib_spec->eth.size != kern_spec->eth.size) in kern_spec_to_ib_spec() 3039 memcpy(&ib_spec->eth.val, &kern_spec->eth.val, in kern_spec_to_ib_spec() 3041 memcpy(&ib_spec->eth.mask, &kern_spec->eth.mask, in kern_spec_to_ib_spec()
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 444 static void __init octeon_fdt_set_phy(int eth, int phy_addr) in octeon_fdt_set_phy() argument 456 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy() 463 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy() 473 fdt_nop_property(initial_boot_params, eth, "phy-handle"); in octeon_fdt_set_phy() 475 fdt_nop_property(initial_boot_params, eth, "cavium,alt-phy-handle"); in octeon_fdt_set_phy() 489 phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy() 492 fdt_nop_property(initial_boot_params, eth, "phy-handle"); in octeon_fdt_set_phy() 493 alt_prop = fdt_get_property_w(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy() 566 int eth; in octeon_fdt_pip_port() local 571 eth = fdt_subnode_offset(initial_boot_params, iface, name_buffer); in octeon_fdt_pip_port() [all …]
|
/linux-4.4.14/arch/um/drivers/ |
D | net_kern.c | 570 static int check_transport(struct transport *transport, char *eth, int n, in check_transport() argument 576 if (strncmp(eth, transport->name, len)) in check_transport() 579 eth += len; in check_transport() 580 if (*eth == ',') in check_transport() 581 eth++; in check_transport() 582 else if (*eth != '\0') in check_transport() 589 if (!transport->setup(eth, mac_out, *init_out)) { in check_transport() 599 struct eth_init *eth; in register_transport() local 610 eth = list_entry(ele, struct eth_init, list); in register_transport() 611 match = check_transport(new, eth->init, eth->index, &init, in register_transport() [all …]
|
/linux-4.4.14/net/sched/ |
D | cls_flower.c | 30 struct flow_dissector_key_eth_addrs eth; member 249 fl_set_key_val(tb, key->eth.dst, TCA_FLOWER_KEY_ETH_DST, in fl_set_key() 250 mask->eth.dst, TCA_FLOWER_KEY_ETH_DST_MASK, in fl_set_key() 251 sizeof(key->eth.dst)); in fl_set_key() 252 fl_set_key_val(tb, key->eth.src, TCA_FLOWER_KEY_ETH_SRC, in fl_set_key() 253 mask->eth.src, TCA_FLOWER_KEY_ETH_SRC_MASK, in fl_set_key() 254 sizeof(key->eth.src)); in fl_set_key() 361 FLOW_DISSECTOR_KEY_ETH_ADDRS, eth); in fl_init_dissector() 603 if (fl_dump_key_val(skb, key->eth.dst, TCA_FLOWER_KEY_ETH_DST, in fl_dump() 604 mask->eth.dst, TCA_FLOWER_KEY_ETH_DST_MASK, in fl_dump() [all …]
|
/linux-4.4.14/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 141 struct device_node *eth = NULL; in machine_setup() local 146 if ((eth = of_find_compatible_node(eth, NULL, "opencores,ethoc"))) in machine_setup() 147 update_local_mac(eth); in machine_setup()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 846 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule() 847 memcpy(rule_hw->eth.dst_mac_msk, spec->eth.dst_mac_msk, in parse_trans_rule() 849 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule() 850 memcpy(rule_hw->eth.src_mac_msk, spec->eth.src_mac_msk, in parse_trans_rule() 852 if (spec->eth.ether_type_enable) { in parse_trans_rule() 853 rule_hw->eth.ether_type_enable = 1; in parse_trans_rule() 854 rule_hw->eth.ether_type = spec->eth.ether_type; in parse_trans_rule() 856 rule_hw->eth.vlan_tag = spec->eth.vlan_id; in parse_trans_rule() 857 rule_hw->eth.vlan_tag_msk = spec->eth.vlan_id_msk; in parse_trans_rule() 916 "dmac = %pM ", &cur->eth.dst_mac); in mlx4_err_rule() [all …]
|
D | en_ethtool.c | 1306 memcpy(spec_l2->eth.dst_mac_msk, &mac_msk, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule() 1307 memcpy(spec_l2->eth.dst_mac, mac, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule() 1311 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule() 1312 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule() 1472 spec_l2->eth.ether_type = eth_spec->h_proto; in mlx4_en_ethtool_to_net_trans_rule() 1474 spec_l2->eth.ether_type_enable = 1; in mlx4_en_ethtool_to_net_trans_rule()
|
D | resource_tracker.c | 4128 if (!is_multicast_ether_addr(eth_header->eth.dst_mac) && in validate_eth_header_mac() 4129 !is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in validate_eth_header_mac() 4132 if (ether_addr_equal((u8 *)&be_mac, eth_header->eth.dst_mac)) in validate_eth_header_mac() 4136 eth_header->eth.dst_mac, slave); in validate_eth_header_mac() 4145 if (is_multicast_ether_addr(eth_header->eth.dst_mac) || in handle_eth_header_mcast_prio() 4146 is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in handle_eth_header_mcast_prio() 4147 struct mlx4_net_trans_rule_hw_eth *eth = in handle_eth_header_mcast_prio() local 4149 struct _rule_hw *next_rule = (struct _rule_hw *)(eth + 1); in handle_eth_header_mcast_prio()
|
D | en_netdev.c | 190 memcpy(spec_eth.eth.dst_mac, priv->dev->dev_addr, ETH_ALEN); in mlx4_en_filter_work() 191 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_en_filter_work() 529 memcpy(spec_eth.eth.dst_mac, mac, ETH_ALEN); in mlx4_en_uc_steer_add() 530 memcpy(spec_eth.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_en_uc_steer_add()
|
/linux-4.4.14/Documentation/DocBook/ |
D | networking.xml.db | 361 API-eth-header 362 API-eth-get-headlen 363 API-eth-type-trans 364 API-eth-header-parse 365 API-eth-header-cache 366 API-eth-header-cache-update 367 API-eth-prepare-mac-addr-change 368 API-eth-commit-mac-addr-change 369 API-eth-mac-addr 370 API-eth-change-mtu [all …]
|
D | .networking.xml.cmd | 2 …include/net/wimax.h include/uapi/linux/wimax.h net/core/dev.c net/ethernet/eth.c net/sched/sch_gen…
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/ |
D | startup.inc | 48 ;; If eth_mdio, eth, geth bits are set in hwprot, don't 51 move.d 0xFC000000, $r2 ; pins 25..0 are eth_mdio, eth, geth 54 btstq REG_BIT(pinmux, rw_hwprot, eth), $r0 55 GIO_SET_P 0x00FFFF00, $r2 ;; pins 8..23 are eth
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
D | intr_vect_defs.h | 251 unsigned int eth : 1; member 264 unsigned int eth : 1; member 276 unsigned int eth : 1; member 288 unsigned int eth : 1; member
|
D | clkgen_defs.h | 103 unsigned int eth : 1; member
|
D | pinmux_defs.h | 86 unsigned int eth : 1; member
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 543 struct ethhdr *eth; in plip_type_trans() local 548 eth = eth_hdr(skb); in plip_type_trans() 550 if(is_multicast_ether_addr(eth->h_dest)) in plip_type_trans() 552 if(ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in plip_type_trans() 563 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in plip_type_trans() 564 return eth->h_proto; in plip_type_trans() 995 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth) in plip_rewrite_address() argument 1005 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); in plip_rewrite_address() 1006 memset(eth->h_dest, 0xfc, 2); in plip_rewrite_address() 1007 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_multicast.c | 368 struct ethhdr *eth; in br_ip4_multicast_alloc_query() local 371 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*iph) + in br_ip4_multicast_alloc_query() 379 eth = eth_hdr(skb); in br_ip4_multicast_alloc_query() 381 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip4_multicast_alloc_query() 382 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query() 383 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query() 384 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query() 385 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query() 386 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query() 387 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query() [all …]
|
D | br_private.h | 584 struct ethhdr *eth) in br_multicast_querier_exists() argument 586 switch (eth->h_proto) { in br_multicast_querier_exists() 659 struct ethhdr *eth) in br_multicast_querier_exists() argument
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 138 struct ethhdr *eth = pay; in test_payload() local 146 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload() 148 "type: 0x%x!\n", ntohs(eth->h_proto)); in test_payload() 156 struct ethhdr *eth = pay; in create_payload() local 157 struct iphdr *ip = pay + sizeof(*eth); in create_payload() 166 eth->h_proto = htons(ETH_P_IP); in create_payload() 169 ((uint8_t *) pay)[i + sizeof(*eth)] = (uint8_t) rand(); in create_payload() 176 ip->tot_len = htons((uint16_t) *len - sizeof(*eth)); in create_payload() 181 memset(pay + sizeof(*eth) + sizeof(*ip), in create_payload()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_core.c | 501 struct ethhdr *eth = eth_hdr(skb); in ipvlan_xmit_mode_l2() local 506 if (ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2() 524 } else if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_xmit_mode_l2() 561 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local 566 if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) { in ipvlan_external_frame() 604 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local 609 if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_handle_mode_l2()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 30 struct ethhdr *eth; in nft_reject_br_push_etherhdr() local 32 eth = (struct ethhdr *)skb_push(nskb, ETH_HLEN); in nft_reject_br_push_etherhdr() 34 ether_addr_copy(eth->h_source, eth_hdr(oldskb)->h_dest); in nft_reject_br_push_etherhdr() 35 ether_addr_copy(eth->h_dest, eth_hdr(oldskb)->h_source); in nft_reject_br_push_etherhdr() 36 eth->h_proto = eth_hdr(oldskb)->h_proto; in nft_reject_br_push_etherhdr()
|
/linux-4.4.14/drivers/net/ |
D | macvlan.c | 200 const struct ethhdr *eth, bool local) in macvlan_broadcast_one() argument 208 if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) in macvlan_broadcast_one() 236 const struct ethhdr *eth = eth_hdr(skb); in macvlan_broadcast() local 251 hash = mc_hash(vlan, eth->h_dest); in macvlan_broadcast() 259 nskb, vlan, eth, in macvlan_broadcast() 405 const struct ethhdr *eth = eth_hdr(skb); in macvlan_handle_frame() local 414 if (is_multicast_ether_addr(eth->h_dest)) { in macvlan_handle_frame() 419 eth = eth_hdr(skb); in macvlan_handle_frame() 420 macvlan_forward_source(skb, port, eth->h_source); in macvlan_handle_frame() 421 src = macvlan_hash_lookup(port, eth->h_source); in macvlan_handle_frame() [all …]
|
D | rionet.c | 172 struct ethhdr *eth = (struct ethhdr *)skb->data; in rionet_start_xmit() local 183 if (is_multicast_ether_addr(eth->h_dest)) in rionet_start_xmit() 194 if (is_multicast_ether_addr(eth->h_dest)) { in rionet_start_xmit() 206 } else if (RIONET_MAC_MATCH(eth->h_dest)) { in rionet_start_xmit() 207 destid = RIONET_GET_DESTID(eth->h_dest); in rionet_start_xmit()
|
D | vxlan.c | 2142 struct ethhdr *eth; in vxlan_xmit() local 2150 eth = eth_hdr(skb); in vxlan_xmit() 2153 if (ntohs(eth->h_proto) == ETH_P_ARP) in vxlan_xmit() 2156 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && in vxlan_xmit() 2167 eth = eth_hdr(skb); in vxlan_xmit() 2177 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2181 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit() 2182 ntohs(eth->h_proto) == ETH_P_IPV6)) { in vxlan_xmit() 2185 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2192 !is_multicast_ether_addr(eth->h_dest)) in vxlan_xmit() [all …]
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | g_ffs.c | 120 int (*eth)(struct usb_configuration *c); member 127 .eth = bind_rndis_config, 133 .eth = eth_bind_config, 500 if (gc->eth) { in gfs_do_config() 501 ret = gc->eth(c); in gfs_do_config()
|
/linux-4.4.14/net/core/ |
D | netpoll.c | 384 struct ethhdr *eth; in netpoll_send_udp() local 438 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp() 440 skb->protocol = eth->h_proto = htons(ETH_P_IPV6); in netpoll_send_udp() 467 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp() 469 skb->protocol = eth->h_proto = htons(ETH_P_IP); in netpoll_send_udp() 472 ether_addr_copy(eth->h_source, np->dev->dev_addr); in netpoll_send_udp() 473 ether_addr_copy(eth->h_dest, np->remote_mac); in netpoll_send_udp()
|
D | flow_dissector.c | 159 struct ethhdr *eth = eth_hdr(skb); in __skb_flow_dissect() local 165 memcpy(key_eth_addrs, ð->h_dest, sizeof(*key_eth_addrs)); in __skb_flow_dissect() 392 const struct ethhdr *eth; in __skb_flow_dissect() local 395 eth = __skb_header_pointer(skb, nhoff, in __skb_flow_dissect() 398 if (!eth) in __skb_flow_dissect() 400 proto = eth->h_proto; in __skb_flow_dissect() 401 nhoff += sizeof(*eth); in __skb_flow_dissect()
|
D | pktgen.c | 2645 struct ethhdr *eth; in process_ipsec() local 2667 eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in process_ipsec() 2668 memcpy(eth, pkt_dev->hh, 2 * ETH_ALEN); in process_ipsec() 2669 eth->h_proto = protocol; in process_ipsec() 2801 __u8 *eth; in fill_packet_ipv4() local 2837 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv4() 2868 memcpy(eth, pkt_dev->hh, 12); in fill_packet_ipv4() 2869 *(__be16 *) & eth[12] = protocol; in fill_packet_ipv4() 2930 __u8 *eth; in fill_packet_ipv6() local 2964 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv6() [all …]
|
D | dev.c | 2479 struct ethhdr *eth; in skb_network_protocol() local 2484 eth = (struct ethhdr *)skb_mac_header(skb); in skb_network_protocol() 2485 type = eth->h_proto; in skb_network_protocol() 4435 const struct ethhdr *eth; in napi_frags_skb() local 4436 unsigned int hlen = sizeof(*eth); in napi_frags_skb() 4443 eth = skb_gro_header_fast(skb, 0); in napi_frags_skb() 4445 eth = skb_gro_header_slow(skb, hlen, 0); in napi_frags_skb() 4446 if (unlikely(!eth)) { in napi_frags_skb() 4462 skb->protocol = eth->h_proto; in napi_frags_skb()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | imx1-apf9328.dts | 62 eth: eth@4,c00000 { label
|
D | spear1310.dtsi | 140 gmac1: eth@5c400000 { 149 gmac2: eth@5c500000 { 158 gmac3: eth@5c600000 { 167 gmac4: eth@5c700000 {
|
D | orion5x.dtsi | 179 eth: ethernet-controller@72000 { label 180 compatible = "marvell,orion-eth"; 188 compatible = "marvell,orion-eth-port";
|
D | kirkwood.dtsi | 313 compatible = "marvell,kirkwood-eth"; 322 compatible = "marvell,kirkwood-eth-port"; 344 compatible = "marvell,kirkwood-eth"; 355 compatible = "marvell,kirkwood-eth-port";
|
D | dove-d2plug.dts | 44 ð { status = "okay"; };
|
D | dove-cubox.dts | 70 ð { status = "okay"; };
|
D | spear1310-evb.dts | 53 eth { 168 gmac0: eth@e2000000 {
|
D | stih407-clock.dtsi | 191 "clk-eth-phy", 192 "clk-eth-ref-phyclk",
|
D | stih410-clock.dtsi | 194 "clk-eth-phy", 195 "clk-eth-ref-phyclk",
|
D | stih418-clock.dtsi | 194 "clk-eth-phyref", 195 "clk-eth-ref-phyclk",
|
D | spear320-evb.dts | 93 gmac: eth@e0800000 {
|
D | spear3xx.dtsi | 55 gmac: eth@e0800000 {
|
D | spear310-evb.dts | 97 gmac: eth@e0800000 {
|
D | r8a7794-silk.dts | 56 renesas,function = "eth";
|
D | spear300-evb.dts | 78 gmac: eth@e0800000 {
|
D | orion5x-rd88f5182-nas.dts | 99 ð {
|
D | dove.dtsi | 342 eth: ethernet-ctrl@72000 { label 343 compatible = "marvell,orion-eth"; 352 compatible = "marvell,orion-eth-port";
|
D | orion5x-lacie-ethernet-disk-mini-v2.dts | 111 ð {
|
D | orion5x-maxtor-shared-storage-2.dts | 92 ð {
|
D | berlin2cd.dtsi | 141 compatible = "marvell,pxa168-eth"; 159 compatible = "marvell,pxa168-eth";
|
D | r8a7791-porter.dts | 95 renesas,function = "eth";
|
D | berlin2.dtsi | 156 compatible = "marvell,pxa168-eth"; 179 compatible = "marvell,pxa168-eth";
|
D | orion5x-lacie-d2-network.dts | 138 ð {
|
D | r8a7791-henninger.dts | 96 renesas,function = "eth";
|
D | omap3-lilly-dbb056.dts | 133 <7 0 0x15000000 0x01000000>; /* eth assigend by COM a83x */
|
D | omap4-var-om44customboard.dtsi | 200 eth@0 {
|
D | omap4-sdp.dts | 28 vdd_eth: fixedregulator-vdd-eth { 452 eth@0 {
|
D | lpc32xx.dtsi | 83 compatible = "nxp,lpc-eth";
|
D | qcom-msm8960-cdp.dts | 281 eth@0 {
|
D | spear13xx.dtsi | 156 gmac0: eth@e2000000 {
|
D | dove-sbc-a510.dts | 100 ð { status = "disabled"; };
|
D | orion5x-linkstation-lswtgl.dts | 239 ð {
|
D | rk3288-evb.dtsi | 296 eth_phy_pwr: eth-phy-pwr {
|
D | orion5x-lswsgl.dts | 208 ð {
|
D | spear1340-evb.dts | 166 gmac0: eth@e2000000 {
|
D | r8a7790-lager.dts | 306 renesas,function = "eth";
|
D | r8a7791-koelsch.dts | 345 renesas,function = "eth";
|
D | atlas7.dtsi | 1337 gmac: eth@180b0000 { 1338 compatible = "snps, dwc-eth-qos";
|
D | berlin2q.dtsi | 207 compatible = "marvell,pxa168-eth";
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 563 struct ethhdr *eth = (void *)skb->data; in wil_netif_rx_any() local 567 int mcast = is_multicast_ether_addr(eth->h_dest); in wil_netif_rx_any() 595 int xmit_cid = wil_find_cid(wil, eth->h_dest); in wil_netif_rx_any() 898 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_ucast() local 899 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_ucast() 913 __func__, eth->h_dest, i); in wil_find_tx_ucast() 995 struct ethhdr *eth = (void *)skb->data; in wil_set_da_for_vring() local 998 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring() 1008 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_bcast_2() local 1009 char *src = eth->h_source; in wil_find_tx_bcast_2() [all …]
|
D | wmi.c | 532 struct ethhdr *eth; in wmi_evt_eapol_rx() local 554 eth = (struct ethhdr *)skb_put(skb, ETH_HLEN); in wmi_evt_eapol_rx() 555 ether_addr_copy(eth->h_dest, ndev->dev_addr); in wmi_evt_eapol_rx() 556 ether_addr_copy(eth->h_source, evt->src_mac); in wmi_evt_eapol_rx() 557 eth->h_proto = cpu_to_be16(ETH_P_PAE); in wmi_evt_eapol_rx()
|
/linux-4.4.14/drivers/net/fjes/ |
D | fjes_main.c | 592 struct ethhdr *eth; in fjes_xmit_frame() local 603 eth = (struct ethhdr *)skb->data; in fjes_xmit_frame() 611 if (is_multicast_ether_addr(eth->h_dest)) { in fjes_xmit_frame() 615 } else if (is_local_ether_addr(eth->h_dest)) { in fjes_xmit_frame() 616 dest_epid = eth->h_dest[ETH_ALEN - 1]; in fjes_xmit_frame() 619 if ((eth->h_dest[0] == 0x02) && in fjes_xmit_frame() 620 (0x00 == (eth->h_dest[1] | eth->h_dest[2] | in fjes_xmit_frame() 621 eth->h_dest[3] | eth->h_dest[4])) && in fjes_xmit_frame()
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/st/ |
D | st,flexgen.txt | 113 "clk-eth-phy", 114 "clk-eth-ref-phyclk",
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_fip.h | 60 struct ethhdr eth; member
|
D | fnic_fcs.c | 356 memcpy(vlan->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fnic_fcoe_send_vlan_req() 357 memcpy(vlan->eth.h_dest, fcoe_all_fcfs, ETH_ALEN); in fnic_fcoe_send_vlan_req() 358 vlan->eth.h_proto = htons(ETH_P_FIP); in fnic_fcoe_send_vlan_req()
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | c2k.dts | 95 compatible = "marvell,mv64360-eth-group"; 99 compatible = "marvell,mv64360-eth"; 108 compatible = "marvell,mv64360-eth"; 117 compatible = "marvell,mv64360-eth";
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 388 struct ethhdr eth; in fcoe_ctlr_solicit() member 405 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit() 406 memcpy(sol->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_solicit() 407 sol->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_solicit() 540 struct ethhdr eth; in fcoe_ctlr_send_keep_alive() member 561 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive() 562 memcpy(kal->eth.h_source, sa, ETH_ALEN); in fcoe_ctlr_send_keep_alive() 563 kal->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_send_keep_alive() 612 struct ethhdr eth; in fcoe_ctlr_encaps() member 630 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/mach-a3/ |
D | pinmux.c | 103 clk_ctrl.eth = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed() 107 hwprot.eth = hwprot.eth_mdio = regk_pinmux_yes; in crisv32_pinmux_alloc_fixed() 282 hwprot.eth = hwprot.eth_mdio = hwprot.geth = regk_pinmux_no; in crisv32_pinmux_dealloc_fixed()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_subset.c | 457 struct f_gether *eth; in geth_free() local 459 eth = func_to_geth(f); in geth_free() 460 kfree(eth); in geth_free()
|
/linux-4.4.14/include/uapi/linux/ |
D | if_arcnet.h | 81 struct ethhdr eth; /* standard ethernet header (yuck!) */ member
|
/linux-4.4.14/arch/xtensa/platforms/iss/ |
D | network.c | 681 struct iss_net_init *eth; in iss_net_init() local 682 eth = list_entry(ele, struct iss_net_init, list); in iss_net_init() 683 iss_net_configure(eth->index, eth->init); in iss_net_init()
|
/linux-4.4.14/Documentation/networking/ |
D | e100.txt | 63 ethtool -G eth? rx n, where n is the number of desired rx descriptors. 72 ethtool -G eth? tx n, where n is the number of desired tx descriptors. 77 ethtool -s eth? autoneg off speed {10|100} duplex {full|half} 86 ethtool -s eth? msglvl n
|
D | openvswitch.txt | 85 in_port(1), eth(src=e0:91:f5:21:d0:b2, dst=00:02:e3:0f:80:a4), 91 in_port(1), eth(...), eth_type(0x0800), ipv4(...), tcp(...) 169 eth(...), eth_type(0x8100) 177 eth(...), vlan(vid=10, pcp=0), eth_type(0x0800), ip(proto=6, ...), tcp(...) 192 eth(...), eth_type(0x8100), vlan(vid=10, pcp=0), encap(eth_type(0x0800), 220 eth(...), eth_type(0x0800), ip(proto=6, ...), tcp(src=0, dst=0) 227 eth(...), eth_type(0x8100), vlan(0), encap()
|
D | cxgb.txt | 191 eth#: Chelsio N210 1x10GBaseX NIC (rev #), PCIX 133MHz/64-bit 194 eth#: link is up at 10 Gbps, full duplex 197 eth#: link is down 247 the ifcfg-eth# config files in /etc/sysconfig/network-scripts, looking 251 ifcfg-eth# files, it will bring up the device with the next available
|
D | de4x5.txt | 78 6) run the net startup bits for your new eth?? interface(s) manually 83 'ifconfig eth?? down' then 'rmmod de4x5'. 148 time OR during a module load (insmod de4x5 args='eth??:fdx' [see
|
D | igb.txt | 48 ip link set dev eth<x> mtu 9000
|
D | generic-hdlc.txt | 69 * hdlc-eth - Ethernet device emulation using HDLC. Parity and encoding
|
D | e1000e.txt | 253 ifconfig eth<x> mtu 9000 up 297 adapters. To verify if a port supports Wake on Lan run ethtool eth<X>.
|
D | e1000.txt | 402 ifconfig eth<x> mtu 9000 up 409 to the file /etc/sysconfig/network-scripts/ifcfg-eth<x>. This example
|
D | packet_mmap.txt | 874 struct ethhdr *eth = (struct ethhdr *) ((uint8_t *) ppd + ppd->tp_mac); 875 struct iphdr *ip = (struct iphdr *) ((uint8_t *) eth + ETH_HLEN); 877 if (eth->h_proto == htons(ETH_P_IP)) {
|
D | ixgbe.txt | 116 ethtool -A eth? autoneg off RX off TX off
|
D | bonding.txt | 1181 The file name must be prefixed with "ifcfg-eth" and suffixed 2780 # ifenslave bond0 eth...
|
/linux-4.4.14/net/wireless/ |
D | util.c | 656 const struct ethhdr *eth; in ieee80211_amsdu_to_8023s() local 666 eth = (struct ethhdr *) skb_pull(skb, sizeof(struct ethhdr)); in ieee80211_amsdu_to_8023s() 667 if (!eth) in ieee80211_amsdu_to_8023s() 670 eth = (struct ethhdr *) skb->data; in ieee80211_amsdu_to_8023s() 675 __be16 len = eth->h_proto; in ieee80211_amsdu_to_8023s() 679 memcpy(dst, eth->h_dest, ETH_ALEN); in ieee80211_amsdu_to_8023s() 680 memcpy(src, eth->h_source, ETH_ALEN); in ieee80211_amsdu_to_8023s() 705 eth = (struct ethhdr *)skb_pull(skb, ntohs(len) + in ieee80211_amsdu_to_8023s() 707 if (!eth) { in ieee80211_amsdu_to_8023s()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 225 struct ethhdr *eth; in libipw_classify() local 228 eth = (struct ethhdr *)skb->data; in libipw_classify() 229 if (eth->h_proto != htons(ETH_P_IP)) in libipw_classify()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | bpqether.c | 182 struct ethhdr *eth; in bpq_rcv() local 207 eth = eth_hdr(skb); in bpq_rcv() 210 !ether_addr_equal(eth->h_source, bpq->acpt_addr)) in bpq_rcv()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 99 struct ethhdr *eth = (struct ethhdr *)(skb->data); in mlx5e_lro_update_hdr() local 110 if (eth->h_proto == htons(ETH_P_IP)) { in mlx5e_lro_update_hdr()
|
D | en.h | 518 struct mlx5_wqe_eth_seg eth; member
|
D | en_tx.c | 165 struct mlx5_wqe_eth_seg *eseg = &wqe->eth; in mlx5e_sq_xmit()
|
/linux-4.4.14/drivers/firewire/ |
D | net.c | 514 struct fwnet_header *eth; in fwnet_finish_incoming_packet() local 519 skb_pull(skb, sizeof(*eth)); in fwnet_finish_incoming_packet() 520 eth = (struct fwnet_header *)skb_mac_header(skb); in fwnet_finish_incoming_packet() 521 if (fwnet_hwaddr_is_multicast(eth->h_dest)) { in fwnet_finish_incoming_packet() 522 if (memcmp(eth->h_dest, net->broadcast, in fwnet_finish_incoming_packet() 530 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) in fwnet_finish_incoming_packet() 533 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) { in fwnet_finish_incoming_packet() 534 protocol = eth->h_proto; in fwnet_finish_incoming_packet()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.h | 254 } eth; member
|
D | qed.h | 437 struct qed_eth_cb_ops *eth; member
|
D | qed_hw.c | 767 pq_id = p_params->eth.tc; in qed_get_qm_pq()
|
D | qed_l2.c | 717 p_ramrod->tc = p_pq_params->eth.tc; in qed_sp_eth_txq_start_ramrod() 1266 cdev->protocol_ops.eth = ops; in qed_register_eth_ops()
|
/linux-4.4.14/arch/arm/mach-mmp/ |
D | clock-pxa168.c | 60 static APMU_CLK(eth, ETH, 0x09, 0);
|
D | pxa168.c | 112 PXA168_DEVICE(eth, "pxa168-eth", -1, MFU, 0xc0800000, 0x0fff);
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/ |
D | Makefile | 53 REGDESC += $(BASEDIR)/io/eth/rtl/eth_regs.r 106 eth_defs.h: $(BASEDIR)/io/eth/rtl/eth_regs.r
|
/linux-4.4.14/net/irda/irlan/ |
D | irlan_common.c | 69 static bool eth; /* Use "eth" or "irlan" name for devices */ variable 200 dev = alloc_irlandev(eth ? "eth%d" : "irlan%d"); in irlan_open() 1169 module_param(eth, bool, 0); 1170 MODULE_PARM_DESC(eth, "Name devices ethX (0) or irlanX (1)");
|
/linux-4.4.14/drivers/net/usb/ |
D | sierra_net.c | 665 struct ethhdr *eth; in sierra_net_bind() local 704 eth = (struct ethhdr *)priv->ethr_hdr_tmpl; in sierra_net_bind() 705 memcpy(ð->h_dest, dev->net->dev_addr, ETH_ALEN); in sierra_net_bind() 706 eth->h_proto = cpu_to_be16(ETH_P_IP); in sierra_net_bind()
|
D | Kconfig | 442 Choose this option to support the "usb-eth" networking driver 482 protocol. Only the "eth-fd" or "net_fd" drivers in these devices
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 67 struct ethhdr eth; member 475 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | sunlance.c | 887 struct ethhdr __iomem *eth = (struct ethhdr __iomem *) packet; in build_fake_packet() local 891 sbus_writeb(dev->dev_addr[i], ð->h_dest[i]); in build_fake_packet() 892 sbus_writeb(dev->dev_addr[i], ð->h_source[i]); in build_fake_packet() 900 struct ethhdr *eth = (struct ethhdr *) packet; in build_fake_packet() local 903 eth->h_dest[i] = dev->dev_addr[i]; in build_fake_packet() 904 eth->h_source[i] = dev->dev_addr[i]; in build_fake_packet()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 277 struct ethhdr *eth; in ieee80211_classify() local 279 eth = (struct ethhdr *)skb->data; in ieee80211_classify() 280 if (eth->h_proto != htons(ETH_P_IP)) in ieee80211_classify()
|
/linux-4.4.14/drivers/net/ethernet/ |
D | Makefile | 56 obj-$(CONFIG_NET_NETX) += netx-eth.o
|
D | Kconfig | 135 will be called netx-eth.
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs_cna.h | 109 struct bfa_port_eth_stats eth; member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 104 I40E_PF_STAT("rx_bytes", stats.eth.rx_bytes), 105 I40E_PF_STAT("tx_bytes", stats.eth.tx_bytes), 106 I40E_PF_STAT("rx_unicast", stats.eth.rx_unicast), 107 I40E_PF_STAT("tx_unicast", stats.eth.tx_unicast), 108 I40E_PF_STAT("rx_multicast", stats.eth.rx_multicast), 109 I40E_PF_STAT("tx_multicast", stats.eth.tx_multicast), 110 I40E_PF_STAT("rx_broadcast", stats.eth.rx_broadcast), 111 I40E_PF_STAT("tx_broadcast", stats.eth.tx_broadcast), 112 I40E_PF_STAT("tx_errors", stats.eth.tx_errors), 113 I40E_PF_STAT("rx_dropped", stats.eth.rx_discards),
|
D | i40e_main.c | 979 &osd->eth.rx_bytes, &nsd->eth.rx_bytes); in i40e_update_pf_stats() 983 &osd->eth.tx_bytes, &nsd->eth.tx_bytes); in i40e_update_pf_stats() 986 &osd->eth.rx_discards, in i40e_update_pf_stats() 987 &nsd->eth.rx_discards); in i40e_update_pf_stats() 991 &osd->eth.rx_unicast, in i40e_update_pf_stats() 992 &nsd->eth.rx_unicast); in i40e_update_pf_stats() 996 &osd->eth.rx_multicast, in i40e_update_pf_stats() 997 &nsd->eth.rx_multicast); in i40e_update_pf_stats() 1001 &osd->eth.rx_broadcast, in i40e_update_pf_stats() 1002 &nsd->eth.rx_broadcast); in i40e_update_pf_stats() [all …]
|
D | i40e_type.h | 1183 struct i40e_eth_stats eth; member
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 252 struct ethhdr *eth; in rtllib_classify() local 255 eth = (struct ethhdr *)skb->data; in rtllib_classify() 256 if (eth->h_proto != htons(ETH_P_IP)) in rtllib_classify()
|
/linux-4.4.14/Documentation/devicetree/bindings/ |
D | marvell.txt | 113 - compatible : "marvell,mv64360-eth-block" 123 compatible = "marvell,mv64360-eth-block"; 133 - compatible : Should be "marvell,mv64360-eth". 145 compatible = "marvell,mv64360-eth";
|
/linux-4.4.14/include/rdma/ |
D | ib_pack.h | 235 struct ib_unpacked_eth eth; member
|
D | ib_verbs.h | 1481 struct ib_flow_spec_eth eth; member
|
/linux-4.4.14/arch/mips/include/asm/ip32/ |
D | mace.h | 353 struct mace_ethernet eth; member
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 395 struct ethhdr eth; in iwl_mvm_build_tcp_packet() member 403 pkt->eth.h_proto = cpu_to_be16(ETH_P_IP), in iwl_mvm_build_tcp_packet() 412 memcpy(pkt->eth.h_dest, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet() 413 memcpy(pkt->eth.h_source, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet() 426 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet() 427 memcpy(pkt->eth.h_source, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet()
|
/linux-4.4.14/Documentation/scsi/ |
D | bnx2fc.txt | 30 d. Edit all the cfg-eth files to set "no" for DCB_REQUIRED** field, and
|
/linux-4.4.14/drivers/net/xen-netback/ |
D | interface.c | 175 struct ethhdr *eth = (struct ethhdr *)skb->data; in xenvif_start_xmit() local 177 if (!xenvif_mcast_match(vif, eth->h_dest)) in xenvif_start_xmit()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 313 struct ethhdr *eth = (struct ethhdr *)skb->data; in rtw_recv_select_queue23a() local 315 u16 eth_type = get_unaligned_be16(ð->h_proto); in rtw_recv_select_queue23a()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.c | 1366 struct ethhdr *eth; in isdn_net_type_trans() local 1371 eth = eth_hdr(skb); in isdn_net_type_trans() 1373 if (*eth->h_dest & 1) { in isdn_net_type_trans() 1374 if (ether_addr_equal(eth->h_dest, dev->broadcast)) in isdn_net_type_trans() 1385 if (!ether_addr_equal(eth->h_dest, dev->dev_addr)) in isdn_net_type_trans() 1388 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in isdn_net_type_trans() 1389 return eth->h_proto; in isdn_net_type_trans()
|
/linux-4.4.14/net/atm/ |
D | mpc.c | 574 struct ethhdr *eth; in mpc_send_packet() local 583 eth = (struct ethhdr *)skb->data; in mpc_send_packet() 584 if (eth->h_proto != htons(ETH_P_IP)) in mpc_send_packet() 595 if (ether_addr_equal(eth->h_dest, mpc->mps_macs + i * ETH_ALEN)) in mpc_send_packet()
|
/linux-4.4.14/drivers/s390/char/ |
D | defkeymap.map | 16 keycode 12 = nul eth
|
/linux-4.4.14/include/linux/mlx4/ |
D | device.h | 788 struct mlx4_eth_av eth; member 1207 struct mlx4_spec_eth eth; member 1314 struct mlx4_net_trans_rule_hw_eth eth; member
|
/linux-4.4.14/drivers/staging/unisys/visornic/ |
D | visornic_main.c | 1163 struct ethhdr *eth; in visornic_rx() local 1289 eth = eth_hdr(skb); in visornic_rx() 1310 if (ether_addr_equal(eth->h_dest, in visornic_rx() 1328 netdev->name, eth->h_dest, netdev->dev_addr); in visornic_rx()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 2268 int packet_complete, eth, ethpad = 2; in process_responses() local 2275 eth = r->rss_hdr.opcode == CPL_RX_PKT; in process_responses() 2304 lro &= eth && is_eth_tcp(rss_hi); in process_responses() 2324 eth ? in process_responses() 2329 eth ? SGE_RX_DROP_THRES : 0); in process_responses() 2331 if (!eth) in process_responses() 2365 if (eth) in process_responses()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3802 struct ethhdr *eth; in bnx2x_start_xmit() local 3851 eth = (struct ethhdr *)skb->data; in bnx2x_start_xmit() 3854 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in bnx2x_start_xmit() 3855 if (is_broadcast_ether_addr(eth->h_dest)) in bnx2x_start_xmit() 3949 cpu_to_le16(ntohs(eth->h_proto)); in bnx2x_start_xmit() 4021 eth->h_source); in bnx2x_start_xmit() 4026 eth->h_dest); in bnx2x_start_xmit() 4033 eth->h_dest); in bnx2x_start_xmit() 4041 eth->h_source); in bnx2x_start_xmit()
|
D | bnx2x.h | 1186 struct eth_context eth; member
|
D | bnx2x_sriov.c | 2073 q->cxt = &((base_cxt + i)->eth); in bnx2x_vf_acquire()
|
D | bnx2x_main.c | 8735 &bp->context[cxt_index].vcxt[cxt_offset].eth; in bnx2x_pf_q_prep_init() 14426 vcxt[cxt_offset].eth, in bnx2x_cnic_sp_post()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 2155 struct ethhdr *eth = (struct ethhdr *)skb->data; in xgbe_print_pkt() local 2165 netdev_dbg(netdev, "Dst MAC addr: %pM\n", eth->h_dest); in xgbe_print_pkt() 2166 netdev_dbg(netdev, "Src MAC addr: %pM\n", eth->h_source); in xgbe_print_pkt() 2167 netdev_dbg(netdev, "Protocol: %#06hx\n", ntohs(eth->h_proto)); in xgbe_print_pkt()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1178 struct ethhdr *eth; in ath10k_htt_rx_h_undecap_eth() local 1194 eth = (struct ethhdr *)msdu->data; in ath10k_htt_rx_h_undecap_eth() 1195 ether_addr_copy(da, eth->h_dest); in ath10k_htt_rx_h_undecap_eth() 1196 ether_addr_copy(sa, eth->h_source); in ath10k_htt_rx_h_undecap_eth()
|
D | mac.c | 3236 struct ethhdr *eth; in ath10k_tx_h_8023() local 3251 skb_push(skb, sizeof(*eth)); in ath10k_tx_h_8023() 3253 eth = (void *)skb->data; in ath10k_tx_h_8023() 3254 ether_addr_copy(eth->h_dest, da); in ath10k_tx_h_8023() 3255 ether_addr_copy(eth->h_source, sa); in ath10k_tx_h_8023() 3256 eth->h_proto = type; in ath10k_tx_h_8023()
|
/linux-4.4.14/Documentation/device-mapper/ |
D | switch.txt | 25 session is connected to an eth port on a single member. Data to a LUN
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | main.c | 391 struct ethhdr eth; /* 802.3 header */ in orinoco_process_xmit_skb() member 405 memcpy(&hdr.eth, eh, 2 * ETH_ALEN); in orinoco_process_xmit_skb() 406 hdr.eth.h_proto = htons(len); in orinoco_process_xmit_skb()
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 105 const struct ethhdr *eth = data; in xgene_enet_hdr_len() local 107 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN; in xgene_enet_hdr_len()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 1147 struct i40e_eth_stats eth; member
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_defs.h | 1097 union sfp_xcvr_eth_code_u eth; member
|
D | bfa_defs_svc.h | 1332 struct bfa_port_eth_stats_s eth; member
|
/linux-4.4.14/net/mac80211/ |
D | tx.c | 2701 struct ethhdr eth; in ieee80211_xmit_fast() local 2758 memcpy(ð, skb->data, ETH_HLEN - 2); in ieee80211_xmit_fast() 2761 memcpy(skb->data + fast_tx->da_offs, eth.h_dest, ETH_ALEN); in ieee80211_xmit_fast() 2762 memcpy(skb->data + fast_tx->sa_offs, eth.h_source, ETH_ALEN); in ieee80211_xmit_fast()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 1191 struct ethhdr *eth; in vmxnet3_get_hdr_len() member 1202 hdr.eth = eth_hdr(skb); in vmxnet3_get_hdr_len() 1204 BUG_ON(hdr.eth->h_proto != htons(ETH_P_IP)); in vmxnet3_get_hdr_len() 1210 BUG_ON(hdr.eth->h_proto != htons(ETH_P_IPV6)); in vmxnet3_get_hdr_len()
|
/linux-4.4.14/Documentation/isdn/ |
D | README | 420 which starts with "eth". The number of "eth"-interfaces is limited by
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 944 eth <n> = <transport> , <transport args> 965 must be different than the IP you assign to the eth device inside UML. 967 you can reuse the host's eth IP address for the host ends of the tap 968 devices. Internally, the UMLs must still get unique IPs for their eth 1222 eth <n> =tuntap,,, <IP address> 1239 Note that the IP address that must be used for the eth device inside 1445 o Bring the eth device up in UML and you're in business. 1479 eth <n> =ethertap, <device> , <ethernet address> , <tap IP address>
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-pistachio.c | 596 FUNCTION(eth),
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 1451 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) in decapsulate() argument 1463 if (memcmp ((u8*)eth + 14, micsnap, sizeof(micsnap)) == 0) { in decapsulate() 1491 int mcast = eth->da[0] & 1; in decapsulate() 1507 emmh32_update(&context->seed, eth->da, ETH_ALEN*2); in decapsulate() 1510 emmh32_update(&context->seed, (u8 *)(eth + 1),payLen); in decapsulate()
|
/linux-4.4.14/Documentation/networking/dsa/ |
D | dsa.txt | 114 net/ethernet/eth.c:
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5348 struct ethhdr *eth = (struct ethhdr *)skb_mac_header(skb); in bnxt_rx_flow_steer() local 5372 memcpy(new_fltr->src_mac_addr, eth->h_source, ETH_ALEN); in bnxt_rx_flow_steer()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3665 struct xstorm_fcoe_eth_context_section eth; member
|
/linux-4.4.14/drivers/pinctrl/sh-pfc/ |
D | pfc-r8a7794.c | 3414 SH_PFC_FUNCTION(eth),
|
D | pfc-r8a7791.c | 5089 SH_PFC_FUNCTION(eth),
|
D | pfc-r8a7790.c | 4696 SH_PFC_FUNCTION(eth),
|
/linux-4.4.14/Documentation/ |
D | devices.txt | 872 accessible as a standard networking "eth" device.
|
/linux-4.4.14/ |
D | MAINTAINERS | 5698 F: drivers/net/ethernet/sgi/ioc3-eth.c
|