Searched refs:nr_route (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/netrom/
H A DMakefile8 nr_out.o nr_route.o nr_subr.o nr_timer.o
H A Dnr_route.c94 struct nr_route nr_route; nr_add_node() local
264 nr_route = nr_node->routes[0]; nr_add_node()
266 nr_node->routes[1] = nr_route; nr_add_node()
279 nr_route = nr_node->routes[1]; nr_add_node()
281 nr_node->routes[2] = nr_route; nr_add_node()
294 nr_route = nr_node->routes[0]; nr_add_node()
296 nr_node->routes[1] = nr_route; nr_add_node()
660 struct nr_route_struct nr_route; nr_rt_ioctl() local
667 if (copy_from_user(&nr_route, arg, sizeof(struct nr_route_struct))) nr_rt_ioctl()
669 if (nr_route.ndigis > AX25_MAX_DIGIS) nr_rt_ioctl()
671 if ((dev = nr_ax25_dev_get(nr_route.device)) == NULL) nr_rt_ioctl()
673 switch (nr_route.type) { nr_rt_ioctl()
675 if (strnlen(nr_route.mnemonic, 7) == 7) { nr_rt_ioctl()
680 ret = nr_add_node(&nr_route.callsign, nr_rt_ioctl()
681 nr_route.mnemonic, nr_rt_ioctl()
682 &nr_route.neighbour, nr_rt_ioctl()
683 nr_call_to_digi(&digi, nr_route.ndigis, nr_rt_ioctl()
684 nr_route.digipeaters), nr_rt_ioctl()
685 dev, nr_route.quality, nr_rt_ioctl()
686 nr_route.obs_count); nr_rt_ioctl()
689 ret = nr_add_neigh(&nr_route.callsign, nr_rt_ioctl()
690 nr_call_to_digi(&digi, nr_route.ndigis, nr_rt_ioctl()
691 nr_route.digipeaters), nr_rt_ioctl()
692 dev, nr_route.quality); nr_rt_ioctl()
701 if (copy_from_user(&nr_route, arg, sizeof(struct nr_route_struct))) nr_rt_ioctl()
703 if ((dev = nr_ax25_dev_get(nr_route.device)) == NULL) nr_rt_ioctl()
705 switch (nr_route.type) { nr_rt_ioctl()
707 ret = nr_del_node(&nr_route.callsign, nr_rt_ioctl()
708 &nr_route.neighbour, dev); nr_rt_ioctl()
711 ret = nr_del_neigh(&nr_route.callsign, nr_rt_ioctl()
712 dev, nr_route.quality); nr_rt_ioctl()
/linux-4.1.27/include/net/
H A Dnetrom.h99 struct nr_route { struct
111 struct nr_route routes[3];
210 /* nr_route.c */

Completed in 81 milliseconds