Lines Matching refs:sadb_x_policy

364 	[SADB_X_EXT_POLICY]		= (u8) sizeof(struct sadb_x_policy),
1991 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests()
1994 int len = pol->sadb_x_policy_len*8 - sizeof(struct sadb_x_policy); in parse_ipsecrequests()
1997 if (pol->sadb_x_policy_len * 8 < sizeof(struct sadb_x_policy)) in parse_ipsecrequests()
2041 sizeof(struct sadb_x_policy) + in pfkey_xfrm_policy2msg_size()
2066 struct sadb_x_policy *pol; in pfkey_xfrm_policy2msg()
2137 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_xfrm_policy2msg()
2138 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_xfrm_policy2msg()
2248 struct sadb_x_policy *pol; in pfkey_spdadd()
2362 struct sadb_x_policy *pol; in pfkey_spddelete()
2550 struct sadb_x_policy *pol; in pfkey_migrate()
2609 len = pol->sadb_x_policy_len * 8 - sizeof(struct sadb_x_policy); in pfkey_migrate()
2648 struct sadb_x_policy *pol; in pfkey_spdget()
3155 struct sadb_x_policy *pol; in pfkey_send_acquire()
3170 sizeof(struct sadb_x_policy); in pfkey_send_acquire()
3226 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_acquire()
3227 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_send_acquire()
3267 struct sadb_x_policy *pol = (struct sadb_x_policy*)data; in pfkey_compile_policy()
3292 if (len < sizeof(struct sadb_x_policy) || in pfkey_compile_policy()
3556 struct sadb_x_policy *pol; in pfkey_send_migrate()
3578 size_pol += sizeof(struct sadb_x_policy); in pfkey_send_migrate()
3618 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_migrate()