Home
last modified time | relevance | path

Searched refs:vlan_offset (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/
Dtap.c773 int vlan_offset = 0; in tap_put_user() local
806 vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); in tap_put_user()
809 ret = skb_copy_datagram_iter(skb, 0, iter, vlan_offset); in tap_put_user()
818 ret = skb_copy_datagram_iter(skb, vlan_offset, iter, in tap_put_user()
819 skb->len - vlan_offset); in tap_put_user()
Dtun.c2072 int vlan_offset = 0; in tun_put_user() local
2133 vlan_offset = offsetof(struct vlan_ethhdr, h_vlan_proto); in tun_put_user()
2135 ret = skb_copy_datagram_iter(skb, 0, iter, vlan_offset); in tun_put_user()
2144 skb_copy_datagram_iter(skb, vlan_offset, iter, skb->len - vlan_offset); in tun_put_user()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h762 u8 vlan_offset; member
Dhclge_main.c7709 req->vlan_offset = vlan_offset_160; in hclge_set_port_vlan_filter()