Searched refs:hdr_gap (Results 1 – 2 of 2) sorted by relevance
169 static int mt7925_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7925_reverse_frag0_hdr_trans() argument172 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7925_reverse_frag0_hdr_trans()220 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7925_reverse_frag0_hdr_trans()360 u16 hdr_gap; in mt7925_mac_fill_rx() local546 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7925_mac_fill_rx()548 if (mt7925_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7925_mac_fill_rx()554 skb_pull(skb, hdr_gap); in mt7925_mac_fill_rx()
189 static int mt7996_reverse_frag0_hdr_trans(struct sk_buff *skb, u16 hdr_gap) in mt7996_reverse_frag0_hdr_trans() argument192 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_gap); in mt7996_reverse_frag0_hdr_trans()245 skb_pull(skb, hdr_gap + sizeof(struct ethhdr) - 2); in mt7996_reverse_frag0_hdr_trans()433 u16 hdr_gap; in mt7996_mac_fill_rx() local621 hdr_gap = (u8 *)rxd - skb->data + 2 * remove_pad; in mt7996_mac_fill_rx()623 if (mt7996_reverse_frag0_hdr_trans(skb, hdr_gap)) in mt7996_mac_fill_rx()629 skb_pull(skb, hdr_gap); in mt7996_mac_fill_rx()