Home
last modified time | relevance | path

Searched refs:nl_dump (Results 1 – 25 of 57) sorted by relevance

123

/external/libnl/lib/idiag/
Didiag_msg_obj.c374 nl_dump(p, "src: %s:%d ", nl_addr2str(msg->idiag_src, buf, sizeof(buf)), in idiag_msg_dump_line()
376 nl_dump(p, "dst: %s:%d ", nl_addr2str(msg->idiag_dst, buf, sizeof(buf)), in idiag_msg_dump_line()
378 nl_dump(p, "iif: %d ", msg->idiag_ifindex); in idiag_msg_dump_line()
379 nl_dump(p, "\n"); in idiag_msg_dump_line()
387 nl_dump(p, "\nfamily: %s\n", nl_af2str(msg->idiag_family, buf, sizeof(buf))); in idiag_msg_dump_details()
388 nl_dump(p, "state: %s\n", in idiag_msg_dump_details()
390 nl_dump(p, "timer (%s, %s, retransmits: %d)\n", in idiag_msg_dump_details()
395 nl_dump(p, "source: %s:%d\n", nl_addr2str(msg->idiag_src, buf, sizeof(buf)), in idiag_msg_dump_details()
397 nl_dump(p, "destination: %s:%d\n", nl_addr2str(msg->idiag_dst, buf, sizeof(buf)), in idiag_msg_dump_details()
400 nl_dump(p, "ifindex: %d\n", msg->idiag_ifindex); in idiag_msg_dump_details()
[all …]
Didiag_req_obj.c134 nl_dump(p, "src %s ", nl_addr2str(req->idiag_src, buf, sizeof(buf))); in idiag_req_dump_line()
135 nl_dump(p, "dst %s ", nl_addr2str(req->idiag_dst, buf, sizeof(buf))); in idiag_req_dump_line()
136 nl_dump(p, "iif %d ", req->idiag_ifindex); in idiag_req_dump_line()
137 nl_dump(p, "\n"); in idiag_req_dump_line()
146 nl_dump(p, "%s ", nl_af2str(req->idiag_family, buf, sizeof(buf))); in idiag_req_dump_details()
147 nl_dump(p, "exts %s ", in idiag_req_dump_details()
149 nl_dump(p, "src %s ", nl_addr2str(req->idiag_src, buf, sizeof(buf))); in idiag_req_dump_details()
150 nl_dump(p, "dst %s ", nl_addr2str(req->idiag_dst, buf, sizeof(buf))); in idiag_req_dump_details()
151 nl_dump(p, "iif %d ", req->idiag_ifindex); in idiag_req_dump_details()
152 nl_dump(p, "states %s ", idiagnl_state2str(req->idiag_states, buf, in idiag_req_dump_details()
[all …]
/external/libnl/lib/route/link/
Dinet6.c273 nl_dump(p, " <%s>\n", in inet6_dump_details()
281 nl_dump(p, " retrans-time %s\n", in inet6_dump_details()
323 nl_dump(p, "\n"); in inet6_dump_details()
327 nl_dump(p, " "); in inet6_dump_details()
331 nl_dump(p, "\n"); in inet6_dump_details()
340 nl_dump(p, " IPv6: InPkts InOctets " in inet6_dump_stats()
342 nl_dump(p, " %18" PRIu64 " ", link->l_stats[RTNL_LINK_IP6_INPKTS]); in inet6_dump_stats()
347 nl_dump(p, "%14.2f %3s ", octets, octetsUnit); in inet6_dump_stats()
349 nl_dump(p, "%16" PRIu64 " B ", 0); in inet6_dump_stats()
351 nl_dump(p, "%18" PRIu64 " %18" PRIu64 "\n", in inet6_dump_stats()
[all …]
Dipgre.c217 nl_dump(p, "ipgre : %s", link->l_name); in ipgre_dump_line()
226 nl_dump(p, " link "); in ipgre_dump_details()
235 nl_dump(p, " iflags "); in ipgre_dump_details()
240 nl_dump(p, " oflags "); in ipgre_dump_details()
245 nl_dump(p, " ikey "); in ipgre_dump_details()
250 nl_dump(p, " okey "); in ipgre_dump_details()
255 nl_dump(p, " local "); in ipgre_dump_details()
263 nl_dump(p, " remote "); in ipgre_dump_details()
271 nl_dump(p, " ttl "); in ipgre_dump_details()
276 nl_dump(p, " tos "); in ipgre_dump_details()
[all …]
Dip6tnl.c209 nl_dump(p, "ip6_tnl : %s", link->l_name); in ip6_tnl_dump_line()
218 nl_dump(p, " link "); in ip6_tnl_dump_details()
227 nl_dump(p, " local "); in ip6_tnl_dump_details()
236 nl_dump(p, " remote "); in ip6_tnl_dump_details()
245 nl_dump(p, " ttl "); in ip6_tnl_dump_details()
250 nl_dump(p, " tos "); in ip6_tnl_dump_details()
255 nl_dump(p, " encaplimit "); in ip6_tnl_dump_details()
260 nl_dump(p, " flags "); in ip6_tnl_dump_details()
265 nl_dump(p, " flowinfo "); in ip6_tnl_dump_details()
270 nl_dump(p, " proto "); in ip6_tnl_dump_details()
Dvxlan.c210 nl_dump(p, "vxlan-id %u", vxi->vxi_id); in vxlan_dump_line()
221 nl_dump(p, " group "); in vxlan_dump_details()
229 nl_dump(p, " link "); in vxlan_dump_details()
238 nl_dump(p, " local "); in vxlan_dump_details()
246 nl_dump(p, " ttl "); in vxlan_dump_details()
254 nl_dump(p, " tos "); in vxlan_dump_details()
262 nl_dump(p, " learning "); in vxlan_dump_details()
270 nl_dump(p, " ageing "); in vxlan_dump_details()
278 nl_dump(p, " limit "); in vxlan_dump_details()
291 nl_dump(p, " proxy "); in vxlan_dump_details()
[all …]
/external/libnl/lib/netfilter/
Dlog_msg_obj.c84 nl_dump(p, "%s", msg->log_msg_prefix); in log_msg_dump()
88 nl_dump(p, "IN=%s ", in log_msg_dump()
93 nl_dump(p, "IN=%d ", msg->log_msg_indev); in log_msg_dump()
98 nl_dump(p, "PHYSIN=%s ", in log_msg_dump()
103 nl_dump(p, "IN=%d ", msg->log_msg_physindev); in log_msg_dump()
108 nl_dump(p, "OUT=%s ", in log_msg_dump()
113 nl_dump(p, "OUT=%d ", msg->log_msg_outdev); in log_msg_dump()
118 nl_dump(p, "PHYSOUT=%s ", in log_msg_dump()
123 nl_dump(p, "PHYSOUT=%d ", msg->log_msg_physoutdev); in log_msg_dump()
129 nl_dump(p, "MAC"); in log_msg_dump()
[all …]
Dqueue_msg_obj.c74 nl_dump(p, "GROUP=%u ", msg->queue_msg_group); in nfnl_queue_msg_dump()
78 nl_dump(p, "IN=%s ", in nfnl_queue_msg_dump()
83 nl_dump(p, "IN=%d ", msg->queue_msg_indev); in nfnl_queue_msg_dump()
88 nl_dump(p, "PHYSIN=%s ", in nfnl_queue_msg_dump()
93 nl_dump(p, "IN=%d ", msg->queue_msg_physindev); in nfnl_queue_msg_dump()
98 nl_dump(p, "OUT=%s ", in nfnl_queue_msg_dump()
103 nl_dump(p, "OUT=%d ", msg->queue_msg_outdev); in nfnl_queue_msg_dump()
108 nl_dump(p, "PHYSOUT=%s ", in nfnl_queue_msg_dump()
113 nl_dump(p, "PHYSOUT=%d ", msg->queue_msg_physoutdev); in nfnl_queue_msg_dump()
119 nl_dump(p, "MAC"); in nfnl_queue_msg_dump()
[all …]
Dct_obj.c113 nl_dump(p, "%s", nl_addr2str(addr, buf, sizeof(buf))); in dump_addr()
116 nl_dump(p, ":%u ", port); in dump_addr()
118 nl_dump(p, " "); in dump_addr()
124 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply)); in dump_icmp()
127 nl_dump(p, "code %d ", nfnl_ct_get_icmp_code(ct, reply)); in dump_icmp()
130 nl_dump(p, "id %d ", nfnl_ct_get_icmp_id(ct, reply)); in dump_icmp()
163 nl_dump(p, sync ? "<-> " : "-> "); in ct_dump_tuples()
169 nl_dump(p, "<- "); in ct_dump_tuples()
184 nl_dump(p, "%s ", in ct_dump_line()
188 nl_dump(p, "%s ", in ct_dump_line()
[all …]
Dexp_obj.c164 nl_dump(p, "%s", nl_addr2str(addr, buf, sizeof(buf))); in dump_addr()
167 nl_dump(p, ":%u ", port); in dump_addr()
169 nl_dump(p, " "); in dump_addr()
176 nl_dump(p, "icmp type %d ", nfnl_exp_get_icmp_type(exp, tuple)); in dump_icmp()
178 nl_dump(p, "code %d ", nfnl_exp_get_icmp_code(exp, tuple)); in dump_icmp()
180 nl_dump(p, "id %d ", nfnl_exp_get_icmp_id(exp, tuple)); in dump_icmp()
205 nl_dump(p, "%s ", in exp_dump_tuples()
220 nl_dump(p, "nat dir %s ", exp->exp_nat_dir); in exp_dump_tuples()
233 nl_dump(p, "\n"); in exp_dump_line()
244 nl_dump(p, " id 0x%x ", exp->exp_id); in exp_dump_details()
[all …]
Dlog_obj.c37 nl_dump(p, "group=%u ", log->log_group); in nfnl_log_dump()
40 nl_dump(p, "copy_mode=%s ", in nfnl_log_dump()
45 nl_dump(p, "copy_range=%u ", log->log_copy_range); in nfnl_log_dump()
48 nl_dump(p, "flush_timeout=%u ", log->log_flush_timeout); in nfnl_log_dump()
51 nl_dump(p, "alloc_size=%u ", log->log_alloc_size); in nfnl_log_dump()
54 nl_dump(p, "queue_threshold=%u ", log->log_queue_threshold); in nfnl_log_dump()
56 nl_dump(p, "\n"); in nfnl_log_dump()
Dqueue_obj.c39 nl_dump(p, "group=%u ", queue->queue_group); in nfnl_queue_dump()
42 nl_dump(p, "maxlen=%u ", queue->queue_maxlen); in nfnl_queue_dump()
45 nl_dump(p, "copy_mode=%s ", in nfnl_queue_dump()
50 nl_dump(p, "copy_range=%u ", queue->queue_copy_range); in nfnl_queue_dump()
52 nl_dump(p, "\n"); in nfnl_queue_dump()
/external/libnl/lib/route/
Dnexthop.c114 nl_dump(dp, "via"); in nh_dump_line()
117 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_line()
122 nl_dump(dp, " dev %s", in nh_dump_line()
127 nl_dump(dp, " dev %d", nh->rtnh_ifindex); in nh_dump_line()
130 nl_dump(dp, " "); in nh_dump_line()
143 nl_dump(dp, "nexthop"); in nh_dump_details()
146 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_details()
151 nl_dump(dp, " dev %s", in nh_dump_details()
156 nl_dump(dp, " dev %d", nh->rtnh_ifindex); in nh_dump_details()
160 nl_dump(dp, " weight %u", nh->rtnh_weight); in nh_dump_details()
[all …]
Droute_obj.c142 nl_dump(p, "cache "); in route_dump_line()
146 nl_dump(p, "default "); in route_dump_line()
148 nl_dump(p, "%s ", nl_addr2str(r->rt_dst, buf, sizeof(buf))); in route_dump_line()
151 nl_dump(p, "table %s ", in route_dump_line()
155 nl_dump(p, "type %s ", in route_dump_line()
159 nl_dump(p, "tos %#x ", r->rt_tos); in route_dump_line()
173 nl_dump(p, "<"); in route_dump_line()
176 flags &= ~RTNH_F_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
183 flags &= ~RTM_F_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
190 flags &= ~RTCF_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
[all …]
Drule.c196 nl_dump(p, "%s ", nl_af2str(r->r_family, buf, sizeof(buf))); in rule_dump_line()
199 nl_dump(p, "from %s ", in rule_dump_line()
203 nl_dump(p, "to %s ", in rule_dump_line()
207 nl_dump(p, "tos %u ", r->r_dsfield); in rule_dump_line()
210 nl_dump(p, "mark %#x/%#x", r->r_mark, r->r_mask); in rule_dump_line()
213 nl_dump(p, "iif %s ", r->r_iifname); in rule_dump_line()
216 nl_dump(p, "oif %s ", r->r_oifname); in rule_dump_line()
219 nl_dump(p, "lookup %s ", in rule_dump_line()
223 nl_dump(p, "flow %s ", in rule_dump_line()
227 nl_dump(p, "goto %u ", r->r_goto); in rule_dump_line()
[all …]
Dtc.c826 nl_dump(p, "%s ", type_ops->tt_dump_prefix); in rtnl_tc_dump_line()
828 nl_dump(p, "%s ", tc->tc_kind); in rtnl_tc_dump_line()
831 nl_dump(p, "dev %s ", in rtnl_tc_dump_line()
835 nl_dump(p, "dev %u ", tc->tc_ifindex); in rtnl_tc_dump_line()
837 nl_dump(p, "id %s ", in rtnl_tc_dump_line()
840 nl_dump(p, "parent %s", in rtnl_tc_dump_line()
844 nl_dump(p, "\n"); in rtnl_tc_dump_line()
859 nl_dump(p, " mtu %u", tc->tc_mtu); in rtnl_tc_dump_details()
862 nl_dump(p, " mpu %u", tc->tc_mpu); in rtnl_tc_dump_details()
865 nl_dump(p, " overhead %u", tc->tc_overhead); in rtnl_tc_dump_details()
[all …]
Daddr.c348 nl_dump(p, " peer %s", in addr_dump_line()
351 nl_dump(p, " %s ", nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_line()
354 nl_dump(p, "dev %s ", in addr_dump_line()
358 nl_dump(p, "dev %d ", addr->a_ifindex); in addr_dump_line()
360 nl_dump(p, "scope %s", in addr_dump_line()
365 nl_dump(p, " <%s>", buf); in addr_dump_line()
367 nl_dump(p, "\n"); in addr_dump_line()
385 nl_dump(p, " label %s", addr->a_label); in addr_dump_details()
388 nl_dump(p, " broadcast %s", in addr_dump_details()
392 nl_dump(p, " multicast %s", in addr_dump_details()
[all …]
/external/libnl/lib/route/act/
Dmirred.c67 nl_dump(p, " index %u", u->m_parm.ifindex); in mirred_dump_line()
70 nl_dump(p, " egress mirror"); in mirred_dump_line()
72 nl_dump(p, " egress redirect"); in mirred_dump_line()
76 nl_dump(p, " unspecified"); in mirred_dump_line()
79 nl_dump(p, " pipe"); in mirred_dump_line()
82 nl_dump(p, " stolen"); in mirred_dump_line()
85 nl_dump(p, " shot"); in mirred_dump_line()
88 nl_dump(p, " queued"); in mirred_dump_line()
91 nl_dump(p, " repeat"); in mirred_dump_line()
/external/libnl/lib/route/cls/
Du32.c199 nl_dump(p, " divisor %u", u->cu_divisor); in u32_dump_line()
201 nl_dump(p, " target %s", in u32_dump_line()
216 nl_dump(p, " hash at %u & 0x%x", sel->hoff, sel->hmask); in print_selector()
220 nl_dump(p, " offset at %u", sel->off); in print_selector()
223 nl_dump(p, " variable (at %u & 0x%x) >> %u", in print_selector()
229 nl_dump(p, " <"); in print_selector()
232 flags &= ~TC_U32_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in print_selector()
240 nl_dump(p, ">"); in print_selector()
247 nl_dump(p, "\n"); in print_selector()
252 nl_dump(p, "[0x%u] ", key->offmask); in print_selector()
[all …]
Dcgroup.c87 nl_dump(p, " ematch"); in cgroup_dump_line()
89 nl_dump(p, " match-all"); in cgroup_dump_line()
106 nl_dump(p, "<no tree>"); in cgroup_dump_details()
108 nl_dump(p, "no options"); in cgroup_dump_details()
/external/libnl/lib/route/cls/ematch/
Dcmp.c65 nl_dump(p, "ntoh%c(", (cmp->align == TCF_EM_ALIGN_U32) ? 'l' : 's'); in cmp_dump()
67 nl_dump(p, "%s at %s+%u", in cmp_dump()
71 nl_dump(p, " & 0x%x", cmp->mask); in cmp_dump()
74 nl_dump(p, ")"); in cmp_dump()
76 nl_dump(p, " %s %u", operand_txt[cmp->opnd], cmp->val); in cmp_dump()
Dmeta.c237 nl_dump(p, "%u", in dump_value()
240 nl_dump(p, "%s", in dump_value()
244 nl_dump(p, " >> %u", v->mv_shift); in dump_value()
247 nl_dump(p, " & %#x", *(uint32_t *) (v + 1)); in dump_value()
249 nl_dump(p, " & %#x", *(uint64_t *) (v + 1)); in dump_value()
255 nl_dump(p, "%s", (char *) (v + 1)); in dump_value()
257 nl_dump(p, "%s", in dump_value()
261 nl_dump(p, " >> %u", v->mv_shift); in dump_value()
272 nl_dump(p, "meta("); in meta_dump()
275 nl_dump(p, " %s ", rtnl_ematch_opnd2txt(m->opnd, buf, sizeof(buf))); in meta_dump()
[all …]
Dnbyte.c107 nl_dump(p, "pattern(%u:[", n->cfg.len); in nbyte_dump()
110 nl_dump(p, "%02x", n->pattern[i]); in nbyte_dump()
112 nl_dump(p, " "); in nbyte_dump()
115 nl_dump(p, "] at %s+%u)", layer_txt(&n->cfg), n->cfg.off); in nbyte_dump()
/external/libnl/lib/route/qdisc/
Dprio.c64 nl_dump(p, " bands %u", prio->qp_bands); in prio_dump_line()
76 nl_dump(p, "priomap ["); in prio_dump_details()
79 nl_dump(p, "%u%s", prio->qp_priomap[i], in prio_dump_details()
82 nl_dump(p, "]\n"); in prio_dump_details()
89 nl_dump(p, " %18s => %u", in prio_dump_details()
93 nl_dump(p, " %18s => %u", in prio_dump_details()
97 nl_dump(p, "\n"); in prio_dump_details()
Dfq_codel.c98 nl_dump(p, " limit %u packets", fq_codel->fq_limit); in fq_codel_dump_line()
100 nl_dump(p, " target %u", fq_codel->fq_target); in fq_codel_dump_line()
102 nl_dump(p, " interval %u", fq_codel->fq_interval); in fq_codel_dump_line()
104 nl_dump(p, " ecn %u", fq_codel->fq_ecn); in fq_codel_dump_line()
106 nl_dump(p, " flows %u", fq_codel->fq_flows); in fq_codel_dump_line()
108 nl_dump(p, " quantum %u", fq_codel->fq_quantum); in fq_codel_dump_line()

123