Lines Matching refs:vlan_offset
318 int vlan_offset; /* offset at which to insert vlan tags; if -1, don't insert */ member
1928 if (handlep->vlan_offset != -1) {
1954 if (len < (u_int)handlep->vlan_offset)
1964 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
1969 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
3891 handlep->vlan_offset = 2 * ETH_ALEN;
3899 handlep->vlan_offset = SLL_HDR_LEN - 2;
3903 handlep->vlan_offset = -1; /* unknown */
5007 handlep->vlan_offset != -1 &&
5008 tp_snaplen >= (unsigned int) handlep->vlan_offset)
5018 memmove(bp, bp + VLAN_TAG_LEN, handlep->vlan_offset);
5023 tag = (struct vlan_tag *)(bp + handlep->vlan_offset);
6774 handlep->vlan_offset = -1; /* unknown */