Lines Matching refs:reqid

996 	sa2->sadb_x_sa2_reqid = x->props.reqid;  in __pfkey_xfrm_state2msg()
1246 x->props.reqid = sa2->sadb_x_sa2_reqid; in pfkey_msg2xfrm_state()
1317 u32 reqid; in pfkey_getspi() local
1334 reqid = sa2->sadb_x_sa2_reqid; in pfkey_getspi()
1337 reqid = 0; in pfkey_getspi()
1366 x = xfrm_find_acq(net, &dummy_mark, mode, reqid, 0, proto, xdaddr, xsaddr, 1, family); in pfkey_getspi()
1912 u32 reqid = *(u32*)ptr; in check_reqid() local
1915 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1926 static u32 reqid = IPSEC_MANUAL_REQID_MAX; in gen_reqid() local
1928 start = reqid; in gen_reqid()
1930 ++reqid; in gen_reqid()
1931 if (reqid == 0) in gen_reqid()
1932 reqid = IPSEC_MANUAL_REQID_MAX+1; in gen_reqid()
1934 rc = xfrm_policy_walk(net, &walk, check_reqid, (void*)&reqid); in gen_reqid()
1937 return reqid; in gen_reqid()
1938 } while (reqid != start); in gen_reqid()
1964 t->reqid = rq->sadb_x_ipsecrequest_reqid; in parse_ipsecrequest()
1965 if (t->reqid > IPSEC_MANUAL_REQID_MAX) in parse_ipsecrequest()
1966 t->reqid = 0; in parse_ipsecrequest()
1967 if (!t->reqid && !(t->reqid = gen_reqid(net))) in parse_ipsecrequest()
2174 if (t->reqid) in pfkey_xfrm_policy2msg()
2178 rq->sadb_x_ipsecrequest_reqid = t->reqid; in pfkey_xfrm_policy2msg()
2537 m->reqid = rq1->sadb_x_ipsecrequest_reqid; in ipsecrequests_to_migrate()
3505 uint32_t reqid, uint8_t family, in set_ipsecrequest() argument
3521 rq->sadb_x_ipsecrequest_reqid = reqid; in set_ipsecrequest()
3621 (mp->reqid ? IPSEC_LEVEL_UNIQUE : IPSEC_LEVEL_REQUIRE), in pfkey_send_migrate()
3622 mp->reqid, mp->old_family, in pfkey_send_migrate()
3628 (mp->reqid ? IPSEC_LEVEL_UNIQUE : IPSEC_LEVEL_REQUIRE), in pfkey_send_migrate()
3629 mp->reqid, mp->new_family, in pfkey_send_migrate()