patch-2.4.25 linux-2.4.25/net/8021q/vlan.h

Next file: linux-2.4.25/net/8021q/vlan_dev.c
Previous file: linux-2.4.25/net/8021q/vlan.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/net/8021q/vlan.h linux-2.4.25/net/8021q/vlan.h
@@ -73,5 +73,7 @@
 int vlan_dev_set_egress_priority(char* dev_name, __u32 skb_prio, short vlan_prio);
 int vlan_dev_set_vlan_flag(char* dev_name, __u32 flag, short flag_val);
 void vlan_dev_set_multicast_list(struct net_device *vlan_dev);
+int vlan_dev_get_realdev_name(const char *dev_name, char* result);
+int vlan_dev_get_vid(const char *dev_name, unsigned short* result);
 
 #endif /* !(__BEN_VLAN_802_1Q_INC__) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)