Lines Matching refs:sadb_x_policy_len
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()
2141 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_xfrm_policy2msg()
2169 pol->sadb_x_policy_len += req_size/8; in pfkey_xfrm_policy2msg()
2612 len = pol->sadb_x_policy_len * 8 - sizeof(struct sadb_x_policy); in pfkey_migrate()
3230 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_send_acquire()
3296 pol->sadb_x_policy_len*8 > len || in pfkey_compile_policy()
3322 if (len >= (pol->sadb_x_policy_len*8 + in pfkey_compile_policy()
3327 p += pol->sadb_x_policy_len*8; in pfkey_compile_policy()
3329 if (len < pol->sadb_x_policy_len*8 + in pfkey_compile_policy()
3622 pol->sadb_x_policy_len = size_pol / 8; in pfkey_send_migrate()