Home
last modified time | relevance | path

Searched refs:eh (Results 1 – 16 of 16) sorted by relevance

/wlan-driver/qcacld-3.0/os_if/dp/src/
Dos_if_dp_txrx.c52 struct ethhdr *eh = (struct ethhdr *)skb->data; in osif_dp_classify_pkt() local
57 if (is_broadcast_ether_addr((uint8_t *)eh)) in osif_dp_classify_pkt()
59 else if (is_multicast_ether_addr((uint8_t *)eh)) in osif_dp_classify_pkt()
165 struct ethhdr *eh = (struct ethhdr *)skb->data; in osif_dp_mark_pkt_type() local
174 if (is_broadcast_ether_addr((uint8_t *)eh)) in osif_dp_mark_pkt_type()
176 else if (is_multicast_ether_addr((uint8_t *)eh)) in osif_dp_mark_pkt_type()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_softap_tx_rx.c74 struct ethhdr eh; member
161 qdf_ether_header_t *eh; in hdd_ipa_update_rx_mcbc_stats() local
176 eh = (qdf_ether_header_t *)qdf_nbuf_data(skb); in hdd_ipa_update_rx_mcbc_stats()
177 if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) in hdd_ipa_update_rx_mcbc_stats()
853 ether_addr_copy(msg->eh.h_source, sta_mac->bytes); in hdd_softap_ind_l2_update()
854 eth_broadcast_addr(msg->eh.h_dest); in hdd_softap_ind_l2_update()
856 msg->eh.h_proto = htons(sizeof(*msg) - sizeof(struct ethhdr)); in hdd_softap_ind_l2_update()
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_tx_classify.c810 struct ethernet_hdr_t *eh; in ol_tx_classify_extension() local
812 eh = (struct ethernet_hdr_t *)datap; in ol_tx_classify_extension()
813 l2_hdr_size = sizeof(*eh); in ol_tx_classify_extension()
814 ethertype = (eh->ethertype[0] << 8) | eh->ethertype[1]; in ol_tx_classify_extension()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_tx.c1728 qdf_ether_header_t *eh = NULL; in dp_tx_get_tid() local
1736 eh = (qdf_ether_header_t *)nbuf->data; in dp_tx_get_tid()
1737 hdr_ptr = (uint8_t *)(eh->ether_dhost); in dp_tx_get_tid()
1748 ether_type = eh->ether_type; in dp_tx_get_tid()
1770 evh = (qdf_ethervlan_header_t *) eh; in dp_tx_get_tid()
3737 qdf_ether_header_t *eh; in dp_tx_mcast_enhance() local
3743 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_tx_mcast_enhance()
3744 if (DP_FRAME_IS_MULTICAST((eh)->ether_dhost) && in dp_tx_mcast_enhance()
3745 !DP_FRAME_IS_BROADCAST((eh)->ether_dhost)) { in dp_tx_mcast_enhance()
3787 qdf_ether_header_t *eh = (qdf_ether_header_t *) in dp_tx_mcast_drop() local
[all …]
Ddp_rx_err.c930 int dp_rx_err_match_dhost(qdf_ether_header_t *eh, struct dp_vdev *vdev) in dp_rx_err_match_dhost() argument
932 return ((qdf_mem_cmp(eh->ether_dhost, &vdev->mac_addr.raw[0], in dp_rx_err_match_dhost()
934 (qdf_mem_cmp(eh->ether_dhost, &vdev->mld_mac_addr.raw[0], in dp_rx_err_match_dhost()
939 int dp_rx_err_match_dhost(qdf_ether_header_t *eh, struct dp_vdev *vdev) in dp_rx_err_match_dhost() argument
941 return (qdf_mem_cmp(eh->ether_dhost, &vdev->mac_addr.raw[0], in dp_rx_err_match_dhost()
1337 qdf_ether_header_t *eh; in dp_rx_process_rxdma_err() local
1455 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_rx_process_rxdma_err()
1457 (eh->ether_dhost)) ? 1 : 0 ; in dp_rx_process_rxdma_err()
1720 qdf_ether_header_t *eh = in dp_rx_err_route_hdl() local
1722 if (dp_rx_err_match_dhost(eh, vdev)) { in dp_rx_err_route_hdl()
Ddp_ipa.c3821 struct ethhdr *eh;
3858 eh = (struct ethhdr *)qdf_nbuf_data(nbuf);
3860 if (!qdf_mem_cmp(eh->h_dest, vdev->mac_addr.raw, QDF_MAC_ADDR_SIZE))
3863 if (!dp_ipa_peer_check(soc, eh->h_dest, vdev->vdev_id))
3866 if (!dp_ipa_peer_check(soc, eh->h_source, vdev->vdev_id))
4104 qdf_ether_header_t *eh;
4117 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf);
4122 if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost))
Ddp_rx.c2711 qdf_ether_header_t *eh; in dp_rx_msdu_stats_update() local
2730 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_rx_msdu_stats_update()
2733 if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) { in dp_rx_msdu_stats_update()
Ddp_stats.c4893 struct ether_header *eh; in dp_vdev_peer_stats_update_protocol_cnt() local
4907 eh = (struct ether_header *)qdf_nbuf_data(nbuf); in dp_vdev_peer_stats_update_protocol_cnt()
4909 mac = eh->ether_shost; in dp_vdev_peer_stats_update_protocol_cnt()
4911 mac = eh->ether_dhost; in dp_vdev_peer_stats_update_protocol_cnt()
Ddp_internal.h338 int dp_rx_err_match_dhost(qdf_ether_header_t *eh, struct dp_vdev *vdev);
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be_rx.c1291 qdf_ether_header_t *eh = in dp_rx_dummy_src_mac() local
1294 eh->ether_shost[DP_MAC_LOCAL_ADMBIT_OFFSET] = in dp_rx_dummy_src_mac()
1295 eh->ether_shost[DP_MAC_LOCAL_ADMBIT_OFFSET] | in dp_rx_dummy_src_mac()
2245 qdf_ether_header_t *eh;
2450 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf);
2456 if (!dp_rx_err_match_dhost(eh, vdev))
2484 eh->ether_shost))) {
2522 if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost))
Ddp_be_tx.c590 qdf_ether_header_t *eh = (qdf_ether_header_t *)qdf_nbuf_data(ptr->nbuf); in dp_tx_mlo_mcast_multipass_lookup() local
593 (htons(eh->ether_type) != ETH_P_8021Q)); in dp_tx_mlo_mcast_multipass_lookup()
597 veh = (struct vlan_ethhdr *)eh; in dp_tx_mlo_mcast_multipass_lookup()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li_rx.c1339 qdf_ether_header_t *eh; in dp_rx_null_q_desc_handle_li() local
1544 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_rx_null_q_desc_handle_li()
1550 if (!dp_rx_err_match_dhost(eh, vdev)) in dp_rx_null_q_desc_handle_li()
1604 if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) in dp_rx_null_q_desc_handle_li()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_nbuf.h2062 struct ethhdr *eh = (struct ethhdr *)skb->data; \
2063 uint16_t ether_type = ntohs(eh->h_proto); \
2066 is_mc_bc = is_broadcast_ether_addr((uint8_t *)eh) || \
2067 is_multicast_ether_addr((uint8_t *)eh); \
Dqdf_nbuf.c2051 qdf_ether_header_t *eh = NULL; in __qdf_nbuf_is_ipv4_igmp_leave_pkt() local
2055 eh = (qdf_ether_header_t *)qdf_nbuf_data(buf); in __qdf_nbuf_is_ipv4_igmp_leave_pkt()
2056 ether_type = eh->ether_type; in __qdf_nbuf_is_ipv4_igmp_leave_pkt()
2108 qdf_ether_header_t *eh = NULL; in __qdf_nbuf_is_ipv6_igmp_leave_pkt() local
2112 eh = (qdf_ether_header_t *)qdf_nbuf_data(buf); in __qdf_nbuf_is_ipv6_igmp_leave_pkt()
2113 ether_type = eh->ether_type; in __qdf_nbuf_is_ipv6_igmp_leave_pkt()
2675 struct ethhdr *eh = (struct ethhdr *)qdf_nbuf_data(nbuf); in __qdf_nbuf_is_bcast_pkt() local
2676 return qdf_is_macaddr_broadcast((struct qdf_mac_addr *)eh->h_dest); in __qdf_nbuf_is_bcast_pkt()
5836 struct ethhdr *eh = (struct ethhdr *)skb->data; in qdf_nbuf_classify_pkt() local
5839 if (is_broadcast_ether_addr((uint8_t *)eh)) in qdf_nbuf_classify_pkt()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
Ddp_rh_rx.c379 qdf_ether_header_t *eh; in dp_rx_decrypt_unecrypt_err_handler_rh() local
470 eh = (qdf_ether_header_t *)qdf_nbuf_data(nbuf); in dp_rx_decrypt_unecrypt_err_handler_rh()
472 (eh->ether_dhost)) ? 1 : 0; in dp_rx_decrypt_unecrypt_err_handler_rh()
/wlan-driver/qca-wifi-host-cmn/ipa/core/src/
Dwlan_ipa_core.c934 struct ethhdr *eh; in is_rx_dest_bridge_dev() local
962 eh = (struct ethhdr *)qdf_nbuf_data(nbuf); in is_rx_dest_bridge_dev()
963 if (qdf_mem_cmp(eh->h_dest, master_ndev->dev_addr, QDF_MAC_ADDR_SIZE)) { in is_rx_dest_bridge_dev()
1188 struct ethhdr *eh; in wlan_ipa_send_sta_eapol_to_nw() local
1195 eh = (struct ethhdr *)qdf_nbuf_data(skb); in wlan_ipa_send_sta_eapol_to_nw()
1197 pdev, eh->h_dest, WLAN_IPA_ID); in wlan_ipa_send_sta_eapol_to_nw()