Lines Matching refs:vlan
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
138 struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev);
143 vlan->dent = proc_create_single_data(vlandev->name, S_IFREG | 0600,
145 if (!vlan->dent)
163 * The following few functions build the content of /proc/net/vlan/config
166 /* start read of /proc/net/vlan/config */
233 const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev);
236 vlan->vlan_id, vlan->real_dev->name);
244 const struct vlan_dev_priv *vlan = vlan_dev_priv(vlandev);
256 vlandev->name, vlan->vlan_id,
257 (int)(vlan->flags & 1), vlandev->priv_flags);
265 seq_printf(seq, "Device: %s", vlan->real_dev->name);
269 vlan->ingress_priority_map[0],
270 vlan->ingress_priority_map[1],
271 vlan->ingress_priority_map[2],
272 vlan->ingress_priority_map[3],
273 vlan->ingress_priority_map[4],
274 vlan->ingress_priority_map[5],
275 vlan->ingress_priority_map[6],
276 vlan->ingress_priority_map[7]);
281 = vlan->egress_priority_map[i];