Lines Matching refs:log_print
193 log_print(FATAL, "Recv() %s", strerror(errno)); in recv_packet()
324 log_print(DEBUG, "Sending SCCRQ (local_tunnel = %d)", local_tunnel); in l2tp_connect()
336 log_print(FATAL, "Cannot read %s", RANDOM_DEVICE); in l2tp_connect()
353 log_print(INFO, "Creating PPPoX socket"); in create_pppox()
356 log_print(FATAL, "Socket() %s", strerror(errno)); in create_pppox()
367 log_print(FATAL, "Connect() %s", strerror(errno)); in create_pppox()
430 log_print(DEBUG, "Received SCCRP (remote_tunnel = %d) -> " in l2tp_process()
437 log_print(DEBUG, "Received SCCRP without %s", tunnel ? in l2tp_process()
439 log_print(ERROR, "Protocol error"); in l2tp_process()
448 log_print(DEBUG, "Received ICRP (remote_session = %d) -> " in l2tp_process()
456 log_print(DEBUG, "Received ICRP without assigned session"); in l2tp_process()
457 log_print(ERROR, "Protocol error"); in l2tp_process()
463 log_print(DEBUG, "Received STOPCCN"); in l2tp_process()
464 log_print(INFO, "Remote server hung up"); in l2tp_process()
470 log_print(DEBUG, "Received CDN (local_session = %d)", in l2tp_process()
472 log_print(INFO, "Remote server hung up"); in l2tp_process()
486 log_print(DEBUG, "Received %s -> Sending ICRQ (local_session = " in l2tp_process()
488 log_print(INFO, "Tunnel established"); in l2tp_process()
497 log_print(DEBUG, "Received ACK"); in l2tp_process()
499 log_print(DEBUG, "Received %s -> Sending ACK", in l2tp_process()
505 log_print(INFO, "Session established"); in l2tp_process()
516 log_print(DEBUG, "Received %s (remote_session = %d) -> " in l2tp_process()
532 log_print(DEBUG, "Received UNKNOWN %d -> Sending ACK anyway", in l2tp_process()
535 log_print(DEBUG, "Received UNEXPECTED %s -> Sending ACK anyway", in l2tp_process()
547 log_print(DEBUG, "Timeout -> Sending %s", messages[outgoing.message]); in l2tp_timeout()
555 log_print(DEBUG, "Sending STOPCCN"); in l2tp_shutdown()