Searched refs:veth (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/net/8021q/ |
D | vlan_dev.c | 54 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_rebuild_header() local 56 switch (veth->h_vlan_encapsulated_proto) { in vlan_dev_rebuild_header() 61 return arp_find(veth->h_dest, skb); in vlan_dev_rebuild_header() 66 dev->name, (int)veth->h_vlan_encapsulated_proto); in vlan_dev_rebuild_header() 68 memcpy(veth->h_source, dev->dev_addr, ETH_ALEN); in vlan_dev_rebuild_header() 440 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); in vlan_dev_hard_start_xmit() local 448 if (veth->h_vlan_proto != __constant_htons(ETH_P_8021Q)) { in vlan_dev_hard_start_xmit() 457 __FUNCTION__, htons(veth->h_vlan_proto)); in vlan_dev_hard_start_xmit() 483 …veth->h_dest[0], veth->h_dest[1], veth->h_dest[2], veth->h_dest[3], veth->h_dest[4], veth->h_dest[… in vlan_dev_hard_start_xmit() 484 …veth->h_source[0], veth->h_source[1], veth->h_source[2], veth->h_source[3], veth->h_source[4], vet… in vlan_dev_hard_start_xmit() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | if_vlan.h | 217 struct vlan_ethhdr *veth; in __vlan_put_tag() local 235 veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN); in __vlan_put_tag() 241 veth->h_vlan_proto = __constant_htons(ETH_P_8021Q); in __vlan_put_tag() 244 veth->h_vlan_TCI = htons(tag); in __vlan_put_tag() 295 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; in __vlan_get_tag() local 297 if (veth->h_vlan_proto != __constant_htons(ETH_P_8021Q)) { in __vlan_get_tag() 301 *tag = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
|
/linux-2.4.37.9/drivers/net/ |
D | Makefile | 91 obj-$(CONFIG_VETH) += veth.o
|