Home
last modified time | relevance | path

Searched refs:mac_header_len (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.c110 u32 mac_header_len; in gdm_lte_emulate_arp() local
120 mac_header_len = VLAN_ETH_HLEN; in gdm_lte_emulate_arp()
124 mac_header_len = ETH_HLEN; in gdm_lte_emulate_arp()
128 arp_in = (struct arphdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_arp()
129 arp_data_in = (struct arpdata *)(skb_in->data + mac_header_len + in gdm_lte_emulate_arp()
159 skb_put_data(skb_out, mac_header_data, mac_header_len); in gdm_lte_emulate_arp()
235 u32 mac_header_len; in gdm_lte_emulate_ndp() local
243 mac_header_len = VLAN_ETH_HLEN; in gdm_lte_emulate_ndp()
249 mac_header_len = ETH_HLEN; in gdm_lte_emulate_ndp()
253 ipv6_in = (struct ipv6hdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_ndp()
[all …]
/Linux-v4.19/net/netfilter/
Dnfnetlink_queue.c1156 int mac_header_len = entry->skb->network_header - in nfqa_parse_bridge() local
1159 if (mac_header_len != nla_len(nfqa[NFQA_L2HDR])) in nfqa_parse_bridge()
1161 else if (mac_header_len > 0) in nfqa_parse_bridge()
1164 mac_header_len); in nfqa_parse_bridge()