diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/xfrm.h | 1 | ||||
-rw-r--r-- | include/net/xfrm.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 5154064b6d95..66343d3d4b91 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
@@ -234,6 +234,7 @@ enum xfrm_attr_type_t { | |||
234 | XFRMA_REPLAY_VAL, | 234 | XFRMA_REPLAY_VAL, |
235 | XFRMA_REPLAY_THRESH, | 235 | XFRMA_REPLAY_THRESH, |
236 | XFRMA_ETIMER_THRESH, | 236 | XFRMA_ETIMER_THRESH, |
237 | XFRMA_SRCADDR, /* xfrm_address_t */ | ||
237 | __XFRMA_MAX | 238 | __XFRMA_MAX |
238 | 239 | ||
239 | #define XFRMA_MAX (__XFRMA_MAX - 1) | 240 | #define XFRMA_MAX (__XFRMA_MAX - 1) |
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 88145e3348d0..d9c40e713184 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -244,6 +244,7 @@ struct xfrm_state_afinfo { | |||
244 | struct xfrm_tmpl *tmpl, | 244 | struct xfrm_tmpl *tmpl, |
245 | xfrm_address_t *daddr, xfrm_address_t *saddr); | 245 | xfrm_address_t *daddr, xfrm_address_t *saddr); |
246 | struct xfrm_state *(*state_lookup)(xfrm_address_t *daddr, u32 spi, u8 proto); | 246 | struct xfrm_state *(*state_lookup)(xfrm_address_t *daddr, u32 spi, u8 proto); |
247 | struct xfrm_state *(*state_lookup_byaddr)(xfrm_address_t *daddr, xfrm_address_t *saddr, u8 proto); | ||
247 | struct xfrm_state *(*find_acq)(u8 mode, u32 reqid, u8 proto, | 248 | struct xfrm_state *(*find_acq)(u8 mode, u32 reqid, u8 proto, |
248 | xfrm_address_t *daddr, xfrm_address_t *saddr, | 249 | xfrm_address_t *daddr, xfrm_address_t *saddr, |
249 | int create); | 250 | int create); |
@@ -937,6 +938,7 @@ extern void xfrm_state_insert(struct xfrm_state *x); | |||
937 | extern int xfrm_state_add(struct xfrm_state *x); | 938 | extern int xfrm_state_add(struct xfrm_state *x); |
938 | extern int xfrm_state_update(struct xfrm_state *x); | 939 | extern int xfrm_state_update(struct xfrm_state *x); |
939 | extern struct xfrm_state *xfrm_state_lookup(xfrm_address_t *daddr, u32 spi, u8 proto, unsigned short family); | 940 | extern struct xfrm_state *xfrm_state_lookup(xfrm_address_t *daddr, u32 spi, u8 proto, unsigned short family); |
941 | extern struct xfrm_state *xfrm_state_lookup_byaddr(xfrm_address_t *daddr, xfrm_address_t *saddr, u8 proto, unsigned short family); | ||
940 | extern struct xfrm_state *xfrm_find_acq_byseq(u32 seq); | 942 | extern struct xfrm_state *xfrm_find_acq_byseq(u32 seq); |
941 | extern int xfrm_state_delete(struct xfrm_state *x); | 943 | extern int xfrm_state_delete(struct xfrm_state *x); |
942 | extern void xfrm_state_flush(u8 proto); | 944 | extern void xfrm_state_flush(u8 proto); |