Lines Matching refs:log_msg

124 static void log_msg(const char *format, ...)  in log_msg()  function
189 log_msg("%s %s:%d", in log_address()
198 log_msg("%s [%s]:%d", in log_address()
345 log_msg(" bound to device %s/%d\n", in check_device()
357 log_msg("Device index matches: expected %d have %d\n", in check_device()
560 log_msg("%s address matches expected\n", desc); in expected_addr_match()
630 log_msg(" pktinfo: ifindex %d dest addr %s\n", in get_index_from_cmsg()
734 log_msg("Sent message:\n"); in send_msg()
735 log_msg(" %.24s%s\n", msg, msglen > 24 ? " ..." : ""); in send_msg()
767 log_msg("peer closed connection.\n"); in socket_read_dgram()
770 log_msg("failed to read message: %d: %s\n", in socket_read_dgram()
778 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
787 log_msg("Device index matches: expected %d have %d\n", in socket_read_dgram()
845 log_msg("Sent message:\n"); in socket_read_dgram()
846 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
862 log_msg("client closed connection.\n"); in socket_read_stream()
865 log_msg("failed to read message\n"); in socket_read_stream()
870 log_msg("Incoming message:\n"); in socket_read_stream()
871 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
878 log_msg("Sent message:\n"); in socket_read_stream()
879 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
923 log_msg("Sent message:\n"); in stdin_to_socket()
924 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in stdin_to_socket()
1013 log_msg("Going into quiet mode\n"); in msg_loop()
1221 log_msg("\n"); in do_server()
1222 log_msg("waiting for client connection.\n"); in do_server()