Lines Matching refs:printerr
59 void printerr(char *fmt, ...);
129 printerr("socket() failed: %s\n", strerror(errno)); in ifc_init()
134 if (DBG) printerr("ifc_init_returning %d", ret); in ifc_init()
144 printerr("socket() failed: %s\n", strerror(errno)); in ifc_init6()
152 if (DBG) printerr("ifc_close"); in ifc_close()
215 if (DBG) printerr("ifc_up(%s) = %d", name, ret); in ifc_up()
222 if (DBG) printerr("ifc_down(%s) = %d", name, ret); in ifc_down()
243 if (DBG) printerr("ifc_set_addr(%s, xx) = %d", name, ret); in ifc_set_addr()
464 if (DBG) printerr("ifc_set_mask(%s, xx) = %d", name, ret); in ifc_set_mask()
585 if (DBG) printerr("ifc_create_default_route(%s, %d) = %d", name, gw, ret); in ifc_create_default_route()
699 printerr("failed to turn on interface %s: %s\n", ifname, strerror(errno)); in ifc_configure()
704 printerr("failed to set ipaddr %s: %s\n", ipaddr_to_string(address), strerror(errno)); in ifc_configure()
709 printerr("failed to set prefixLength %d: %s\n", prefixLength, strerror(errno)); in ifc_configure()
714 … printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno)); in ifc_configure()