diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2014-03-06 12:24:29 -0500 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-03-07 02:12:37 -0500 |
commit | 870a2df4ca026817eb87bb2f9daaa60a93fd051a (patch) | |
tree | 4a52243174074e0fc5b1a838ae5cf3e31f688190 /include/uapi | |
parent | e50287be7c007a10e6e2e3332e52466faf4b6a04 (diff) |
xfrm: rename struct xfrm_filter
iproute2 already defines a structure with that name, let's use another one to
avoid any conflict.
CC: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/xfrm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/xfrm.h b/include/uapi/linux/xfrm.h index 6550c679584f..25e5dd916ba4 100644 --- a/include/uapi/linux/xfrm.h +++ b/include/uapi/linux/xfrm.h | |||
@@ -299,7 +299,7 @@ enum xfrm_attr_type_t { | |||
299 | XFRMA_REPLAY_ESN_VAL, /* struct xfrm_replay_esn */ | 299 | XFRMA_REPLAY_ESN_VAL, /* struct xfrm_replay_esn */ |
300 | XFRMA_SA_EXTRA_FLAGS, /* __u32 */ | 300 | XFRMA_SA_EXTRA_FLAGS, /* __u32 */ |
301 | XFRMA_PROTO, /* __u8 */ | 301 | XFRMA_PROTO, /* __u8 */ |
302 | XFRMA_FILTER, /* struct xfrm_filter */ | 302 | XFRMA_ADDRESS_FILTER, /* struct xfrm_address_filter */ |
303 | __XFRMA_MAX | 303 | __XFRMA_MAX |
304 | 304 | ||
305 | #define XFRMA_MAX (__XFRMA_MAX - 1) | 305 | #define XFRMA_MAX (__XFRMA_MAX - 1) |
@@ -476,7 +476,7 @@ struct xfrm_user_mapping { | |||
476 | __be16 new_sport; | 476 | __be16 new_sport; |
477 | }; | 477 | }; |
478 | 478 | ||
479 | struct xfrm_filter { | 479 | struct xfrm_address_filter { |
480 | xfrm_address_t saddr; | 480 | xfrm_address_t saddr; |
481 | xfrm_address_t daddr; | 481 | xfrm_address_t daddr; |
482 | __u16 family; | 482 | __u16 family; |