Home | History | Annotate | Download | only in libnetutils

Lines Matching refs:printerr

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