Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c309 int vlan_offset; /* offset at which to insert vlan tags; if -1, don't insert */ member
1721 if (handlep->vlan_offset != -1) {
1743 if (len < (unsigned int) handlep->vlan_offset)
1747 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
1749 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
3456 handlep->vlan_offset = 2 * ETH_ALEN;
3460 handlep->vlan_offset = 14;
3464 handlep->vlan_offset = -1; /* unknown */
4565 handlep->vlan_offset != -1 &&
4566 tp_snaplen >= (unsigned int) handlep->vlan_offset)
[all …]