Searched refs:veth (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/8021q/
H A Dvlan_dev.c53 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); local
55 switch (veth->h_vlan_encapsulated_proto) {
60 return arp_find(veth->h_dest, skb);
65 dev->name, ntohs(veth->h_vlan_encapsulated_proto));
67 memcpy(veth->h_source, dev->dev_addr, ETH_ALEN);
443 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb->data); local
451 if (veth->h_vlan_proto != htons(ETH_P_8021Q)) {
460 __FUNCTION__, htons(veth->h_vlan_proto));
486 veth->h_dest[0], veth
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_vlan.h248 struct vlan_ethhdr *veth; local
266 veth = (struct vlan_ethhdr *)skb_push(skb, VLAN_HLEN);
272 veth->h_vlan_proto = __constant_htons(ETH_P_8021Q);
275 veth->h_vlan_TCI = htons(tag);
330 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb->data; local
332 if (veth->h_vlan_proto != __constant_htons(ETH_P_8021Q)) {
336 *tag = ntohs(veth->h_vlan_TCI);

Completed in 68 milliseconds