Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/libpcap/
Dpcap-linux.c318 int vlan_offset; /* offset at which to insert vlan tags; if -1, don't insert */ member
1992 if (handlep->vlan_offset != -1) {
2018 if (len < (u_int)handlep->vlan_offset)
2028 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
2033 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
3968 handlep->vlan_offset = 2 * ETH_ALEN;
3976 handlep->vlan_offset = SLL_HDR_LEN - 2;
3980 handlep->vlan_offset = -1; /* unknown */
5258 handlep->vlan_offset != -1 &&
5259 tp_snaplen >= (unsigned int) handlep->vlan_offset)
[all …]