/external/iproute2/ip/ |
iproute_lwtunnel.h | 4 int lwt_parse_encap(struct rtattr *rta, size_t len, int *argcp, char ***argvp); 5 void lwt_print_encap(FILE *fp, struct rtattr *encap_type, 6 struct rtattr *encap);
|
xdp.h | 8 void xdp_dump(FILE *fp, struct rtattr *tb, bool link, bool details);
|
xfrm.h | 37 #define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_info)))) 40 #define XFRMP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_info)))) 43 #define XFRMSID_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_id)))) 46 #define XFRMPID_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_id)))) 49 #define XFRMACQ_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_acquire)))) 50 #define XFRMEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_expire)))) 51 #define XFRMPEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire)))) 53 #define XFRMREP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_report)))) 55 #define XFRMSAPD_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(__u32)))) 137 void xfrm_xfrma_print(struct rtattr *tb[], __u16 family [all...] |
iplink_vrf.c | 59 static void vrf_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) 72 struct rtattr *tb[]) 126 struct rtattr *tb[IFLA_MAX+1]; 127 struct rtattr *li[IFLA_INFO_MAX+1]; 128 struct rtattr *vrf_attr[IFLA_VRF_MAX + 1]; 196 struct rtattr *tb[IFLA_MAX+1]; 197 struct rtattr *li[IFLA_INFO_MAX+1];
|
iplink_xdp.c | 32 struct rtattr *xdp_attr; 85 static void xdp_dump_json(struct rtattr *tb[IFLA_XDP_MAX + 1]) 101 void xdp_dump(FILE *fp, struct rtattr *xdp, bool link, bool details) 103 struct rtattr *tb[IFLA_XDP_MAX + 1];
|
/external/iproute2/include/ |
libnetlink.h | 119 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type); 120 int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest); 121 struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, 123 int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest); 124 int rta_addattr8(struct rtattr *rta, int maxlen, int type, __u8 data); 125 int rta_addattr16(struct rtattr *rta, int maxlen, int type, __u16 data); 126 int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data); 127 int rta_addattr64(struct rtattr *rta, int maxlen, int type, __u64 data); 128 int rta_addattr_l(struct rtattr *rta, int maxlen, int type, 131 int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) [all...] |
/external/iproute2/tc/ |
tc_util.h | 29 FILE *f, struct rtattr *opt); 31 FILE *f, struct rtattr *xstats); 35 int (*print_copt)(struct qdisc_util *qu, FILE *f, struct rtattr *opt); 45 FILE *f, struct rtattr *opt, __u32 fhandle); 53 int (*print_aopt)(struct action_util *au, FILE *f, struct rtattr *opt); 55 FILE *f, struct rtattr *xstats); 91 void print_tcstats_attr(FILE *fp, struct rtattr *tb[], 92 char *prefix, struct rtattr **xstats); 93 void print_tcstats2_attr(FILE *fp, struct rtattr *rta, 94 char *prefix, struct rtattr **xstats) [all...] |
f_cgroup.c | 29 struct rtattr *tail; 43 tail = (struct rtattr *)(((void *)n)+NLMSG_ALIGN(n->nlmsg_len)); 84 struct rtattr *opt, __u32 handle) 86 struct rtattr *tb[TCA_CGROUP_MAX+1];
|
q_clsact.c | 24 static int clsact_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
q_drr.c | 55 struct rtattr *tail; 84 static int drr_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 86 struct rtattr *tb[TCA_DRR_MAX + 1]; 101 static int drr_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats)
|
q_ingress.c | 41 struct rtattr *opt)
|
m_connmark.c | 52 struct rtattr *tail; 108 static int print_connmark(struct action_util *au, FILE *f, struct rtattr *arg) 110 struct rtattr *tb[TCA_CONNMARK_MAX + 1];
|
q_prio.c | 36 struct rtattr *nest; 97 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 101 struct rtattr *tb[TCA_PRIO_MAX+1];
|
q_qfq.c | 54 struct rtattr *tail; 89 static int qfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 91 struct rtattr *tb[TCA_QFQ_MAX + 1];
|
q_rr.c | 37 struct rtattr *nest; 92 static int rr_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) 96 struct rtattr *tb[TCA_PRIO_MAX + 1];
|
f_basic.c | 43 struct rtattr *tail; 59 tail = (struct rtattr *)(((void *)n)+NLMSG_ALIGN(n->nlmsg_len)); 111 struct rtattr *opt, __u32 handle) 113 struct rtattr *tb[TCA_BASIC_MAX+1];
|
f_matchall.c | 42 struct rtattr *tail; 59 tail = (struct rtattr *)(((void *)n)+NLMSG_ALIGN(n->nlmsg_len)); 115 struct rtattr *opt, __u32 handle) 117 struct rtattr *tb[TCA_MATCHALL_MAX+1];
|
f_flower.c | 581 struct rtattr *tail; 597 tail = (struct rtattr *) (((void *) n) + NLMSG_ALIGN(n->nlmsg_len)); 954 struct rtattr *addr_attr, 955 struct rtattr *mask_attr) 975 struct rtattr *eth_type_attr) 998 struct rtattr *ip_proto_attr) 1023 struct rtattr *key_attr, 1024 struct rtattr *mask_attr) 1037 struct rtattr *attr, 1038 struct rtattr *mask_attr [all...] |
/external/iproute2/bridge/ |
br_common.h | 2 ((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(struct br_mdb_entry)))) 5 ((struct rtattr *)(((char *)(r)) + RTA_ALIGN(sizeof(__u32)))) 7 extern void print_vlan_info(FILE *fp, struct rtattr *tb, int ifindex);
|
/external/libnfnetlink/src/ |
rtnl.h | 28 int rtnl_parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
|
/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len))) 70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) 103 struct rtattr struct
|
/external/iproute2/lib/ |
libgenl.c | 14 struct rtattr *tb[CTRL_ATTR_MAX + 1]; 17 struct rtattr *attrs; 37 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN);
|
libnetlink.c | 214 struct rtattr ext_req __attribute__ ((aligned(NLMSG_ALIGNTO))); 864 struct rtattr *rta; 896 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type) 898 struct rtattr *nest = NLMSG_TAIL(n); 904 int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest) 910 struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, 913 struct rtattr *start = NLMSG_TAIL(n); 920 int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *start) 922 struct rtattr *nest = (void *)start + NLMSG_ALIGN(start->rta_len); 929 int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data [all...] |
/external/iproute2/genl/ |
ctrl.c | 72 struct rtattr *tb[CTRL_ATTR_MAX + 1]; 74 struct rtattr *attrs; 94 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); 131 static int print_ctrl_cmds(FILE *fp, struct rtattr *arg, __u32 ctrl_ver) 133 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; 152 static int print_ctrl_grp(FILE *fp, struct rtattr *arg, __u32 ctrl_ver) 154 struct rtattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1]; 179 struct rtattr *tb[CTRL_ATTR_MAX + 1]; 182 struct rtattr *attrs; 208 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN) [all...] |
/external/android-clat/ |
getaddr.c | 47 struct rtattr *rta_p; 52 rta_p = (struct rtattr *)IFA_RTA(ifa_p); 65 memcpy(&targ_p->ip.ip6, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr)); 72 memcpy(&targ_p->ip.ip4, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr));
|