Searched defs:rtattr (Results 1 - 6 of 6) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \
69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len)))
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
102 struct rtattr struct
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \
69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len)))
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
102 struct rtattr struct
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \
69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len)))
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
102 struct rtattr struct
/external/iproute2/include/linux/
H A Drtnetlink.h137 struct rtattr { struct
146 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
147 (rta)->rta_len >= sizeof(struct rtattr) && \
150 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
293 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
327 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
344 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
494 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
600 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h149 struct rtattr { struct
158 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
159 (rta)->rta_len >= sizeof(struct rtattr) && \
162 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
163 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
305 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
339 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
356 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
514 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
628 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]
/external/libnl/include/linux/
H A Drtnetlink.h124 struct rtattr struct
134 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
135 (rta)->rta_len >= sizeof(struct rtattr) && \
138 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
139 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
282 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
317 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
335 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
490 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
595 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]

Completed in 113 milliseconds