Searched refs:RTA_LENGTH (Results 1 - 15 of 15) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
71 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))
H A Dnetlink.c200 rta->rta_len = RTA_LENGTH(sizeof(char));
203 RTA_LENGTH(sizeof(char));
210 rta->rta_len = RTA_LENGTH(sizeof(char));
213 RTA_LENGTH(sizeof(char));
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
71 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))
H A Dnetlink.c200 rta->rta_len = RTA_LENGTH(sizeof(char));
203 RTA_LENGTH(sizeof(char));
210 rta->rta_len = RTA_LENGTH(sizeof(char));
213 RTA_LENGTH(sizeof(char));
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
71 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))
H A Dnetlink.c200 rta->rta_len = RTA_LENGTH(sizeof(char));
203 RTA_LENGTH(sizeof(char));
210 rta->rta_len = RTA_LENGTH(sizeof(char));
213 RTA_LENGTH(sizeof(char));
/external/iproute2/include/linux/
H A Drtnetlink.h151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
152 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/libnl/include/linux/
H A Drtnetlink.h139 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
140 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
141 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
142 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h163 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
164 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
165 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
166 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/iproute2/lib/
H A Dlibnetlink.c111 req.ext_req.rta_len = RTA_LENGTH(sizeof(__u32));
556 int len = RTA_LENGTH(alen);
619 int len = RTA_LENGTH(4);
638 int len = RTA_LENGTH(alen);
/external/dhcpcd/
H A Dif-linux.c441 int len = RTA_LENGTH(alen);
461 int len = RTA_LENGTH(sizeof(data));
/external/iproute2/ip/
H A Dipntable.c90 parms_rta->rta_len = RTA_LENGTH(0);
311 if (parms_rta->rta_len > RTA_LENGTH(0)) {
H A Diproute.c677 rta->rta_len = RTA_LENGTH(0);
696 if (rta->rta_len > RTA_LENGTH(0))
736 mxrta->rta_len = RTA_LENGTH(0);
981 if (mxrta->rta_len > RTA_LENGTH(0)) {
/external/iproute2/misc/
H A Dss.c1536 rta.rta_len = RTA_LENGTH(bclen);
1539 req.nlh.nlmsg_len += RTA_LENGTH(bclen);
/external/chromium_org/third_party/webrtc/test/channel_transport/
H A Dudp_transport_impl.cc2525 rta->rta_len = RTA_LENGTH(16);

Completed in 114 milliseconds