Commit 0e715d6f authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller

vxlan: cleanup types

include/net/vxlan.h is a kernel header, no need to prefix fixed size types
with double underscore.
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e3e17b77
...@@ -30,15 +30,15 @@ ...@@ -30,15 +30,15 @@
* [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy * [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy
*/ */
struct vxlanhdr_gbp { struct vxlanhdr_gbp {
__u8 vx_flags; u8 vx_flags;
#ifdef __LITTLE_ENDIAN_BITFIELD #ifdef __LITTLE_ENDIAN_BITFIELD
__u8 reserved_flags1:3, u8 reserved_flags1:3,
policy_applied:1, policy_applied:1,
reserved_flags2:2, reserved_flags2:2,
dont_learn:1, dont_learn:1,
reserved_flags3:1; reserved_flags3:1;
#elif defined(__BIG_ENDIAN_BITFIELD) #elif defined(__BIG_ENDIAN_BITFIELD)
__u8 reserved_flags1:1, u8 reserved_flags1:1,
dont_learn:1, dont_learn:1,
reserved_flags2:2, reserved_flags2:2,
policy_applied:1, policy_applied:1,
...@@ -138,10 +138,10 @@ struct vxlan_config { ...@@ -138,10 +138,10 @@ struct vxlan_config {
int remote_ifindex; int remote_ifindex;
int mtu; int mtu;
__be16 dst_port; __be16 dst_port;
__u16 port_min; u16 port_min;
__u16 port_max; u16 port_max;
__u8 tos; u8 tos;
__u8 ttl; u8 ttl;
u32 flags; u32 flags;
unsigned long age_interval; unsigned long age_interval;
unsigned int addrmax; unsigned int addrmax;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment