Lines Matching refs:if_id
64 static u32 xfrmi_hash(u32 if_id) in xfrmi_hash() argument
66 return hash_32(if_id, XFRMI_HASH_BITS); in xfrmi_hash()
74 for_each_xfrmi_rcu(xfrmn->xfrmi[xfrmi_hash(x->if_id)], xi) { in xfrmi_lookup()
75 if (x->if_id == xi->p.if_id && in xfrmi_lookup()
119 struct xfrm_if __rcu **xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_link()
130 for (xip = &xfrmn->xfrmi[xfrmi_hash(xi->p.if_id)]; in xfrmi_unlink()
174 for (xip = &xfrmn->xfrmi[xfrmi_hash(p->if_id)]; in xfrmi_locate()
177 if (xi->p.if_id == p->if_id) in xfrmi_locate()
275 dst = xfrm_lookup_with_ifid(xi->net, dst, fl, NULL, 0, xi->p.if_id); in xfrmi_xmit2()
286 if (x->if_id != xi->p.if_id) in xfrmi_xmit2()
522 xi->p.if_id = p->if_id; in xfrmi_change()
632 parms->if_id = nla_get_u32(data[IFLA_XFRM_IF_ID]); in xfrmi_netlink_parms()
699 nla_put_u32(skb, IFLA_XFRM_IF_ID, parm->if_id)) in xfrmi_fill_info()