/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/linux/ |
rtnetlink.h | 112 struct rtattr struct 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))) 122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 360 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 386 #define NDA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg)))) 480 #define NDTA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))) [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/ |
rtnetlink.h | 112 struct rtattr struct 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))) 122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 360 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 386 #define NDA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg)))) 480 #define NDTA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))) [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
rtnetlink.h | 112 struct rtattr struct 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))) 122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 224 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 360 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 386 #define NDA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg)))) 480 #define NDTA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))) [all...] |
/external/iproute2/genl/ |
ctrl.c | 76 struct rtattr *tb[CTRL_ATTR_MAX + 1]; 79 struct rtattr *attrs; 99 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); 136 static int print_ctrl_cmds(FILE *fp, struct rtattr *arg, __u32 ctrl_ver) 138 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; 157 static int print_ctrl_grp(FILE *fp, struct rtattr *arg, __u32 ctrl_ver) 159 struct rtattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1]; 183 struct rtattr *tb[CTRL_ATTR_MAX + 1]; 186 struct rtattr *attrs; 212 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN) [all...] |
/external/iproute2/ip/ |
ip_common.h | 46 static inline int rtm_get_table(struct rtmsg *r, struct rtattr **tb) 64 struct rtattr *[]); 66 struct rtattr *);
|
/external/iproute2/tc/ |
q_qfq.c | 59 struct rtattr *tail; 94 static int qfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 96 struct rtattr *tb[TCA_QFQ_MAX + 1];
|
f_basic.c | 42 struct rtattr *tail; 59 tail = (struct rtattr*)(((void*)n)+NLMSG_ALIGN(n->nlmsg_len)); 110 struct rtattr *opt, __u32 handle) 112 struct rtattr *tb[TCA_BASIC_MAX+1];
|
f_fw.c | 38 struct rtattr *tail; 119 static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) 121 struct rtattr *tb[TCA_FW_MAX+1]; 147 struct rtattr *idev = tb[TCA_FW_INDEV];
|
q_dsmark.c | 32 struct rtattr *tail; 94 struct rtattr *tail; 132 static int dsmark_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 134 struct rtattr *tb[TCA_DSMARK_MAX+1];
|
tc_common.h | 14 extern void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta);
|
m_pedit.h | 59 extern int print_pedit(struct action_util *au,FILE * f, struct rtattr *arg); 60 extern int pedit_print_xstats(struct action_util *au, FILE *f, struct rtattr *xstats);
|
f_tcindex.c | 31 struct rtattr *tail; 122 struct rtattr *opt, __u32 handle) 124 struct rtattr *tb[TCA_TCINDEX_MAX+1];
|
q_prio.c | 36 struct rtattr *nest; 96 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 100 struct rtattr *tb[TCA_PRIO_MAX+1];
|
q_rr.c | 37 struct rtattr *nest; 91 int rr_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 95 struct rtattr *tb[TCA_PRIO_MAX + 1];
|
q_fifo.c | 61 static int fifo_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 98 extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt);
|
m_action.c | 70 static int print_noaopt(struct action_util *au, FILE *f, struct rtattr *opt) 172 struct rtattr *tail, *tail2; 258 tc_print_one_action(FILE * f, struct rtattr *arg) 261 struct rtattr *tb[TCA_ACT_MAX + 1]; 301 tc_print_action(FILE * f, const struct rtattr *arg) 305 struct rtattr *tb[TCA_ACT_MAX_PRIO + 1]; 338 struct rtattr * tb[TCAA_MAX+1]; 381 struct rtattr *tail; 382 struct rtattr *tail2; 489 struct rtattr *tail [all...] |
/external/android-clat/ |
getaddr.c | 46 struct rtattr *rta_p; 51 rta_p = (struct rtattr *)IFA_RTA(ifa_p); 64 memcpy(&targ_p->ip.ip6, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr)); 71 memcpy(&targ_p->ip.ip4, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 117 struct rtattr struct 127 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 128 (rta)->rta_len >= sizeof(struct rtattr) && \ 131 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 132 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 309 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 327 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */ 482 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 585 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 117 struct rtattr struct 127 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 128 (rta)->rta_len >= sizeof(struct rtattr) && \ 131 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 132 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 309 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 327 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */ 482 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 585 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_addr.h | 57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 117 struct rtattr struct 127 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 128 (rta)->rta_len >= sizeof(struct rtattr) && \ 131 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 132 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 274 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 309 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 327 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */ 482 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 585 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
/external/iproute2/include/linux/ |
rtnetlink.h | 137 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*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
if_addr.h | 56 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|