Lines Matching refs:sadb_x_ipsecrequest
1943 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest()
1995 struct sadb_x_ipsecrequest *rq = (void*)(pol+1); in parse_ipsecrequests()
2042 (xp->xfrm_nr * sizeof(struct sadb_x_ipsecrequest)) + in pfkey_xfrm_policy2msg_size()
2154 struct sadb_x_ipsecrequest *rq; in pfkey_xfrm_policy2msg()
2158 req_size = sizeof(struct sadb_x_ipsecrequest); in pfkey_xfrm_policy2msg()
2492 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate()
2496 struct sadb_x_ipsecrequest *rq2; in ipsecrequests_to_migrate()
2512 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2551 struct sadb_x_ipsecrequest *rq; in pfkey_migrate()
2605 rq = (struct sadb_x_ipsecrequest *)(pol + 1); in pfkey_migrate()
2617 rq = (struct sadb_x_ipsecrequest *)((u8 *)rq + ret); in pfkey_migrate()
3520 struct sadb_x_ipsecrequest *rq; in set_ipsecrequest()
3525 size_req = sizeof(struct sadb_x_ipsecrequest) + in set_ipsecrequest()
3583 size_pol += sizeof(struct sadb_x_ipsecrequest) + in pfkey_send_migrate()
3586 size_pol += sizeof(struct sadb_x_ipsecrequest) + in pfkey_send_migrate()