Lines Matching refs:sadb_x_policy

364 	[SADB_X_EXT_POLICY]		= (u8) sizeof(struct sadb_x_policy),
1942 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_policy *pol, in parse_ipsecrequest()
1994 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests()
1997 int len = pol->sadb_x_policy_len*8 - sizeof(struct sadb_x_policy); in parse_ipsecrequests()
2000 if (pol->sadb_x_policy_len * 8 < sizeof(struct sadb_x_policy)) in parse_ipsecrequests()
2044 sizeof(struct sadb_x_policy) + in pfkey_xfrm_policy2msg_size()
2069 struct sadb_x_policy *pol; in pfkey_xfrm_policy2msg()
2140 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_xfrm_policy2msg()
2141 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_xfrm_policy2msg()
2251 struct sadb_x_policy *pol; in pfkey_spdadd()
2365 struct sadb_x_policy *pol; in pfkey_spddelete()
2553 struct sadb_x_policy *pol; in pfkey_migrate()
2612 len = pol->sadb_x_policy_len * 8 - sizeof(struct sadb_x_policy); in pfkey_migrate()
2651 struct sadb_x_policy *pol; in pfkey_spdget()
3158 struct sadb_x_policy *pol; in pfkey_send_acquire()
3173 sizeof(struct sadb_x_policy); in pfkey_send_acquire()
3229 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_acquire()
3230 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_send_acquire()
3270 struct sadb_x_policy *pol = (struct sadb_x_policy*)data; in pfkey_compile_policy()
3295 if (len < sizeof(struct sadb_x_policy) || in pfkey_compile_policy()
3559 struct sadb_x_policy *pol; in pfkey_send_migrate()
3581 size_pol += sizeof(struct sadb_x_policy); in pfkey_send_migrate()
3621 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_migrate()