Lines Matching defs:option

120 static const struct option if_longopts[] = {
125 static const struct option show_prop_longopts[] = {
132 static const struct option show_ifprop_longopts[] = {
140 static const struct option set_prop_longopts[] = {
146 static const struct option set_ifprop_longopts[] = {
153 static const struct option addr_misc_longopts[] = {
160 static const struct option addr_longopts[] = {
171 static const struct option show_addr_longopts[] = {
177 static const struct option show_if_longopts[] = {
408 int option;
412 while ((option = getopt_long(argc, argv, ":t", if_longopts,
414 switch (option) {
423 die_opterr(optopt, option, use);
679 int option;
699 while ((option = getopt_long(argc, argv, ":p:m:co:",
701 switch (option) {
720 die_opterr(optopt, option, use);
777 int option;
787 while ((option = getopt_long(argc, argv, ":m:p:t",
789 switch (option) {
808 die_opterr(optopt, option, use);
862 char option;
879 while ((option = getopt_long(argc, argv, ":p:co:", show_prop_longopts,
881 switch (option) {
897 die_opterr(optopt, option, use);
965 int option;
973 while ((option = getopt_long(argc, argv, ":p:t", set_prop_longopts,
975 switch (option) {
988 die_opterr(optopt, option, use);
1076 die("option '-%c' requires a value\nusage: %s", opt,
1081 die("unrecognized option '-%c'\nusage: %s", opt,
1106 int option;
1121 option = getsubopt(&addrarg, addr_optstr, &val);
1122 switch (option) {
1176 int option;
1191 option = getsubopt(&addrarg, addr_optstr, &val);
1192 switch (option) {
1195 die("Duplicate option");
1208 die("Duplicate option");
1220 die_opterr(optopt, option, use);
1225 die("Invalid arguments for option -p");
1231 die("Error in setting stateless option: %s",
1238 die("Error in setting stateful option: %s",
1252 int option;
1266 while ((option = getopt_long(argc, argv, ":T:a:di:p:w:t",
1268 switch (option) {
1296 die_opterr(optopt, option, use);
1389 int option;
1392 while ((option = getopt_long(argc, argv, ":t", addr_misc_longopts,
1394 switch (option) {
1399 die_opterr(optopt, option, use);
1416 int option;
1419 while ((option = getopt_long(argc, argv, ":r", addr_misc_longopts,
1421 switch (option) {
1426 die_opterr(optopt, option, use);
1522 int option;
1526 while ((option = getopt_long(argc, argv, ":i", addr_misc_longopts,
1528 switch (option) {
1533 die_opterr(optopt, option, use);
1794 int option;
1806 while ((option = getopt_long(argc, argv, "po:", show_addr_longopts,
1808 switch (option) {
1816 die_opterr(optopt, option, use);
1949 int option;
1958 while ((option = getopt_long(argc, argv, "po:", show_if_longopts,
1960 switch (option) {
1968 die_opterr(optopt, option, use);
2006 int option;
2014 while ((option = getopt_long(argc, argv, ":i:p:t", set_ifprop_longopts,
2016 switch (option) {
2029 die_opterr(optopt, option, use);
2079 int option;
2097 while ((option = getopt_long(argc, argv, ":p:i:cPo:",
2099 switch (option) {
2112 die_opterr(optopt, option, use);