Home
last modified time | relevance | path

Searched refs:PRINTF (Results 1 – 25 of 69) sorted by relevance

123

/trueos/contrib/ipfilter/lib/
HDprintstatefields.c92 PRINTF("%#lx", (u_long)sp->is_ifp[0]);
96 PRINTF("%#lx", (u_long)sp->is_ifp[1]);
100 PRINTF("%#lx", (u_long)sp->is_ifp[2]);
104 PRINTF("%#lx", (u_long)sp->is_ifp[3]);
108 PRINTF("%s", sp->is_ifname[0]);
112 PRINTF("%s", sp->is_ifname[1]);
116 PRINTF("%s", sp->is_ifname[2]);
120 PRINTF("%s", sp->is_ifname[3]);
125 PRINTF("%"PRIu64"", sp->is_pkts[0]);
127 PRINTF("%lu", sp->is_pkts[0]);
[all …]
HDprintstate.c27 PRINTF("%d:", sp->is_v);
29 PRINTF("%s", pr->p_name);
31 PRINTF("%d", sp->is_p);
33 PRINTF(" src:%s", hostname(sp->is_family, &sp->is_src.in4));
36 PRINTF(",*");
38 PRINTF(",%d", ntohs(sp->is_sport));
41 PRINTF(" dst:%s", hostname(sp->is_family, &sp->is_dst.in4));
44 PRINTF(",*");
46 PRINTF(",%d", ntohs(sp->is_dport));
50 PRINTF(" state:%d/%d", sp->is_state[0], sp->is_state[1]);
[all …]
HDprintfr.c33 PRINTF("# Builtin: ");
36 PRINTF("%u ", fp->fr_collect);
41 PRINTF("call");
43 PRINTF(" now");
45 PRINTF(" %s/%u", s ? s : "?", fp->fr_arg);
47 PRINTF("pass");
49 PRINTF("block");
53 PRINTF("count");
55 PRINTF("auth");
57 PRINTF("preauth");
[all …]
HDprintnat.c43 PRINTF("no ");
48 PRINTF("encap in on");
52 PRINTF("encap out on");
56 PRINTF("divert in on");
60 PRINTF("divert out on");
64 PRINTF("rewrite in on");
68 PRINTF("rewrite out on");
72 PRINTF("rdr");
76 PRINTF("map");
80 PRINTF("map-block");
[all …]
HDprintnatfield.c70 PRINTF("%#lx", (u_long)n->nat_ifps[0]);
74 PRINTF("%#lx", (u_long)n->nat_ifps[1]);
78 PRINTF("%d", n->nat_mtu[0]);
82 PRINTF("%d", n->nat_mtu[1]);
86 PRINTF("%s", n->nat_ifnames[0]);
90 PRINTF("%s", n->nat_ifnames[1]);
94 PRINTF("%d", n->nat_sumd[0]);
98 PRINTF("%d", n->nat_sumd[1]);
103 PRINTF("%"PRIu64"", n->nat_pkts[0]);
105 PRINTF("%lu", n->nat_pkts[0]);
[all …]
HDprintnatside.c15 PRINTF("%lu\tproxy create fail %s\n", ns->ns_appr_fail, side);
16 PRINTF("%lu\tproxy fail %s\n", ns->ns_ipf_proxy_fail, side);
17 PRINTF("%lu\tbad nat %s\n", ns->ns_badnat, side);
18 PRINTF("%lu\tbad nat new %s\n", ns->ns_badnatnew, side);
19 PRINTF("%lu\tbad next addr %s\n", ns->ns_badnextaddr, side);
20 PRINTF("%lu\tbucket max %s\n", ns->ns_bucket_max, side);
21 PRINTF("%lu\tclone nomem %s\n", ns->ns_clone_nomem, side);
22 PRINTF("%lu\tdecap bad %s\n", ns->ns_decap_bad, side);
23 PRINTF("%lu\tdecap fail %s\n", ns->ns_decap_fail, side);
24 PRINTF("%lu\tdecap pullup %s\n", ns->ns_decap_pullup, side);
[all …]
HDprintactivenat.c26 PRINTF("%s", getnattype(nat));
29 PRINTF(" CLONE");
31 PRINTF(" ORPHAN");
39 PRINTF(" %-5hu", ntohs(nat->nat_osport));
46 PRINTF(" %-5hu", ntohs(nat->nat_odport));
48 PRINTF("<- -> ");
53 PRINTF(" %-5hu", ntohs(nat->nat_nsport));
59 PRINTF(" %-5hu", ntohs(nat->nat_ndport));
66 PRINTF(" %-5hu", ntohs(nat->nat_osport));
68 PRINTF(" <- -> ");
[all …]
HDprinthashdata.c19 PRINTF("# 'anonymous' table refs %d\n", hp->iph_ref);
21 PRINTF("# ");
25 PRINTF("table");
28 PRINTF("group-map");
30 PRINTF(" in");
32 PRINTF(" out");
34 PRINTF(" ???");
37 PRINTF("%#x", hp->iph_type);
40 PRINTF(" role=");
42 PRINTF("Hash Table %s: %s",
[all …]
HDprintaps.c35 PRINTF("\tproxy %s/%d use %d flags %x\n", apr.apr_label,
38 PRINTF("\tbytes %"PRIu64" pkts %"PRIu64"",
42 PRINTF("\tbytes %lu pkts %lu", ap.aps_bytes, ap.aps_pkts);
44 PRINTF(" data %s\n", ap.aps_data ? "YES" : "NO");
46 PRINTF("\t\tstate[%u,%u], sel[%d,%d]\n",
51 PRINTF("\t\tseq: off %hd/%hd min %x/%x\n",
54 PRINTF("\t\tack: off %hd/%hd min %x/%x\n",
58 PRINTF("\t\tseq: off %hd/%hd min %lx/%lx\n",
61 PRINTF("\t\tack: off %hd/%hd min %lx/%lx\n",
70 PRINTF("\tReal Audio Proxy:\n");
[all …]
HDprintpoolfield.c50 PRINTF("!");
52 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
57 PRINTF("%s", inet_ntop(node->ipe_family,
64 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
74 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
79 PRINTF("%s", inet_ntop(node->ipe_family,
83 PRINTF("%s", "");
89 PRINTF("%s", "");
91 PRINTF("%s", "");
96 PRINTF("%s", "");
[all …]
HDprintipfexpr.c29 PRINTF("ip.addr %s= ", not ? "!" : "");
34 PRINTF("ip.p %s= ", not ? "!" : "");
39 PRINTF("ip.src %s= ", not ? "!" : "");
44 PRINTF("ip.dst %s= ", not ? "!" : "");
49 PRINTF("tcp.port %s= ", not ? "!" : "");
54 PRINTF("tcp.dport %s= ", not ? "!" : "");
59 PRINTF("tcp.sport %s= ", not ? "!" : "");
64 PRINTF("tcp.flags %s= ", not ? "!" : "");
75 PRINTF("udp.port %s= ", not ? "!" : "");
80 PRINTF("udp.dport %s= ", not ? "!" : "");
[all …]
HDprintdstlistdata.c19 PRINTF("# ");
20 PRINTF("pool ");
23 PRINTF("# ");
24 PRINTF("Name: %s\tRole: ", pool->ipld_name);
30 PRINTF("/dstlist (name %s;", pool->ipld_name);
32 PRINTF(" policy ");
36 PRINTF(")\n");
40 PRINTF("\tReferences: %d\n", pool->ipld_ref);
42 PRINTF("# ");
43 PRINTF("Policy: \n");
[all …]
HDprintunit.c18 PRINTF("ipf");
21 PRINTF("nat");
24 PRINTF("state");
27 PRINTF("auth");
30 PRINTF("sync");
33 PRINTF("scan");
36 PRINTF("lookup");
39 PRINTF("count");
42 PRINTF("all");
45 PRINTF("unknown(%d)", unit);
HDprintpooldata.c19 PRINTF("# 'anonymous' tree %s\n", pool->ipo_name);
21 PRINTF("# ");
22 PRINTF("table role=");
25 PRINTF("# ");
26 PRINTF("%s: %s",
30 PRINTF("(anon)");
32 PRINTF("Role: ");
38 PRINTF(" type=tree %s=%s\n",
44 PRINTF("\tReferences: %d\tHits: %lu\n", pool->ipo_ref,
47 PRINTF("# ");
[all …]
HDprintproto.c23 PRINTF("tcp/udp");
25 PRINTF("tcp");
27 PRINTF("udp");
29 PRINTF("icmp");
39 PRINTF("ip");
41 PRINTF("%s", pr->p_name);
43 PRINTF("%d", np->in_pr[0]);
47 PRINTF("ip");
51 PRINTF("%s", pr->p_name);
53 PRINTF("%d", p);
HDprintpacket.c48 PRINTF("%02x", *s++ & 0xff);
51 PRINTF("%02x", *s++ & 0xff);
67 PRINTF("> ");
69 PRINTF("< ");
71 PRINTF("%s ", IFNAME(m->mb_ifp));
75 PRINTF("ip #%d %d(%d) %d", ntohs(ip->ip_id), ntohs(ip->ip_len),
78 PRINTF(" @%d", off << 3);
79 PRINTF(" %s", inet_ntoa(ip->ip_src));
82 PRINTF(",%d", ntohs(tcp->th_sport));
83 PRINTF(" > ");
[all …]
HDprintpacket6.c36 PRINTF("> ");
38 PRINTF("< ");
40 PRINTF("%s ", IFNAME(m->mb_ifp));
42 PRINTF("ip6/%d %d %#x %d", buf[0] & 0xf, plen, flow, p);
43 PRINTF(" %x:%x:%x:%x:%x:%x:%x:%x",
49 (void)PRINTF(",%d", ntohs(tcp->th_sport));
50 PRINTF(" >");
52 PRINTF(" %x:%x:%x:%x:%x:%x:%x:%x",
58 PRINTF(",%d", ntohs(tcp->th_dport));
HDprintlookup.c22 PRINTF("pool/");
25 PRINTF("hash/");
28 PRINTF("dstlist/");
31 PRINTF("lookup(%x)=", addr->iplookuptype);
36 PRINTF("%u", addr->iplookupnum);
40 PRINTF("%s", name);
HDprinttunable.c17 PRINTF("%s\tmin %lu\tmax %lu\tcurrent ",
20 PRINTF("%lu\n", tup->ipft_vlong);
22 PRINTF("%u\n", tup->ipft_vint);
24 PRINTF("%hu\n", tup->ipft_vshort);
26 PRINTF("%u\n", (u_int)tup->ipft_vchar);
28 PRINTF("sz = %d\n", tup->ipft_sz);
HDprintlog.c22 PRINTF("log");
24 PRINTF(" body");
26 PRINTF(" first");
28 PRINTF(" or-block");
30 PRINTF(" level ");
37 PRINTF("%s.%s", s, u);
HDprinttqtable.c18 PRINTF("TCP Entries per state\n");
20 PRINTF(" %5d", i);
21 PRINTF("\n");
24 PRINTF(" %5d", table[i].ifq_ref - 1);
25 PRINTF("\n");
HDprintip.c24 PRINTF("%lu", (u_long)ntohl(ipa.s_addr));
26 PRINTF("%s", inet_ntoa(ipa));
36 PRINTF("%s", str);
38 PRINTF("???");
42 PRINTF("?(%d)?", family);
HDprintfraginfo.c22 PRINTF("%s", prefix);
24 PRINTF("inet6");
27 PRINTF("inet");
32 PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src));
38 PRINTF("%s id %x ttl %lu pr %d pkts %u bytes %u seen0 %d ref %d\n",
/trueos/contrib/ipfilter/tools/
HDipfstat.c86 #define PRINTF (void)printf macro
528 PRINTF("opts %#x name %s\n", opts, device);
728 PRINTF("%lu\t%s bad packets\n", frs->fr_bad, side);
730 PRINTF("%lu\t%s IPv6 packets\n", frs->fr_ipv6, side);
732 PRINTF("%lu\t%s packets blocked\n", frs->fr_block, side);
733 PRINTF("%lu\t%s packets passed\n", frs->fr_pass, side);
734 PRINTF("%lu\t%s packets not matched\n", frs->fr_nom, side);
735 PRINTF("%lu\t%s packets counted\n", frs->fr_acct, side);
736 PRINTF("%lu\t%s packets short\n", frs->fr_short, side);
737 PRINTF("%lu\t%s packets logged and blocked\n", frs->fr_bpkl, side);
[all …]
/trueos/sys/contrib/rdma/krping/
HDkrping.c58 #define PRINTF(cb, x...) krping_printf((cb)->cookie, x) macro
255 PRINTF(cb, "rdma_resolve_route error %d\n", ret); in krping_cma_event_handler()
285 PRINTF(cb, "cma event %d, error %d\n", event->event, in krping_cma_event_handler()
292 PRINTF(cb, "DISCONNECT EVENT...\n"); in krping_cma_event_handler()
298 PRINTF(cb, "cma detected device removal!!!!\n"); in krping_cma_event_handler()
302 PRINTF(cb, "oof bad type!\n"); in krping_cma_event_handler()
312 PRINTF(cb, "Received bogus data, size %d\n", in server_recv()
335 PRINTF(cb, "Received bogus data, size %d\n", in client_recv()
357 PRINTF(cb, "cq completion in ERROR state\n"); in krping_cq_event_handler()
361 PRINTF(cb, "cq completion event in frtest!\n"); in krping_cq_event_handler()
[all …]

123