Searched refs:rtattr (Results 1 – 5 of 5) sorted by relevance
166 struct rtattr { struct172 …efine RTA_OK(rta,len) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rta… argument173 #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))))
64 #define IFA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
153 #define IFLA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
174 rtattr* rta = IFLA_RTA(ifi); in __getifaddrs_callback()219 rtattr* rta = IFA_RTA(msg); in __getifaddrs_callback()
96 rtattr* rta = IFLA_RTA(ifi); in __if_nameindex_callback()