Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c318 int vlan_offset; /* offset at which to insert vlan tags; if -1, don't insert */ member
1860 if (handlep->vlan_offset != -1) {
1882 if (len < (u_int)handlep->vlan_offset)
1892 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
1897 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
3636 handlep->vlan_offset = 2 * ETH_ALEN;
3644 handlep->vlan_offset = SLL_HDR_LEN - 2;
3648 handlep->vlan_offset = -1; /* unknown */
4732 handlep->vlan_offset != -1 &&
4733 tp_snaplen >= (unsigned int) handlep->vlan_offset)
[all …]