Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_state.c48 u32 reqid, in xfrm_dst_hash() argument
51 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash()
82 x->props.reqid, x->props.family, in xfrm_hash_transfer()
807 h = xfrm_dst_hash(net, daddr, saddr, tmpl->reqid, encap_family); in xfrm_state_find()
810 x->props.reqid == tmpl->reqid && in xfrm_state_find()
823 h_wildcard = xfrm_dst_hash(net, daddr, &saddr_wildcard, tmpl->reqid, encap_family); in xfrm_state_find()
826 x->props.reqid == tmpl->reqid && in xfrm_state_find()
900 unsigned short family, u8 mode, u8 proto, u32 reqid) in xfrm_stateonly_find() argument
906 h = xfrm_dst_hash(net, daddr, saddr, reqid, family); in xfrm_stateonly_find()
909 x->props.reqid == reqid && in xfrm_stateonly_find()
[all …]
Dxfrm_hash.h33 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument
36 unsigned int h = family ^ reqid; in __xfrm_dst_hash()
Dxfrm_user.c450 x->props.reqid = p->reqid; in copy_from_user_state()
727 p->reqid = x->props.reqid; in copy_to_user_state()
1140 x = xfrm_find_acq(net, &m, p->info.mode, p->info.reqid, in xfrm_alloc_userspi()
1261 t->reqid = ut->reqid; in copy_templates()
1470 up->reqid = kp->reqid; in copy_to_user_tmpl()
1759 id->reqid = x->props.reqid; in build_aevent()
2069 x->props.reqid = t->reqid; in xfrm_add_acquire()
2124 ma->reqid = um->reqid; in copy_from_user_migrate()
2184 um.reqid = m->reqid; in copy_to_user_migrate()
2991 um->reqid = x->props.reqid; in build_mapping()
Dxfrm_policy.c2235 (x->props.reqid == tmpl->reqid || !tmpl->reqid) && in xfrm_state_ok()
3095 (m->reqid == 0 || t->reqid == m->reqid)) { in migrate_tmpl_match()
3185 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.c971 sa2->sadb_x_sa2_reqid = x->props.reqid; in __pfkey_xfrm_state2msg()
1218 x->props.reqid = sa2->sadb_x_sa2_reqid; in pfkey_msg2xfrm_state()
1287 u32 reqid; in pfkey_getspi() local
1304 reqid = sa2->sadb_x_sa2_reqid; in pfkey_getspi()
1307 reqid = 0; in pfkey_getspi()
1336 x = xfrm_find_acq(net, &dummy_mark, mode, reqid, proto, xdaddr, xsaddr, 1, family); in pfkey_getspi()
1848 u32 reqid = *(u32*)ptr; in check_reqid() local
1851 if (xp->xfrm_vec[i].reqid == reqid) in check_reqid()
1862 static u32 reqid = IPSEC_MANUAL_REQID_MAX; in gen_reqid() local
1864 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()