Home
last modified time | relevance | path

Searched refs:rta_getattr_u8 (Results 1 – 6 of 6) sorted by relevance

/external/iproute2/ip/
Dlink_gre.c119 pmtudisc = rta_getattr_u8( in gre_parse_opt()
123 ttl = rta_getattr_u8(greinfo[IFLA_GRE_TTL]); in gre_parse_opt()
126 tos = rta_getattr_u8(greinfo[IFLA_GRE_TOS]); in gre_parse_opt()
129 link = rta_getattr_u8(greinfo[IFLA_GRE_LINK]); in gre_parse_opt()
309 if (tb[IFLA_GRE_TTL] && rta_getattr_u8(tb[IFLA_GRE_TTL])) in gre_print_opt()
310 fprintf(f, "ttl %d ", rta_getattr_u8(tb[IFLA_GRE_TTL])); in gre_print_opt()
314 if (tb[IFLA_GRE_TOS] && rta_getattr_u8(tb[IFLA_GRE_TOS])) { in gre_print_opt()
315 int tos = rta_getattr_u8(tb[IFLA_GRE_TOS]); in gre_print_opt()
325 !rta_getattr_u8(tb[IFLA_GRE_PMTUDISC])) in gre_print_opt()
Dipaddress.c177 unsigned int mode = rta_getattr_u8(tb); in print_linkmode()
427 print_operstate(fp, rta_getattr_u8(tb[IFLA_OPERSTATE])); in print_linkinfo()
/external/iproute2/tc/
Dq_dsmark.c143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); in dsmark_print_opt()
149 rta_getattr_u8(tb[TCA_DSMARK_VALUE])); in dsmark_print_opt()
Dq_rr.c110 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in rr_print_opt()
Dq_prio.c115 rta_getattr_u8(tb[TCA_PRIO_MQ]) ? "on" : "off"); in prio_print_opt()
/external/iproute2/include/
Dlibnetlink.h74 static inline __u8 rta_getattr_u8(const struct rtattr *rta) in rta_getattr_u8() function