Lines Matching refs:log_msg

117 static void log_msg(const char *format, ...)  in log_msg()  function
182 log_msg("%s %s:%d", in log_address()
191 log_msg("%s [%s]:%d", in log_address()
325 log_msg(" bound to device %s/%d\n", in check_device()
337 log_msg("Device index matches: expected %d have %d\n", in check_device()
540 log_msg("%s address matches expected\n", desc); in expected_addr_match()
610 log_msg(" pktinfo: ifindex %d dest addr %s\n", in get_index_from_cmsg()
714 log_msg("Sent message:\n"); in send_msg()
715 log_msg(" %.24s%s\n", msg, msglen > 24 ? " ..." : ""); in send_msg()
747 log_msg("peer closed connection.\n"); in socket_read_dgram()
750 log_msg("failed to read message: %d: %s\n", in socket_read_dgram()
758 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
767 log_msg("Device index matches: expected %d have %d\n", in socket_read_dgram()
825 log_msg("Sent message:\n"); in socket_read_dgram()
826 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
842 log_msg("client closed connection.\n"); in socket_read_stream()
845 log_msg("failed to read message\n"); in socket_read_stream()
850 log_msg("Incoming message:\n"); in socket_read_stream()
851 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
858 log_msg("Sent message:\n"); in socket_read_stream()
859 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
903 log_msg("Sent message:\n"); in stdin_to_socket()
904 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in stdin_to_socket()
993 log_msg("Going into quiet mode\n"); in msg_loop()
1201 log_msg("\n"); in do_server()
1202 log_msg("waiting for client connection.\n"); in do_server()