/external/iproute2/ip/ |
ipmacsec.c | 377 struct rtattr *attr_sa; 383 struct rtattr *attr_rxsc; 537 static int validate_dump(struct rtattr **attrs) 545 static int validate_secy_dump(struct rtattr **attrs) 561 static void print_flag(FILE *f, struct rtattr *attrs[], const char *desc, 593 static void print_attrs(const char *prefix, struct rtattr *attrs[]) 626 static void print_one_stat(const char **names, struct rtattr **attr, int idx, 648 static void print_txsc_stats(const char *prefix, struct rtattr *attr) 650 struct rtattr *stats[MACSEC_TXSC_STATS_ATTR_MAX + 1]; 687 static void print_secy_stats(const char *prefix, struct rtattr *attr [all...] |
iproute_lwtunnel.c | 139 static void print_encap_seg6(FILE *fp, struct rtattr *encap) 141 struct rtattr *tb[SEG6_IPTUNNEL_MAX+1]; 195 static void print_encap_seg6local(FILE *fp, struct rtattr *encap) 197 struct rtattr *tb[SEG6_LOCAL_MAX + 1]; 243 static void print_encap_mpls(FILE *fp, struct rtattr *encap) 245 struct rtattr *tb[MPLS_IPTUNNEL_MAX+1]; 257 static void print_encap_ip(FILE *fp, struct rtattr *encap) 259 struct rtattr *tb[LWTUNNEL_IP_MAX+1]; 308 static void print_encap_ila(FILE *fp, struct rtattr *encap) 310 struct rtattr *tb[ILA_ATTR_MAX+1] [all...] |
iplink_bond_slave.c | 35 static void print_slave_state(FILE *f, struct rtattr *tb) 55 static void print_slave_mii_status(FILE *f, struct rtattr *tb) 71 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[])
|
/external/iproute2/tc/ |
m_tunnel_key.c | 90 struct rtattr *tail; 208 struct rtattr *attr) 229 struct rtattr *attr) 237 struct rtattr *attr) 246 struct rtattr *attr) 253 static int print_tunnel_key(struct action_util *au, FILE *f, struct rtattr *arg) 255 struct rtattr *tb[TCA_TUNNEL_KEY_MAX + 1];
|
m_simple.c | 104 struct rtattr *tail; 162 static int print_simple(struct action_util *au, FILE *f, struct rtattr *arg) 165 struct rtattr *tb[TCA_DEF_MAX + 1];
|
f_fw.c | 46 struct rtattr *tail; 127 static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) 129 struct rtattr *tb[TCA_FW_MAX+1]; 156 struct rtattr *idev = tb[TCA_FW_INDEV];
|
q_codel.c | 69 struct rtattr *tail; 129 static int codel_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 131 struct rtattr *tb[TCA_CODEL_MAX + 1]; 176 struct rtattr *xstats)
|
q_dsmark.c | 31 struct rtattr *tail; 90 struct rtattr *tail; 126 static int dsmark_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 128 struct rtattr *tb[TCA_DSMARK_MAX+1];
|
q_hhf.c | 38 struct rtattr *tail; 120 static int hhf_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 122 struct rtattr *tb[TCA_HHF_MAX + 1]; 177 struct rtattr *xstats)
|
q_multiq.c | 63 static int multiq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
q_sfb.c | 62 struct rtattr *tail; 143 static int sfb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 145 struct rtattr *tb[__TCA_SFB_MAX]; 171 struct rtattr *xstats)
|
tc_common.h | 17 extern void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta);
|
m_pedit.h | 90 extern int print_pedit(struct action_util *au, FILE *f, struct rtattr *arg); 92 struct rtattr *xstats);
|
q_fifo.c | 60 static int fifo_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 97 extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt);
|
m_action.c | 68 static int print_noaopt(struct action_util *au, FILE *f, struct rtattr *opt) 169 struct rtattr *tail, *tail2; 289 static int tc_print_one_action(FILE *f, struct rtattr *arg) 292 struct rtattr *tb[TCA_ACT_MAX + 1]; 335 tc_print_action_flush(FILE *f, const struct rtattr *arg) 338 struct rtattr *tb[TCA_MAX + 1]; 361 tc_print_action(FILE *f, const struct rtattr *arg, unsigned short tot_acts) 372 struct rtattr *tb[tot_acts + 1]; 400 struct rtattr *tb[TCA_ROOT_MAX+1]; 454 struct rtattr *tail [all...] |
/external/libnl/include/linux-private/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/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))))
|
/bionic/libc/kernel/uapi/linux/ |
if_addr.h | 62 #define IFA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 142 struct rtattr { struct 148 #define RTA_OK(rta,len) ((len) >= (int) sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len)) 149 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), (struct rtattr *) (((char *) (rta)) + RTA_ALIGN((rta)->rta_len))) 150 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 249 #define RTM_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 270 #define RTNH_DATA(rtnh) ((struct rtattr *) (((char *) (rtnh)) + RTNH_LENGTH(0))) 411 #define TCA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 526 #define TA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
|
/external/iproute2/include/uapi/linux/ |
if_addr.h | 65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 167 struct rtattr { struct 176 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 177 (rta)->rta_len >= sizeof(struct rtattr) && \ 180 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 181 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 335 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 374 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 397 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */ 563 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 698 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
/external/kernel-headers/original/uapi/linux/ |
if_addr.h | 66 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
rtnetlink.h | 167 struct rtattr { struct 176 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ 177 (rta)->rta_len >= sizeof(struct rtattr) && \ 180 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len))) 181 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 335 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 374 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) 397 /* RTM_METRICS --- array of struct rtattr with types of RTAX_* */ 566 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 703 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))) [all...] |
/external/iproute2/bridge/ |
mdb.c | 25 ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct br_port_msg)))) 45 static void __print_router_port_stats(FILE *f, struct rtattr *pattr) 47 struct rtattr *tb[MDBA_ROUTER_PATTR_MAX + 1]; 79 static void br_print_router_ports(FILE *f, struct rtattr *attr, __u32 brifidx) 82 struct rtattr *i; 132 struct nlmsghdr *n, struct rtattr **tb) 203 static void br_print_mdb_entry(FILE *f, int ifindex, struct rtattr *attr, 206 struct rtattr *etb[MDBA_MDB_EATTR_MAX + 1]; 208 struct rtattr *i; 225 struct rtattr *tb[MDBA_MAX+1], *i [all...] |