diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:51:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:51:25 -0500 |
commit | c5b3cf46eabe6e7459125fc6e2033b4222665017 (patch) | |
tree | a968ad567906d7b45270b9e91d534493f8a1a38d /include/net/xfrm.h | |
parent | db983c1144884cab10d6397532f4bf05eb0c01d2 (diff) |
netns xfrm: ->dst_lookup 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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index f3ea1607c595..b16d4c0b16e0 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -266,7 +266,8 @@ struct xfrm_policy_afinfo { | |||
266 | unsigned short family; | 266 | unsigned short family; |
267 | struct dst_ops *dst_ops; | 267 | struct dst_ops *dst_ops; |
268 | void (*garbage_collect)(struct net *net); | 268 | void (*garbage_collect)(struct net *net); |
269 | struct dst_entry *(*dst_lookup)(int tos, xfrm_address_t *saddr, | 269 | struct dst_entry *(*dst_lookup)(struct net *net, int tos, |
270 | xfrm_address_t *saddr, | ||
270 | xfrm_address_t *daddr); | 271 | xfrm_address_t *daddr); |
271 | int (*get_saddr)(xfrm_address_t *saddr, xfrm_address_t *daddr); | 272 | int (*get_saddr)(xfrm_address_t *saddr, xfrm_address_t *daddr); |
272 | struct dst_entry *(*find_bundle)(struct flowi *fl, struct xfrm_policy *policy); | 273 | struct dst_entry *(*find_bundle)(struct flowi *fl, struct xfrm_policy *policy); |