Home
last modified time | relevance | path

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

1234

/external/libnl/lib/idiag/
Didiag_msg_obj.c434 nl_dump(p, "src: %s:%d ", nl_addr2str(msg->idiag_src, buf, sizeof(buf)), in idiag_msg_dump_line()
436 nl_dump(p, "dst: %s:%d ", nl_addr2str(msg->idiag_dst, buf, sizeof(buf)), in idiag_msg_dump_line()
438 nl_dump(p, "iif: %d ", msg->idiag_ifindex); in idiag_msg_dump_line()
439 nl_dump(p, "\n"); in idiag_msg_dump_line()
447 nl_dump(p, "\nfamily: %s\n", nl_af2str(msg->idiag_family, buf, sizeof(buf))); in idiag_msg_dump_details()
448 nl_dump(p, "state: %s\n", in idiag_msg_dump_details()
450 nl_dump(p, "timer (%s, %s, retransmits: %d)\n", in idiag_msg_dump_details()
455 nl_dump(p, "source: %s:%d\n", nl_addr2str(msg->idiag_src, buf, sizeof(buf)), in idiag_msg_dump_details()
457 nl_dump(p, "destination: %s:%d\n", nl_addr2str(msg->idiag_dst, buf, sizeof(buf)), in idiag_msg_dump_details()
460 nl_dump(p, "ifindex: %d\n", msg->idiag_ifindex); in idiag_msg_dump_details()
[all …]
Didiag_req_obj.c135 nl_dump(p, "src %s ", nl_addr2str(req->idiag_src, buf, sizeof(buf))); in idiag_req_dump_line()
136 nl_dump(p, "dst %s ", nl_addr2str(req->idiag_dst, buf, sizeof(buf))); in idiag_req_dump_line()
137 nl_dump(p, "iif %d ", req->idiag_ifindex); in idiag_req_dump_line()
138 nl_dump(p, "\n"); in idiag_req_dump_line()
147 nl_dump(p, "%s ", nl_af2str(req->idiag_family, buf, sizeof(buf))); in idiag_req_dump_details()
148 nl_dump(p, "exts %s ", in idiag_req_dump_details()
150 nl_dump(p, "src %s ", nl_addr2str(req->idiag_src, buf, sizeof(buf))); in idiag_req_dump_details()
151 nl_dump(p, "dst %s ", nl_addr2str(req->idiag_dst, buf, sizeof(buf))); in idiag_req_dump_details()
152 nl_dump(p, "iif %d ", req->idiag_ifindex); in idiag_req_dump_details()
153 nl_dump(p, "states %s ", idiagnl_state2str(req->idiag_states, buf, in idiag_req_dump_details()
[all …]
/external/libnl/lib/route/link/
Dinet6.c331 nl_dump(p, " <%s>\n", in inet6_dump_details()
338 nl_dump(p, " retrans-time %s\n", in inet6_dump_details()
342 nl_dump(p, " token %s\n", in inet6_dump_details()
346 nl_dump(p, " link-local address mode %s\n", in inet6_dump_details()
389 nl_dump(p, "\n"); in inet6_dump_details()
393 nl_dump(p, " "); in inet6_dump_details()
397 nl_dump(p, "\n"); in inet6_dump_details()
406 nl_dump(p, " IPv6: InPkts InOctets " in inet6_dump_stats()
408 nl_dump(p, " %18" PRIu64 " ", link->l_stats[RTNL_LINK_IP6_INPKTS]); in inet6_dump_stats()
413 nl_dump(p, "%14.2f %3s ", octets, octetsUnit); in inet6_dump_stats()
[all …]
Dsit.c245 nl_dump(p, "sit : %s", link->l_name); in sit_dump_line()
255 nl_dump(p, " link "); in sit_dump_details()
269 nl_dump(p, " local "); in sit_dump_details()
277 nl_dump(p, " remote "); in sit_dump_details()
285 nl_dump(p, " ttl "); in sit_dump_details()
290 nl_dump(p, " tos "); in sit_dump_details()
295 nl_dump(p, " flags "); in sit_dump_details()
300 nl_dump(p, " proto "); in sit_dump_details()
305 nl_dump(p, " 6rd_prefix "); in sit_dump_details()
313 nl_dump(p, " 6rd_relay_prefix "); in sit_dump_details()
[all …]
Dvxlan.c312 nl_dump(p, "vxlan-id %u", vxi->vxi_id); in vxlan_dump_line()
324 nl_dump(p, " group "); in vxlan_dump_details()
330 nl_dump(p, " group "); in vxlan_dump_details()
338 nl_dump(p, " link "); in vxlan_dump_details()
352 nl_dump(p, " local "); in vxlan_dump_details()
358 nl_dump(p, " local "); in vxlan_dump_details()
367 nl_dump(p, " ttl "); in vxlan_dump_details()
375 nl_dump(p, " tos "); in vxlan_dump_details()
383 nl_dump(p, " learning "); in vxlan_dump_details()
391 nl_dump(p, " ageing "); in vxlan_dump_details()
[all …]
Dip6tnl.c214 nl_dump(p, "ip6_tnl : %s", link->l_name); in ip6_tnl_dump_line()
224 nl_dump(p, " link "); in ip6_tnl_dump_details()
238 nl_dump(p, " local "); in ip6_tnl_dump_details()
247 nl_dump(p, " remote "); in ip6_tnl_dump_details()
256 nl_dump(p, " ttl "); in ip6_tnl_dump_details()
261 nl_dump(p, " tos "); in ip6_tnl_dump_details()
266 nl_dump(p, " encaplimit "); in ip6_tnl_dump_details()
271 nl_dump(p, " flags "); in ip6_tnl_dump_details()
276 nl_dump(p, " flowinfo "); in ip6_tnl_dump_details()
281 nl_dump(p, " proto "); in ip6_tnl_dump_details()
/external/libnl/lib/netfilter/
Dlog_msg_obj.c85 nl_dump(p, "%s", msg->log_msg_prefix); in log_msg_dump()
89 nl_dump(p, "IN=%s ", in log_msg_dump()
94 nl_dump(p, "IN=%d ", msg->log_msg_indev); in log_msg_dump()
99 nl_dump(p, "PHYSIN=%s ", in log_msg_dump()
104 nl_dump(p, "IN=%d ", msg->log_msg_physindev); in log_msg_dump()
109 nl_dump(p, "OUT=%s ", in log_msg_dump()
114 nl_dump(p, "OUT=%d ", msg->log_msg_outdev); in log_msg_dump()
119 nl_dump(p, "PHYSOUT=%s ", in log_msg_dump()
124 nl_dump(p, "PHYSOUT=%d ", msg->log_msg_physoutdev); in log_msg_dump()
130 nl_dump(p, "MAC"); in log_msg_dump()
[all …]
Dqueue_msg_obj.c75 nl_dump(p, "GROUP=%u ", msg->queue_msg_group); in nfnl_queue_msg_dump()
79 nl_dump(p, "IN=%s ", in nfnl_queue_msg_dump()
84 nl_dump(p, "IN=%d ", msg->queue_msg_indev); in nfnl_queue_msg_dump()
89 nl_dump(p, "PHYSIN=%s ", in nfnl_queue_msg_dump()
94 nl_dump(p, "IN=%d ", msg->queue_msg_physindev); in nfnl_queue_msg_dump()
99 nl_dump(p, "OUT=%s ", in nfnl_queue_msg_dump()
104 nl_dump(p, "OUT=%d ", msg->queue_msg_outdev); in nfnl_queue_msg_dump()
109 nl_dump(p, "PHYSOUT=%s ", in nfnl_queue_msg_dump()
114 nl_dump(p, "PHYSOUT=%d ", msg->queue_msg_physoutdev); in nfnl_queue_msg_dump()
120 nl_dump(p, "MAC"); in nfnl_queue_msg_dump()
[all …]
Dct_obj.c114 nl_dump(p, "%s", nl_addr2str(addr, buf, sizeof(buf))); in dump_addr()
117 nl_dump(p, ":%u ", port); in dump_addr()
119 nl_dump(p, " "); in dump_addr()
125 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply)); in dump_icmp()
128 nl_dump(p, "code %d ", nfnl_ct_get_icmp_code(ct, reply)); in dump_icmp()
131 nl_dump(p, "id %d ", nfnl_ct_get_icmp_id(ct, reply)); in dump_icmp()
164 nl_dump(p, sync ? "<-> " : "-> "); in ct_dump_tuples()
170 nl_dump(p, "<- "); in ct_dump_tuples()
185 nl_dump(p, "%s ", in ct_dump_line()
189 nl_dump(p, "%s ", in ct_dump_line()
[all …]
Dexp_obj.c165 nl_dump(p, "%s", nl_addr2str(addr, buf, sizeof(buf))); in dump_addr()
168 nl_dump(p, ":%u ", port); in dump_addr()
170 nl_dump(p, " "); in dump_addr()
177 nl_dump(p, "icmp type %d ", nfnl_exp_get_icmp_type(exp, tuple)); in dump_icmp()
179 nl_dump(p, "code %d ", nfnl_exp_get_icmp_code(exp, tuple)); in dump_icmp()
181 nl_dump(p, "id %d ", nfnl_exp_get_icmp_id(exp, tuple)); in dump_icmp()
206 nl_dump(p, "%s ", in exp_dump_tuples()
221 nl_dump(p, "nat dir %s ", exp->exp_nat_dir); in exp_dump_tuples()
234 nl_dump(p, "\n"); in exp_dump_line()
245 nl_dump(p, " id 0x%x ", exp->exp_id); in exp_dump_details()
[all …]
Dlog_obj.c38 nl_dump(p, "group=%u ", log->log_group); in nfnl_log_dump()
41 nl_dump(p, "copy_mode=%s ", in nfnl_log_dump()
46 nl_dump(p, "copy_range=%u ", log->log_copy_range); in nfnl_log_dump()
49 nl_dump(p, "flush_timeout=%u ", log->log_flush_timeout); in nfnl_log_dump()
52 nl_dump(p, "alloc_size=%u ", log->log_alloc_size); in nfnl_log_dump()
55 nl_dump(p, "queue_threshold=%u ", log->log_queue_threshold); in nfnl_log_dump()
57 nl_dump(p, "\n"); in nfnl_log_dump()
Dqueue_obj.c40 nl_dump(p, "group=%u ", queue->queue_group); in nfnl_queue_dump()
43 nl_dump(p, "maxlen=%u ", queue->queue_maxlen); in nfnl_queue_dump()
46 nl_dump(p, "copy_mode=%s ", in nfnl_queue_dump()
51 nl_dump(p, "copy_range=%u ", queue->queue_copy_range); in nfnl_queue_dump()
53 nl_dump(p, "\n"); in nfnl_queue_dump()
/external/libnl/lib/route/act/
Dvlan.c132 nl_dump(p, " goto chain %u", v->v_parm.action & TC_ACT_EXT_VAL_MASK); in vlan_dump_line()
135 nl_dump(p, " jump %u", v->v_parm.action & TC_ACT_EXT_VAL_MASK); in vlan_dump_line()
139 nl_dump(p, " unspecified"); in vlan_dump_line()
142 nl_dump(p, " pipe"); in vlan_dump_line()
145 nl_dump(p, " stolen"); in vlan_dump_line()
148 nl_dump(p, " shot"); in vlan_dump_line()
151 nl_dump(p, " queued"); in vlan_dump_line()
154 nl_dump(p, " repeat"); in vlan_dump_line()
170 nl_dump(p, " mode POP"); in vlan_dump_details()
173 nl_dump(p, " mode PUSH"); in vlan_dump_details()
[all …]
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()
Dskbedit.c87 nl_dump(p, " priority %u", u->s_prio); in skbedit_dump_line()
90 nl_dump(p, " mark %u", u->s_mark); in skbedit_dump_line()
93 nl_dump(p, " queue_mapping %u", u->s_queue_mapping); in skbedit_dump_line()
97 nl_dump(p, " unspecified"); in skbedit_dump_line()
100 nl_dump(p, " pipe"); in skbedit_dump_line()
103 nl_dump(p, " stolen"); in skbedit_dump_line()
106 nl_dump(p, " shot"); in skbedit_dump_line()
109 nl_dump(p, " queued"); in skbedit_dump_line()
112 nl_dump(p, " repeat"); in skbedit_dump_line()
Dgact.c71 nl_dump(p, " continue"); in gact_dump_line()
74 nl_dump(p, " drop"); in gact_dump_line()
77 nl_dump(p, " reclassify"); in gact_dump_line()
80 nl_dump(p, " pass"); in gact_dump_line()
/external/libnl/lib/route/
Dnexthop.c156 nl_dump(dp, "as to %s ", in nh_dump_line()
159 nl_dump(dp, "via"); in nh_dump_line()
162 nl_dump(dp, " %s", in nh_dump_line()
166 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_line()
171 nl_dump(dp, " dev %s", in nh_dump_line()
176 nl_dump(dp, " dev %d", nh->rtnh_ifindex); in nh_dump_line()
179 nl_dump(dp, " "); in nh_dump_line()
192 nl_dump(dp, "nexthop"); in nh_dump_details()
198 nl_dump(dp, " as to %s", in nh_dump_details()
202 nl_dump(dp, " via %s", in nh_dump_details()
[all …]
Dnetconf.c200 nl_dump(p, "ipv4 "); in netconf_dump_line()
203 nl_dump(p, "ipv6 "); in netconf_dump_line()
206 nl_dump(p, "mpls "); in netconf_dump_line()
214 nl_dump(p, "all "); in netconf_dump_line()
217 nl_dump(p, "default "); in netconf_dump_line()
222 nl_dump(p, "dev %s ", in netconf_dump_line()
227 nl_dump(p, "dev %d ", nc->ifindex); in netconf_dump_line()
231 nl_dump(p, "forwarding %s ", in netconf_dump_line()
237 nl_dump(p, "rp_filter off "); in netconf_dump_line()
239 nl_dump(p, "rp_filter strict "); in netconf_dump_line()
[all …]
Drule.c243 nl_dump(p, "%s ", nl_af2str(r->r_family, buf, sizeof(buf))); in rule_dump_line()
246 nl_dump(p, "from %s ", in rule_dump_line()
250 nl_dump(p, "to %s ", in rule_dump_line()
254 nl_dump(p, "tos %u ", r->r_dsfield); in rule_dump_line()
257 nl_dump(p, "mark %#x/%#x", r->r_mark, r->r_mask); in rule_dump_line()
260 nl_dump(p, "iif %s ", r->r_iifname); in rule_dump_line()
263 nl_dump(p, "oif %s ", r->r_oifname); in rule_dump_line()
266 nl_dump(p, "lookup %s ", in rule_dump_line()
270 nl_dump(p, "lookup [l3mdev-table] "); in rule_dump_line()
273 nl_dump(p, "ipproto %s ", in rule_dump_line()
[all …]
/external/libnl/lib/route/cls/
Du32.c221 nl_dump(p, " divisor %u", u->cu_divisor); in u32_dump_line()
223 nl_dump(p, " target %s", in u32_dump_line()
238 nl_dump(p, " hash at %u & 0x%x", sel->hoff, sel->hmask); in print_selector()
242 nl_dump(p, " offset at %u", sel->off); in print_selector()
245 nl_dump(p, " variable (at %u & 0x%x) >> %u", in print_selector()
251 nl_dump(p, " <"); in print_selector()
254 flags &= ~TC_U32_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in print_selector()
262 nl_dump(p, ">"); in print_selector()
269 nl_dump(p, "\n"); in print_selector()
274 nl_dump(p, "[0x%u] ", key->offmask); in print_selector()
[all …]
/external/libnl/lib/route/cls/ematch/
Dcmp.c66 nl_dump(p, "ntoh%c(", (cmp->align == TCF_EM_ALIGN_U32) ? 'l' : 's'); in cmp_dump()
68 nl_dump(p, "%s at %s+%u", in cmp_dump()
72 nl_dump(p, " & 0x%x", cmp->mask); in cmp_dump()
75 nl_dump(p, ")"); in cmp_dump()
77 nl_dump(p, " %s %u", operand_txt[cmp->opnd], cmp->val); in cmp_dump()
Dmeta.c239 nl_dump(p, "%u", in dump_value()
242 nl_dump(p, "%s", in dump_value()
246 nl_dump(p, " >> %u", v->mv_shift); in dump_value()
249 nl_dump(p, " & %#x", *(uint32_t *) (v + 1)); in dump_value()
251 nl_dump(p, " & %#x", *(uint64_t *) (v + 1)); in dump_value()
257 nl_dump(p, "%s", (char *) (v + 1)); in dump_value()
259 nl_dump(p, "%s", in dump_value()
263 nl_dump(p, " >> %u", v->mv_shift); in dump_value()
274 nl_dump(p, "meta("); in meta_dump()
277 nl_dump(p, " %s ", rtnl_ematch_opnd2txt(m->opnd, buf, sizeof(buf))); in meta_dump()
[all …]
Dnbyte.c108 nl_dump(p, "pattern(%u:[", n->cfg.len); in nbyte_dump()
111 nl_dump(p, "%02x", n->pattern[i]); in nbyte_dump()
113 nl_dump(p, " "); in nbyte_dump()
116 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()
Dnetem.c146 nl_dump(p, " limit %dpkts", netem->qnm_limit); in netem_dump_line()
148 nl_dump(p, " no limit"); in netem_dump_line()
161 nl_dump(p, " latency %s", buf); in netem_dump_details()
165 nl_dump(p, " jitter %s", buf); in netem_dump_details()
168 nl_dump(p, " %d%", netem->qnm_corr.nmc_delay); in netem_dump_details()
173 nl_dump(p, " loss %d%", netem->qnm_loss); in netem_dump_details()
176 nl_dump(p, " %d%", netem->qnm_corr.nmc_loss); in netem_dump_details()
180 nl_dump(p, " duplicate %d%", netem->qnm_duplicate); in netem_dump_details()
183 nl_dump(p, " %d%", netem->qnm_corr.nmc_duplicate); in netem_dump_details()
187 nl_dump(p, " reorder %d%", netem->qnm_ro.nmro_probability); in netem_dump_details()
[all …]

1234