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;
113 static struct ip6_tnl *
118 struct ip6_tnl *t, *cand = NULL; in ip6_tnl_lookup()
187 static struct ip6_tnl __rcu **
209 ip6_tnl_link(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_link()
211 struct ip6_tnl __rcu **tp = ip6_tnl_bucket(ip6n, &t->parms); in ip6_tnl_link()
226 ip6_tnl_unlink(struct ip6_tnl_net *ip6n, struct ip6_tnl *t) in ip6_tnl_unlink()
228 struct ip6_tnl __rcu **tp; in ip6_tnl_unlink()
229 struct ip6_tnl *iter; in ip6_tnl_unlink()
246 struct ip6_tnl *t = netdev_priv(dev); in ip6_dev_free()
255 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_create2()
288 static struct ip6_tnl *ip6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in ip6_tnl_create()
291 struct ip6_tnl *t; in ip6_tnl_create()
340 static struct ip6_tnl *ip6_tnl_locate(struct net *net, in ip6_tnl_locate()
345 struct ip6_tnl __rcu **tp; in ip6_tnl_locate()
346 struct ip6_tnl *t; in ip6_tnl_locate()
377 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_uninit()
473 struct ip6_tnl *t; in ip6_tnl_err()
710 static int ip4ip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in ip4ip6_dscp_ecn_decapsulate()
722 static int ip6ip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in ip6ip6_dscp_ecn_decapsulate()
732 static inline int mplsip6_dscp_ecn_decapsulate(const struct ip6_tnl *t, in mplsip6_dscp_ecn_decapsulate()
740 __u32 ip6_tnl_get_cap(struct ip6_tnl *t, in ip6_tnl_get_cap()
765 int ip6_tnl_rcv_ctl(struct ip6_tnl *t, in ip6_tnl_rcv_ctl()
793 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv()
796 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in __ip6_tnl_rcv()
882 int ip6_tnl_rcv(struct ip6_tnl *t, struct sk_buff *skb, in ip6_tnl_rcv()
887 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in ip6_tnl_rcv()
917 int (*dscp_ecn_decapsulate)(const struct ip6_tnl *t, in ipxip6_rcv()
921 struct ip6_tnl *t; in ipxip6_rcv()
1012 ip6_tnl_addr_conflict(const struct ip6_tnl *t, const struct ipv6hdr *hdr) in ip6_tnl_addr_conflict()
1017 int ip6_tnl_xmit_ctl(struct ip6_tnl *t, in ip6_tnl_xmit_ctl()
1079 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_xmit()
1276 struct ip6_tnl *t = netdev_priv(dev); in ipxip6_tnl_xmit()
1406 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_start_xmit()
1443 static void ip6_tnl_link_config(struct ip6_tnl *t) in ip6_tnl_link_config()
1517 ip6_tnl_change(struct ip6_tnl *t, const struct __ip6_tnl_parm *p) in ip6_tnl_change()
1533 static int ip6_tnl_update(struct ip6_tnl *t, struct __ip6_tnl_parm *p) in ip6_tnl_update()
1547 static int ip6_tnl0_update(struct ip6_tnl *t, struct __ip6_tnl_parm *p) in ip6_tnl0_update()
1619 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_siocdevprivate()
1720 struct ip6_tnl *tnl = netdev_priv(dev); in ip6_tnl_change_mtu()
1743 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_get_iflink()
1779 int ip6_tnl_encap_setup(struct ip6_tnl *t, in ip6_tnl_encap_setup()
1856 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_init_gen()
1905 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_dev_init()
1925 struct ip6_tnl *t = netdev_priv(dev); in ip6_fb_tnl_dev_init()
2031 struct ip6_tnl *nt, *t; in ip6_tnl_newlink()
2064 struct ip6_tnl *t = netdev_priv(dev); in ip6_tnl_changelink()
2138 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info()
2170 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net()
2197 .priv_size = sizeof(struct ip6_tnl),
2231 struct ip6_tnl *t; in ip6_tnl_destroy_tunnels()
2263 struct ip6_tnl *t = NULL; in ip6_tnl_init_net()
2272 ip6n->fb_tnl_dev = alloc_netdev(sizeof(struct ip6_tnl), "ip6tnl0", in ip6_tnl_init_net()