diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:51:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:51:01 -0500 |
commit | db983c1144884cab10d6397532f4bf05eb0c01d2 (patch) | |
tree | ebb86abdaeb916191424407881d52635019502cf /include/net/xfrm.h | |
parent | 7067802e262457a9737521e5669b622028b2283a (diff) |
netns xfrm: KM reporting in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 52e784fa2c50..f3ea1607c595 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -552,7 +552,7 @@ struct xfrm_mgr | |||
552 | struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); | 552 | struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); |
553 | int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); | 553 | int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); |
554 | int (*notify_policy)(struct xfrm_policy *x, int dir, struct km_event *c); | 554 | int (*notify_policy)(struct xfrm_policy *x, int dir, struct km_event *c); |
555 | int (*report)(u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); | 555 | int (*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); |
556 | int (*migrate)(struct xfrm_selector *sel, u8 dir, u8 type, struct xfrm_migrate *m, int num_bundles, struct xfrm_kmaddress *k); | 556 | int (*migrate)(struct xfrm_selector *sel, u8 dir, u8 type, struct xfrm_migrate *m, int num_bundles, struct xfrm_kmaddress *k); |
557 | }; | 557 | }; |
558 | 558 | ||
@@ -1471,7 +1471,7 @@ extern int xfrm_migrate(struct xfrm_selector *sel, u8 dir, u8 type, | |||
1471 | 1471 | ||
1472 | extern int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); | 1472 | extern int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport); |
1473 | extern void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid); | 1473 | extern void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid); |
1474 | extern int km_report(u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); | 1474 | extern int km_report(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); |
1475 | 1475 | ||
1476 | extern void xfrm_input_init(void); | 1476 | extern void xfrm_input_init(void); |
1477 | extern int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq); | 1477 | extern int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq); |