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()
1503 struct ip6_tnl *nt; in ip6gre_newlink() local
1508 nt = netdev_priv(dev); in ip6gre_newlink()
1509 ip6gre_netlink_parms(data, &nt->parms); in ip6gre_newlink()
1511 if (ip6gre_tunnel_find(net, &nt->parms, dev->type)) in ip6gre_newlink()
1517 nt->dev = dev; in ip6gre_newlink()
1518 nt->net = dev_net(dev); in ip6gre_newlink()
1519 ip6gre_tnl_link_config(nt, !tb[IFLA_MTU]); in ip6gre_newlink()
1522 if (!(nt->parms.o_flags & GRE_SEQ)) in ip6gre_newlink()
1530 ip6gre_tunnel_link(ign, nt); in ip6gre_newlink()
1539 struct ip6_tnl *t, *nt = netdev_priv(dev); in ip6gre_changelink() local
1540 struct net *net = nt->net; in ip6gre_changelink()
1555 t = nt; in ip6gre_changelink()