/linux-4.4.14/net/batman-adv/ |
D | routing.c | 178 struct ethhdr *ethhdr; in batadv_check_management_packet() local 184 ethhdr = eth_hdr(skb); in batadv_check_management_packet() 187 if (!is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_check_management_packet() 191 if (is_broadcast_ether_addr(ethhdr->h_source)) in batadv_check_management_packet() 326 struct ethhdr *ethhdr; in batadv_recv_icmp_packet() local 335 ethhdr = eth_hdr(skb); in batadv_recv_icmp_packet() 338 if (is_broadcast_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet() 342 if (is_broadcast_ether_addr(ethhdr->h_source)) in batadv_recv_icmp_packet() 346 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_recv_icmp_packet() 368 ethhdr->h_dest); in batadv_recv_icmp_packet() [all …]
|
D | multicast.c | 302 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4() 340 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*ip6hdr))) in batadv_mcast_forw_mode_check_ipv6() 376 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_mcast_forw_mode_check() local 384 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check() 406 struct ethhdr *ethhdr) in batadv_mcast_forw_want_all_ip_count() argument 408 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count() 429 struct ethhdr *ethhdr) in batadv_mcast_forw_tt_node_get() argument 431 return batadv_transtable_search(bat_priv, ethhdr->h_source, in batadv_mcast_forw_tt_node_get() 432 ethhdr->h_dest, BATADV_NO_FLAGS); in batadv_mcast_forw_tt_node_get() 500 struct ethhdr *ethhdr) in batadv_mcast_forw_ip_node_get() argument [all …]
|
D | bridge_loop_avoidance.c | 273 struct ethhdr *ethhdr; in batadv_bla_send_claim() local 309 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim() 310 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim() 318 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim() 339 ethhdr->h_source, BATADV_PRINT_VID(vid)); in batadv_bla_send_claim() 347 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim() 350 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim() 707 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument 711 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request() 717 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request() [all …]
|
D | send.c | 60 struct ethhdr *ethhdr; in batadv_send_skb_packet() local 80 ethhdr = eth_hdr(skb); in batadv_send_skb_packet() 81 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet() 82 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet() 83 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet() 277 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local 304 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast() 312 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast() 349 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local 353 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic() [all …]
|
D | network-coding.c | 1038 struct ethhdr *ethhdr, in batadv_nc_code_packets() argument 1097 second_source = ethhdr->h_source; in batadv_nc_code_packets() 1106 first_source = ethhdr->h_source; in batadv_nc_code_packets() 1367 struct ethhdr *ethhdr; in batadv_nc_skb_store_before_coding() local 1375 ethhdr = eth_hdr(skb); in batadv_nc_skb_store_before_coding() 1376 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding() 1377 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding() 1406 struct ethhdr *ethhdr) in batadv_nc_skb_dst_search() argument 1419 ethhdr->h_source, nc_node); in batadv_nc_skb_dst_search() 1437 if (batadv_nc_code_packets(bat_priv, skb, ethhdr, nc_packet, in batadv_nc_skb_dst_search() [all …]
|
D | soft-interface.c | 184 struct ethhdr *ethhdr; in batadv_interface_tx() local 212 ethhdr = eth_hdr(skb); in batadv_interface_tx() 214 switch (ntohs(ethhdr->h_proto)) { in batadv_interface_tx() 234 ethhdr = eth_hdr(skb); in batadv_interface_tx() 237 if (!is_multicast_ether_addr(ethhdr->h_source)) { in batadv_interface_tx() 238 client_added = batadv_tt_local_add(soft_iface, ethhdr->h_source, in batadv_interface_tx() 251 if (batadv_compare_eth(ethhdr->h_dest, stp_addr)) in batadv_interface_tx() 254 if (batadv_compare_eth(ethhdr->h_dest, ectp_addr)) in batadv_interface_tx() 258 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_interface_tx() 270 ethhdr = eth_hdr(skb); in batadv_interface_tx() [all …]
|
D | bat_iv_ogm.c | 804 const struct ethhdr *ethhdr, in batadv_iv_ogm_forward() argument 835 ether_addr_copy(batadv_ogm_packet->prev_sender, ethhdr->h_source); in batadv_iv_ogm_forward() 973 const struct ethhdr *ethhdr, in batadv_iv_ogm_orig_update() argument 997 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_orig_update() 1029 orig_tmp = batadv_iv_ogm_orig_get(bat_priv, ethhdr->h_source); in batadv_iv_ogm_orig_update() 1034 ethhdr->h_source, in batadv_iv_ogm_orig_update() 1276 batadv_iv_ogm_update_seqnos(const struct ethhdr *ethhdr, in batadv_iv_ogm_update_seqnos() argument 1329 if (batadv_compare_eth(neigh_addr, ethhdr->h_source) && in batadv_iv_ogm_update_seqnos() 1394 struct ethhdr *ethhdr; in batadv_iv_ogm_process_per_outif() local 1405 ethhdr = eth_hdr(skb_priv); in batadv_iv_ogm_process_per_outif() [all …]
|
D | main.c | 333 struct ethhdr ethhdr_tmp, *ethhdr; in batadv_skb_set_priority() local 341 ethhdr = skb_header_pointer(skb, offset, sizeof(*ethhdr), ðhdr_tmp); in batadv_skb_set_priority() 342 if (!ethhdr) in batadv_skb_set_priority() 345 switch (ethhdr->h_proto) { in batadv_skb_set_priority() 355 ip_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), in batadv_skb_set_priority() 362 ip6_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr), in batadv_skb_set_priority() 1203 struct ethhdr *ethhdr = (struct ethhdr *)(skb->data + header_len); in batadv_get_vid() local 1207 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
|
D | gateway_client.c | 671 struct ethhdr *ethhdr; in batadv_gw_dhcp_recipient_get() local 684 ethhdr = eth_hdr(skb); in batadv_gw_dhcp_recipient_get() 685 proto = ethhdr->h_proto; in batadv_gw_dhcp_recipient_get() 794 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_gw_out_of_range() local 801 orig_dst_node = batadv_transtable_search(bat_priv, ethhdr->h_source, in batadv_gw_out_of_range() 802 ethhdr->h_dest, vid); in batadv_gw_out_of_range()
|
D | distributed-arp-table.c | 843 struct ethhdr *ethhdr; in batadv_arp_get_type() local 852 ethhdr = (struct ethhdr *)(skb->data + hdr_size); in batadv_arp_get_type() 854 if (ethhdr->h_proto != htons(ETH_P_ARP)) in batadv_arp_get_type()
|
/linux-4.4.14/drivers/net/usb/ |
D | lg-vl600.c | 114 struct ethhdr *ethhdr; in vl600_rx_fixup() local 193 ethhdr = (struct ethhdr *) skb->data; in vl600_rx_fixup() 194 if (be16_to_cpup(ðhdr->h_proto) == ETH_P_ARP && in vl600_rx_fixup() 197 memcpy(ethhdr->h_source, in vl600_rx_fixup() 198 &buf->data[sizeof(*ethhdr) + 0x8], in vl600_rx_fixup() 200 memcpy(ethhdr->h_dest, in vl600_rx_fixup() 201 &buf->data[sizeof(*ethhdr) + 0x12], in vl600_rx_fixup() 204 eth_zero_addr(ethhdr->h_source); in vl600_rx_fixup() 205 memcpy(ethhdr->h_dest, dev->net->dev_addr, ETH_ALEN); in vl600_rx_fixup() 212 if ((buf->data[sizeof(*ethhdr)] & 0xf0) == 0x60) in vl600_rx_fixup() [all …]
|
D | sierra_net.c | 665 struct ethhdr *eth; in sierra_net_bind() 704 eth = (struct ethhdr *)priv->ethr_hdr_tmpl; in sierra_net_bind()
|
D | net1080.c | 75 + sizeof (struct ethhdr) \
|
D | usbnet.c | 332 skb->len + sizeof (struct ethhdr), skb->protocol); in usbnet_skb_return()
|
D | lan78xx.c | 2346 skb->len + sizeof(struct ethhdr), skb->protocol); in lan78xx_skb_return()
|
/linux-4.4.14/net/ethernet/ |
D | eth.c | 83 struct ethhdr *eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in eth_header() 126 const struct ethhdr *eth = (const struct ethhdr *)data; in eth_get_headlen() 156 const struct ethhdr *eth; in eth_type_trans() 161 eth = (struct ethhdr *)skb->data; in eth_type_trans() 210 const struct ethhdr *eth = eth_hdr(skb); in eth_header_parse() 226 struct ethhdr *eth; in eth_header_cache() 229 eth = (struct ethhdr *) in eth_header_cache() 255 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update() 400 struct ethhdr *eh, *eh2; in eth_gro_receive() 421 eh2 = (struct ethhdr *)(p->data + off_eth); in eth_gro_receive() [all …]
|
/linux-4.4.14/net/hsr/ |
D | hsr_forward.c | 58 if (!ether_addr_equal(hdr->ethhdr.h_dest, in is_supervision_frame() 133 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag() 134 hsr_ethhdr->ethhdr.h_proto = htons(ETH_P_PRP); in hsr_fill_tag() 307 struct ethhdr *ethhdr; in hsr_fill_frame_info() local 316 ethhdr = (struct ethhdr *) skb_mac_header(skb); in hsr_fill_frame_info() 318 if (ethhdr->h_proto == htons(ETH_P_8021Q)) { in hsr_fill_frame_info() 323 if (ethhdr->h_proto == htons(ETH_P_PRP)) { in hsr_fill_frame_info()
|
D | hsr_main.h | 95 struct ethhdr ethhdr; member 135 struct ethhdr ethhdr; member
|
D | hsr_framereg.c | 165 struct ethhdr *ethhdr; in hsr_get_node() local 171 ethhdr = (struct ethhdr *) skb_mac_header(skb); in hsr_get_node() 174 if (ether_addr_equal(node->MacAddressA, ethhdr->h_source)) in hsr_get_node() 176 if (ether_addr_equal(node->MacAddressB, ethhdr->h_source)) in hsr_get_node() 183 if (ethhdr->h_proto == htons(ETH_P_PRP)) { in hsr_get_node() 193 return hsr_add_node(node_db, ethhdr->h_source, seq_out); in hsr_get_node()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | sta_rx.c | 39 struct ethhdr *eth; in mwifiex_discard_gratuitous_arp() 43 eth = (struct ethhdr *)skb->data; in mwifiex_discard_gratuitous_arp() 46 arp = (void *)(skb->data + sizeof(struct ethhdr)); in mwifiex_discard_gratuitous_arp() 54 ipv6 = (void *)(skb->data + sizeof(struct ethhdr)); in mwifiex_discard_gratuitous_arp() 55 icmpv6 = (void *)(skb->data + sizeof(struct ethhdr) + in mwifiex_discard_gratuitous_arp() 90 struct ethhdr *eth; in mwifiex_process_rx_packet() 116 eth = (struct ethhdr *) in mwifiex_process_rx_packet()
|
D | tdls.c | 856 if (len < (sizeof(struct ethhdr) + 3)) in mwifiex_process_tdls_action_frame() 858 if (*(buf + sizeof(struct ethhdr)) != WLAN_TDLS_SNAP_RFTYPE) in mwifiex_process_tdls_action_frame() 860 if (*(buf + sizeof(struct ethhdr) + 1) != WLAN_CATEGORY_TDLS) in mwifiex_process_tdls_action_frame() 864 action = *(buf + sizeof(struct ethhdr) + 2); in mwifiex_process_tdls_action_frame() 870 if (len < (sizeof(struct ethhdr) + TDLS_REQ_FIX_LEN)) in mwifiex_process_tdls_action_frame() 873 pos = buf + sizeof(struct ethhdr) + 4; in mwifiex_process_tdls_action_frame() 876 ie_len = len - sizeof(struct ethhdr) - TDLS_REQ_FIX_LEN; in mwifiex_process_tdls_action_frame() 881 if (len < (sizeof(struct ethhdr) + TDLS_RESP_FIX_LEN)) in mwifiex_process_tdls_action_frame() 884 pos = buf + sizeof(struct ethhdr) + 6; in mwifiex_process_tdls_action_frame() 886 ie_len = len - sizeof(struct ethhdr) - TDLS_RESP_FIX_LEN; in mwifiex_process_tdls_action_frame() [all …]
|
D | uap_txrx.c | 103 struct ethhdr *p_ethhdr; in mwifiex_uap_queue_bridged_pkt() 134 p_ethhdr = (struct ethhdr *) in mwifiex_uap_queue_bridged_pkt()
|
D | 11n_aggr.c | 72 snap.snap_type = ((struct ethhdr *)skb_src->data)->h_proto; in mwifiex_11n_form_amsdu_pkt()
|
D | txrx.c | 92 struct ethhdr *hdr = (void *)skb->data; in mwifiex_process_tx()
|
D | wmm.c | 815 struct ethhdr *eth_hdr = (struct ethhdr *)skb->data; in mwifiex_wmm_add_buf_txqueue()
|
D | main.c | 705 struct ethhdr *eth_hdr = (struct ethhdr *)skb->data; in mwifiex_bypass_tx_queue()
|
D | util.c | 439 struct ethhdr *p_ethhdr; in mwifiex_recv_packet()
|
D | fw.h | 37 struct ethhdr eth803_hdr; 42 struct ethhdr eth803_hdr;
|
/linux-4.4.14/include/linux/ |
D | if_ether.h | 26 static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) in eth_hdr() 28 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | common.h | 49 sizeof(struct ethhdr) + \ 55 sizeof(struct ethhdr) + \
|
D | txrx.c | 46 struct ethhdr *eth_hdr; in ath6kl_ibss_map_epid() 52 eth_hdr = (struct ethhdr *) (datap + sizeof(struct wmi_data_hdr)); in ath6kl_ibss_map_epid() 109 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_process_uapsdq() 212 struct ethhdr *datap = (struct ethhdr *) skb->data; in ath6kl_powersave_ap() 999 struct ethhdr *hdr; in aggr_slice_amsdu() 1003 mac_hdr_len = sizeof(struct ethhdr); in aggr_slice_amsdu() 1008 hdr = (struct ethhdr *) framep; in aggr_slice_amsdu() 1321 struct ethhdr *datap = NULL; in ath6kl_rx() 1384 min_hdr_len = sizeof(struct ethhdr) + sizeof(struct wmi_data_hdr) + in ath6kl_rx() 1427 datap = (struct ethhdr *) (skb->data + offset); in ath6kl_rx() [all …]
|
D | wmi.c | 163 struct ethhdr *eth_hdr; in ath6kl_wmi_dix_2_dot3() 176 eth_hdr = (struct ethhdr *) skb->data; in ath6kl_wmi_dix_2_dot3() 325 hdr_size = sizeof(struct ethhdr); in ath6kl_wmi_implicit_create_pstream() 392 struct ethhdr eth_hdr; in ath6kl_wmi_dot11_hdr_remove() 457 struct ethhdr eth_hdr; in ath6kl_wmi_dot3_2_dix()
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | gdm_lte.c | 105 struct ethhdr eth; in gdm_lte_emulate_arp() 122 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_arp() 127 memcpy(ð, skb_in->data, sizeof(struct ethhdr)); in gdm_lte_emulate_arp() 171 skb_out->protocol = ((struct ethhdr *)mac_header_data)->h_proto; in gdm_lte_emulate_arp() 225 struct ethhdr eth; in gdm_lte_emulate_ndp() 247 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_ndp() 254 memcpy(ð, skb_in->data, sizeof(struct ethhdr)); in gdm_lte_emulate_ndp() 337 skb_out->protocol = ((struct ethhdr *)mac_header_data)->h_proto; in gdm_lte_emulate_ndp() 350 struct ethhdr *eth; in gdm_lte_tx_nic_type() 362 eth = (struct ethhdr *)skb->data; in gdm_lte_tx_nic_type() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 52 struct ethhdr *ethh; in mlx4_en_test_loopback_xmit() 66 ethh = (struct ethhdr *)skb_put(skb, sizeof(struct ethhdr)); in mlx4_en_test_loopback_xmit()
|
D | en_rx.c | 724 void *hdr = (u8 *)va + sizeof(struct ethhdr); in check_csum() 803 struct ethhdr *ethh; in mlx4_en_process_rx_cq() 811 ethh = (struct ethhdr *)(page_address(frags[0].page) + in mlx4_en_process_rx_cq()
|
D | en_tx.c | 868 struct ethhdr *ethh; in mlx4_en_xmit() 873 ethh = (struct ethhdr *)skb->data; in mlx4_en_xmit()
|
D | en_ethtool.c | 1229 struct ethhdr *eth_mask; in mlx4_en_validate_flow() 1455 struct ethhdr *eth_spec; in mlx4_en_ethtool_to_net_trans_rule()
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 59 struct ethhdr { struct 90 static __iomem struct ethhdr *h_eth; 174 h_eth = (struct ethhdr *)dbg.pkt; in gelic_debug_init() 179 header_size = sizeof(struct ethhdr); in gelic_debug_init()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_core.c | 193 struct ethhdr *ethh; in ipvlan_process_multicast() 424 struct ethhdr *ethh = eth_hdr(skb); in ipvlan_process_outbound() 501 struct ethhdr *eth = eth_hdr(skb); in ipvlan_xmit_mode_l2() 541 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in ipvlan_queue_xmit() 561 struct ethhdr *eth = eth_hdr(skb); in ipvlan_external_frame() 604 struct ethhdr *eth = eth_hdr(skb); in ipvlan_handle_mode_l2()
|
/linux-4.4.14/net/wireless/ |
D | util.c | 516 struct ethhdr *ehdr; in ieee80211_data_to_8023() 521 ehdr = (struct ethhdr *) skb_push(skb, sizeof(struct ethhdr)); in ieee80211_data_to_8023() 656 const struct ethhdr *eth; in ieee80211_amsdu_to_8023s() 666 eth = (struct ethhdr *) skb_pull(skb, sizeof(struct ethhdr)); in ieee80211_amsdu_to_8023s() 670 eth = (struct ethhdr *) skb->data; in ieee80211_amsdu_to_8023s() 676 unsigned int subframe_len = sizeof(struct ethhdr) + ntohs(len); in ieee80211_amsdu_to_8023s() 687 skb_pull(skb, sizeof(struct ethhdr)); in ieee80211_amsdu_to_8023s() 701 skb_reserve(frame, hlen + sizeof(struct ethhdr) + 2); in ieee80211_amsdu_to_8023s() 705 eth = (struct ethhdr *)skb_pull(skb, ntohs(len) + in ieee80211_amsdu_to_8023s() 779 mpls = skb_header_pointer(skb, sizeof(struct ethhdr), in cfg80211_classify8021d()
|
/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() 156 __be16 ethertype = ((struct ethhdr *)skb->data)->h_proto; in is_first_ethertype_ip()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 225 struct ethhdr *eth; in libipw_classify() 228 eth = (struct ethhdr *)skb->data; in libipw_classify() 295 ether_type = ((struct ethhdr *)skb->data)->h_proto; in libipw_xmit() 345 skb_pull(skb, sizeof(struct ethhdr)); in libipw_xmit()
|
D | ipw2100.h | 788 sizeof(struct ethhdr))
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_fip.h | 60 struct ethhdr eth;
|
D | fnic_fcs.c | 574 struct ethhdr *eh; in fnic_handle_fip_frame() 594 eh = (struct ethhdr *)skb->data; in fnic_handle_fip_frame() 630 struct ethhdr *eh; in fnic_import_rq_eth_pkt() 637 eh = (struct ethhdr *)skb->data; in fnic_import_rq_eth_pkt() 640 eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); in fnic_import_rq_eth_pkt() 993 struct ethhdr *eth_hdr; in fnic_eth_send() 999 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in fnic_eth_send() 1050 struct ethhdr *eth_hdr; in fnic_send_frame() 1068 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame() 1075 eth_hdr = (struct ethhdr *)skb_push(skb, eth_hdr_len); in fnic_send_frame()
|
D | fnic_trace.c | 626 eth_fcoe_hdr_len = sizeof(struct ethhdr) + in fnic_fc_trace_set_data() 734 int ethhdr_len = sizeof(struct ethhdr) - 1; in copy_and_format_trace_data()
|
/linux-4.4.14/net/bluetooth/bnep/ |
D | netdev.c | 124 struct ethhdr *eh = (void *) skb->data; in bnep_net_mc_filter() 136 struct ethhdr *eh = (void *) skb->data; in bnep_net_eth_proto()
|
D | bnep.h | 164 struct ethhdr eh;
|
D | core.c | 424 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame()
|
/linux-4.4.14/include/uapi/linux/ |
D | if_arcnet.h | 81 struct ethhdr eth; /* standard ethernet header (yuck!) */
|
D | if_ether.h | 138 struct ethhdr { struct
|
D | ethtool.h | 756 struct ethhdr ether_spec; 972 struct ethhdr ether_spec;
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | rx.c | 63 struct ethhdr *p_ethhdr; in lbs_process_rxed_packet() 117 p_ethhdr = (struct ethhdr *) in lbs_process_rxed_packet()
|
/linux-4.4.14/include/net/ |
D | bond_3ad.h | 147 struct ethhdr hdr; 168 struct ethhdr hdr;
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 277 struct ethhdr *eth; in ieee80211_classify() 279 eth = (struct ethhdr *)skb->data; in ieee80211_classify() 640 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit() 655 sizeof(struct ethhdr) - SNAP_SIZE - sizeof(u16)); in ieee80211_xmit() 666 skb_pull(skb, sizeof(struct ethhdr)); in ieee80211_xmit()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | bpqether.c | 182 struct ethhdr *eth; in bpq_rcv() 191 if (!pskb_may_pull(skb, sizeof(struct ethhdr))) in bpq_rcv() 213 if (skb_cow(skb, sizeof(struct ethhdr))) in bpq_rcv()
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 252 struct ethhdr *eth; in rtllib_classify() 255 eth = (struct ethhdr *)skb->data; in rtllib_classify() 615 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in rtllib_xmit_inter() 670 sizeof(struct ethhdr) - SNAP_SIZE - in rtllib_xmit_inter() 678 skb_pull(skb, sizeof(struct ethhdr)); in rtllib_xmit_inter()
|
/linux-4.4.14/net/802/ |
D | stp.c | 36 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv()
|
/linux-4.4.14/net/core/ |
D | netpoll.c | 54 (sizeof(struct ethhdr) + \ 384 struct ethhdr *eth; in netpoll_send_udp() 438 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp() 467 eth = (struct ethhdr *) skb_push(skb, ETH_HLEN); in netpoll_send_udp()
|
D | flow_dissector.c | 159 struct ethhdr *eth = eth_hdr(skb); in __skb_flow_dissect() 392 const struct ethhdr *eth; in __skb_flow_dissect() 393 struct ethhdr _eth; in __skb_flow_dissect()
|
D | dev.c | 2479 struct ethhdr *eth; in skb_network_protocol() 2481 if (unlikely(!pskb_may_pull(skb, sizeof(struct ethhdr)))) in skb_network_protocol() 2484 eth = (struct ethhdr *)skb_mac_header(skb); in skb_network_protocol() 4435 const struct ethhdr *eth; in napi_frags_skb()
|
D | pktgen.c | 2645 struct ethhdr *eth; in process_ipsec() 2667 eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in process_ipsec()
|
/linux-4.4.14/drivers/net/wireless/ |
D | ray_cs.c | 954 __be16 proto = ((struct ethhdr *)data)->h_proto; in translate_frame() 998 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, in ray_build_header() 1006 ((struct ethhdr *)data)->h_dest, ADDRLEN); in ray_build_header() 1009 ((struct ethhdr *)data)->h_source, ADDRLEN); in ray_build_header() 1015 ((struct ethhdr *)data)->h_source, ADDRLEN); in ray_build_header() 1017 ((struct ethhdr *)data)->h_dest, ADDRLEN); in ray_build_header() 2287 struct ethhdr *peth; in untranslate() 2315 peth = (struct ethhdr *)(skb->data + delta); in untranslate() 2323 peth = (struct ethhdr *)(skb->data + delta); in untranslate() 2331 peth = (struct ethhdr *)(skb->data + delta); in untranslate() [all …]
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_net.c | 140 struct ethhdr *eth; in dvb_net_eth_type_trans() 196 struct ethhdr *hdr = (struct ethhdr*) p->ule_next_hdr; in ule_bridged_sndu() 198 int framelen = p->ule_sndu_len - ((p->ule_next_hdr+sizeof(struct ethhdr)) - p->ule_skb->data); in ule_bridged_sndu() 318 struct ethhdr *ethh = NULL; in dvb_net_ule() 708 ethh = (struct ethhdr *)priv->ule_skb->data; in dvb_net_ule()
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 543 struct ethhdr *eth; in plip_type_trans() 995 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth) in plip_rewrite_address() 1022 plip_rewrite_address (dev, (struct ethhdr *)skb->data); in plip_hard_header() 1034 struct ethhdr *eth; in plip_hard_header_cache() 1036 eth = (struct ethhdr*)(((u8*)hh->hh_data) + in plip_hard_header_cache()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 669 static struct ethhdr *fm10k_port_is_vxlan(struct sk_buff *skb) in fm10k_port_is_vxlan() 684 return (struct ethhdr *)(skb_transport_header(skb) + VXLAN_HLEN); in fm10k_port_is_vxlan() 695 static struct ethhdr *fm10k_gre_is_nvgre(struct sk_buff *skb) in fm10k_gre_is_nvgre() 713 return (struct ethhdr *)(nvgre_hdr + 1); in fm10k_gre_is_nvgre() 715 return (struct ethhdr *)(&nvgre_hdr->tni); in fm10k_gre_is_nvgre() 721 struct ethhdr *eth_hdr; in fm10k_tx_encap_offload()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | nft_reject_bridge.c | 30 struct ethhdr *eth; in nft_reject_br_push_etherhdr() 32 eth = (struct ethhdr *)skb_push(nskb, ETH_HLEN); in nft_reject_br_push_etherhdr()
|
D | ebtables.c | 131 const struct ethhdr *h = eth_hdr(skb); in ebt_basic_match()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | selftest.c | 45 struct ethhdr header; 385 payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr)); in efx_iterate_state() 391 payload->udp.len = htons(sizeof(*payload) - sizeof(struct ethhdr) - in efx_iterate_state()
|
D | ethtool.c | 794 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() 795 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule() 954 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() 955 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule()
|
D | tx.c | 856 EFX_BUG_ON_PARANOID(((struct ethhdr *)skb->data)->h_proto != in efx_tso_check_protocol()
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 138 struct ethhdr *eth = pay; in test_payload() 140 if (len < sizeof(struct ethhdr)) { in test_payload() 156 struct ethhdr *eth = pay; in create_payload()
|
/linux-4.4.14/net/ipv4/ |
D | ip_tunnel_core.c | 97 struct ethhdr *eh; in iptunnel_pull_header() 102 eh = (struct ethhdr *)skb->data; in iptunnel_pull_header()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | main.c | 374 struct ethhdr *eh; in orinoco_process_xmit_skb() 386 eh = (struct ethhdr *)skb->data; in orinoco_process_xmit_skb() 391 struct ethhdr eth; /* 802.3 header */ in orinoco_process_xmit_skb() 410 eh = (struct ethhdr *) skb_push(skb, ENCAPS_OVERHEAD); in orinoco_process_xmit_skb() 968 struct ethhdr *hdr; in orinoco_rx() 1047 hdr = (struct ethhdr *)skb_push(skb, in orinoco_rx() 1051 hdr = (struct ethhdr *)skb_push(skb, ETH_HLEN); in orinoco_rx()
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | xmit_linux.c | 82 struct ethhdr etherhdr; in r8712_set_qos()
|
D | rtl871x_recv.c | 643 sizeof(struct ethhdr) + 2) - 24); in r8712_wlanhdr_to_ethhdr() 648 sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in r8712_wlanhdr_to_ethhdr()
|
D | rtl871x_xmit.c | 189 struct ethhdr etherhdr; in r8712_update_attrib()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 149 struct ethhdr *oeth = eth_hdr(oldskb); in nf_send_reset()
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | gdm_qos.c | 257 struct ethhdr *ethh = (struct ethhdr *)(skb->data + HCI_HEADER_SIZE); in gdm_qos_send_hci_pkt()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | core.c | 214 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_netdev_start_xmit() 565 struct ethhdr *eh; in brcmf_txfinalize() 568 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
|
D | msgbuf.c | 652 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_flowring_create() 787 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_txdata()
|
D | fweh.c | 67 struct ethhdr eth;
|
D | fwsignal.c | 1890 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_fws_process_skb()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 195 struct ethhdr *phdr = (struct ethhdr *)(skb->data); in qlcnic_add_lb_filter() 308 struct ethhdr *phdr = (struct ethhdr *)(skb->data); in qlcnic_send_filter() 656 struct ethhdr *phdr; in qlcnic_xmit_frame() 668 phdr = (struct ethhdr *)skb->data; in qlcnic_xmit_frame() 1169 struct ethhdr *eth_hdr; in qlcnic_check_rx_tagging() 1172 eth_hdr = (struct ethhdr *)skb->data; in qlcnic_check_rx_tagging()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 563 struct ethhdr *eth = (void *)skb->data; in wil_netif_rx_any() 898 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_ucast() 995 struct ethhdr *eth = (void *)skb->data; in wil_set_da_for_vring() 1008 struct ethhdr *eth = (void *)skb->data; in wil_find_tx_bcast_2() 1655 struct ethhdr *eth = (void *)skb->data; in wil_start_xmit() 1719 struct ethhdr *eth = (void *)skb->data; in wil_need_txstat()
|
D | wmi.c | 532 struct ethhdr *eth; in wmi_evt_eapol_rx() 554 eth = (struct ethhdr *)skb_put(skb, ETH_HLEN); in wmi_evt_eapol_rx()
|
/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() 195 u8 ethhdr, proto = 0, csum_enable = 0; in xgene_enet_work_msg() local 200 ethhdr = xgene_enet_hdr_len(skb->data); in xgene_enet_work_msg() 218 hdr_len = ethhdr + ip_hdrlen(skb) + tcp_hdrlen(skb); in xgene_enet_work_msg() 252 SET_VAL(ETHHDR, ethhdr) | in xgene_enet_work_msg()
|
/linux-4.4.14/drivers/net/ |
D | rionet.c | 172 struct ethhdr *eth = (struct ethhdr *)skb->data; in rionet_start_xmit()
|
D | macvlan.c | 200 const struct ethhdr *eth, bool local) in macvlan_broadcast_one() 236 const struct ethhdr *eth = eth_hdr(skb); in macvlan_broadcast() 405 const struct ethhdr *eth = eth_hdr(skb); in macvlan_handle_frame() 478 const struct ethhdr *eth = (void *)skb->data; in macvlan_queue_xmit()
|
D | tun.c | 758 struct ethhdr *eh = (struct ethhdr *) skb->data; in run_filter()
|
D | vxlan.c | 1457 skb_push(reply, sizeof(struct ethhdr)); in vxlan_na_create() 1477 skb_pull(reply, sizeof(struct ethhdr)); in vxlan_na_create() 2142 struct ethhdr *eth; in vxlan_xmit()
|
D | virtio_net.c | 851 const unsigned char *dest = ((struct ethhdr *)skb->data)->h_dest; in xmit_skb()
|
/linux-4.4.14/drivers/net/xen-netback/ |
D | interface.c | 175 struct ethhdr *eth = (struct ethhdr *)skb->data; in xenvif_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | sunlance.c | 887 struct ethhdr __iomem *eth = (struct ethhdr __iomem *) packet; in build_fake_packet() 900 struct ethhdr *eth = (struct ethhdr *) packet; in build_fake_packet()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 198 struct ethhdr *oeth = eth_hdr(oldskb); in nf_send_reset6()
|
/linux-4.4.14/net/mac80211/ |
D | rx.c | 2033 struct ethhdr *ehdr; in __ieee80211_data_to_8023() 2058 ehdr = (struct ethhdr *) rx->skb->data; in __ieee80211_data_to_8023() 2074 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; in ieee80211_frame_allowed() 2101 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; in ieee80211_deliver_skb() 2147 align = (unsigned long)(skb->data + sizeof(struct ethhdr)) & 3; in ieee80211_deliver_skb() 2427 if (unlikely(((struct ethhdr *)rx->skb->data)->h_proto == in ieee80211_rx_h_data() 2458 ((struct ethhdr *)rx->skb->data)->h_dest) && in ieee80211_rx_h_data()
|
D | tx.c | 2701 struct ethhdr eth; in ieee80211_xmit_fast()
|
/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()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1062 static void gfar_set_ether(struct ethhdr *value, struct ethhdr *mask, in gfar_set_ether() 1228 gfar_set_ether((struct ethhdr *) &rule->h_u, in gfar_convert_to_filer() 1229 (struct ethhdr *) &rule->m_u, tab); in gfar_convert_to_filer()
|
/linux-4.4.14/drivers/staging/unisys/include/ |
D | iochannel.h | 347 char ethhdr[ETH_HEADER_SIZE]; /* the ethernet header */ member
|
/linux-4.4.14/drivers/net/fjes/ |
D | fjes_main.c | 592 struct ethhdr *eth; in fjes_xmit_frame() 603 eth = (struct ethhdr *)skb->data; in fjes_xmit_frame() 1043 ((struct ethhdr *)frame)->h_dest)) { in fjes_poll()
|
/linux-4.4.14/net/openvswitch/ |
D | actions.c | 144 struct ethhdr *hdr; in push_mpls() 177 struct ethhdr *hdr; in pop_mpls() 195 hdr = (struct ethhdr *)(skb_mpls_header(skb) - ETH_HLEN); in pop_mpls()
|
D | flow.c | 464 struct ethhdr *eth; in key_extract()
|
D | datapath.c | 553 struct ethhdr *eth; in ovs_packet_cmd_execute()
|
/linux-4.4.14/net/llc/ |
D | llc_sap.c | 33 return sizeof(struct ethhdr); in llc_mac_header_len()
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 388 struct ethhdr eth; in fcoe_ctlr_solicit() 540 struct ethhdr eth; in fcoe_ctlr_send_keep_alive() 612 struct ethhdr eth; in fcoe_ctlr_encaps() 1513 struct ethhdr *eh; in fcoe_ctlr_recv_handler() 1992 struct ethhdr eth; in fcoe_ctlr_vn_send() 2012 len = max(len, min_len + sizeof(struct ethhdr)); in fcoe_ctlr_vn_send()
|
D | fcoe.c | 1437 struct ethhdr *eh; in fcoe_rcv() 1589 struct ethhdr *eh; in fcoe_xmit() 1621 elen = sizeof(struct ethhdr); in fcoe_xmit()
|
/linux-4.4.14/net/bridge/ |
D | br_private.h | 584 struct ethhdr *eth) in br_multicast_querier_exists() 659 struct ethhdr *eth) in br_multicast_querier_exists()
|
D | br_multicast.c | 368 struct ethhdr *eth; in br_ip4_multicast_alloc_query() 436 struct ethhdr *eth; in br_ip6_multicast_alloc_query() 2087 struct ethhdr eth; in br_multicast_has_querier_anywhere()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | linux_wlan.c | 1368 struct ethhdr *eth_h; in mac_xmit() 1394 eth_h = (struct ethhdr *)(skb->data); in mac_xmit() 1399 ih = (struct iphdr *)(skb->data + sizeof(struct ethhdr)); in mac_xmit()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | netdev.c | 442 struct ethhdr *eth_hdr = _eth_hdr; in i2400m_rx_fake_eth_header()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_alb.c | 1294 struct ethhdr *eth_data = eth_hdr(skb); in bond_do_alb_xmit() 1328 struct ethhdr *eth_data; in bond_tlb_xmit() 1366 struct ethhdr *eth_data; in bond_alb_xmit()
|
D | bond_main.c | 3092 struct ethhdr *ep, hdr_tmp; in bond_eth_hash()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 1178 struct ethhdr *eth; in ath10k_htt_rx_h_undecap_eth() 1194 eth = (struct ethhdr *)msdu->data; in ath10k_htt_rx_h_undecap_eth() 1197 skb_pull(msdu, sizeof(struct ethhdr)); in ath10k_htt_rx_h_undecap_eth()
|
D | mac.c | 3236 struct ethhdr *eth; in ath10k_tx_h_8023()
|
/linux-4.4.14/drivers/staging/octeon/ |
D | ethernet-tx.c | 406 pko_command.s.ipoffp1 = sizeof(struct ethhdr) + 1; in cvm_oct_xmit()
|
/linux-4.4.14/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 356 struct ethhdr *eth_hdr; in tse_rx_vlan() 360 eth_hdr = (struct ethhdr *)skb->data; in tse_rx_vlan()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 1191 struct ethhdr *eth; in vmxnet3_get_hdr_len() 1205 hdr.ptr += sizeof(struct ethhdr); in vmxnet3_get_hdr_len() 1211 hdr.ptr += sizeof(struct ethhdr); in vmxnet3_get_hdr_len() 3368 struct ethhdr *ehdr; in vmxnet3_suspend() 3420 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core.h | 854 __be16 *p = &((struct ethhdr *)skb->data)->h_proto; in qeth_get_ip_version()
|
D | qeth_core_main.c | 3804 tci = &((struct ethhdr *)skb->data)->h_proto; in qeth_get_priority_queue()
|
/linux-4.4.14/net/atm/ |
D | mpc.c | 574 struct ethhdr *eth; in mpc_send_packet() 583 eth = (struct ethhdr *)skb->data; in mpc_send_packet()
|
/linux-4.4.14/drivers/staging/unisys/visornic/ |
D | visornic_main.c | 919 memcpy(cmdrsp->net.xmt.ethhdr, skb->data, ETH_HEADER_SIZE); in visornic_xmit() 1163 struct ethhdr *eth; in visornic_rx()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | rndis.c | 585 + sizeof(struct ethhdr) in rndis_init_response()
|
D | u_ether.c | 228 size += sizeof(struct ethhdr) + dev->net->mtu + RX_EXTRA; in rx_submit()
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 1545 ptr = skb_pull(skb, (hdrlen - sizeof(struct ethhdr) + 2) - 24); in wlanhdr_to_ethhdr() 1549 ptr = skb_pull(skb, (hdrlen - sizeof(struct ethhdr) + in wlanhdr_to_ethhdr()
|
D | rtw_xmit.c | 425 struct ethhdr *ehdr = (struct ethhdr *) skb->data; in update_attrib()
|
/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()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1401 ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr)+2)-24); in wlanhdr_to_ethhdr() 1405 ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0))); in wlanhdr_to_ethhdr()
|
D | rtw_xmit.c | 407 struct ethhdr etherhdr; in set_qos() 434 struct ethhdr etherhdr; in update_attrib()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 1935 struct ethhdr *hdr = (struct ethhdr *)skb->data; in bnx2x_select_queue() 3802 struct ethhdr *eth; in bnx2x_start_xmit() 3851 eth = (struct ethhdr *)skb->data; in bnx2x_start_xmit()
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 874 struct ethhdr *eth = (struct ethhdr *) ((uint8_t *) ppd + ppd->tp_mac);
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 245 struct ethhdr *eh; in bnx2fc_xmit() 314 elen = sizeof(struct ethhdr); in bnx2fc_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 1324 skb->mac_len = sizeof(struct ethhdr); in i40e_fcoe_set_skb_header()
|
D | i40e_txrx.c | 1386 sizeof(struct ethhdr) + in i40e_rx_checksum()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1023 struct ethhdr *eh = (struct ethhdr *)skb->data; in be_ipv6_exthdr_check() 1226 struct ethhdr *eh = (struct ethhdr *)(*skb)->data; in be_send_pkt_to_bmc()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2099 struct ethhdr *ehdr; in stmmac_rx_vlan() 2106 ehdr = (struct ethhdr *)skb->data; in stmmac_rx_vlan()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 2750 cmdsetup.s.cksum_offset = sizeof(struct ethhdr) + 1; in liquidio_xmit() 2759 cmdsetup.s.cksum_offset = sizeof(struct ethhdr) + 1; in liquidio_xmit()
|
/linux-4.4.14/drivers/net/phy/ |
D | dp83640.c | 570 struct ethhdr *h = eth_hdr(skb); in is_status_frame()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 509 struct ethhdr *eh = eth_hdr(skb); in ioc3_tcpudp_checksum()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 859 sizeof(struct ethhdr) + in i40e_rx_checksum()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 127 sizeof(struct ethhdr) - 132 sizeof(struct ethhdr) -
|
D | d3.c | 395 struct ethhdr eth; in iwl_mvm_build_tcp_packet()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1764 const struct ethhdr *e = data; in eth_hdr_len()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 441 struct ethhdr *ethh; in form_cm_frame() 453 ethh = (struct ethhdr *)buf; in form_cm_frame()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3778 struct ethhdr *eh = NULL; in rx_pkt() 3835 eh = (struct ethhdr *)(req + 1); in rx_pkt()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.c | 1366 struct ethhdr *eth; in isdn_net_type_trans()
|
/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()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1113 skb->mac_len = sizeof(struct ethhdr); in cxgb_fcoe_offload()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 6564 static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr, in niu_compute_tx_flags() 6638 struct ethhdr *ehdr; in niu_start_xmit() 6671 ehdr = (struct ethhdr *) skb->data; in niu_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5639 if (((struct ethhdr *)skb->data)->h_proto != htons(ETH_P_IP)) in e1000_transfer_dhcp_info()
|
/linux-4.4.14/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 2769 protolen = ntohs(((struct ethhdr *)packet)->h_proto); in nv_getlen()
|