diff options
| author | stephen hemminger <stephen@networkplumber.org> | 2013-04-27 07:31:57 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-04-29 11:53:12 -0400 |
| commit | 823aa873bc782f1c51b1ce8ec6da7cfcaf93836e (patch) | |
| tree | b7560367bf1a18136ec352c053cd14c6466f6004 /include/uapi/linux | |
| parent | 7d836a7679a85f75bbc96d631b4007a78396b190 (diff) | |
vxlan: allow choosing destination port per vxlan
Allow configuring the default destination port on a per-device basis.
Adds new netlink paramater IFLA_VXLAN_PORT to allow setting destination
port when creating new vxlan.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_link.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 5346131524e4..b05823cae784 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h | |||
| @@ -305,11 +305,12 @@ enum { | |||
| 305 | IFLA_VXLAN_LEARNING, | 305 | IFLA_VXLAN_LEARNING, |
| 306 | IFLA_VXLAN_AGEING, | 306 | IFLA_VXLAN_AGEING, |
| 307 | IFLA_VXLAN_LIMIT, | 307 | IFLA_VXLAN_LIMIT, |
| 308 | IFLA_VXLAN_PORT_RANGE, | 308 | IFLA_VXLAN_PORT_RANGE, /* source port */ |
| 309 | IFLA_VXLAN_PROXY, | 309 | IFLA_VXLAN_PROXY, |
| 310 | IFLA_VXLAN_RSC, | 310 | IFLA_VXLAN_RSC, |
| 311 | IFLA_VXLAN_L2MISS, | 311 | IFLA_VXLAN_L2MISS, |
| 312 | IFLA_VXLAN_L3MISS, | 312 | IFLA_VXLAN_L3MISS, |
| 313 | IFLA_VXLAN_PORT, /* destination port */ | ||
| 313 | __IFLA_VXLAN_MAX | 314 | __IFLA_VXLAN_MAX |
| 314 | }; | 315 | }; |
| 315 | #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) | 316 | #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) |
