Lines Matching refs:nt
332 struct ip_tunnel *nt; in ip_tunnel_create() local
347 nt = netdev_priv(dev); in ip_tunnel_create()
348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
354 ip_tunnel_add(itn, nt); in ip_tunnel_create()
355 return nt; in ip_tunnel_create()
1152 struct ip_tunnel *nt; in ip_tunnel_newlink() local
1158 nt = netdev_priv(dev); in ip_tunnel_newlink()
1159 itn = net_generic(net, nt->ip_tnl_net_id); in ip_tunnel_newlink()
1161 if (nt->collect_md) { in ip_tunnel_newlink()
1169 nt->net = net; in ip_tunnel_newlink()
1170 nt->parms = *p; in ip_tunnel_newlink()
1171 nt->fwmark = fwmark; in ip_tunnel_newlink()
1181 unsigned int max = IP_MAX_MTU - (nt->hlen + sizeof(struct iphdr)); in ip_tunnel_newlink()
1193 ip_tunnel_add(itn, nt); in ip_tunnel_newlink()