Lines Matching refs:logmsg
86 logmsg ( int level, const char *format, ... ) { in logmsg() function
109 logmsg ( LOG_ERR, "Failed to open %s: %s\n", in hijack_open()
114 logmsg ( LOG_WARNING, "Warning: %s\n", errbuf ); in hijack_open()
118 logmsg ( LOG_ERR, "Could not make %s non-blocking: %s\n", in hijack_open()
126 logmsg ( LOG_ERR, "Cannot get selectable file descriptor " in hijack_open()
160 logmsg ( LOG_ERR, "could not compile filter \"%s\": %s\n", in hijack_install_filter()
167 logmsg ( LOG_ERR, "could not install filter \"%s\": %s\n", in hijack_install_filter()
172 logmsg ( LOG_INFO, "using filter \"%s\"\n", filter ); in hijack_install_filter()
213 logmsg ( LOG_ERR, "unsupported protocol %s: cannot filter\n", in hijack_filter()
233 logmsg ( LOG_ERR, "read from hijacker failed: %s\n", in forward_from_hijacker()
248 logmsg ( LOG_ERR, "write to hijacked port failed: %s\n", in forward_from_hijacker()
268 logmsg ( LOG_ERR, "read from hijacked port failed: %s\n", in forward_to_hijacker()
273 logmsg ( LOG_ERR, "read partial packet (%d of %d bytes)\n", in forward_to_hijacker()
283 logmsg ( LOG_ERR, "write to hijacker failed: %s\n", in forward_to_hijacker()
303 logmsg ( LOG_INFO, "new connection for %s\n", interface ); in run_hijacker()
318 logmsg ( LOG_ERR, "select failed: %s\n", in run_hijacker()
339 logmsg ( LOG_INFO, "closed connection for %s\n", interface ); in run_hijacker()
340 logmsg ( LOG_INFO, "received %ld packets, sent %ld packets\n", in run_hijacker()
361 logmsg ( LOG_ERR, "Could not create socket: %s\n", in open_listener()
372 logmsg ( LOG_ERR, "Could not bind socket to %s: %s\n", in open_listener()
379 logmsg ( LOG_ERR, "Could not listen to %s: %s\n", in open_listener()
402 logmsg ( LOG_INFO, "Listening on %s\n", listener->sun.sun_path ); in listen_for_hijackers()
415 logmsg ( LOG_ERR, "accept failed: %s\n", in listen_for_hijackers()
424 logmsg ( LOG_ERR, "fork failed: %s\n", in listen_for_hijackers()
438 logmsg ( LOG_INFO, "Stopped listening on %s\n", in listen_for_hijackers()
462 logmsg ( LOG_ERR, in usage()
515 logmsg ( LOG_ERR, "Unrecognised option '-%c'\n", c ); in parse_options()
541 logmsg ( LOG_ERR, "Could not daemonise: %s\n", in daemonise()
553 logmsg ( LOG_ERR, "Could not open %s for writing: %s\n", in daemonise()
561 logmsg ( LOG_ERR, "Could not write %s: %s\n", in daemonise()
602 logmsg ( LOG_ERR, "Could not set SIGCHLD handler: %s", in main()
611 logmsg ( LOG_ERR, "Could not set SIGINT handler: %s", in main()
616 logmsg ( LOG_ERR, "Could not set SIGHUP handler: %s", in main()