/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/ |
D | wlan_pkt_capture_data_txrx.c | 357 struct ethernet_hdr_t *eth_hdr; in pkt_capture_rx_convert8023to80211() local 371 eth_hdr = (struct ethernet_hdr_t *)qdf_nbuf_data(msdu); in pkt_capture_rx_convert8023to80211() 381 qdf_mem_copy(wh->i_addr1, eth_hdr->dest_addr, in pkt_capture_rx_convert8023to80211() 385 qdf_mem_copy(wh->i_addr3, eth_hdr->src_addr, in pkt_capture_rx_convert8023to80211() 426 ether_type = (eth_hdr->ethertype[0] << 8) | in pkt_capture_rx_convert8023to80211() 427 (eth_hdr->ethertype[1]); in pkt_capture_rx_convert8023to80211() 439 llc_hdr->ethertype[0] = eth_hdr->ethertype[0]; in pkt_capture_rx_convert8023to80211() 440 llc_hdr->ethertype[1] = eth_hdr->ethertype[1]; in pkt_capture_rx_convert8023to80211() 460 struct ethernet_hdr_t *eth_hdr; in pkt_capture_rx_convert8023to80211() local 475 eth_hdr = (struct ethernet_hdr_t *)qdf_nbuf_data(msdu); in pkt_capture_rx_convert8023to80211() [all …]
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_txrx_encap.c | 141 struct ethernet_hdr_t *eth_hdr; in ol_tx_encap_from_8023() local 159 eth_hdr = (struct ethernet_hdr_t *)qdf_nbuf_data(msdu); in ol_tx_encap_from_8023() 169 qdf_mem_copy(wh->i_addr1, eth_hdr->dest_addr, in ol_tx_encap_from_8023() 173 qdf_mem_copy(wh->i_addr3, eth_hdr->src_addr, in ol_tx_encap_from_8023() 180 qdf_mem_copy(wh->i_addr1, eth_hdr->dest_addr, in ol_tx_encap_from_8023() 182 qdf_mem_copy(wh->i_addr2, eth_hdr->src_addr, in ol_tx_encap_from_8023() 194 qdf_mem_copy(wh->i_addr2, eth_hdr->src_addr, in ol_tx_encap_from_8023() 196 qdf_mem_copy(wh->i_addr3, eth_hdr->dest_addr, in ol_tx_encap_from_8023() 230 (eth_hdr->ethertype[0] << 8) | (eth_hdr->ethertype[1]); in ol_tx_encap_from_8023() 241 llc_hdr->ethertype[0] = eth_hdr->ethertype[0]; in ol_tx_encap_from_8023() [all …]
|
D | ol_rx_defrag.c | 1341 struct ethernet_hdr_t *eth_hdr; in ol_rx_defrag_nwifi_to_8023() local 1366 eth_hdr = (struct ethernet_hdr_t *)(qdf_nbuf_data(msdu)); in ol_rx_defrag_nwifi_to_8023() 1369 qdf_mem_copy(eth_hdr->dest_addr, wh.i_addr1, in ol_rx_defrag_nwifi_to_8023() 1371 qdf_mem_copy(eth_hdr->src_addr, wh.i_addr2, QDF_MAC_ADDR_SIZE); in ol_rx_defrag_nwifi_to_8023() 1374 qdf_mem_copy(eth_hdr->dest_addr, wh.i_addr3, in ol_rx_defrag_nwifi_to_8023() 1376 qdf_mem_copy(eth_hdr->src_addr, wh.i_addr2, QDF_MAC_ADDR_SIZE); in ol_rx_defrag_nwifi_to_8023() 1379 qdf_mem_copy(eth_hdr->dest_addr, wh.i_addr1, in ol_rx_defrag_nwifi_to_8023() 1381 qdf_mem_copy(eth_hdr->src_addr, wh.i_addr3, QDF_MAC_ADDR_SIZE); in ol_rx_defrag_nwifi_to_8023() 1387 qdf_mem_copy(eth_hdr->ethertype, llchdr.ethertype, in ol_rx_defrag_nwifi_to_8023()
|
D | ol_rx.c | 966 qdf_ether_header_t *eth_hdr; in ol_rx_send_mic_err_ind() local 974 if (qdf_nbuf_len(rx_frame) < sizeof(*eth_hdr)) in ol_rx_send_mic_err_ind() 977 eth_hdr = (qdf_ether_header_t *)qdf_nbuf_data(rx_frame); in ol_rx_send_mic_err_ind() 982 (struct qdf_mac_addr *)eth_hdr->ether_dhost); in ol_rx_send_mic_err_ind() 985 IEEE80211_IS_MULTICAST(eth_hdr->ether_dhost); in ol_rx_send_mic_err_ind()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_wmm.c | 1923 union generic_ethhdr *eth_hdr; in hdd_wmm_get_user_priority_from_ip_tos() local 1938 eth_hdr = (union generic_ethhdr *)pkt; in hdd_wmm_get_user_priority_from_ip_tos() 1944 if (eth_hdr->eth_II.h_proto == htons(ETH_P_IP)) { in hdd_wmm_get_user_priority_from_ip_tos() 1946 ip_hdr = (struct iphdr *)&pkt[sizeof(eth_hdr->eth_II)]; in hdd_wmm_get_user_priority_from_ip_tos() 1952 } else if (eth_hdr->eth_II.h_proto == htons(ETH_P_IPV6)) { in hdd_wmm_get_user_priority_from_ip_tos() 1958 } else if ((ntohs(eth_hdr->eth_II.h_proto) < WLAN_MIN_PROTO) && in hdd_wmm_get_user_priority_from_ip_tos() 1959 (eth_hdr->eth_8023.h_snap.dsap == WLAN_SNAP_DSAP) && in hdd_wmm_get_user_priority_from_ip_tos() 1960 (eth_hdr->eth_8023.h_snap.ssap == WLAN_SNAP_SSAP) && in hdd_wmm_get_user_priority_from_ip_tos() 1961 (eth_hdr->eth_8023.h_snap.ctrl == WLAN_SNAP_CTRL) && in hdd_wmm_get_user_priority_from_ip_tos() 1962 (eth_hdr->eth_8023.h_proto == htons(ETH_P_IP))) { in hdd_wmm_get_user_priority_from_ip_tos() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_defrag.c | 1013 struct ethernet_hdr_t *eth_hdr; in dp_rx_defrag_nwifi_to_8023() local 1047 eth_hdr = (struct ethernet_hdr_t *)(qdf_nbuf_data(nbuf)); in dp_rx_defrag_nwifi_to_8023() 1059 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1063 qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1069 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1073 qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1079 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1083 qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1090 qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0], in dp_rx_defrag_nwifi_to_8023() 1092 qdf_mem_copy(eth_hdr->src_addr, &wh.i_addr4[0], in dp_rx_defrag_nwifi_to_8023() [all …]
|
D | dp_tx.c | 4587 qdf_ether_header_t *eth_hdr = (qdf_ether_header_t *)(qdf_nbuf_data(nbuf)); local 4607 is_mcast = (IS_MULTICAST(eth_hdr->ether_dhost)) ? 1 : 0;
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
D | wlan_dp_txrx.c | 477 qdf_ether_header_t *eth_hdr = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_fix_broadcast_eapol() local 485 QDF_MAC_ADDR_REF(ð_hdr->ether_shost[0]), in dp_fix_broadcast_eapol() 486 QDF_MAC_ADDR_REF(ð_hdr->ether_dhost[0]), in dp_fix_broadcast_eapol() 489 qdf_mem_copy(ð_hdr->ether_dhost, ap_mac_addr, in dp_fix_broadcast_eapol()
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
D | wma_data.c | 2948 qdf_ether_header_t *eth_hdr; in ol_rx_err() local 2958 if (qdf_nbuf_len(rx_frame) < sizeof(*eth_hdr)) in ol_rx_err() 2960 eth_hdr = (qdf_ether_header_t *)qdf_nbuf_data(rx_frame); in ol_rx_err() 2980 (struct qdf_mac_addr *) eth_hdr->ether_shost, in ol_rx_err() 2983 (struct qdf_mac_addr *) eth_hdr->ether_dhost, in ol_rx_err() 2987 IEEE80211_IS_MULTICAST(eth_hdr->ether_dhost); in ol_rx_err()
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | qdf_nbuf.c | 2683 struct ethhdr *eth = eth_hdr(skb); in __qdf_nbuf_is_mcast_replay()
|