Lines Matching refs:log_print
182 log_print(FATAL, "Recv() %s", strerror(errno)); in recv_packet()
186 log_print(DEBUG, "Connection closed"); in recv_packet()
187 log_print(INFO, "Remote server hung up"); in recv_packet()
195 log_print(DEBUG, "Loss of synchronization"); in recv_packet()
196 log_print(ERROR, "Protocol error"); in recv_packet()
201 log_print(DEBUG, "Invalid message length"); in recv_packet()
202 log_print(ERROR, "Protocol error"); in recv_packet()
215 log_print(DEBUG, "Ignored non-control message (type = %u)", in recv_packet()
227 log_print(DEBUG, "Sending SCCRQ"); in pptp_connect()
268 log_print(WARNING, "Using deprecated OPNS protocol. " in create_pppox_opns()
272 log_print(INFO, "Creating PPPoX socket"); in create_pppox_opns()
276 log_print(FATAL, "Socket() %s", strerror(errno)); in create_pppox_opns()
287 log_print(FATAL, "Connect() %s", strerror(errno)); in create_pppox_opns()
315 log_print(FATAL, "%s: getaddrinfo: %s", __func__, gai_strerror(err)); in get_addr_by_name()
328 log_print(FATAL, "%s: No IPv4 addresses found", __func__); in get_addr_by_name()
361 log_print(FATAL, "%s: Socket() %s", __func__, strerror(errno)); in get_local_addr()
367 log_print(FATAL, "%s: Connect() %s", __func__, strerror(errno)); in get_local_addr()
404 log_print(FATAL, "Failed to create PPTP socket (%s)", strerror(errno)); in create_pppox_pptp()
409 log_print(FATAL, "Failed to bind PPTP socket (%s)", strerror(errno)); in create_pppox_pptp()
415 log_print(FATAL, "Failed to connect PPTP socket (%s)", strerror(errno)); in create_pppox_pptp()
431 log_print(DEBUG, "Control message too short"); in pptp_process()
436 log_print(DEBUG, "Received UNKNOWN %d", incoming.message); in pptp_process()
440 log_print(DEBUG, "Received %s with invalid length (length = %d)", in pptp_process()
453 log_print(DEBUG, "Received SCCRP -> Sending OCRQ " in pptp_process()
455 log_print(INFO, "Tunnel established"); in pptp_process()
468 log_print(DEBUG, "Received SCCRP (result = %d)", in pptp_process()
470 log_print(INFO, "Remote server hung up"); in pptp_process()
479 log_print(DEBUG, "Received OCRQ (remote = %u)", in pptp_process()
481 log_print(INFO, "Session established"); in pptp_process()
491 log_print(DEBUG, "Received OCRP (result = %d)", in pptp_process()
493 log_print(INFO, "Remote server hung up"); in pptp_process()
499 log_print(DEBUG, "Received STOPCCRQ"); in pptp_process()
500 log_print(INFO, "Remote server hung up"); in pptp_process()
509 log_print(DEBUG, "Received CCRQ (remote = %u)", in pptp_process()
511 log_print(INFO, "Remote server hung up"); in pptp_process()
518 log_print(DEBUG, "Received CDN (remote = %u)", in pptp_process()
520 log_print(INFO, "Remote server hung up"); in pptp_process()
526 log_print(DEBUG, "Received ECHORQ -> Sending ECHORP"); in pptp_process()
535 log_print(DEBUG, "Recevied %s", messages[incoming.message]); in pptp_process()
539 log_print(DEBUG, "Received ICRQ (remote = %u, call = %u) -> " in pptp_process()
549 log_print(DEBUG, "Received OCRQ (remote = %u, call = %u) -> " in pptp_process()
560 log_print(DEBUG, "Received UNEXPECTED %s", messages[incoming.message]); in pptp_process()