Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Dif_vlan.h29 #define VLAN_HLEN 4 /* The additional bytes (on top of the Ethernet header) macro
219 if (skb_headroom(skb) < VLAN_HLEN) { in __vlan_put_tag()
221 skb = skb_realloc_headroom(sk_tmp, VLAN_HLEN); in __vlan_put_tag()
235 veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); in __vlan_put_tag()
238 memmove(skb->data, skb->data + VLAN_HLEN, 2 * VLAN_ETH_ALEN); in __vlan_put_tag()
/linux-2.4.37.9/net/8021q/
Dvlan_dev.c87 skb->mac.raw += VLAN_HLEN; in vlan_check_reorder_header()
167 skb_pull(skb, VLAN_HLEN); /* take off the VLAN header (4 bytes currently) */ in vlan_skb_recv()
356 vhdr = (struct vlan_hdr *) skb_push(skb, VLAN_HLEN); in vlan_dev_hard_header()
418 rc = dev->hard_header(skb, dev, ETH_P_8021Q, daddr, saddr, len + VLAN_HLEN); in vlan_dev_hard_header()
421 rc += VLAN_HLEN; in vlan_dev_hard_header()
423 rc -= VLAN_HLEN; in vlan_dev_hard_header()
474 if (orig_headroom < VLAN_HLEN) { in vlan_dev_hard_start_xmit()
Dvlan.c463 new_dev->hard_header_len += VLAN_HLEN; in register_vlan_device()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.h337 return QETH_HEADER_SIZE+VLAN_HLEN; in qeth_get_hlen()
Dqeth.c1319 skb=dev_alloc_skb(len+VLAN_HLEN); in qeth_get_skb()
1320 if (skb) skb_reserve(skb,VLAN_HLEN); in qeth_get_skb()
1743 VLAN_HLEN); in qeth_read_in_buffer()
2288 tag = (__u16*)skb_push(__skb, VLAN_HLEN); in qeth_insert_ipv6_vlan_tag()
/linux-2.4.37.9/drivers/net/
Dforcedeth.c1328 hdrlen = VLAN_HLEN; in nv_getlen()
Dsky2.c1709 return ALIGN(mtu + ETH_HLEN + VLAN_HLEN, 8) + 8; in sky2_buf_size()