Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_state.c43 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 …]
Dxfrm_hash.h86 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument
89 unsigned int h = family ^ reqid; in __xfrm_dst_hash()
Dxfrm_user.c454 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()
Dxfrm_policy.c2327 (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/
Dxfrm4_state.c53 x->props.reqid = tmpl->reqid; in xfrm4_init_temprop()
/net/key/
Daf_key.c996 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/
Dxfrm6_state.c54 x->props.reqid = tmpl->reqid; in xfrm6_init_temprop()
/net/netfilter/
Dxt_policy.c51 MATCH(reqid, x->props.reqid); in match_xfrm_state()
/net/core/
Dnet_namespace.c151 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()