Lines Matching refs:vlan_offset
309 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)
4571 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
4573 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
6229 handlep->vlan_offset = -1; /* unknown */