Searched refs:prot_ofs (Results 1 – 1 of 1) sorted by relevance
171 size_t prot_ofs = offsetof(struct ethhdr, h_proto); in ath12k_wow_convert_8023_to_80211() local197 } else if (size_add(eth_pkt_ofs, eth_pat_len) < prot_ofs) { in ath12k_wow_convert_8023_to_80211()221 delta = eth_pkt_ofs + eth_pat_len - prot_ofs; in ath12k_wow_convert_8023_to_80211()223 eth_pat + prot_ofs - eth_pkt_ofs, in ath12k_wow_convert_8023_to_80211()226 eth_bytemask + prot_ofs - eth_pkt_ofs, in ath12k_wow_convert_8023_to_80211()231 } else if (eth_pkt_ofs < prot_ofs) { in ath12k_wow_convert_8023_to_80211()234 if (size_add(eth_pkt_ofs, eth_pat_len) < prot_ofs) { in ath12k_wow_convert_8023_to_80211()240 memcpy(pat, eth_pat, prot_ofs - eth_pkt_ofs); in ath12k_wow_convert_8023_to_80211()241 memcpy(bytemask, eth_bytemask, prot_ofs - eth_pkt_ofs); in ath12k_wow_convert_8023_to_80211()243 delta = eth_pkt_ofs + eth_pat_len - prot_ofs; in ath12k_wow_convert_8023_to_80211()[all …]