Lines Matching refs:ip6_tnl
86 struct ip6_tnl __rcu *tnls_r_l[IP6_TUNNEL_HASH_SIZE];
87 struct ip6_tnl __rcu *tnls_wc[1];
88 struct ip6_tnl __rcu **tnls[2];
89 struct ip6_tnl __rcu *collect_md_tun;
143 static struct ip6_tnl *
148 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
216 static struct ip6_tnl __rcu **
237 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
239 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
253 ip6_tnl_unlink(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_unlink()
255 struct ip6_tnl __rcu **tp; in ip6_tnl_unlink()
256 struct ip6_tnl *iter; in ip6_tnl_unlink()
273 struct ip6_tnl *t = netdev_priv(dev); in ip6_dev_free()
282 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_create2()
315 static struct ip6_tnl *ip6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in ip6_tnl_create()
318 struct ip6_tnl *t; in ip6_tnl_create()
367 static struct ip6_tnl *ip6_tnl_locate(struct net *net, in ip6_tnl_locate()
372 struct ip6_tnl __rcu **tp; in ip6_tnl_locate()
373 struct ip6_tnl *t; in ip6_tnl_locate()
404 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_uninit()
504 struct ip6_tnl *t; in ip6_tnl_err()
741 static int ip4ip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in ip4ip6_dscp_ecn_decapsulate()
753 static int ip6ip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in ip6ip6_dscp_ecn_decapsulate()
763 static inline int mplsip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in mplsip6_dscp_ecn_decapsulate()
771 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, in ip6_tnl_get_cap()
796 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, in ip6_tnl_rcv_ctl()
824 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv()
827 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in __ip6_tnl_rcv()
912 int ip6_tnl_rcv(struct ip6_tnl *t, struct sk_buff *skb, in ip6_tnl_rcv()
917 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in ip6_tnl_rcv()
947 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in ipxip6_rcv()
951 struct ip6_tnl *t; in ipxip6_rcv()
1042 ip6_tnl_addr_conflict(const struct ip6_tnl *t, const struct ipv6hdr *hdr) in ip6_tnl_addr_conflict()
1047 int ip6_tnl_xmit_ctl(struct ip6_tnl *t, in ip6_tnl_xmit_ctl()
1109 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_xmit()
1306 struct ip6_tnl *t = netdev_priv(dev); in ipxip6_tnl_xmit()
1436 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_start_xmit()
1473 static void ip6_tnl_link_config(struct ip6_tnl *t) in ip6_tnl_link_config()
1548 ip6_tnl_change(struct ip6_tnl *t, const struct __ip6_tnl_parm *p) in ip6_tnl_change()
1564 static int ip6_tnl_update(struct ip6_tnl *t, struct __ip6_tnl_parm *p) in ip6_tnl_update()
1578 static int ip6_tnl0_update(struct ip6_tnl *t, struct __ip6_tnl_parm *p) in ip6_tnl0_update()
1648 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_ioctl()
1750 struct ip6_tnl *tnl = netdev_priv(dev); in ip6_tnl_change_mtu()
1773 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_get_iflink()
1809 int ip6_tnl_encap_setup(struct ip6_tnl *t, in ip6_tnl_encap_setup()
1886 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_init_gen()
1935 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_init()
1955 struct ip6_tnl *t = netdev_priv(dev); in ip6_fb_tnl_dev_init()
2061 struct ip6_tnl *nt, *t; in ip6_tnl_newlink()
2094 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_changelink()
2168 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info()
2200 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net()
2227 .priv_size = sizeof(struct ip6_tnl),
2261 struct ip6_tnl *t; in ip6_tnl_destroy_tunnels()
2293 struct ip6_tnl *t = NULL; in ip6_tnl_init_net()
2302 ip6n->fb_tnl_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6tnl0", in ip6_tnl_init_net()