[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2014 15:36:05 +0100
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org, Nicolas Dichtel <nicolas.dichtel@...nd.com>
Subject: [PATCH iproute2 -next 1/3] ipxfrm: prepares update of include/linux/xfrm.h
'struct xfrm_filter' is now defined by the kernel API. Let's rename the one
defined in iproute2 to 'struct ipxfrm_filter'.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
---
ip/ipxfrm.c | 2 +-
ip/xfrm.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c
index cce51518170c..ff6cb2c2dda5 100644
--- a/ip/ipxfrm.c
+++ b/ip/ipxfrm.c
@@ -53,7 +53,7 @@
} \
} while(0);
-struct xfrm_filter filter;
+struct ipxfrm_filter filter;
static void usage(void) __attribute__((noreturn));
diff --git a/ip/xfrm.h b/ip/xfrm.h
index 773c92e99e9e..31cc89a0f19a 100644
--- a/ip/xfrm.h
+++ b/ip/xfrm.h
@@ -74,7 +74,7 @@ struct xfrm_buffer {
struct rtnl_handle *rth;
};
-struct xfrm_filter {
+struct ipxfrm_filter {
int use;
struct xfrm_usersa_info xsinfo;
@@ -105,7 +105,7 @@ struct xfrm_filter {
};
#define XFRM_FILTER_MASK_FULL (~0)
-extern struct xfrm_filter filter;
+extern struct ipxfrm_filter filter;
int xfrm_state_print(const struct sockaddr_nl *who, struct nlmsghdr *n,
void *arg);
--
1.8.5.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists