Searched refs:rta_len (Results 26 - 50 of 72) sorted by path

123

/external/iproute2/tc/
H A Dm_mirred.c200 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dm_nat.c160 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail;
H A Dm_pedit.c544 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dm_police.c308 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dm_skbedit.c154 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail;
H A Dm_xt.c246 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dm_xt_old.c332 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_atm.c185 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_cbq.c177 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
432 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_choke.c163 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_drr.c80 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *)tail;
H A Dq_dsmark.c80 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
126 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_gred.c112 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
258 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_hfsc.c222 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_htb.c97 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
237 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_netem.c492 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_qfq.c89 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail;
H A Dq_red.c153 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_sfb.c140 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dq_tbf.c214 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail;
H A Dtc_qdisc.c172 tail->rta_len = (void *)NLMSG_TAIL(&req.n) - (void *)tail;
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h150 unsigned short rta_len; member in struct:rtattr
159 (rta)->rta_len >= sizeof(struct rtattr) && \
160 (rta)->rta_len <= (len))
161 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
162 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
166 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/libnl/include/linux/
H A Drtnetlink.h126 unsigned short rta_len; member in struct:rtattr
135 (rta)->rta_len >= sizeof(struct rtattr) && \
136 (rta)->rta_len <= (len))
137 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
138 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
142 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dvlan_init.c618 int attrlen, nlmsg_len, rta_len; local
634 rta_len = RTA_ALIGN(sizeof(struct rtattr));
639 int n = attr->rta_len - rta_len;
647 os_memcpy(ifname, ((char *) attr) + rta_len, n);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_atheros.c1560 int attrlen, rta_len; local
1569 rta_len = RTA_ALIGN(sizeof(struct rtattr));
1573 drv, ((char *) attr) + rta_len,
1574 attr->rta_len - rta_len);

Completed in 2862 milliseconds

123