Home
last modified time | relevance | path

Searched refs:rta_getattr_u32 (Results 1 – 25 of 26) sorted by relevance

12

/external/iproute2/tc/
Df_flow.c285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]); in flow_print_opt()
298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]); in flow_print_opt()
312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]); in flow_print_opt()
314 val = rta_getattr_u32(tb[TCA_FLOW_XOR]); in flow_print_opt()
330 rta_getattr_u32(tb[TCA_FLOW_RSHIFT])); in flow_print_opt()
333 rta_getattr_u32(tb[TCA_FLOW_ADDEND])); in flow_print_opt()
337 rta_getattr_u32(tb[TCA_FLOW_DIVISOR])); in flow_print_opt()
340 sprint_tc_classid(rta_getattr_u32(tb[TCA_FLOW_BASECLASS]), b1)); in flow_print_opt()
344 rta_getattr_u32(tb[TCA_FLOW_PERTURB])); in flow_print_opt()
Df_route.c151 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_ROUTE4_CLASSID]), b1)); in route_print_opt()
154 fprintf(f, "to %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_TO]), b1, sizeof(b1))); in route_print_opt()
156 fprintf(f, "from %s ", rtnl_rtrealm_n2a(rta_getattr_u32(tb[TCA_ROUTE4_FROM]), b1, sizeof(b1))); in route_print_opt()
Dq_qfq.c105 rta_getattr_u32(tb[TCA_QFQ_WEIGHT])); in qfq_print_opt()
110 rta_getattr_u32(tb[TCA_QFQ_LMAX])); in qfq_print_opt()
Df_fw.c133 (mask = rta_getattr_u32(tb[TCA_FW_MASK])) != 0xFFFFFFFF) in fw_print_opt()
141 fprintf(f, "classid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_FW_CLASSID]), b1)); in fw_print_opt()
Dm_xt.c295 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); in print_ipt()
331 index = rta_getattr_u32(tb[TCA_IPT_INDEX]); in print_ipt()
Dq_drr.c96 sprint_size(rta_getattr_u32(tb[TCA_DRR_QUANTUM]), b1)); in drr_print_opt()
Dm_xt_old.c378 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); in print_ipt()
409 index = rta_getattr_u32(tb[TCA_IPT_INDEX]); in print_ipt()
Df_basic.c125 sprint_tc_classid(rta_getattr_u32(tb[TCA_BASIC_CLASSID]), b1)); in basic_print_opt()
Df_rsvp.c339 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_RSVP_CLASSID]), b1)); in rsvp_print_opt()
341 fprintf(f, "tunnel %d skip %d ", rta_getattr_u32(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr); in rsvp_print_opt()
Dem_meta.c451 fprintf(fd, "%d", rta_getattr_u32(rta)); in print_value()
488 rta_getattr_u32(rta)); in print_object()
Df_u32.c1201 fprintf(f, "ht divisor %d ", rta_getattr_u32(tb[TCA_U32_DIVISOR])); in u32_print_opt()
1203 __u32 htid = rta_getattr_u32(tb[TCA_U32_HASH]); in u32_print_opt()
1213 sprint_tc_classid(rta_getattr_u32(tb[TCA_U32_CLASSID]), b1)); in u32_print_opt()
1220 sprint_u32_handle(rta_getattr_u32(tb[TCA_U32_LINK]), b1)); in u32_print_opt()
Dm_ipt.c563 hook = rta_getattr_u32(tb[TCA_IPT_HOOK]); in print_ipt()
594 index = rta_getattr_u32(tb[TCA_IPT_INDEX]); in print_ipt()
Dq_atm.c227 excess = rta_getattr_u32(tb[TCA_ATM_EXCESS]); in atm_print_opt()
Dq_choke.c185 max_P = rta_getattr_u32(tb[TCA_CHOKE_MAX_P]); in choke_print_opt()
Dq_red.c179 max_P = rta_getattr_u32(tb[TCA_RED_MAX_P]); in red_print_opt()
Dm_police.c356 fprintf(f, "avrate %s ", sprint_rate(rta_getattr_u32(tb[TCA_POLICE_AVRATE]), b1)); in print_police()
/external/iproute2/ip/
Dlink_gre.c101 ikey = rta_getattr_u32(greinfo[IFLA_GRE_IKEY]); in gre_parse_opt()
104 okey = rta_getattr_u32(greinfo[IFLA_GRE_OKEY]); in gre_parse_opt()
113 saddr = rta_getattr_u32(greinfo[IFLA_GRE_LOCAL]); in gre_parse_opt()
116 daddr = rta_getattr_u32(greinfo[IFLA_GRE_REMOTE]); in gre_parse_opt()
282 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_REMOTE]); in gre_print_opt()
291 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_LOCAL]); in gre_print_opt()
299 if (tb[IFLA_GRE_LINK] && rta_getattr_u32(tb[IFLA_GRE_LINK])) { in gre_print_opt()
300 unsigned link = rta_getattr_u32(tb[IFLA_GRE_LINK]); in gre_print_opt()
Dipntable.c389 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); in print_ntable()
421 __u32 thresh1 = rta_getattr_u32(tb[NDTA_THRESH1]); in print_ntable()
425 __u32 thresh2 = rta_getattr_u32(tb[NDTA_THRESH2]); in print_ntable()
429 __u32 thresh3 = rta_getattr_u32(tb[NDTA_THRESH3]); in print_ntable()
472 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); in print_ntable()
482 __u32 refcnt = rta_getattr_u32(tpb[NDTPA_REFCNT]); in print_ntable()
511 __u32 queue = rta_getattr_u32(tpb[NDTPA_QUEUE_LEN]); in print_ntable()
520 __u32 aprobe = rta_getattr_u32(tpb[NDTPA_APP_PROBES]); in print_ntable()
524 __u32 uprobe = rta_getattr_u32(tpb[NDTPA_UCAST_PROBES]); in print_ntable()
528 __u32 mprobe = rta_getattr_u32(tpb[NDTPA_MCAST_PROBES]); in print_ntable()
[all …]
Diprule.c134 mark = rta_getattr_u32(tb[FRA_FWMARK]); in print_rule()
137 (mask = rta_getattr_u32(tb[FRA_FWMASK])) != 0xFFFFFFFF) in print_rule()
158 fprintf(fp, "%u", rta_getattr_u32(tb[FRA_UID_START])); in print_rule()
163 fprintf(fp, "-%u ", rta_getattr_u32(tb[FRA_UID_END])); in print_rule()
173 __u32 to = rta_getattr_u32(tb[FRA_FLOW]); in print_rule()
196 fprintf(fp, "%u", rta_getattr_u32(tb[FRA_GOTO])); in print_rule()
Dipl2tp.c296 p->tunnel_id = rta_getattr_u32(attrs[L2TP_ATTR_CONN_ID]); in get_response()
298 p->peer_tunnel_id = rta_getattr_u32(attrs[L2TP_ATTR_PEER_CONN_ID]); in get_response()
300 p->session_id = rta_getattr_u32(attrs[L2TP_ATTR_SESSION_ID]); in get_response()
302 p->peer_session_id = rta_getattr_u32(attrs[L2TP_ATTR_PEER_SESSION_ID]); in get_response()
319 p->local_ip.s_addr = rta_getattr_u32(attrs[L2TP_ATTR_IP_SADDR]); in get_response()
321 p->peer_ip.s_addr = rta_getattr_u32(attrs[L2TP_ATTR_IP_DADDR]); in get_response()
Diplink_macvlan.c82 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]); in macvlan_print_opt()
Diplink_macvtap.c79 mode = rta_getattr_u32(tb[IFLA_VLAN_ID]); in macvtap_print_opt()
Dip_common.h50 table = rta_getattr_u32(tb[RTA_TABLE]); in rtm_get_table()
Diproute.c230 realms = rta_getattr_u32(tb[RTA_FLOW]); in filter_nlmsg()
407 fprintf(fp, " metric %u ", rta_getattr_u32(tb[RTA_PRIORITY])); in print_route()
427 fprintf(fp, " uid %u ", rta_getattr_u32(tb[RTA_UID])); in print_route()
430 __u32 to = rta_getattr_u32(tb[RTA_FLOW]); in print_route()
595 __u32 to = rta_getattr_u32(tb[RTA_FLOW]); in print_route()
/external/iproute2/include/
Dlibnetlink.h82 static inline __u32 rta_getattr_u32(const struct rtattr *rta) in rta_getattr_u32() function

12