Home
last modified time | relevance | path

Searched refs:RTA_MAX (Results 1 – 9 of 9) sorted by relevance

/external/iproute2/ip/
Dipprefix.c43 struct rtattr * tb[RTA_MAX+1]; in print_prefix()
72 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); in print_prefix()
Dipmroute.c61 struct rtattr * tb[RTA_MAX+1]; in print_mroute()
86 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_mroute()
Diproute.c313 struct rtattr * tb[RTA_MAX+1]; in print_route()
335 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_route()
646 parse_rtattr(tb, RTA_MAX, RTNH_DATA(nh), nh->rtnh_len - sizeof(*nh)); in print_route()
1284 struct rtattr *tb[RTA_MAX+1]; in save_route()
1289 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in save_route()
1699 struct rtattr * tb[RTA_MAX+1]; in iproute_get()
1716 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in iproute_get()
/external/libnl/lib/route/
Droute_obj.c840 static struct nla_policy route_policy[RTA_MAX+1] = {
867 struct nlattr *ntb[RTA_MAX + 1]; in parse_multipath()
869 err = nla_parse(ntb, RTA_MAX, (struct nlattr *) in parse_multipath()
915 struct nlattr *tb[RTA_MAX + 1]; in rtnl_route_parse()
928 err = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, route_policy); in rtnl_route_parse()
Drule.c72 static struct nla_policy rule_policy[RTA_MAX+1] = {
85 struct nlattr *tb[RTA_MAX+1]; in rule_msg_parser()
97 err = nlmsg_parse(n, sizeof(*r), tb, RTA_MAX, rule_policy); in rule_msg_parser()
/external/toybox/toys/pending/
Dip.c1467 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info()
1504 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info()
1600 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info()
1604 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in display_route_info()
1731 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in route_get()
1738 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in route_get()
2221 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in show_rules()
2231 if (rta->rta_type <= RTA_MAX) attr[rta->rta_type] = rta; in show_rules()
/external/libnl/include/linux/
Drtnetlink.h280 #define RTA_MAX (__RTA_MAX - 1) macro
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h317 #define RTA_MAX (__RTA_MAX - 1) macro
/external/iproute2/include/linux/
Drtnetlink.h319 #define RTA_MAX (__RTA_MAX - 1) macro