/prebuilts/ndk/9/platforms/android-5/arch-arm/usr/include/linux/ |
rtnetlink.h | 114 unsigned short rta_len; member in struct:rtattr 120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 121 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 125 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/linux/ |
rtnetlink.h | 114 unsigned short rta_len; member in struct:rtattr 120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 121 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 125 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/linux/ |
rtnetlink.h | 114 unsigned short rta_len; member in struct:rtattr 120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 121 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 125 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/ |
rtnetlink.h | 114 unsigned short rta_len; member in struct:rtattr 120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 121 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 125 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
rtnetlink.h | 114 unsigned short rta_len; member in struct:rtattr 120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 121 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 125 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/external/iproute2/tc/ |
q_dsmark.c | 80 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; 126 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
f_cgroup.c | 79 tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
|
q_drr.c | 80 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *)tail;
|
q_qfq.c | 89 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail;
|
m_action.c | 233 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; 244 tail2->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail2; 457 tail2->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail2; 461 tail->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail; 510 tail->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail; 564 tail2->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail2; 565 tail->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail;
|
f_basic.c | 105 tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
|
m_ematch.c | 221 tail->rta_len = (void*) NLMSG_TAIL(n) - (void*) tail; 356 tail_list->rta_len = (void*) NLMSG_TAIL(n) - (void*) tail_list; 357 tail->rta_len = (void*) NLMSG_TAIL(n) - (void*) tail;
|
f_fw.c | 115 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
f_route.c | 124 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
f_tcindex.c | 116 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
m_csum.c | 168 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail;
|
m_gact.c | 198 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
m_nat.c | 160 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail;
|
m_skbedit.c | 154 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail;
|
q_sfb.c | 140 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
q_gred.c | 112 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; 258 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.c | 200 rta->rta_len = RTA_LENGTH(sizeof(char)); 209 rta->rta_len = RTA_LENGTH(sizeof(char));
|
driver_wext.c | 593 int attrlen, rta_len; local 599 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 602 if (os_strcmp(((char *) attr) + rta_len, drv->ifname) 637 int attrlen, rta_len; local 698 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 702 drv, ((char *) attr) + rta_len, 703 attr->rta_len - rta_len); 706 ((char *) attr) + rta_len, 707 attr->rta_len - rta_len, 0) 718 int attrlen, rta_len; local [all...] |
/external/strace/ |
socketutils.c | 215 int rta_len = data_len - NLMSG_LENGTH(sizeof(*diag_msg)); local 226 RTA_OK(attr, rta_len); 227 attr = RTA_NEXT(attr, rta_len)) {
|
/external/iproute2/ip/ |
iplink_vlan.c | 69 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *)tail;
|