Searched refs:RTA_MAX (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/net/phonet/ |
D | pn_netlink.c | 213 static const struct nla_policy rtm_phonet_policy[RTA_MAX+1] = { 222 struct nlattr *tb[RTA_MAX+1]; in route_doit() 236 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in route_doit()
|
/Linux-v6.6/net/mpls/ |
D | af_mpls.c | 485 static const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = { 1813 struct nlattr *tb[RTA_MAX+1]; in rtm_to_route_config() 1817 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_route_config() 1876 for (index = 0; index <= RTA_MAX; index++) { in rtm_to_route_config() 2112 struct nlattr *tb[RTA_MAX + 1]; in mpls_valid_fib_dump_req() 2135 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_fib_dump_req() 2140 for (i = 0; i <= RTA_MAX; ++i) { in mpls_valid_fib_dump_req() 2315 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_getroute_req() 2331 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_getroute_req() 2341 for (i = 0; i <= RTA_MAX; i++) { in mpls_valid_getroute_req() [all …]
|
/Linux-v6.6/net/ipv4/ |
D | fib_frontend.c | 660 const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = { 736 err = nlmsg_validate_deprecated(nlh, sizeof(*rtm), RTA_MAX, in rtm_to_fib_config() 915 struct nlattr *tb[RTA_MAX + 1]; in ip_valid_fib_dump_req() 947 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in ip_valid_fib_dump_req() 952 for (i = 0; i <= RTA_MAX; ++i) { in ip_valid_fib_dump_req()
|
D | ipmr.c | 2491 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in ipmr_rtm_valid_getroute_req() 2503 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in ipmr_rtm_valid_getroute_req() 2514 for (i = 0; i <= RTA_MAX; i++) { in ipmr_rtm_valid_getroute_req() 2536 struct nlattr *tb[RTA_MAX + 1]; in ipmr_rtm_getroute() 2621 static const struct nla_policy rtm_ipmr_policy[RTA_MAX + 1] = { 2667 ret = nlmsg_validate_deprecated(nlh, sizeof(*rtm), RTA_MAX, in rtm_to_ipmr_mfcc()
|
D | route.c | 3225 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3244 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3255 for (i = 0; i <= RTA_MAX; i++) { in inet_rtm_valid_getroute_req() 3283 struct nlattr *tb[RTA_MAX+1]; in inet_rtm_getroute()
|
/Linux-v6.6/net/mctp/ |
D | route.c | 1166 static const struct nla_policy rta_mctp_policy[RTA_MAX + 1] = { 1185 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse() 1234 struct nlattr *tb[RTA_MAX + 1]; in mctp_newroute() 1270 struct nlattr *tb[RTA_MAX + 1]; in mctp_delroute()
|
/Linux-v6.6/include/uapi/linux/ |
D | rtnetlink.h | 395 #define RTA_MAX (__RTA_MAX - 1) macro
|
/Linux-v6.6/net/ipv6/ |
D | ip6mr.c | 2506 static const struct nla_policy ip6mr_getroute_policy[RTA_MAX + 1] = { 2520 err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, ip6mr_getroute_policy, in ip6mr_rtm_valid_getroute_req() 2549 struct nlattr *tb[RTA_MAX + 1]; in ip6mr_rtm_getroute()
|
D | route.c | 4972 static const struct nla_policy rtm_ipv6_policy[RTA_MAX+1] = { 4999 struct nlattr *tb[RTA_MAX+1]; in rtm_to_fib6_config() 5003 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_fib6_config() 5964 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet6_rtm_valid_getroute_req() 5981 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in inet6_rtm_valid_getroute_req() 5992 for (i = 0; i <= RTA_MAX; i++) { in inet6_rtm_valid_getroute_req() 6020 struct nlattr *tb[RTA_MAX+1]; in inet6_rtm_getroute()
|