Lines Matching refs:nt
311 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate() local
334 nt = netdev_priv(dev); in ip6gre_tunnel_locate()
335 nt->parms = *parms; in ip6gre_tunnel_locate()
338 nt->dev = dev; in ip6gre_tunnel_locate()
339 nt->net = dev_net(dev); in ip6gre_tunnel_locate()
340 ip6gre_tnl_link_config(nt, 1); in ip6gre_tunnel_locate()
346 if (!(nt->parms.o_flags & GRE_SEQ)) in ip6gre_tunnel_locate()
350 ip6gre_tunnel_link(ign, nt); in ip6gre_tunnel_locate()
351 return nt; in ip6gre_tunnel_locate()
1523 struct ip6_tnl *nt; in ip6gre_newlink() local
1528 nt = netdev_priv(dev); in ip6gre_newlink()
1529 ip6gre_netlink_parms(data, &nt->parms); in ip6gre_newlink()
1531 if (ip6gre_tunnel_find(net, &nt->parms, dev->type)) in ip6gre_newlink()
1537 nt->dev = dev; in ip6gre_newlink()
1538 nt->net = dev_net(dev); in ip6gre_newlink()
1539 ip6gre_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6gre_newlink()
1542 if (!(nt->parms.o_flags & GRE_SEQ)) in ip6gre_newlink()
1550 ip6gre_tunnel_link(ign, nt); in ip6gre_newlink()
1559 struct ip6_tnl *t, *nt = netdev_priv(dev); in ip6gre_changelink() local
1560 struct net *net = nt->net; in ip6gre_changelink()
1575 t = nt; in ip6gre_changelink()