Lines Matching refs:sadb_x_ipsecrequest_len
1980 rq->sadb_x_ipsecrequest_len - sizeof(*rq), in parse_ipsecrequest()
2004 if (len < rq->sadb_x_ipsecrequest_len || in parse_ipsecrequests()
2005 rq->sadb_x_ipsecrequest_len < sizeof(*rq)) in parse_ipsecrequests()
2010 len -= rq->sadb_x_ipsecrequest_len; in parse_ipsecrequests()
2011 rq = (void*)((u8*)rq + rq->sadb_x_ipsecrequest_len); in parse_ipsecrequests()
2171 rq->sadb_x_ipsecrequest_len = req_size; in pfkey_xfrm_policy2msg()
2503 len < rq1->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2504 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1)) in ipsecrequests_to_migrate()
2509 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1), in ipsecrequests_to_migrate()
2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2516 len -= rq1->sadb_x_ipsecrequest_len; in ipsecrequests_to_migrate()
2519 len < rq2->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2520 rq2->sadb_x_ipsecrequest_len < sizeof(*rq2)) in ipsecrequests_to_migrate()
2525 rq2->sadb_x_ipsecrequest_len - sizeof(*rq2), in ipsecrequests_to_migrate()
2542 return ((int)(rq1->sadb_x_ipsecrequest_len + in ipsecrequests_to_migrate()
2543 rq2->sadb_x_ipsecrequest_len)); in ipsecrequests_to_migrate()
3532 rq->sadb_x_ipsecrequest_len = size_req; in set_ipsecrequest()