Searched refs:RTA_MAX (Results 1 – 9 of 9) sorted by relevance
/external/iproute2/ip/ |
D | ipprefix.c | 43 struct rtattr * tb[RTA_MAX+1]; in print_prefix() 72 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); in print_prefix()
|
D | ipmroute.c | 61 struct rtattr * tb[RTA_MAX+1]; in print_mroute() 86 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_mroute()
|
D | iproute.c | 313 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/ |
D | route_obj.c | 840 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()
|
D | rule.c | 72 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/ |
D | ip.c | 1467 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/ |
D | rtnetlink.h | 280 #define RTA_MAX (__RTA_MAX - 1) macro
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 317 #define RTA_MAX (__RTA_MAX - 1) macro
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 319 #define RTA_MAX (__RTA_MAX - 1) macro
|