diff options
Diffstat (limited to 'include/net')
-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); |