Home
last modified time | relevance | path

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

/external/libnl/lib/route/
Droute_obj.c265 for (i = 0; i < RTAX_MAX; i++) in route_dump_details()
396 for (i = 0; i < RTAX_MAX - 1; i++) { in route_compare()
436 for (i = 0; i < RTAX_MAX - 1; i++) { in route_compare()
670 if (metric > RTAX_MAX || metric < 1) in rtnl_route_set_metric()
687 if (metric > RTAX_MAX || metric < 1) in rtnl_route_unset_metric()
700 if (metric > RTAX_MAX || metric < 1) in rtnl_route_get_metric()
989 struct nlattr *mtb[RTAX_MAX + 1]; in rtnl_route_parse()
992 err = nla_parse_nested(mtb, RTAX_MAX, tb[RTA_METRICS], NULL); in rtnl_route_parse()
996 for (i = 1; i <= RTAX_MAX; i++) { in rtnl_route_parse()
1131 for (i = 1; i <= RTAX_MAX; i++) { in rtnl_route_build_msg()
/external/dhcpcd-6.8.2/
Dif-bsd.c266 for (i = 0; i < RTAX_MAX; i++) { in get_addrs()
492 struct sockaddr *sa, *rti_info[RTAX_MAX]; in if_copyrt()
556 char buffer[sizeof(su) * RTAX_MAX]; in if_route()
838 struct sockaddr *sa, *rti_info[RTAX_MAX]; in if_copyrt6()
944 char buffer[sizeof(su) * RTAX_MAX]; in if_route6()
1155 struct sockaddr *sa, *rti_info[RTAX_MAX]; in if_managelink()
/external/avahi/avahi-core/
Diface-pfroute.c136 for (cp0 = cp, i = 0; i < RTAX_MAX; i++) { in rtm_addr()
157 for(cp = cp0, i = 0; i < RTAX_MAX; i++) in rtm_addr()
/external/libnl/include/linux/
Drtnetlink.h370 #define RTAX_MAX (__RTAX_MAX - 1) macro
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h420 #define RTAX_MAX (__RTAX_MAX - 1) macro
/external/iproute2/include/linux/
Drtnetlink.h422 #define RTAX_MAX (__RTAX_MAX - 1) macro
/external/iproute2/ip/
Diproute.c43 static const char *mx_names[RTAX_MAX+1] = {
570 struct rtattr *mxrta[RTAX_MAX+1]; in print_route()
572 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()
577 for (i=2; i<= RTAX_MAX; i++) { in print_route()
/external/libnl/include/
Dnetlink-types.h272 uint32_t rt_metrics[RTAX_MAX];