Lines Matching refs:rt_option
183 static int ax25_rt_opt(struct ax25_route_opt_struct *rt_option)
189 if ((ax25_dev = ax25_addr_ax25dev(&rt_option->port_addr)) == NULL)
197 ax25cmp(&rt_option->dest_addr, &ax25_rt->callsign) == 0) {
198 switch (rt_option->cmd) {
200 switch (rt_option->arg) {
204 ax25_rt->ip_mode = rt_option->arg;
226 struct ax25_route_opt_struct rt_option;
241 if (copy_from_user(&rt_option, arg, sizeof(rt_option)))
243 return ax25_rt_opt(&rt_option);