Searched refs:RTAX_MAX (Results 1 – 9 of 9) sorted by relevance
277 for (i = 0; i < RTAX_MAX; i++) in route_dump_details()411 for (i = 0; i < RTAX_MAX - 1; i++) { in route_compare()453 for (i = 0; i < RTAX_MAX - 1; i++) { in route_compare()789 if (metric > RTAX_MAX || metric < 1) in rtnl_route_set_metric()806 if (metric > RTAX_MAX || metric < 1) in rtnl_route_unset_metric()819 if (metric > RTAX_MAX || metric < 1) in rtnl_route_get_metric()1205 struct nlattr *mtb[RTAX_MAX + 1]; in rtnl_route_parse()1208 err = nla_parse_nested(mtb, RTAX_MAX, tb[RTA_METRICS], NULL); in rtnl_route_parse()1212 for (i = 1; i <= RTAX_MAX; i++) { in rtnl_route_parse()1414 for (i = 1; i <= RTAX_MAX; i++) { in rtnl_route_build_msg()
437 #define RTAX_MAX (__RTAX_MAX - 1) macro
454 #define RTAX_MAX (__RTAX_MAX - 1) macro
486 #define RTAX_MAX (__RTAX_MAX - 1) macro
43 static const char *mx_names[RTAX_MAX+1] = {567 struct rtattr *mxrta[RTAX_MAX+1]; in print_route()569 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()574 for (i = 2; i <= RTAX_MAX; i++) { in print_route()
81 for (i = 0; i < RTAX_MAX; i++) { in sctp_get_rtaddrs()141 struct sockaddr *sa, *rti_info[RTAX_MAX]; in recv_function_route()
348 uint32_t rt_metrics[RTAX_MAX];
107 static const char *mx_names[RTAX_MAX + 1] = {1514 struct rtattr *rta, *mxrta[RTAX_MAX+1] = {0,}; in print_rta_metrics()1524 for (i = 2; i <= RTAX_MAX; i++) { in print_rta_metrics()
3172 pub const RTAX_MAX: ::c_int = 8; constant