Searched refs:if_id (Results 1 – 4 of 4) sorted by relevance
/net/xfrm/ |
D | xfrm_interface.c | 65 if (x->if_id == xi->p.if_id && in xfrmi_lookup() 201 if (xi->p.if_id == p->if_id) { in xfrmi_locate() 317 dst = xfrm_lookup_with_ifid(xi->net, dst, fl, NULL, 0, xi->p.if_id); in xfrmi_xmit2() 328 if (x->if_id != xi->p.if_id) in xfrmi_xmit2() 540 xi->p.if_id = p->if_id; in xfrmi_change() 670 parms->if_id = nla_get_u32(data[IFLA_XFRM_IF_ID]); in xfrmi_netlink_parms() 737 nla_put_u32(skb, IFLA_XFRM_IF_ID, parm->if_id)) in xfrmi_fill_info()
|
D | xfrm_policy.c | 759 pol->if_id == policy->if_id && in xfrm_policy_insert() 811 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u32 if_id, in xfrm_policy_bysel_ctx() argument 826 pol->if_id == if_id && in xfrm_policy_bysel_ctx() 852 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u32 if_id, in xfrm_policy_byid() argument 869 pol->if_id == if_id && in xfrm_policy_byid() 1073 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_match() argument 1080 pol->if_id != if_id || in xfrm_policy_match() 1096 u32 if_id) in xfrm_policy_lookup_bytype() argument 1120 err = xfrm_policy_match(pol, fl, type, family, dir, if_id); in xfrm_policy_lookup_bytype() 1139 err = xfrm_policy_match(pol, fl, type, family, dir, if_id); in xfrm_policy_lookup_bytype() [all …]
|
D | xfrm_state.c | 935 unsigned short family, u32 if_id) in xfrm_state_find() argument 959 x->if_id == if_id && in xfrm_state_find() 976 x->if_id == if_id && in xfrm_state_find() 1016 x->if_id = if_id; in xfrm_state_find() 1074 xfrm_stateonly_find(struct net *net, u32 mark, u32 if_id, in xfrm_stateonly_find() argument 1087 x->if_id == if_id && in xfrm_stateonly_find() 1168 u32 if_id = xnew->if_id; in __xfrm_state_bump_genids() local 1174 x->if_id == if_id && in __xfrm_state_bump_genids() 1197 u32 reqid, u32 if_id, u8 proto, in __find_acq_core() argument 1252 x->if_id = if_id; in __find_acq_core() [all …]
|
D | xfrm_user.c | 624 x->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_state_construct() 957 if (x->if_id) { in copy_to_user_state_extra() 958 ret = nla_put_u32(skb, XFRMA_IF_ID, x->if_id); in copy_to_user_state_extra() 1310 u32 if_id = 0; in xfrm_alloc_userspi() local 1325 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_alloc_userspi() 1337 if_id, p->info.id.proto, daddr, in xfrm_alloc_userspi() 1628 xp->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_policy_construct() 1778 err = xfrm_if_id_put(skb, xp->if_id); in dump_one_policy() 1860 u32 if_id = 0; in xfrm_get_policy() local 1874 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_get_policy() [all …]
|