diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-02-02 12:09:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 13:50:59 -0500 |
commit | 0e715d6fbd2a4a1dcd215d6d51091346e6a3d3fa (patch) | |
tree | 8b5c416292e6167a0e24e32b9a2fcaec61b0d35c /include/net | |
parent | e3e17b773bfe45462b7f3fae20c550025975cb13 (diff) |
vxlan: cleanup types
include/net/vxlan.h is a kernel header, no need to prefix fixed size types
with double underscore.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/vxlan.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h index 0fb86442544b..5c64250619c5 100644 --- a/include/net/vxlan.h +++ b/include/net/vxlan.h | |||
@@ -30,15 +30,15 @@ | |||
30 | * [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy | 30 | * [0] https://tools.ietf.org/html/draft-smith-vxlan-group-policy |
31 | */ | 31 | */ |
32 | struct vxlanhdr_gbp { | 32 | struct vxlanhdr_gbp { |
33 | __u8 vx_flags; | 33 | u8 vx_flags; |
34 | #ifdef __LITTLE_ENDIAN_BITFIELD | 34 | #ifdef __LITTLE_ENDIAN_BITFIELD |
35 | __u8 reserved_flags1:3, | 35 | u8 reserved_flags1:3, |
36 | policy_applied:1, | 36 | policy_applied:1, |
37 | reserved_flags2:2, | 37 | reserved_flags2:2, |
38 | dont_learn:1, | 38 | dont_learn:1, |
39 | reserved_flags3:1; | 39 | reserved_flags3:1; |
40 | #elif defined(__BIG_ENDIAN_BITFIELD) | 40 | #elif defined(__BIG_ENDIAN_BITFIELD) |
41 | __u8 reserved_flags1:1, | 41 | u8 reserved_flags1:1, |
42 | dont_learn:1, | 42 | dont_learn:1, |
43 | reserved_flags2:2, | 43 | reserved_flags2:2, |
44 | policy_applied:1, | 44 | policy_applied:1, |
@@ -138,10 +138,10 @@ struct vxlan_config { | |||
138 | int remote_ifindex; | 138 | int remote_ifindex; |
139 | int mtu; | 139 | int mtu; |
140 | __be16 dst_port; | 140 | __be16 dst_port; |
141 | __u16 port_min; | 141 | u16 port_min; |
142 | __u16 port_max; | 142 | u16 port_max; |
143 | __u8 tos; | 143 | u8 tos; |
144 | __u8 ttl; | 144 | u8 ttl; |
145 | u32 flags; | 145 | u32 flags; |
146 | unsigned long age_interval; | 146 | unsigned long age_interval; |
147 | unsigned int addrmax; | 147 | unsigned int addrmax; |