Searched refs:rtattr (Results 1 – 5 of 5) sorted by relevance
168 struct rtattr { struct174 …efine RTA_OK(rta,len) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rta… argument175 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr *) (((char *)…176 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))289 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))311 #define RTNH_DATA(rtnh) ((struct rtattr *) (((char *) (rtnh)) + RTNH_LENGTH(0)))460 #define TCA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))586 #define TA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
53 #define IFA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
171 #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()