Lines Matching refs:log_msg
153 static void log_msg(const char *format, ...) in log_msg() function
218 log_msg("%s %s:%d\n", in log_address()
227 log_msg("%s [%s]:%d\n", in log_address()
282 log_msg("TCP_MD5SIG_FLAG_IFINDEX set tcpm_ifindex=%d\n", md5sig.tcpm_ifindex); in tcp_md5sig()
284 log_msg("TCP_MD5SIG_FLAG_IFINDEX off\n", md5sig.tcpm_ifindex); in tcp_md5sig()
396 log_msg(" bound to device %s/%d\n", in check_device()
408 log_msg("Device index matches: expected %d have %d\n", in check_device()
638 log_msg("%s address matches expected\n", desc); in expected_addr_match()
862 log_msg(" pktinfo: ifindex %d dest addr %s\n", in get_index_from_cmsg()
966 log_msg("Sent message:\n"); in send_msg()
967 log_msg(" %.24s%s\n", msg, msglen > 24 ? " ..." : ""); in send_msg()
999 log_msg("peer closed connection.\n"); in socket_read_dgram()
1002 log_msg("failed to read message: %d: %s\n", in socket_read_dgram()
1010 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
1019 log_msg("Device index matches: expected %d have %d\n", in socket_read_dgram()
1077 log_msg("Sent message:\n"); in socket_read_dgram()
1078 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_dgram()
1094 log_msg("client closed connection.\n"); in socket_read_stream()
1097 log_msg("failed to read message\n"); in socket_read_stream()
1102 log_msg("Incoming message:\n"); in socket_read_stream()
1103 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
1110 log_msg("Sent message:\n"); in socket_read_stream()
1111 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in socket_read_stream()
1155 log_msg("Sent message:\n"); in stdin_to_socket()
1156 log_msg(" %.24s%s\n", buf, len > 24 ? " ..." : ""); in stdin_to_socket()
1245 log_msg("Going into quiet mode\n"); in msg_loop()
1482 log_msg("Switched server netns\n"); in do_server()
1521 log_msg("waiting for client connection.\n"); in do_server()
1686 log_msg("Switched client netns\n"); in do_client()
1818 log_msg("Server is ready\n"); in ipc_parent()
1821 log_msg("parent is done!\n"); in ipc_parent()