Searched refs:RTA_MAX (Results 1 – 10 of 10) sorted by relevance
/linux/net/phonet/ |
A 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/net/decnet/ |
A D | dn_fib.c | 510 struct nlattr *attrs[RTA_MAX+1]; in dn_fib_rtm_delroute() 519 err = nlmsg_parse_deprecated(nlh, sizeof(*r), attrs, RTA_MAX, in dn_fib_rtm_delroute() 537 struct nlattr *attrs[RTA_MAX+1]; in dn_fib_rtm_newroute() 546 err = nlmsg_parse_deprecated(nlh, sizeof(*r), attrs, RTA_MAX, in dn_fib_rtm_newroute() 583 struct nlattr *attrs[RTA_MAX+1] = { in fib_magic()
|
A D | dn_route.c | 1617 const struct nla_policy rtm_dn_policy[RTA_MAX + 1] = { 1644 struct nlattr *tb[RTA_MAX+1]; in dn_cache_getroute() 1649 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in dn_cache_getroute()
|
/linux/net/mpls/ |
A D | af_mpls.c | 484 static const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = { 1808 struct nlattr *tb[RTA_MAX+1]; in rtm_to_route_config() 1812 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_route_config() 1871 for (index = 0; index <= RTA_MAX; index++) { in rtm_to_route_config() 2107 struct nlattr *tb[RTA_MAX + 1]; in mpls_valid_fib_dump_req() 2130 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_fib_dump_req() 2135 for (i = 0; i <= RTA_MAX; ++i) { in mpls_valid_fib_dump_req() 2310 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_getroute_req() 2326 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in mpls_valid_getroute_req() 2336 for (i = 0; i <= RTA_MAX; i++) { in mpls_valid_getroute_req() [all …]
|
/linux/net/ipv4/ |
A D | fib_frontend.c | 654 const struct nla_policy rtm_ipv4_policy[RTA_MAX + 1] = { 730 err = nlmsg_validate_deprecated(nlh, sizeof(*rtm), RTA_MAX, in rtm_to_fib_config() 898 struct nlattr *tb[RTA_MAX + 1]; in ip_valid_fib_dump_req() 930 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in ip_valid_fib_dump_req() 935 for (i = 0; i <= RTA_MAX; ++i) { in ip_valid_fib_dump_req()
|
A D | ipmr.c | 2474 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in ipmr_rtm_valid_getroute_req() 2486 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in ipmr_rtm_valid_getroute_req() 2497 for (i = 0; i <= RTA_MAX; i++) { in ipmr_rtm_valid_getroute_req() 2519 struct nlattr *tb[RTA_MAX + 1]; in ipmr_rtm_getroute() 2604 static const struct nla_policy rtm_ipmr_policy[RTA_MAX + 1] = { 2650 ret = nlmsg_validate_deprecated(nlh, sizeof(*rtm), RTA_MAX, in rtm_to_ipmr_mfcc()
|
A D | route.c | 3203 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3222 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3233 for (i = 0; i <= RTA_MAX; i++) { in inet_rtm_valid_getroute_req() 3261 struct nlattr *tb[RTA_MAX+1]; in inet_rtm_getroute()
|
/linux/net/mctp/ |
A D | route.c | 1077 static const struct nla_policy rta_mctp_policy[RTA_MAX + 1] = { 1096 rc = nlmsg_parse(nlh, sizeof(struct rtmsg), tb, RTA_MAX, in mctp_route_nlparse() 1145 struct nlattr *tb[RTA_MAX + 1]; in mctp_newroute() 1184 struct nlattr *tb[RTA_MAX + 1]; in mctp_delroute()
|
/linux/include/uapi/linux/ |
A D | rtnetlink.h | 386 #define RTA_MAX (__RTA_MAX - 1) macro
|
/linux/net/ipv6/ |
A D | route.c | 4987 static const struct nla_policy rtm_ipv6_policy[RTA_MAX+1] = { 5014 struct nlattr *tb[RTA_MAX+1]; in rtm_to_fib6_config() 5018 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_fib6_config() 5972 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet6_rtm_valid_getroute_req() 5989 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in inet6_rtm_valid_getroute_req() 6000 for (i = 0; i <= RTA_MAX; i++) { in inet6_rtm_valid_getroute_req() 6028 struct nlattr *tb[RTA_MAX+1]; in inet6_rtm_getroute()
|
Completed in 43 milliseconds