Lines Matching refs:rl_printf
173 static __check_format_printf(1, 2) int rl_printf(const char *fmt, ...) in rl_printf() function
199 rl_printf("%3u: ", 0); in hex_dump()
202 rl_printf("\n%3u: ", i); in hex_dump()
203 rl_printf("%02x ", buf[i]); in hex_dump()
205 rl_printf("\n"); in hex_dump()
211 rl_printf("no bpf program loaded!\n"); in bpf_prog_loaded()
432 rl_printf("l%d:\t%s %s, l%d, l%d\n", i, op, buf, in bpf_disasm()
435 rl_printf("l%d:\t%s %s\n", i, op, buf); in bpf_disasm()
442 rl_printf("pc: [%u]\n", r->Pc); in bpf_dump_curr()
443 rl_printf("code: [%u] jt[%u] jf[%u] k[%u]\n", in bpf_dump_curr()
445 rl_printf("curr: "); in bpf_dump_curr()
449 rl_printf("jt: "); in bpf_dump_curr()
451 rl_printf("jf: "); in bpf_dump_curr()
455 rl_printf("A: [%#08x][%u]\n", r->A, r->A); in bpf_dump_curr()
456 rl_printf("X: [%#08x][%u]\n", r->X, r->X); in bpf_dump_curr()
458 rl_printf("ret: [%#08x][%u]!\n", r->R, r->R); in bpf_dump_curr()
463 rl_printf("M[%d]: [%#08x][%u]\n", i, r->M[i], r->M[i]); in bpf_dump_curr()
467 rl_printf("M[0,%d]: [%#08x][%u]\n", BPF_MEMWORDS - 1, 0, 0); in bpf_dump_curr()
473 rl_printf("cap: %u, len: %u\n", pkt_caplen, pkt_len); in bpf_dump_pkt()
475 rl_printf("len: %u\n", pkt_len); in bpf_dump_pkt()
492 rl_printf("/* { op, jt, jf, k }, */\n"); in bpf_dump_all()
494 rl_printf("{ %#04x, %2u, %2u, %#010x },\n", in bpf_dump_all()
508 rl_printf("cannot open socket!\n"); in bpf_runnable()
514 rl_printf("program not allowed to run by kernel!\n"); in bpf_runnable()
520 rl_printf("extensions currently not supported!\n"); in bpf_runnable()
543 rl_printf("breakpoint already set!\n"); in bpf_set_breakpoints()
555 rl_printf("too many breakpoints set, reset first!\n"); in bpf_set_breakpoints()
562 rl_printf("breakpoints: "); in bpf_dump_breakpoints()
567 rl_printf("%d ", bpf_breakpoints[i]); in bpf_dump_breakpoints()
570 rl_printf("\n"); in bpf_dump_breakpoints()
598 rl_printf("reached bottom of register history stack!\n"); in bpf_restore_regs()
858 rl_printf("-- register dump --\n"); in bpf_handle_breakpoint()
860 rl_printf("-- packet dump --\n"); in bpf_handle_breakpoint()
862 rl_printf("(breakpoint)\n"); in bpf_handle_breakpoint()
911 rl_printf("no pcap file loaded!\n"); in pcap_loaded()
951 rl_printf("cannot open pcap [%s]!\n", strerror(errno)); in try_load_pcap()
957 rl_printf("cannot fstat pcap file!\n"); in try_load_pcap()
962 rl_printf("not a regular pcap file, duh!\n"); in try_load_pcap()
968 rl_printf("pcap file too small!\n"); in try_load_pcap()
975 rl_printf("mmap of file failed!"); in try_load_pcap()
981 rl_printf("wrong pcap magic!\n"); in try_load_pcap()
1015 rl_printf("syntax error in head length encoding!\n"); in cmd_load_bpf()
1022 rl_printf("program exceeds encoded length!\n"); in cmd_load_bpf()
1028 rl_printf("syntax error at instruction %d!\n", i); in cmd_load_bpf()
1041 rl_printf("syntax error exceeding encoded length!\n"); in cmd_load_bpf()
1084 rl_printf("bpf <code>: load bpf code\n"); in cmd_load()
1085 rl_printf("pcap <file>: load pcap file\n"); in cmd_load()
1117 rl_printf("(going back to first packet)\n"); in cmd_step()
1120 rl_printf("(next packet)\n"); in cmd_step()
1137 rl_printf("packet count starts with 1, clamping!\n"); in cmd_select()
1147 rl_printf("no packet #%u available!\n", which); in cmd_select()
1168 rl_printf("breakpoint at: "); in cmd_breakpoint()
1203 rl_printf("bpf passes:%u fails:%u\n", pass, fail); in cmd_run()