Lines Matching refs:printerr
63 void printerr(char *fmt, ...);
133 printerr("socket() failed: %s\n", strerror(errno)); in ifc_init()
138 if (DBG) printerr("ifc_init_returning %d", ret); in ifc_init()
148 printerr("socket() failed: %s\n", strerror(errno)); in ifc_init6()
156 if (DBG) printerr("ifc_close"); in ifc_close()
219 if (DBG) printerr("ifc_up(%s) = %d", name, ret); in ifc_up()
226 if (DBG) printerr("ifc_down(%s) = %d", name, ret); in ifc_down()
247 if (DBG) printerr("ifc_set_addr(%s, xx) = %d", name, ret); in ifc_set_addr()
468 if (DBG) printerr("ifc_set_mask(%s, xx) = %d", name, ret); in ifc_set_mask()
589 if (DBG) printerr("ifc_create_default_route(%s, %d) = %d", name, gw, ret); in ifc_create_default_route()
703 printerr("failed to turn on interface %s: %s\n", ifname, strerror(errno)); in ifc_configure()
708 printerr("failed to set ipaddr %s: %s\n", ipaddr_to_string(address), strerror(errno)); in ifc_configure()
713 printerr("failed to set prefixLength %d: %s\n", prefixLength, strerror(errno)); in ifc_configure()
718 … printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno)); in ifc_configure()