Home
last modified time | relevance | path

Searched refs:rt_option (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/ax25/
Dax25_route.c187 static int ax25_rt_opt(struct ax25_route_opt_struct *rt_option) in ax25_rt_opt() argument
193 if ((ax25_dev = ax25_addr_ax25dev(&rt_option->port_addr)) == NULL) in ax25_rt_opt()
201 ax25cmp(&rt_option->dest_addr, &ax25_rt->callsign) == 0) { in ax25_rt_opt()
202 switch (rt_option->cmd) { in ax25_rt_opt()
204 switch (rt_option->arg) { in ax25_rt_opt()
208 ax25_rt->ip_mode = rt_option->arg; in ax25_rt_opt()
231 struct ax25_route_opt_struct rt_option; in ax25_rt_ioctl() local
246 if (copy_from_user(&rt_option, arg, sizeof(rt_option))) in ax25_rt_ioctl()
248 return ax25_rt_opt(&rt_option); in ax25_rt_ioctl()