Searched refs:limhops (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.10/net/can/ |
| D | gw.c | 732 u8 gwtype, void *gwtypeattr, u8 *limhops) in cgw_parse_attr() argument 748 *limhops = nla_get_u8(tb[CGW_LIM_HOPS]); in cgw_parse_attr() 750 if (*limhops < 1 || *limhops > max_hops) in cgw_parse_attr() 995 u8 limhops = 0; in cgw_create_job() local 1012 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_create_job() 1049 gwj->limit_hops = limhops; in cgw_create_job() 1108 u8 limhops = 0; in cgw_remove_job() local 1125 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_remove_job() 1144 if (gwj->limit_hops != limhops) in cgw_remove_job()
|