Home
last modified time | relevance | path

Searched refs:rq1 (Results 1 – 1 of 1) sorted by relevance

/net/key/
Daf_key.c2500 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate() argument
2507 if (len < sizeof(*rq1) || in ipsecrequests_to_migrate()
2508 len < rq1->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2509 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1)) in ipsecrequests_to_migrate()
2513 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), in ipsecrequests_to_migrate()
2514 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1), in ipsecrequests_to_migrate()
2520 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2521 len -= rq1->sadb_x_ipsecrequest_len; in ipsecrequests_to_migrate()
2536 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || in ipsecrequests_to_migrate()
2537 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || in ipsecrequests_to_migrate()
[all …]