Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dvirtio_net.h206 int vlan_hlen) in virtio_net_hdr_from_skb() argument
234 skb_checksum_start_offset(skb) + vlan_hlen); in virtio_net_hdr_from_skb()
/linux-6.12.1/net/netfilter/
Dnft_payload.c816 int *vlan_hlen) in nft_payload_set_vlan() argument
823 *vlan_hlen = VLAN_HLEN; in nft_payload_set_vlan()
860 int offset, csum_offset, vlan_hlen = 0; in nft_payload_set_eval() local
873 &vlan_hlen)) in nft_payload_set_eval()
876 if (!vlan_hlen) in nft_payload_set_eval()
880 offset = skb_mac_header(skb) - skb->data - vlan_hlen; in nft_payload_set_eval()
/linux-6.12.1/drivers/net/
Dtun.c2098 int vlan_hlen = 0; in tun_put_user() local
2102 vlan_hlen = VLAN_HLEN; in tun_put_user()
2107 total = skb->len + vlan_hlen + vnet_hdr_sz; in tun_put_user()
2131 vlan_hlen)) { in tun_put_user()
2153 if (vlan_hlen) { in tun_put_user()
2176 dev_sw_netstats_tx_add(tun->dev, 1, skb->len + vlan_hlen); in tun_put_user()
Dtap.c800 int vlan_hlen = skb_vlan_tag_present(skb) ? VLAN_HLEN : 0; in tap_put_user() local
809 vlan_hlen)) in tap_put_user()