diff options
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 9ebbdc1dd471..0b223eed4c9b 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -381,6 +381,7 @@ struct xfrm_mgr | |||
381 | struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); | 381 | struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); |
382 | int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport); | 382 | int (*new_mapping)(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport); |
383 | int (*notify_policy)(struct xfrm_policy *x, int dir, struct km_event *c); | 383 | int (*notify_policy)(struct xfrm_policy *x, int dir, struct km_event *c); |
384 | int (*report)(u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); | ||
384 | }; | 385 | }; |
385 | 386 | ||
386 | extern int xfrm_register_km(struct xfrm_mgr *km); | 387 | extern int xfrm_register_km(struct xfrm_mgr *km); |
@@ -1043,6 +1044,7 @@ extern void xfrm_init_pmtu(struct dst_entry *dst); | |||
1043 | extern wait_queue_head_t km_waitq; | 1044 | extern wait_queue_head_t km_waitq; |
1044 | extern int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport); | 1045 | extern int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport); |
1045 | extern void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid); | 1046 | extern void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid); |
1047 | extern int km_report(u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); | ||
1046 | 1048 | ||
1047 | extern void xfrm_input_init(void); | 1049 | extern void xfrm_input_init(void); |
1048 | extern int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, u32 *spi, u32 *seq); | 1050 | extern int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, u32 *spi, u32 *seq); |