Lines Matching refs:sadb_x_ipsecrequest
1943 struct sadb_x_ipsecrequest *rq) in parse_ipsecrequest()
1998 struct sadb_x_ipsecrequest *rq = (void*)(pol+1); in parse_ipsecrequests()
2045 (xp->xfrm_nr * sizeof(struct sadb_x_ipsecrequest)) + in pfkey_xfrm_policy2msg_size()
2157 struct sadb_x_ipsecrequest *rq; in pfkey_xfrm_policy2msg()
2161 req_size = sizeof(struct sadb_x_ipsecrequest); in pfkey_xfrm_policy2msg()
2495 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate()
2499 struct sadb_x_ipsecrequest *rq2; in ipsecrequests_to_migrate()
2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2554 struct sadb_x_ipsecrequest *rq; in pfkey_migrate()
2608 rq = (struct sadb_x_ipsecrequest *)(pol + 1); in pfkey_migrate()
2620 rq = (struct sadb_x_ipsecrequest *)((u8 *)rq + ret); in pfkey_migrate()
3523 struct sadb_x_ipsecrequest *rq; in set_ipsecrequest()
3528 size_req = sizeof(struct sadb_x_ipsecrequest) + in set_ipsecrequest()
3586 size_pol += sizeof(struct sadb_x_ipsecrequest) + in pfkey_send_migrate()
3589 size_pol += sizeof(struct sadb_x_ipsecrequest) + in pfkey_send_migrate()