Home
last modified time | relevance | path

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

12

/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 …]
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()
Dct_obj.c111 nl_dump(p, "%s", nl_addr2str(addr, buf, sizeof(buf))); in dump_addr()
114 nl_dump(p, ":%u ", port); in dump_addr()
116 nl_dump(p, " "); in dump_addr()
122 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply)); in dump_icmp()
125 nl_dump(p, "code %d ", nfnl_ct_get_icmp_code(ct, reply)); in dump_icmp()
128 nl_dump(p, "id %d ", nfnl_ct_get_icmp_id(ct, reply)); in dump_icmp()
161 nl_dump(p, sync ? "<-> " : "-> "); in ct_dump_tuples()
167 nl_dump(p, "<- "); in ct_dump_tuples()
182 nl_dump(p, "%s ", in ct_dump_line()
186 nl_dump(p, "%s ", in ct_dump_line()
[all …]
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/cls/
Du32.c191 nl_dump(p, " divisor %u", u->cu_divisor); in u32_dump_line()
193 nl_dump(p, " target %s", in u32_dump_line()
208 nl_dump(p, " hash at %u & 0x%x", sel->hoff, sel->hmask); in print_selector()
212 nl_dump(p, " offset at %u", sel->off); in print_selector()
215 nl_dump(p, " variable (at %u & 0x%x) >> %u", in print_selector()
221 nl_dump(p, " <"); in print_selector()
224 flags &= ~TC_U32_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in print_selector()
232 nl_dump(p, ">"); in print_selector()
239 nl_dump(p, "\n"); in print_selector()
244 nl_dump(p, "[0x%u] ", key->offmask); in print_selector()
[all …]
Dematch.c370 nl_dump(p, "NOT "); in dump_ematch_sequence()
373 nl_dump(p, "("); in dump_ematch_sequence()
375 nl_dump(p, ")"); in dump_ematch_sequence()
377 nl_dump(p, "[unknown ematch %d]", match->e_kind); in dump_ematch_sequence()
379 nl_dump(p, "%s(", match->e_ops->eo_name); in dump_ematch_sequence()
384 nl_dump(p, ")"); in dump_ematch_sequence()
389 nl_dump(p, " AND "); in dump_ematch_sequence()
392 nl_dump(p, " OR "); in dump_ematch_sequence()
405 nl_dump(p, "\n"); in rtnl_ematch_tree_dump()
Dbasic.c105 nl_dump(p, " ematch"); in basic_dump_line()
107 nl_dump(p, " match-all"); in basic_dump_line()
110 nl_dump(p, " classify-to %s", in basic_dump_line()
119 nl_dump(p, "\n"); in basic_dump_details()
123 nl_dump(p, "no options.\n"); in basic_dump_details()
Dcgroup.c76 nl_dump(p, " ematch"); in cgroup_dump_line()
78 nl_dump(p, " match-all"); in cgroup_dump_line()
86 nl_dump(p, "\n"); in cgroup_dump_details()
/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()
140 nl_dump(dp, "nexthop"); in nh_dump_details()
143 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_details()
148 nl_dump(dp, " dev %s", in nh_dump_details()
153 nl_dump(dp, " dev %d", nh->rtnh_ifindex); in nh_dump_details()
157 nl_dump(dp, " weight %u", nh->rtnh_weight); in nh_dump_details()
[all …]
Droute_obj.c140 nl_dump(p, "cache "); in route_dump_line()
144 nl_dump(p, "default "); in route_dump_line()
146 nl_dump(p, "%s ", nl_addr2str(r->rt_dst, buf, sizeof(buf))); in route_dump_line()
149 nl_dump(p, "table %s ", in route_dump_line()
153 nl_dump(p, "type %s ", in route_dump_line()
157 nl_dump(p, "tos %#x ", r->rt_tos); in route_dump_line()
171 nl_dump(p, "<"); in route_dump_line()
174 flags &= ~RTNH_F_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
181 flags &= ~RTM_F_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
188 flags &= ~RTCF_##f; nl_dump(p, #f "%s", flags ? "," : ""); } in route_dump_line()
[all …]
Dclass_obj.c68 nl_dump(p, "\n"); in class_dump_line()
81 nl_dump(p, "child-qdisc %s ", in class_dump_details()
89 nl_dump(p, "noop (no leaf qdisc)"); in class_dump_details()
91 nl_dump(p, "\n"); in class_dump_details()
101 nl_dump(p, "\n"); in class_dump_stats()
Daddr.c322 nl_dump(p, " peer %s", in addr_dump_line()
325 nl_dump(p, " %s ", nl_af2str(addr->a_family, buf, sizeof(buf))); in addr_dump_line()
328 nl_dump(p, "dev %s ", in addr_dump_line()
332 nl_dump(p, "dev %d ", addr->a_ifindex); in addr_dump_line()
334 nl_dump(p, "scope %s", in addr_dump_line()
339 nl_dump(p, " <%s>", buf); in addr_dump_line()
341 nl_dump(p, "\n"); in addr_dump_line()
356 nl_dump(p, " label %s", addr->a_label); in addr_dump_details()
359 nl_dump(p, " broadcast %s", in addr_dump_details()
363 nl_dump(p, " multicast %s", in addr_dump_details()
[all …]
Drule.c178 nl_dump(p, "%s ", nl_af2str(r->r_family, buf, sizeof(buf))); in rule_dump_line()
181 nl_dump(p, "from %s ", in rule_dump_line()
184 nl_dump(p, "from 0/%d ", r->r_src_len); in rule_dump_line()
187 nl_dump(p, "to %s ", in rule_dump_line()
190 nl_dump(p, "to 0/%d ", r->r_dst_len); in rule_dump_line()
193 nl_dump(p, "tos %d ", r->r_dsfield); in rule_dump_line()
196 nl_dump(p, "mark %" PRIx64 , r->r_mark); in rule_dump_line()
199 nl_dump(p, "iif %s ", r->r_iif); in rule_dump_line()
202 nl_dump(p, "lookup %s ", in rule_dump_line()
206 nl_dump(p, "realms %s ", in rule_dump_line()
[all …]
Dqdisc_obj.c70 nl_dump(p, "\n"); in qdisc_dump_line()
81 nl_dump(p, "refcnt %u ", qdisc->q_info); in qdisc_dump_details()
87 nl_dump(p, "\n"); in qdisc_dump_details()
97 nl_dump(p, "\n"); in qdisc_dump_stats()
Dcls_obj.c79 nl_dump(p, " prio %u protocol %s", cls->c_prio, in cls_dump_line()
85 nl_dump(p, "\n"); in cls_dump_line()
100 nl_dump(p, "no options\n"); in cls_dump_details()
110 nl_dump(p, "\n"); in cls_dump_stats()
Dlink.c440 nl_dump(p, "%s ", nl_addr2str(link->l_addr, buf, sizeof(buf))); in link_dump_line()
444 nl_dump(p, "master %s ", master ? master->l_name : "inv"); in link_dump_line()
451 nl_dump(p, "<%s> ", buf); in link_dump_line()
455 nl_dump(p, "slave-of %s ", ll ? ll->l_name : "NONE"); in link_dump_line()
463 nl_dump(p, "\n"); in link_dump_line()
474 nl_dump(p, "txqlen %u weight %u ", link->l_txqlen, link->l_weight); in link_dump_details()
477 nl_dump(p, "qdisc %s ", link->l_qdisc); in link_dump_details()
480 nl_dump(p, "irq %u ", link->l_map.lm_irq); in link_dump_details()
483 nl_dump(p, "index %u ", link->l_index); in link_dump_details()
486 nl_dump(p, "\n"); in link_dump_details()
[all …]
Dneigh.c343 nl_dump(p, "dev %s ", in neigh_dump_line()
347 nl_dump(p, "dev %d ", n->n_ifindex); in neigh_dump_line()
350 nl_dump(p, "lladdr %s ", in neigh_dump_line()
357 nl_dump(p, "<%s", state); in neigh_dump_line()
359 nl_dump(p, "%s%s", state[0] ? "," : "<", flags); in neigh_dump_line()
361 nl_dump(p, ">"); in neigh_dump_line()
362 nl_dump(p, "\n"); in neigh_dump_line()
/external/libnl/lib/route/sch/
Dprio.c85 nl_dump(p, " bands %u", prio->qp_bands); in prio_dump_line()
96 nl_dump(p, "priomap ["); in prio_dump_details()
99 nl_dump(p, "%u%s", prio->qp_priomap[i], in prio_dump_details()
102 nl_dump(p, "]\n"); in prio_dump_details()
109 nl_dump(p, " %18s => %u", in prio_dump_details()
113 nl_dump(p, " %18s => %u", in prio_dump_details()
117 nl_dump(p, "\n"); in prio_dump_details()
Dhtb.c148 nl_dump(p, " r2q %u", d->qh_rate2quantum); in htb_qdisc_dump_line()
152 nl_dump(p, " default %s", in htb_qdisc_dump_line()
172 nl_dump(p, " rate %.2f%s/s (%.0f%s) log %u", in htb_class_dump_line()
193 nl_dump(p, " ceil %.2f%s/s (%.0f%s) log %u", in htb_class_dump_details()
198 nl_dump(p, " prio %u", d->ch_prio); in htb_class_dump_details()
201 nl_dump(p, " mtu %u", d->ch_mtu); in htb_class_dump_details()
208 nl_dump(p, " rbuffer %.2f%s", b, bu); in htb_class_dump_details()
216 nl_dump(p, " cbuffer %.2f%s", b, bu); in htb_class_dump_details()
220 nl_dump(p, " quantum %u", d->ch_quantum); in htb_class_dump_details()
223 nl_dump(p, " overhead %u", d->ch_overhead); in htb_class_dump_details()
[all …]
Ddsmark.c142 nl_dump(p, " indices 0x%04x", dsmark->qdm_indices); in dsmark_qdisc_dump_line()
154 nl_dump(p, " default index 0x%04x", dsmark->qdm_default_index); in dsmark_qdisc_dump_details()
157 nl_dump(p, " set-tc-index"); in dsmark_qdisc_dump_details()
169 nl_dump(p, " value 0x%02x", dsmark->cdm_value); in dsmark_class_dump_line()
172 nl_dump(p, " mask 0x%02x", dsmark->cdm_bmask); in dsmark_class_dump_line()
Dcbq.c169 nl_dump(p, " rate %.2f%s/s (%.0f%s) prio %u", in cbq_dump_line()
198 nl_dump(p, "avgpkt %u mpu %u cell %u allot %u weight %.0f%s\n", in cbq_dump_details()
217 nl_dump(p, "split %s defmap 0x%08x ", in cbq_dump_details()
221 nl_dump(p, "police %s", in cbq_dump_details()
Dfifo.c86 nl_dump(p, " limit %u packets", fifo->qf_limit); in pfifo_dump_line()
98 nl_dump(p, " limit %.1f%s", r, unit); in bfifo_dump_line()
/external/libnl/lib/route/cls/ematch/
Dcmp.c89 nl_dump(p, "%s at %s+%u ", in cmp_dump()
93 nl_dump(p, "& 0x%x ", cmp->mask); in cmp_dump()
95 nl_dump(p, "%s %u", relation_txt(cmp), cmp->val); in cmp_dump()
/external/libnl/lib/route/link/
Dvlan.c186 nl_dump(p, "vlan-id %d", vi->vi_vlan_id); in vlan_dump_line()
205 nl_dump(p, "%x -> %#08x, ", in vlan_dump_details()
208 nl_dump(p, "\n"); in vlan_dump_details()
215 nl_dump(p, "\n"); in vlan_dump_details()
224 nl_dump(p, "%#08x -> %x, ", in vlan_dump_details()
228 nl_dump(p, "\n"); in vlan_dump_details()
234 nl_dump(p, "\n"); in vlan_dump_details()

12