/linux-4.1.27/net/ethernet/ |
D | eth.c | 82 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in eth_header() local 85 eth->h_proto = htons(type); in eth_header() 87 eth->h_proto = htons(len); in eth_header() 95 memcpy(eth->h_source, saddr, ETH_ALEN); in eth_header() 98 memcpy(eth->h_dest, daddr, ETH_ALEN); in eth_header() 107 eth_zero_addr(eth->h_dest); in eth_header() 125 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() local 129 if (len < sizeof(*eth)) in eth_get_headlen() 134 eth->h_proto, sizeof(*eth), len)) in eth_get_headlen() 135 return max_t(u32, keys.thoff, sizeof(*eth)); in eth_get_headlen() [all …]
|
D | Makefile | 5 obj-y += eth.o
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | ah.c | 84 rdma_get_mcast_mac(&in6, ah->av.eth.mac); in create_iboe_ah() 86 memcpy(ah->av.eth.mac, ah_attr->dmac, ETH_ALEN); in create_iboe_ah() 91 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_iboe_ah() 92 ah->av.eth.gid_index = ah_attr->grh.sgid_index; in create_iboe_ah() 93 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah() 95 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_iboe_ah() 96 while (ah->av.eth.stat_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in create_iboe_ah() 97 !(1 << ah->av.eth.stat_rate & dev->caps.stat_rate_support)) in create_iboe_ah() 98 --ah->av.eth.stat_rate; in create_iboe_ah() 107 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); in create_iboe_ah() [all …]
|
D | qp.c | 2200 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { in build_mlx_header() 2201 vlan = be16_to_cpu(ah->av.eth.vlan) & 0x0fff; in build_mlx_header() 2276 memcpy(sqp->ud_header.eth.dmac_h, ah->av.eth.mac, 6); in build_mlx_header() 2278 memcpy(&ctrl->srcrb_flags16[0], ah->av.eth.mac, 2); in build_mlx_header() 2279 memcpy(&ctrl->imm, ah->av.eth.mac + 2, 4); in build_mlx_header() 2287 memcpy(sqp->ud_header.eth.smac_h, smac, ETH_ALEN); in build_mlx_header() 2290 memcpy(sqp->ud_header.eth.smac_h, ah->av.eth.s_mac, ETH_ALEN); in build_mlx_header() 2293 if (!memcmp(sqp->ud_header.eth.smac_h, sqp->ud_header.eth.dmac_h, 6)) in build_mlx_header() 2296 sqp->ud_header.eth.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header() 2486 dseg->vlan = to_mah(wr->wr.ud.ah)->av.eth.vlan; in set_datagram_seg() [all …]
|
D | main.c | 869 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, in parse_flow_attr() 871 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, in parse_flow_attr() 873 mlx4_spec->eth.vlan_tag = ib_spec->eth.val.vlan_tag; in parse_flow_attr() 874 mlx4_spec->eth.vlan_tag_msk = ib_spec->eth.mask.vlan_tag; in parse_flow_attr() 1135 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 | 1255 memcpy(to_mah(ah)->av.eth.s_mac, s_mac, 6); in mlx4_ib_send_to_wire()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 48 struct ocrdma_eth_vlan eth; in set_av_attr() local 52 memset(ð, 0, sizeof(eth)); in set_av_attr() 66 eth.eth_type = cpu_to_be16(0x8100); in set_av_attr() 67 eth.roce_eth_type = cpu_to_be16(OCRDMA_ROCE_ETH_TYPE); in set_av_attr() 69 eth.vlan_tag = cpu_to_be16(vlan_tag); in set_av_attr() 73 eth.eth_type = cpu_to_be16(OCRDMA_ROCE_ETH_TYPE); in set_av_attr() 77 memcpy(ð.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr() 78 status = ocrdma_resolve_dmac(dev, attr, ð.dmac[0]); in set_av_attr() 92 memcpy(&ah->av->eth_hdr, ð, eth_sz); in set_av_attr()
|
/linux-4.1.27/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.1.27/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.1.27/net/openvswitch/ |
D | flow.c | 314 key->eth.tci = qp->tci | htons(VLAN_TAG_PRESENT); in parse_vlan() 457 struct ethhdr *eth; in key_extract() local 467 eth = eth_hdr(skb); in key_extract() 468 ether_addr_copy(key->eth.src, eth->h_source); in key_extract() 469 ether_addr_copy(key->eth.dst, eth->h_dest); in key_extract() 476 key->eth.tci = 0; in key_extract() 478 key->eth.tci = htons(skb->vlan_tci); in key_extract() 479 else if (eth->h_proto == htons(ETH_P_8021Q)) in key_extract() 483 key->eth.type = parse_ethertype(skb); in key_extract() 484 if (unlikely(key->eth.type == htons(0))) in key_extract() [all …]
|
D | flow_netlink.c | 148 if (match->key->eth.type == htons(ETH_P_ARP) in match_validate() 149 || match->key->eth.type == htons(ETH_P_RARP)) { in match_validate() 151 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 155 if (eth_p_mpls(match->key->eth.type)) { in match_validate() 157 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 161 if (match->key->eth.type == htons(ETH_P_IP)) { in match_validate() 163 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 196 if (match->key->eth.type == htons(ETH_P_IPV6)) { in match_validate() 198 if (match->mask && (match->mask->key.eth.type == htons(0xffff))) in match_validate() 788 SW_FLOW_KEY_MEMCPY(match, eth.src, in ovs_key_from_nlattrs() [all …]
|
D | actions.c | 114 key->eth.type = htons(0); in invalidate_flow_key() 119 return !!key->eth.type; in is_flow_key_valid() 225 key->eth.tci = 0; in pop_vlan() 235 key->eth.tci = vlan->vlan_tci; in push_vlan() 271 ether_addr_copy(flow_key->eth.src, eth_hdr(skb)->h_source); in set_eth_addr() 272 ether_addr_copy(flow_key->eth.dst, eth_hdr(skb)->h_dest); in set_eth_addr()
|
D | flow.h | 138 } eth; member
|
D | datapath.c | 519 struct ethhdr *eth; in ovs_packet_cmd_execute() local 540 eth = eth_hdr(packet); in ovs_packet_cmd_execute() 545 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in ovs_packet_cmd_execute() 546 packet->protocol = eth->h_proto; in ovs_packet_cmd_execute()
|
/linux-4.1.27/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.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 195 struct ethhdr *eth = eth_hdr(skb); in ipvlan_multicast_frame() local 210 mac_hash = ipvlan_mac_hash(eth->h_dest); in ipvlan_multicast_frame() 220 if (ether_addr_equal(eth->h_dest, ipvlan->phy_dev->broadcast)) in ipvlan_multicast_frame() 242 if (ether_addr_equal(eth->h_dest, port->dev->broadcast)) in ipvlan_multicast_frame() 472 struct ethhdr *eth = eth_hdr(skb); in ipvlan_xmit_mode_l2() local 477 if (ether_addr_equal(eth->h_dest, eth->h_source)) { in ipvlan_xmit_mode_l2() 495 } else if (is_multicast_ether_addr(eth->h_dest)) { in ipvlan_xmit_mode_l2() 535 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() local 540 if (ether_addr_equal(eth->h_source, skb->dev->dev_addr)) { in ipvlan_external_frame() 578 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2() local [all …]
|
/linux-4.1.27/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 | 208 struct ib_uverbs_flow_spec_eth eth; member
|
D | uverbs_cmd.c | 2751 ib_spec->eth.size = sizeof(struct ib_flow_spec_eth); in kern_spec_to_ib_spec() 2752 if (ib_spec->eth.size != kern_spec->eth.size) in kern_spec_to_ib_spec() 2754 memcpy(&ib_spec->eth.val, &kern_spec->eth.val, in kern_spec_to_ib_spec() 2756 memcpy(&ib_spec->eth.mask, &kern_spec->eth.mask, in kern_spec_to_ib_spec()
|
/linux-4.1.27/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.1.27/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.1.27/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 139 struct device_node *eth = NULL; in machine_setup() local 144 if ((eth = of_find_compatible_node(eth, NULL, "opencores,ethoc"))) in machine_setup() 145 update_local_mac(eth); in machine_setup()
|
/linux-4.1.27/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 | 1291 memcpy(spec_l2->eth.dst_mac_msk, &mac_msk, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule() 1292 memcpy(spec_l2->eth.dst_mac, mac, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule() 1296 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule() 1297 spec_l2->eth.vlan_id_msk = cpu_to_be16(VLAN_VID_MASK); in mlx4_en_ethtool_add_mac_rule() 1457 spec_l2->eth.ether_type = eth_spec->h_proto; in mlx4_en_ethtool_to_net_trans_rule() 1459 spec_l2->eth.ether_type_enable = 1; in mlx4_en_ethtool_to_net_trans_rule()
|
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()
|
D | resource_tracker.c | 3954 if (!is_multicast_ether_addr(eth_header->eth.dst_mac) && in validate_eth_header_mac() 3955 !is_broadcast_ether_addr(eth_header->eth.dst_mac)) { in validate_eth_header_mac() 3958 if (ether_addr_equal((u8 *)&be_mac, eth_header->eth.dst_mac)) in validate_eth_header_mac() 3962 eth_header->eth.dst_mac, slave); in validate_eth_header_mac()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/net/bridge/ |
D | br_multicast.c | 354 struct ethhdr *eth; in br_ip4_multicast_alloc_query() local 357 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*iph) + in br_ip4_multicast_alloc_query() 365 eth = eth_hdr(skb); in br_ip4_multicast_alloc_query() 367 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip4_multicast_alloc_query() 368 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query() 369 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query() 370 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query() 371 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query() 372 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query() 373 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query() [all …]
|
D | br_private.h | 509 struct ethhdr *eth) in br_multicast_querier_exists() argument 511 switch (eth->h_proto) { in br_multicast_querier_exists() 580 struct ethhdr *eth) in br_multicast_querier_exists() argument
|
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 527 struct ethhdr *eth = (void *)skb->data; in wil_netif_rx_any() local 531 int mcast = is_multicast_ether_addr(eth->h_dest); in wil_netif_rx_any() 551 int xmit_cid = wil_find_cid(wil, eth->h_dest); in wil_netif_rx_any() 845 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_ucast() local 846 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_ucast() 861 __func__, eth->h_dest, i); in wil_find_tx_ucast() 941 struct ethhdr *eth = (void *)skb->data; in wil_set_da_for_vring() local 944 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); in wil_set_da_for_vring() 954 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_bcast_2() local 955 char *src = eth->h_source; in wil_find_tx_bcast_2() [all …]
|
D | wmi.c | 504 struct ethhdr *eth; in wmi_evt_eapol_rx() local 526 eth = (struct ethhdr *)skb_put(skb, ETH_HLEN); in wmi_evt_eapol_rx() 527 ether_addr_copy(eth->h_dest, ndev->dev_addr); in wmi_evt_eapol_rx() 528 ether_addr_copy(eth->h_source, evt->src_mac); in wmi_evt_eapol_rx() 529 eth->h_proto = cpu_to_be16(ETH_P_PAE); in wmi_evt_eapol_rx()
|
/linux-4.1.27/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.1.27/net/core/ |
D | flow_dissector.c | 226 const struct ethhdr *eth; in __skb_flow_dissect() local 229 eth = __skb_header_pointer(skb, nhoff, in __skb_flow_dissect() 232 if (!eth) in __skb_flow_dissect() 234 proto = eth->h_proto; in __skb_flow_dissect() 235 nhoff += sizeof(*eth); in __skb_flow_dissect()
|
D | netpoll.c | 379 struct ethhdr *eth; in netpoll_send_udp() local 431 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp() 433 skb->protocol = eth->h_proto = htons(ETH_P_IPV6); in netpoll_send_udp() 460 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp() 462 skb->protocol = eth->h_proto = htons(ETH_P_IP); in netpoll_send_udp() 465 ether_addr_copy(eth->h_source, np->dev->dev_addr); in netpoll_send_udp() 466 ether_addr_copy(eth->h_dest, np->remote_mac); in netpoll_send_udp()
|
D | pktgen.c | 2598 __u8 *eth; in process_ipsec() local 2619 eth = (__u8 *) skb_push(skb, ETH_HLEN); in process_ipsec() 2620 memcpy(eth, pkt_dev->hh, 12); in process_ipsec() 2621 *(u16 *) ð[12] = protocol; in process_ipsec() 2750 __u8 *eth; in fill_packet_ipv4() local 2786 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv4() 2817 memcpy(eth, pkt_dev->hh, 12); in fill_packet_ipv4() 2818 *(__be16 *) & eth[12] = protocol; in fill_packet_ipv4() 2879 __u8 *eth; in fill_packet_ipv6() local 2913 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv6() [all …]
|
D | dev.c | 2416 struct ethhdr *eth; in skb_network_protocol() local 2421 eth = (struct ethhdr *)skb_mac_header(skb); in skb_network_protocol() 2422 type = eth->h_proto; in skb_network_protocol() 4269 const struct ethhdr *eth; in napi_frags_skb() local 4270 unsigned int hlen = sizeof(*eth); in napi_frags_skb() 4277 eth = skb_gro_header_fast(skb, 0); in napi_frags_skb() 4279 eth = skb_gro_header_slow(skb, hlen, 0); in napi_frags_skb() 4280 if (unlikely(!eth)) { in napi_frags_skb() 4296 skb->protocol = eth->h_proto; in napi_frags_skb()
|
/linux-4.1.27/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() 418 eth = eth_hdr(skb); in macvlan_handle_frame() 419 macvlan_forward_source(skb, port, eth->h_source); in macvlan_handle_frame() 420 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 | 2051 struct ethhdr *eth; in vxlan_xmit() local 2057 eth = eth_hdr(skb); in vxlan_xmit() 2060 if (ntohs(eth->h_proto) == ETH_P_ARP) in vxlan_xmit() 2063 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && in vxlan_xmit() 2074 eth = eth_hdr(skb); in vxlan_xmit() 2078 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2082 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit() 2083 ntohs(eth->h_proto) == ETH_P_IPV6)) { in vxlan_xmit() 2086 f = vxlan_find_mac(vxlan, eth->h_dest); in vxlan_xmit() 2093 !is_multicast_ether_addr(eth->h_dest)) in vxlan_xmit() [all …]
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | g_ffs.c | 134 int (*eth)(struct usb_configuration *c); member 141 .eth = bind_rndis_config, 147 .eth = eth_bind_config, 498 if (gc->eth) { in gfs_do_config() 499 ret = gc->eth(c); in gfs_do_config()
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | imx1-apf9328.dts | 62 eth: eth@4,c00000 { label
|
D | orion5x.dtsi | 179 eth: ethernet-controller@72000 { label 180 compatible = "marvell,orion-eth"; 188 compatible = "marvell,orion-eth-port";
|
D | spear1310.dtsi | 140 gmac1: eth@5c400000 { 149 gmac2: eth@5c500000 { 158 gmac3: eth@5c600000 { 167 gmac4: eth@5c700000 {
|
D | kirkwood.dtsi | 304 compatible = "marvell,kirkwood-eth"; 313 compatible = "marvell,kirkwood-eth-port"; 335 compatible = "marvell,kirkwood-eth"; 346 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 | spear3xx.dtsi | 55 gmac: eth@e0800000 {
|
D | spear310-evb.dts | 97 gmac: eth@e0800000 {
|
D | spear320-evb.dts | 93 gmac: eth@e0800000 {
|
D | berlin2cd.dtsi | 100 compatible = "marvell,pxa168-eth"; 118 compatible = "marvell,pxa168-eth";
|
D | orion5x-rd88f5182-nas.dts | 99 ð {
|
D | spear300-evb.dts | 78 gmac: eth@e0800000 {
|
D | dove.dtsi | 305 eth: ethernet-ctrl@72000 { label 306 compatible = "marvell,orion-eth"; 315 compatible = "marvell,orion-eth-port";
|
D | berlin2.dtsi | 112 compatible = "marvell,pxa168-eth"; 135 compatible = "marvell,pxa168-eth";
|
D | orion5x-maxtor-shared-storage-2.dts | 92 ð {
|
D | orion5x-lacie-ethernet-disk-mini-v2.dts | 111 ð {
|
D | rk3288-evb.dtsi | 244 eth_phy_pwr: eth-phy-pwr {
|
D | r8a7791-henninger.dts | 96 renesas,function = "eth";
|
D | orion5x-lacie-d2-network.dts | 138 ð {
|
D | omap4-var-om44customboard.dtsi | 200 eth@0 {
|
D | omap3-lilly-dbb056.dts | 133 <7 0 0x15000000 0x01000000>; /* eth assigend by COM a83x */
|
D | omap4-sdp.dts | 28 vdd_eth: fixedregulator-vdd-eth { 452 eth@0 {
|
D | lpc32xx.dtsi | 83 compatible = "nxp,lpc-eth";
|
D | spear13xx.dtsi | 156 gmac0: eth@e2000000 {
|
D | spear1340-evb.dts | 166 gmac0: eth@e2000000 {
|
D | r8a7790-lager.dts | 299 renesas,function = "eth";
|
D | r8a7791-koelsch.dts | 338 renesas,function = "eth";
|
D | berlin2q.dtsi | 161 compatible = "marvell,pxa168-eth";
|
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/ |
D | st,flexgen.txt | 113 "clk-eth-phy", 114 "clk-eth-ref-phyclk",
|
/linux-4.1.27/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.1.27/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";
|
D | prpmc2800.dts | 94 compatible = "marvell,mv64360-eth-group"; 98 compatible = "marvell,mv64360-eth"; 107 compatible = "marvell,mv64360-eth";
|
/linux-4.1.27/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.1.27/drivers/usb/gadget/function/ |
D | f_subset.c | 465 struct f_gether *eth; in geth_free() local 467 eth = func_to_geth(f); in geth_free() 468 kfree(eth); in geth_free()
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | if_arcnet.h | 84 struct ethhdr eth; /* standard ethernet header (yuck!) */ member
|
/linux-4.1.27/arch/xtensa/platforms/iss/ |
D | network.c | 677 struct iss_net_init *eth; in iss_net_init() local 678 eth = list_entry(ele, struct iss_net_init, list); in iss_net_init() 679 iss_net_configure(eth->index, eth->init); in iss_net_init()
|
/linux-4.1.27/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.1.27/drivers/net/hamradio/ |
D | bpqether.c | 183 struct ethhdr *eth; in bpq_rcv() local 208 eth = eth_hdr(skb); in bpq_rcv() 211 !ether_addr_equal(eth->h_source, bpq->acpt_addr)) in bpq_rcv()
|
/linux-4.1.27/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.1.27/Documentation/networking/ |
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 | 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 | 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 | 1144 The file name must be prefixed with "ifcfg-eth" and suffixed 2696 # ifenslave bond0 eth...
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 | 429 Choose this option to support the "usb-eth" networking driver 469 protocol. Only the "eth-fd" or "net_fd" drivers in these devices
|
/linux-4.1.27/Documentation/DocBook/ |
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.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fweh.c | 67 struct ethhdr eth; member 461 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 106 I40E_PF_STAT("rx_bytes", stats.eth.rx_bytes), 107 I40E_PF_STAT("tx_bytes", stats.eth.tx_bytes), 108 I40E_PF_STAT("rx_unicast", stats.eth.rx_unicast), 109 I40E_PF_STAT("tx_unicast", stats.eth.tx_unicast), 110 I40E_PF_STAT("rx_multicast", stats.eth.rx_multicast), 111 I40E_PF_STAT("tx_multicast", stats.eth.tx_multicast), 112 I40E_PF_STAT("rx_broadcast", stats.eth.rx_broadcast), 113 I40E_PF_STAT("tx_broadcast", stats.eth.tx_broadcast), 114 I40E_PF_STAT("tx_errors", stats.eth.tx_errors), 115 I40E_PF_STAT("rx_dropped", stats.eth.rx_discards),
|
D | i40e_main.c | 930 &osd->eth.rx_bytes, &nsd->eth.rx_bytes); in i40e_update_pf_stats() 934 &osd->eth.tx_bytes, &nsd->eth.tx_bytes); in i40e_update_pf_stats() 937 &osd->eth.rx_discards, in i40e_update_pf_stats() 938 &nsd->eth.rx_discards); in i40e_update_pf_stats() 942 &osd->eth.rx_unicast, in i40e_update_pf_stats() 943 &nsd->eth.rx_unicast); in i40e_update_pf_stats() 947 &osd->eth.rx_multicast, in i40e_update_pf_stats() 948 &nsd->eth.rx_multicast); in i40e_update_pf_stats() 952 &osd->eth.rx_broadcast, in i40e_update_pf_stats() 953 &nsd->eth.rx_broadcast); in i40e_update_pf_stats() [all …]
|
D | i40e_type.h | 1094 struct i40e_eth_stats eth; member
|
/linux-4.1.27/drivers/net/ethernet/ |
D | Makefile | 54 obj-$(CONFIG_NET_NETX) += netx-eth.o
|
D | Kconfig | 133 will be called netx-eth.
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs_cna.h | 109 struct bfa_port_eth_stats eth; member
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 256 struct ethhdr *eth; in rtllib_classify() local 259 eth = (struct ethhdr *)skb->data; in rtllib_classify() 260 if (eth->h_proto != htons(ETH_P_IP)) in rtllib_classify()
|
/linux-4.1.27/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.1.27/include/rdma/ |
D | ib_pack.h | 233 struct ib_unpacked_eth eth; member
|
D | ib_verbs.h | 1386 struct ib_flow_spec_eth eth; member
|
/linux-4.1.27/arch/mips/include/asm/ip32/ |
D | mace.h | 353 struct mace_ethernet eth; member
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 401 struct ethhdr eth; in iwl_mvm_build_tcp_packet() member 409 pkt->eth.h_proto = cpu_to_be16(ETH_P_IP), in iwl_mvm_build_tcp_packet() 418 memcpy(pkt->eth.h_dest, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet() 419 memcpy(pkt->eth.h_source, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet() 432 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet() 433 memcpy(pkt->eth.h_source, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet()
|
/linux-4.1.27/Documentation/scsi/ |
D | bnx2fc.txt | 30 d. Edit all the cfg-eth files to set "no" for DCB_REQUIRED** field, and
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 314 struct ethhdr *eth = (struct ethhdr *)skb->data; in rtw_recv_select_queue23a() local 316 u16 eth_type = get_unaligned_be16(ð->h_proto); in rtw_recv_select_queue23a()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/s390/char/ |
D | defkeymap.map | 16 keycode 12 = nul eth
|
/linux-4.1.27/include/linux/mlx4/ |
D | device.h | 771 struct mlx4_eth_av eth; member 1174 struct mlx4_spec_eth eth; member 1281 struct mlx4_net_trans_rule_hw_eth eth; member
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3737 struct ethhdr *eth; in bnx2x_start_xmit() local 3786 eth = (struct ethhdr *)skb->data; in bnx2x_start_xmit() 3789 if (unlikely(is_multicast_ether_addr(eth->h_dest))) { in bnx2x_start_xmit() 3790 if (is_broadcast_ether_addr(eth->h_dest)) in bnx2x_start_xmit() 3884 cpu_to_le16(ntohs(eth->h_proto)); in bnx2x_start_xmit() 3956 eth->h_source); in bnx2x_start_xmit() 3961 eth->h_dest); in bnx2x_start_xmit() 3968 eth->h_dest); in bnx2x_start_xmit() 3976 eth->h_source); in bnx2x_start_xmit()
|
D | bnx2x.h | 1175 struct eth_context eth; member
|
D | bnx2x_sriov.c | 2120 q->cxt = &((base_cxt + i)->eth); in bnx2x_vf_acquire()
|
D | bnx2x_main.c | 8653 &bp->context[cxt_index].vcxt[cxt_offset].eth; in bnx2x_pf_q_prep_init() 14003 vcxt[cxt_offset].eth, in bnx2x_cnic_sp_post()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1094 struct ethhdr *eth; in ath10k_htt_rx_h_undecap_eth() local 1110 eth = (struct ethhdr *)msdu->data; in ath10k_htt_rx_h_undecap_eth() 1111 ether_addr_copy(da, eth->h_dest); in ath10k_htt_rx_h_undecap_eth() 1112 ether_addr_copy(sa, eth->h_source); in ath10k_htt_rx_h_undecap_eth()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 2195 struct ethhdr *eth = (struct ethhdr *)skb->data; in xgbe_print_pkt() local 2205 netdev_alert(netdev, "Dst MAC addr: %pM\n", eth->h_dest); in xgbe_print_pkt() 2206 netdev_alert(netdev, "Src MAC addr: %pM\n", eth->h_source); in xgbe_print_pkt() 2207 netdev_alert(netdev, "Protocol: 0x%04hx\n", ntohs(eth->h_proto)); in xgbe_print_pkt()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | switch.txt | 25 session is connected to an eth port on a single member. Data to a LUN
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 100 const struct ethhdr *eth = data; in xgene_enet_hdr_len() local 102 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN; in xgene_enet_hdr_len()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 1069 struct i40e_eth_stats eth; member
|
/linux-4.1.27/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.1.27/Documentation/isdn/ |
D | README | 420 which starts with "eth". The number of "eth"-interfaces is limited by
|
/linux-4.1.27/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.1.27/drivers/net/wireless/ |
D | airo.c | 1450 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) in decapsulate() argument 1462 if (memcmp ((u8*)eth + 14, micsnap, sizeof(micsnap)) == 0) { in decapsulate() 1490 int mcast = eth->da[0] & 1; in decapsulate() 1506 emmh32_update(&context->seed, eth->da, ETH_ALEN*2); in decapsulate() 1509 emmh32_update(&context->seed, (u8 *)(eth + 1),payLen); in decapsulate()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 3665 struct xstorm_fcoe_eth_context_section eth; member
|
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
D | pfc-r8a7791.c | 4975 SH_PFC_FUNCTION(eth),
|
D | pfc-r8a7790.c | 4605 SH_PFC_FUNCTION(eth),
|
/linux-4.1.27/Documentation/ |
D | devices.txt | 872 accessible as a standard networking "eth" device.
|
/linux-4.1.27/ |
D | MAINTAINERS | 5289 F: drivers/net/ethernet/sgi/ioc3-eth.c
|