Lines Matching refs:rx_pkt_hdr
86 struct rx_packet_hdr *rx_pkt_hdr; in mwifiex_uap_queue_bridged_pkt() local
95 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_uap_queue_bridged_pkt()
106 if (sizeof(*rx_pkt_hdr) + in mwifiex_uap_queue_bridged_pkt()
116 if ((!memcmp(&rx_pkt_hdr->rfc1042_hdr, bridge_tunnel_header, in mwifiex_uap_queue_bridged_pkt()
118 (!memcmp(&rx_pkt_hdr->rfc1042_hdr, rfc1042_header, in mwifiex_uap_queue_bridged_pkt()
120 ntohs(rx_pkt_hdr->rfc1042_hdr.snap_type) != ETH_P_AARP && in mwifiex_uap_queue_bridged_pkt()
121 ntohs(rx_pkt_hdr->rfc1042_hdr.snap_type) != ETH_P_IPX)) { in mwifiex_uap_queue_bridged_pkt()
133 ((u8 *)(&rx_pkt_hdr->eth803_hdr) in mwifiex_uap_queue_bridged_pkt()
134 + sizeof(rx_pkt_hdr->eth803_hdr) in mwifiex_uap_queue_bridged_pkt()
135 + sizeof(rx_pkt_hdr->rfc1042_hdr) in mwifiex_uap_queue_bridged_pkt()
136 - sizeof(rx_pkt_hdr->eth803_hdr.h_dest) in mwifiex_uap_queue_bridged_pkt()
137 - sizeof(rx_pkt_hdr->eth803_hdr.h_source) in mwifiex_uap_queue_bridged_pkt()
138 - sizeof(rx_pkt_hdr->rfc1042_hdr.snap_type)); in mwifiex_uap_queue_bridged_pkt()
139 memcpy(p_ethhdr->h_source, rx_pkt_hdr->eth803_hdr.h_source, in mwifiex_uap_queue_bridged_pkt()
141 memcpy(p_ethhdr->h_dest, rx_pkt_hdr->eth803_hdr.h_dest, in mwifiex_uap_queue_bridged_pkt()
149 hdr_chop = (u8 *)&rx_pkt_hdr->eth803_hdr - (u8 *)uap_rx_pd; in mwifiex_uap_queue_bridged_pkt()
186 src_node = mwifiex_get_sta_entry(priv, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_uap_queue_bridged_pkt()
195 if (is_unicast_ether_addr(rx_pkt_hdr->eth803_hdr.h_dest)) { in mwifiex_uap_queue_bridged_pkt()
237 struct rx_packet_hdr *rx_pkt_hdr; in mwifiex_handle_uap_rx_forward() local
242 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_handle_uap_rx_forward()
252 memcpy(ra, rx_pkt_hdr->eth803_hdr.h_dest, ETH_ALEN); in mwifiex_handle_uap_rx_forward()
379 struct rx_packet_hdr *rx_pkt_hdr; in mwifiex_process_uap_rx_packet() local
386 rx_pkt_hdr = (void *)uap_rx_pd + le16_to_cpu(uap_rx_pd->rx_pkt_offset); in mwifiex_process_uap_rx_packet()
389 sizeof(rx_pkt_hdr->eth803_hdr) > skb->len) { in mwifiex_process_uap_rx_packet()
398 ether_addr_copy(ta, rx_pkt_hdr->eth803_hdr.h_source); in mwifiex_process_uap_rx_packet()