Home
last modified time | relevance | path

Searched defs:rta (Results 1 – 14 of 14) sorted by relevance

/third_party/musl/src/network/
Dnetlink.h85 #define RTA_DATA(rta) ((void*)((char*)(rta)+sizeof(struct rtattr))) argument
86 #define RTA_DATALEN(rta) ((rta)->rta_len-sizeof(struct rtattr)) argument
87 #define RTA_DATAEND(rta) ((char*)(rta)+(rta)->rta_len) argument
88 #define RTA_NEXT(rta) (struct rtattr*)((char*)(rta)+NETLINK_ALIGN((rta)->rta_len)) argument
92 #define NLMSG_RTAOK(rta,nlh) RTA_OK(rta,NLMSG_DATAEND(nlh)) argument
Dif_nameindex.c29 struct rtattr *rta; in netlink_msg_to_nameindex() local
Dgetifaddrs.c111 struct rtattr *rta; in netlink_msg_to_ifaddr() local
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dpriv_netlink.h64 #define RTA_OK(rta,len) \ argument
67 #define RTA_NEXT(rta,attrlen) \ argument
72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) argument
73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) argument
Dnetlink.c177 struct rtattr *rta; in netlink_send_oper_ifla() local
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dpriv_netlink.h64 #define RTA_OK(rta,len) \ argument
67 #define RTA_NEXT(rta,attrlen) \ argument
72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) argument
73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) argument
Dnetlink.c177 struct rtattr *rta; in netlink_send_oper_ifla() local
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c48 static void validate_attr(const struct rtattr *rta) in validate_attr()
119 const struct rtattr *rta = (void *)alg + NLMSG_ALIGN(sizeof(*alg)); in validate_one_alg() local
/third_party/ltp/testcases/kernel/containers/share/
Dns_ifmove.c80 struct rtattr *rta; in main() local
/third_party/toybox/toys/pending/
Dip.c452 static void add_varlen_rtattr_to_buffer(struct rtattr *rta, int maxlen, in add_varlen_rtattr_to_buffer()
468 static void add_uint32_rtattr_to_buffer(struct rtattr *rta, int maxlen, in add_uint32_rtattr_to_buffer()
480 struct rtattr *rta; in add_string_to_rtattr() local
999 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in print_addrinfo() local
1400 struct rtattr *rta, *rta_tb[IFA_MAX+1] = {0,}; in ipaddr_print() local
1515 struct rtattr *rta, *mxrta[RTAX_MAX+1] = {0,}; in print_rta_metrics() local
1575 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local
1712 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in display_route_info() local
1843 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in route_get() local
2331 struct rtattr *rta, *attr[RTA_MAX+1] = {0,}; in show_rules() local
/third_party/musl/porting/liteos_a/user/src/network/
Dif_nameindex.c30 struct rtattr *rta; in netlink_msg_to_nameindex() local
Dgetifaddrs.c120 struct rtattr *rta; in netlink_msg_to_ifaddr() local
/third_party/libnl/include/linux-private/linux/
Drtnetlink.h183 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
186 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
190 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) argument
191 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) argument
/third_party/gstreamer/gstplugins_bad/docs/plugins/
Dgst_plugins_cache.json134538 "rta": { object