Lines Matching refs:vlan_offset
318 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)
4743 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
4748 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
6505 handlep->vlan_offset = -1; /* unknown */