Lines Matching full:vlan
3 * vlanproc.c VLAN Module. /proc filesystem interface.
31 #include "vlan.h"
51 static const char name_root[] = "vlan";
56 * VLAN creates its own directory /proc/net/vlan with the following
63 * Generic /proc/net/vlan/<file> file and inode operations
89 * Clean up /proc/net/vlan entries
108 * Create /proc/net/vlan entries
133 * Add directory entry for VLAN device.
138 struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); in vlan_proc_add_dev() local
143 vlan->dent = proc_create_single_data(vlandev->name, S_IFREG | 0600, in vlan_proc_add_dev()
145 if (!vlan->dent) in vlan_proc_add_dev()
151 * Delete directory entry for VLAN device.
163 * The following few functions build the content of /proc/net/vlan/config
210 seq_puts(seq, "VLAN Dev name | VLAN ID\n"); in vlan_seq_show()
219 const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); in vlan_seq_show() local
222 vlan->vlan_id, vlan->real_dev->name); in vlan_seq_show()
230 const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev); in vlandev_seq_show() local
242 vlandev->name, vlan->vlan_id, in vlandev_seq_show()
243 (int)(vlan->flags & 1), (u32)vlandev->priv_flags); in vlandev_seq_show()
251 seq_printf(seq, "Device: %s", vlan->real_dev->name); in vlandev_seq_show()
252 /* now show all PRIORITY mappings relating to this VLAN */ in vlandev_seq_show()
255 vlan->ingress_priority_map[0], in vlandev_seq_show()
256 vlan->ingress_priority_map[1], in vlandev_seq_show()
257 vlan->ingress_priority_map[2], in vlandev_seq_show()
258 vlan->ingress_priority_map[3], in vlandev_seq_show()
259 vlan->ingress_priority_map[4], in vlandev_seq_show()
260 vlan->ingress_priority_map[5], in vlandev_seq_show()
261 vlan->ingress_priority_map[6], in vlandev_seq_show()
262 vlan->ingress_priority_map[7]); in vlandev_seq_show()
267 = vlan->egress_priority_map[i]; in vlandev_seq_show()