Searched refs:i_key (Results 1 – 12 of 12) sorted by relevance
67 return test_bit(IP_TUNNEL_KEY_BIT, p->i_flags) && p->i_key == key; in ip_tunnel_key_match()145 t->parms.i_key != key) || in ip_tunnel_lookup()177 __be32 i_key = parms->i_key; in ip_bucket() local186 i_key = 0; in ip_bucket()188 h = ip_tunnel_hash(i_key, remote); in ip_bucket()215 __be32 key = parms->i_key; in ip_tunnel_find()869 t->parms.i_key = p->i_key; in ip_tunnel_update()921 p->i_key = 0; in ip_tunnel_ctl()1009 kp->i_key = p.i_key; in ip_tunnel_parm_from_user()1031 p.i_key = kp->i_key; in ip_tunnel_parm_to_user()
134 skb->mark = be32_to_cpu(tunnel->parms.i_key); in vti_rcv_cb()398 p->i_key = 0; in vti_tunnel_ctl()562 parms->i_key = nla_get_be32(data[IFLA_VTI_IKEY]); in vti_netlink_parms()627 nla_put_be32(skb, IFLA_VTI_IKEY, p->i_key) || in vti_fill_info()
350 p->i_key = p->o_key = 0; in ipip_tunnel_ctl()
1207 parms->i_key = nla_get_be32(data[IFLA_GRE_IKEY]); in ipgre_netlink_parms()1566 nla_put_be32(skb, IFLA_GRE_IKEY, p->i_key) || in ipgre_fill_info()
378 skb->mark = be32_to_cpu(t->parms.i_key); in vti6_rcv_cb()713 t->parms.i_key = p->i_key; in vti6_tnl_change()743 p->i_key = u->i_key; in vti6_parm_from_user()756 u->i_key = p->i_key; in vti6_parm_to_user()758 if (u->i_key) in vti6_parm_to_user()991 parms->i_key = nla_get_be32(data[IFLA_VTI_IKEY]); in vti6_netlink_parms()1081 nla_put_be32(skb, IFLA_VTI_IKEY, parm->i_key) || in vti6_fill_info()
160 key != t->parms.i_key || in ip6gre_tunnel_lookup()170 key != t->parms.i_key || in ip6gre_tunnel_lookup()182 key != t->parms.i_key || in ip6gre_tunnel_lookup()191 if (t->parms.i_key != key || in ip6gre_tunnel_lookup()223 unsigned int h = HASH_KEY(p->i_key); in __ip6gre_bucket()296 __be32 key = parms->i_key; in ip6gre_tunnel_find()307 key == t->parms.i_key && in ip6gre_tunnel_find()1198 t->parms.i_key = p->i_key; in ip6gre_tnl_copy_tnl_parm()1228 p->i_key = u->i_key; in ip6gre_tnl_parm_from_user()1246 u->i_key = p->i_key; in ip6gre_tnl_parm_to_user()[all …]
52 __be32 i_key; member
53 __be32 i_key; member
35 __be32 i_key; member
140 __be32 i_key; member
52 be32_to_cpu(parms->i_key) : 0; in mlxsw_sp_ipip_parms4_ikey()58 be32_to_cpu(parms->i_key) : 0; in mlxsw_sp_ipip_parms6_ikey()
554 /* if tunnel is present override skb->mark value with tunnel i_key */ in xfrm_input() 558 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4->parms.i_key); in xfrm_input() 562 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6->parms.i_key); in xfrm_input()