Lines Matching refs:strerror
82 logmsg(ANDROID_LOG_FATAL, "binding packet socket: %s", strerror(errno)); in configure_packet_socket()
110 logmsg(ANDROID_LOG_FATAL, "attach packet filter failed: %s", strerror(errno)); in configure_packet_socket()
145 logmsg(ANDROID_LOG_FATAL,"configure_tun_ip/if_address(4) failed: %s",strerror(-status)); in configure_tun_ip()
154 logmsg(ANDROID_LOG_FATAL,"configure_tun_ip/if_up(4) failed: %s",strerror(-status)); in configure_tun_ip()
165 logmsg(ANDROID_LOG_FATAL,"drop_root/setgroups failed: %s",strerror(errno)); in drop_root()
172 logmsg(ANDROID_LOG_FATAL,"drop_root/setgid failed: %s",strerror(errno)); in drop_root()
176 logmsg(ANDROID_LOG_FATAL,"drop_root/setuid failed: %s",strerror(errno)); in drop_root()
190 logmsg(ANDROID_LOG_FATAL,"drop_root/capset failed: %s",strerror(errno)); in drop_root()
203 logmsg(ANDROID_LOG_FATAL, "raw socket failed: %s", strerror(errno)); in open_sockets()
209 logmsg(ANDROID_LOG_WARN, "could not disable checksum on raw socket: %s", strerror(errno)); in open_sockets()
212 logmsg(ANDROID_LOG_ERROR, "could not set mark on raw socket: %s", strerror(errno)); in open_sockets()
313 logmsg(ANDROID_LOG_FATAL,"tun_alloc/4 failed: %s",strerror(errno)); in configure_interface()
319 logmsg(ANDROID_LOG_FATAL, "set_nonblocking failed: %s", strerror(errno)); in configure_interface()
340 logmsg(ANDROID_LOG_WARN,"read_packet/read error: %s", strerror(errno)); in read_packet()
387 logmsg(ANDROID_LOG_WARN,"event_loop/poll returned an error: %s",strerror(errno)); in event_loop()
502 logmsg(ANDROID_LOG_FATAL, "tun_open4 failed: %s", strerror(errno)); in main()
512 logmsg(ANDROID_LOG_FATAL, "sigterm handler failed: %s", strerror(errno)); in main()