Lines Matching refs:ip6_tnl

69 	struct ip6_tnl __rcu *tunnels[4][HASH_SIZE];
78 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t);
79 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu);
114 static struct ip6_tnl *ip6gre_tunnel_lookup(struct net_device *dev, in ip6gre_tunnel_lookup()
122 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup()
236 static struct ip6_tnl __rcu **__ip6gre_bucket(struct ip6gre_net *ign, in __ip6gre_bucket()
254 static inline struct ip6_tnl __rcu **ip6gre_bucket(struct ip6gre_net *ign, in ip6gre_bucket()
255 const struct ip6_tnl *t) in ip6gre_bucket()
260 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t) in ip6gre_tunnel_link()
262 struct ip6_tnl __rcu **tp = ip6gre_bucket(ign, t); in ip6gre_tunnel_link()
268 static void ip6gre_tunnel_unlink(struct ip6gre_net *ign, struct ip6_tnl *t) in ip6gre_tunnel_unlink()
270 struct ip6_tnl __rcu **tp; in ip6gre_tunnel_unlink()
271 struct ip6_tnl *iter; in ip6gre_tunnel_unlink()
283 static struct ip6_tnl *ip6gre_tunnel_find(struct net *net, in ip6gre_tunnel_find()
291 struct ip6_tnl *t; in ip6gre_tunnel_find()
292 struct ip6_tnl __rcu **tp; in ip6gre_tunnel_find()
308 static struct ip6_tnl *ip6gre_tunnel_locate(struct net *net, in ip6gre_tunnel_locate()
311 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate()
360 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_tunnel_uninit()
375 struct ip6_tnl *t; in ip6gre_err()
455 struct ip6_tnl *tunnel; in ip6gre_rcv()
609 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_xmit2()
778 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_xmit_ipv4()
814 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_xmit_ipv6()
874 static inline bool ip6gre_tnl_addr_conflict(const struct ip6_tnl *t, in ip6gre_tnl_addr_conflict()
882 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_xmit_other()
902 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_tunnel_xmit()
933 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu) in ip6gre_tnl_link_config()
1003 static int ip6gre_tnl_change(struct ip6_tnl *t, in ip6gre_tnl_change()
1064 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_tunnel_ioctl()
1180 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_header()
1231 struct ip6_tnl *t; in ip6gre_tunnel_setup()
1249 struct ip6_tnl *tunnel; in ip6gre_tunnel_init()
1272 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init()
1304 struct ip6_tnl *t; in ip6gre_destroy_tunnels()
1326 ign->fb_tunnel_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6gre0", in ip6gre_init_net()
1461 struct ip6_tnl *tunnel; in ip6gre_tap_init()
1503 struct ip6_tnl *nt; in ip6gre_newlink()
1539 struct ip6_tnl *t, *nt = netdev_priv(dev); in ip6gre_changelink()
1605 struct ip6_tnl *t = netdev_priv(dev); in ip6gre_fill_info()
1645 .priv_size = sizeof(struct ip6_tnl),
1660 .priv_size = sizeof(struct ip6_tnl),