Lines Matching refs:if_id
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()
1946 xp = xfrm_policy_byid(net, &m, if_id, type, p->dir, in xfrm_get_policy()
1964 xp = xfrm_policy_bysel_ctx(net, &m, if_id, type, p->dir, in xfrm_get_policy()
2087 err = xfrm_if_id_put(skb, x->if_id); in build_aevent()
2232 u32 if_id = 0; in xfrm_add_pol_expire() local
2243 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_add_pol_expire()
2248 xp = xfrm_policy_byid(net, &m, if_id, type, p->dir, p->index, in xfrm_add_pol_expire()
2266 xp = xfrm_policy_bysel_ctx(net, &m, if_id, type, p->dir, in xfrm_add_pol_expire()
2438 u32 if_id = 0; in xfrm_do_migrate() local
2464 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_do_migrate()
2466 err = xfrm_migrate(&pi->sel, pi->dir, type, m, n, kmp, net, encap, if_id); in xfrm_do_migrate()
2823 err = xfrm_if_id_put(skb, x->if_id); in build_expire()
2925 if (x->if_id) in xfrm_sa_len()
2926 l += nla_total_size(sizeof(x->if_id)); in xfrm_sa_len()
3057 err = xfrm_if_id_put(skb, xp->if_id); in build_acquire()
3175 err = xfrm_if_id_put(skb, xp->if_id); in build_polexpire()
3258 err = xfrm_if_id_put(skb, xp->if_id); in xfrm_notify_policy()