Lines Matching refs:error_exit
272 error_exit("wrong database");
341 if (family == AF_PACKET) error_exit("'%s' may be inet prefix", name);
413 if (get_prefix(addr, &af, name, family)) error_exit("Invalid prefix");
417 error_exit("Invalid prefix");
475 if (!arg) error_exit("bad hw-addr '%s'", "");
479 error_exit("bad hw-addr '%s'", arg);
524 if (!*argv) error_exit("Invalid vlan id.");
573 error_exit("Not enough information: \"dev\" argument is required.\n");
575 error_exit("Not enough information: \"type\" argument is required.\n");
625 if (len < 2 || len > IFNAMSIZ) error_exit("Invalid device name.");
642 if (!*argv) error_exit("\"dev\" missing");
765 error_exit("Invalid data.");
835 if (!lname) error_exit("Invalid link.");
882 error_exit("Invalid state.");
1084 error_exit("Incomplete Command line");
1115 error_exit("Invalid prefix");
1135 error_exit("Invalid prefix");
1146 if (scope < 0) error_exit("wrong scope '%s'", *argv);
1173 if (!dev) error_exit("need \"dev \" argument");
1175 error_exit("\"dev\" (%s) must match \"label\" (%s)", dev, label);
1186 error_exit("broadcast can be set only for IPv4 addresses");
1236 error_exit("Incomplete command for \"flush\"");
1238 error_exit("Can't flush link Addressess");
1245 if (!*++argv) error_exit("Incomplete Command line");
1260 if (!*++argv) error_exit("Incomplete Command line");
1271 error_exit("wrong scope '%s'", name);
1285 if (!*++argv) error_exit("Incomplete Command line");
1289 if (!*++argv) error_exit("Incomplete Command line");
1293 error_exit("Either \"dev\" is duplicate or %s is garbage",
1326 error_exit("Device \"%s\" doesn't exist. \n", TT.filter_dev);
1460 error_exit(errmsg);
1693 if (!*argv) error_exit("'%s': Missing Prefix", argv[-1]);
1722 error_exit("need at least destination address");
1733 if (mhdr->nlmsg_type != RTM_NEWROUTE) error_exit("not a route?");
1734 if (msglen < 0) error_exit("wrong len %d", msglen);
1743 } else if (!attr[RTA_SRC]) error_exit("can't connect the route");
1780 error_exit("Invalid argument protocol.");
1809 error_exit("table %s is invalid.", *argv);
1867 if (fwrite("-1",1,2,fp) < 2) error_exit("can't flush routing cache");
1952 error_exit("Invalid argument protocol %s.",*argv);
1968 error_exit("Invalid argument metric %s.",*argv);
1982 if (ok & dst_ok) error_exit("Duplicate argument 'to'");
2071 error_exit(errmsg);
2106 if (!*++argv) error_exit("'%s': Missing Prefix", argv[-1]);
2124 error_exit("Missing %s", (idx == 2) ? "Preference" : "fwmark");
2127 error_exit("Invalid %s", (idx == 2) ? "Preference" : "fwmark");
2136 if (!*++argv) error_exit("Missing TOS key");
2138 error_exit("Invalid TOS");
2148 if (!*++argv) error_exit("Missing REALMSID");
2152 error_exit("Invalid realms");
2158 error_exit("Invalid realms");
2167 if (!*++argv) error_exit("Missing TableID");
2169 error_exit("Invalid TID");
2176 if (!*++argv) error_exit("Missing dev/iif NAME");
2186 if (!*++argv) error_exit("Missing nat/map-to ADDRESS");
2188 error_exit("Invalid mapping Address");
2197 if (!*++argv) error_exit("TYPE Missing");
2205 error_exit("Invalid argument '%s'", *argv);
2320 error_exit(errmsg);
2407 error_exit("invalid format of '/proc/net/dev'");
2460 if (!*++argv) error_exit("mode is missing");
2476 if (!*++argv) error_exit("key value is missing");
2480 if (ret || !info) error_exit("invalid argument to key");
2485 error_exit("invalid key '%s'", *argv);
2533 if (!*++argv) error_exit("remote/local address is missing");
2535 error_exit("invalid remote/local address '%s'", *argv);
2539 if (!*++argv) error_exit("device name is missing");
2552 if (!*++argv) error_exit("ttl value is missing");
2558 if (!*++argv) error_exit("tos value is missing");
2563 if (tval > 255) error_exit("invalid tos value '%s'", *argv);
2568 error_exit("invalid tos value");
2574 if (*ptnl->name) error_exit("invalid tunnel");
2576 if (!*++argv) error_exit("name is missing");
2581 if (*ptnl->name) error_exit("invalid tunnel");
2589 error_exit("[i|o]key is allowed with gre only");
2591 error_exit("[i|o]seq is allowed with gre only");
2593 error_exit("[i|o]csum is allowed with gre only");
2604 error_exit("broadcast tunnel requires a source address");
2646 error_exit("ttl > 0 and nopmtudisc are incompatible");
2654 if (idx != 2) error_exit("invalid tunnel mode");
2758 error_exit("wrong family '%s'", *optargv);