diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 00:07:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 02:07:37 -0500 |
commit | 19bd62441c36279ab33e311faebd357ef04ba344 (patch) | |
tree | d9666f25d4212876d7feb0d75303ac246c8846ef /include/net | |
parent | 214e005bc32c7045b8554f9f0fb07b3fcce2cd42 (diff) |
xfrm: Const'ify tmpl and address arguments to ->init_temprop()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xfrm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 6ef5c374ef8..46f44703b61 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -302,8 +302,10 @@ struct xfrm_state_afinfo { | |||
302 | int (*init_flags)(struct xfrm_state *x); | 302 | int (*init_flags)(struct xfrm_state *x); |
303 | void (*init_tempsel)(struct xfrm_selector *sel, | 303 | void (*init_tempsel)(struct xfrm_selector *sel, |
304 | const struct flowi *fl); | 304 | const struct flowi *fl); |
305 | void (*init_temprop)(struct xfrm_state *x, struct xfrm_tmpl *tmpl, | 305 | void (*init_temprop)(struct xfrm_state *x, |
306 | xfrm_address_t *daddr, xfrm_address_t *saddr); | 306 | const struct xfrm_tmpl *tmpl, |
307 | const xfrm_address_t *daddr, | ||
308 | const xfrm_address_t *saddr); | ||
307 | int (*tmpl_sort)(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n); | 309 | int (*tmpl_sort)(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n); |
308 | int (*state_sort)(struct xfrm_state **dst, struct xfrm_state **src, int n); | 310 | int (*state_sort)(struct xfrm_state **dst, struct xfrm_state **src, int n); |
309 | int (*output)(struct sk_buff *skb); | 311 | int (*output)(struct sk_buff *skb); |