Searched refs:IFA_MAX (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/net/mctp/ |
D | device.c | 185 static const struct nla_policy ifa_mctp_policy[IFA_MAX + 1] = { 194 struct nlattr *tb[IFA_MAX + 1]; in mctp_rtm_newaddr() 203 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_newaddr() 257 struct nlattr *tb[IFA_MAX + 1]; in mctp_rtm_deladdr() 266 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_deladdr()
|
/linux-6.12.1/net/phonet/ |
D | pn_netlink.c | 47 static const struct nla_policy ifa_phonet_policy[IFA_MAX+1] = { 55 struct nlattr *tb[IFA_MAX+1]; in addr_doit() 69 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in addr_doit()
|
/linux-6.12.1/include/uapi/linux/ |
D | if_addr.h | 42 #define IFA_MAX (__IFA_MAX - 1) macro
|
/linux-6.12.1/net/ipv4/ |
D | devinet.c | 98 static const struct nla_policy ifa_ipv4_policy[IFA_MAX+1] = { 674 struct nlattr *tb[IFA_MAX+1]; in inet_rtm_deladdr() 682 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_rtm_deladdr() 856 struct nlattr *tb[IFA_MAX+1]; in rtm_to_ifaddr() 863 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in rtm_to_ifaddr() 1778 struct nlattr *tb[IFA_MAX+1]; in inet_valid_dump_ifaddr_req() 1799 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_valid_dump_ifaddr_req() 1804 for (i = 0; i <= IFA_MAX; ++i) { in inet_valid_dump_ifaddr_req()
|
/linux-6.12.1/net/ipv6/ |
D | addrconf.c | 4765 static const struct nla_policy ifa_ipv6_policy[IFA_MAX+1] = { 4781 struct nlattr *tb[IFA_MAX+1]; in inet6_rtm_deladdr() 4786 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_deladdr() 4976 struct nlattr *tb[IFA_MAX+1]; in inet6_rtm_newaddr() 4984 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_newaddr() 5345 struct nlattr *tb[IFA_MAX+1]; in inet6_valid_dump_ifaddr_req() 5366 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_valid_dump_ifaddr_req() 5371 for (i = 0; i <= IFA_MAX; ++i) { in inet6_valid_dump_ifaddr_req() 5492 return nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_valid_getaddr_req() 5501 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_valid_getaddr_req() [all …]
|