/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;
|
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_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;
|
f_basic.c | 105 tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
|
f_fw.c | 115 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
f_tcindex.c | 116 tail->rta_len = (void *) NLMSG_TAIL(n) - (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;
|
q_gred.c | 112 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; 258 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
q_htb.c | 97 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; 237 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
|
f_route.c | 124 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;
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.c | 171 rta->rta_len = RTA_LENGTH(sizeof(char)); 181 rta->rta_len = RTA_LENGTH(sizeof(char));
|
driver_wext.c | 601 int attrlen, rta_len; local 607 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 610 if (os_strcmp(((char *) attr) + rta_len, drv->ifname) 645 int attrlen, rta_len; local 706 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 710 drv, ((char *) attr) + rta_len, 711 attr->rta_len - rta_len); 714 ((char *) attr) + rta_len, 715 attr->rta_len - rta_len, 0) 726 int attrlen, rta_len; local [all...] |
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
driver_mac80211.c | 89 rta->rta_len = RTA_LENGTH(sizeof(char)); 98 rta->rta_len = RTA_LENGTH(sizeof(char)); 492 int attrlen, nlmsg_len, rta_len; local 506 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 509 if (os_strcmp(((char *) attr) + rta_len, drv->ifname) 547 int attrlen, nlmsg_len, rta_len; local 590 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 594 drv, ctx, ((char *) attr) + rta_len, 595 attr->rta_len - rta_len); 611 int attrlen, nlmsg_len, rta_len; local [all...] |
/bionic/libc/kernel/common/linux/ |
rtnetlink.h | 144 unsigned short rta_len; member in struct:rtattr 150 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 151 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 156 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
|
/external/wpa_supplicant_8/src/ap/ |
vlan_init.c | 757 int attrlen, nlmsg_len, rta_len; local 773 rta_len = RTA_ALIGN(sizeof(struct rtattr)); 778 int n = attr->rta_len - rta_len; 786 os_memcpy(ifname, ((char *) attr) + rta_len, n);
|
/external/iproute2/ip/ |
iplink_vlan.c | 69 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *)tail;
|