diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-06-18 22:44:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-18 22:44:00 -0700 |
commit | bf08867f91a43aa3ba2e4598c06c4769a6cdddf6 (patch) | |
tree | 316504b4756a32d802ea037815f2d9022ab88bfe /include | |
parent | 4f09f0bbc1cb3c74e8f2047ad4be201a059829ee (diff) |
[IPSEC] Turn km_event.data into a union
This patch turns km_event.data into a union. This makes code that
uses it clearer.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/xfrm.h | 7 |
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; |