Lines Matching refs:if_id
625 x->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_state_construct()
1022 if (x->if_id) { in copy_to_user_state_extra()
1023 ret = nla_put_u32(skb, XFRMA_IF_ID, x->if_id); in copy_to_user_state_extra()
1402 u32 if_id = 0; in xfrm_alloc_userspi() local
1417 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_alloc_userspi()
1429 if_id, p->info.id.proto, daddr, in xfrm_alloc_userspi()
1731 xp->if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_policy_construct()
1882 err = xfrm_if_id_put(skb, xp->if_id); in dump_one_policy()
2071 u32 if_id = 0; in xfrm_get_policy() local
2085 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_get_policy()
2090 xp = xfrm_policy_byid(net, &m, if_id, type, p->dir, in xfrm_get_policy()
2108 xp = xfrm_policy_bysel_ctx(net, &m, if_id, type, p->dir, in xfrm_get_policy()
2231 err = xfrm_if_id_put(skb, x->if_id); in build_aevent()
2376 u32 if_id = 0; in xfrm_add_pol_expire() local
2387 if_id = nla_get_u32(attrs[XFRMA_IF_ID]); in xfrm_add_pol_expire()
2392 xp = xfrm_policy_byid(net, &m, if_id, type, p->dir, p->index, in xfrm_add_pol_expire()
2410 xp = xfrm_policy_bysel_ctx(net, &m, if_id, type, p->dir, in xfrm_add_pol_expire()
2964 err = xfrm_if_id_put(skb, x->if_id); in build_expire()
3066 if (x->if_id) in xfrm_sa_len()
3067 l += nla_total_size(sizeof(x->if_id)); in xfrm_sa_len()
3198 err = xfrm_if_id_put(skb, xp->if_id); in build_acquire()
3316 err = xfrm_if_id_put(skb, xp->if_id); in build_polexpire()
3399 err = xfrm_if_id_put(skb, xp->if_id); in xfrm_notify_policy()