aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_link.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-13 15:07:54 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:15:03 -0400
commit07b5b17e157b7018d0ca40ca0d1581a23096fb45 (patch)
tree6dd11652eb4cd1f6c008a6c57e7eaeca10aa9143 /include/linux/if_link.h
parenta4bf3af4ac46802436d352ef409cee4fe80445b3 (diff)
[VLAN]: Use rtnl_link API
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_link.h')
-rw-r--r--include/linux/if_link.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/linux/if_link.h b/include/linux/if_link.h
index 3144babd2357..422084d18ce1 100644
--- a/include/linux/if_link.h
+++ b/include/linux/if_link.h
@@ -153,4 +153,38 @@ enum
153 153
154#define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1) 154#define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
155 155
156/* VLAN section */
157
158enum
159{
160 IFLA_VLAN_UNSPEC,
161 IFLA_VLAN_ID,
162 IFLA_VLAN_FLAGS,
163 IFLA_VLAN_EGRESS_QOS,
164 IFLA_VLAN_INGRESS_QOS,
165 __IFLA_VLAN_MAX,
166};
167
168#define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
169
170struct ifla_vlan_flags {
171 __u32 flags;
172 __u32 mask;
173};
174
175enum
176{
177 IFLA_VLAN_QOS_UNSPEC,
178 IFLA_VLAN_QOS_MAPPING,
179 __IFLA_VLAN_QOS_MAX
180};
181
182#define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
183
184struct ifla_vlan_qos_mapping
185{
186 __u32 from;
187 __u32 to;
188};
189
156#endif /* _LINUX_IF_LINK_H */ 190#endif /* _LINUX_IF_LINK_H */