Home
last modified time | relevance | path

Searched refs:limhops (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/can/
H A Dgw.c733 u8 gwtype, void *gwtypeattr, u8 *limhops) in cgw_parse_attr()
749 *limhops = nla_get_u8(tb[CGW_LIM_HOPS]); in cgw_parse_attr()
751 if (*limhops < 1 || *limhops > max_hops) in cgw_parse_attr()
996 u8 limhops = 0; in cgw_create_job() local
1013 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_create_job()
1050 gwj->limit_hops = limhops; in cgw_create_job()
1110 u8 limhops = 0; in cgw_remove_job() local
1127 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_remove_job()
1146 if (gwj->limit_hops != limhops) in cgw_remove_job()
732 cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, u8 gwtype, void *gwtypeattr, u8 *limhops) cgw_parse_attr() argument
[all...]
/kernel/linux/linux-6.6/net/can/
H A Dgw.c801 u8 gwtype, void *gwtypeattr, u8 *limhops) in cgw_parse_attr()
817 *limhops = nla_get_u8(tb[CGW_LIM_HOPS]); in cgw_parse_attr()
819 if (*limhops < 1 || *limhops > max_hops) in cgw_parse_attr()
1064 u8 limhops = 0; in cgw_create_job() local
1081 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_create_job()
1118 gwj->limit_hops = limhops; in cgw_create_job()
1184 u8 limhops = 0; in cgw_remove_job() local
1201 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops); in cgw_remove_job()
1220 if (gwj->limit_hops != limhops) in cgw_remove_job()
800 cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, u8 gwtype, void *gwtypeattr, u8 *limhops) cgw_parse_attr() argument
[all...]

Completed in 3 milliseconds