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))
103 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))
103 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))
103 struct rtattr struct
/external/libnl/include/linux-private/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))
291 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
325 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
342 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
492 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
598 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]
/external/iproute2/include/linux/
H A Drtnetlink.h156 struct rtattr { struct
165 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
166 (rta)->rta_len >= sizeof(struct rtattr) && \
169 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
170 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
322 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
360 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
383 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
546 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
662 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h161 struct rtattr { struct
170 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
171 (rta)->rta_len >= sizeof(struct rtattr) && \
174 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
175 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
327 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
365 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
388 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */
552 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
670 #define TA_RTA(r) ((struct rtattr*)(((cha
[all...]

Completed in 1390 milliseconds