Searched refs:if_id (Results 1 – 4 of 4) sorted by relevance
/net/xfrm/ |
D | xfrm_policy.c | 117 u32 if_id; member 177 u32 if_id); 181 u8 type, u16 family, u8 dir, u32 if_id); 705 .if_id = pol->if_id, in xfrm_policy_inexact_alloc_bin() 1460 return jhash_3words(a, k->if_id, net_hash_mix(read_pnet(&k->net)), in xfrm_pol_bin_key() 1493 return b->k.if_id ^ key->if_id; in xfrm_pol_bin_cmp() 1513 pol->if_id == policy->if_id && in xfrm_policy_insert_inexact_list() 1548 pol->if_id == policy->if_id && in xfrm_policy_insert_list() 1623 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx() argument 1633 pol->if_id == if_id && in __xfrm_policy_bysel_ctx() [all …]
|
D | xfrm_interface_core.c | 65 if (x->if_id == xi->p.if_id && in xfrmi_lookup() 166 if (xi->p.if_id == p->if_id) in xfrmi_locate() 272 dst = xfrm_lookup_with_ifid(xi->net, dst, fl, NULL, 0, xi->p.if_id); in xfrmi_xmit2() 283 if (x->if_id != xi->p.if_id) in xfrmi_xmit2() 525 xi->p.if_id = p->if_id; in xfrmi_change() 657 parms->if_id = nla_get_u32(data[IFLA_XFRM_IF_ID]); in xfrmi_netlink_parms() 670 if (!p.if_id) { in xfrmi_newlink() 702 if (!p.if_id) { in xfrmi_changelink() 734 nla_put_u32(skb, IFLA_XFRM_IF_ID, parm->if_id)) in xfrmi_fill_info()
|
D | xfrm_state.c | 1045 unsigned short family, u32 if_id) in xfrm_state_find() argument 1069 x->if_id == if_id && in xfrm_state_find() 1086 x->if_id == if_id && in xfrm_state_find() 1126 x->if_id = if_id; in xfrm_state_find() 1186 xfrm_stateonly_find(struct net *net, u32 mark, u32 if_id, in xfrm_stateonly_find() argument 1199 x->if_id == if_id && in xfrm_stateonly_find() 1280 u32 if_id = xnew->if_id; in __xfrm_state_bump_genids() local 1286 x->if_id == if_id && in __xfrm_state_bump_genids() 1309 u32 reqid, u32 if_id, u8 proto, in __find_acq_core() argument 1364 x->if_id = if_id; in __find_acq_core() [all …]
|
D | xfrm_user.c | 625 x->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_state_construct() 962 if (x->if_id) { in copy_to_user_state_extra() 963 ret = nla_put_u32(skb, XFRMA_IF_ID, x->if_id); in copy_to_user_state_extra() 1351 u32 if_id = 0; in xfrm_alloc_userspi() local 1366 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_alloc_userspi() 1378 if_id, p->info.id.proto, daddr, in xfrm_alloc_userspi() 1680 xp->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_policy_construct() 1834 err = xfrm_if_id_put(skb, xp->if_id); in dump_one_policy() 1927 u32 if_id = 0; in xfrm_get_policy() local 1941 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_get_policy() [all …]
|