Home
last modified time | relevance | path

Searched refs:rtattr (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/kernel/uapi/linux/
Drtnetlink.h166 struct rtattr { struct
172 …efine RTA_OK(rta,len) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rta… argument
173 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr *) (((char *)…
174 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
284 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
305 #define RTNH_DATA(rtnh) ((struct rtattr *) (((char *) (rtnh)) + RTNH_LENGTH(0)))
450 #define TCA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
569 #define TA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
Dif_addr.h64 #define IFA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
Dif_link.h153 #define IFLA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
/bionic/libc/bionic/
Difaddrs.cpp174 rtattr* rta = IFLA_RTA(ifi); in __getifaddrs_callback()
219 rtattr* rta = IFA_RTA(msg); in __getifaddrs_callback()
Dnet_if.cpp96 rtattr* rta = IFLA_RTA(ifi); in __if_nameindex_callback()