Home
last modified time | relevance | path

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

/Linux-v6.6/net/netfilter/
Dnft_payload.c28 static bool nft_payload_rebuild_vlan_hdr(const struct sk_buff *skb, int mac_off, in nft_payload_rebuild_vlan_hdr() argument
31 if (skb_copy_bits(skb, mac_off, veth, ETH_HLEN)) in nft_payload_rebuild_vlan_hdr()
45 int mac_off = skb_mac_header(skb) - skb->data; in nft_payload_copy_vlan() local
60 skb_copy_bits(skb, mac_off, &veth, VLAN_ETH_HLEN) < 0) in nft_payload_copy_vlan()
62 else if (!nft_payload_rebuild_vlan_hdr(skb, mac_off, &veth)) in nft_payload_copy_vlan()
80 return skb_copy_bits(skb, offset + mac_off, dst_u8, len) == 0; in nft_payload_copy_vlan()
/Linux-v6.6/drivers/net/ethernet/sun/
Dcassini.c3140 int mac_off = 0; in cas_get_vpd_info() local
3235 if (mac_off++ > offset) in cas_get_vpd_info()