summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xfrm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index aaa0f5f330e..fda356e8101 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -173,7 +173,12 @@ enum {
/* callback structure passed from either netlink or pfkey */
struct km_event
{
- u32 data;
+ union {
+ u32 hard;
+ u32 proto;
+ u32 byid;
+ } data;
+
u32 seq;
u32 pid;
u32 event;