Searched refs:mac_off (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/net/netfilter/ |
D | nft_payload.c | 27 static bool nft_payload_rebuild_vlan_hdr(const struct sk_buff *skb, int mac_off, in nft_payload_rebuild_vlan_hdr() argument 30 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr() 44 int mac_off = skb_mac_header(skb) - skb->data; in nft_payload_copy_vlan() local 59 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) in nft_payload_copy_vlan() 61 else if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) in nft_payload_copy_vlan() 79 return skb_copy_bits(skb, offset + mac_off, dst_u8, len) == 0; in nft_payload_copy_vlan()
|
/Linux-v6.1/drivers/net/ethernet/sun/ |
D | cassini.c | 3162 int mac_off = 0; in cas_get_vpd_info() local 3257 if (mac_off++ > offset) in cas_get_vpd_info()
|