Searched refs:reqid (Results 1 – 9 of 9) sorted by relevance
/net/xfrm/ |
D | xfrm_state.c | 43 u32 reqid, in xfrm_dst_hash() argument 46 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash() 77 x->props.reqid, x->props.family, in xfrm_hash_transfer() 783 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find() 786 x->props.reqid == tmpl->reqid && in xfrm_state_find() 799 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find() 802 x->props.reqid == tmpl->reqid && in xfrm_state_find() 887 unsigned short family, u8 mode, u8 proto, u32 reqid) in xfrm_stateonly_find() argument 893 h = xfrm_dst_hash(net, daddr, saddr, reqid, family); in xfrm_stateonly_find() 896 x->props.reqid == reqid && in xfrm_stateonly_find() [all …]
|
D | xfrm_hash.h | 86 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument 89 unsigned int h = family ^ reqid; in __xfrm_dst_hash()
|
D | xfrm_user.c | 454 x->props.reqid = p->reqid; in copy_from_user_state() 723 p->reqid = x->props.reqid; in copy_to_user_state() 1216 x = xfrm_find_acq(net, &m, p->info.mode, p->info.reqid, in xfrm_alloc_userspi() 1345 t->reqid = ut->reqid; in copy_templates() 1550 up->reqid = kp->reqid; in copy_to_user_tmpl() 1832 id->reqid = x->props.reqid; in build_aevent() 2127 x->props.reqid = t->reqid; in xfrm_add_acquire() 2182 ma->reqid = um->reqid; in copy_from_user_migrate() 2243 um.reqid = m->reqid; in copy_to_user_migrate() 3069 um->reqid = x->props.reqid; in build_mapping()
|
D | xfrm_policy.c | 2327 (x->props.reqid == tmpl->reqid || !tmpl->reqid) && in xfrm_state_ok() 3144 (m->reqid == 0 || t->reqid == m->reqid)) { in migrate_tmpl_match() 3234 m[i].reqid == m[j].reqid && in xfrm_migrate_check()
|
/net/ipv4/ |
D | xfrm4_state.c | 53 x->props.reqid = tmpl->reqid; in xfrm4_init_temprop()
|
/net/key/ |
D | af_key.c | 996 sa2->sadb_x_sa2_reqid = x->props.reqid; in __pfkey_xfrm_state2msg() 1247 x->props.reqid = sa2->sadb_x_sa2_reqid; in pfkey_msg2xfrm_state() 1318 u32 reqid; in pfkey_getspi() local 1335 reqid = sa2->sadb_x_sa2_reqid; in pfkey_getspi() 1338 reqid = 0; in pfkey_getspi() 1367 x = xfrm_find_acq(net, &dummy_mark, mode, reqid, proto, xdaddr, xsaddr, 1, family); in pfkey_getspi() 1903 u32 reqid = *(u32*)ptr; in check_reqid() local 1906 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid() 1917 static u32 reqid = IPSEC_MANUAL_REQID_MAX; in gen_reqid() local 1919 start = reqid; in gen_reqid() [all …]
|
/net/ipv6/ |
D | xfrm6_state.c | 54 x->props.reqid = tmpl->reqid; in xfrm6_init_temprop()
|
/net/netfilter/ |
D | xt_policy.c | 51 MATCH(reqid, x->props.reqid); in match_xfrm_state()
|
/net/core/ |
D | net_namespace.c | 151 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() argument 157 if (reqid >= 0) { in alloc_netid() 158 min = reqid; in alloc_netid() 159 max = reqid + 1; in alloc_netid()
|