/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/ |
H A D | dhcpinfo.c | 56 dhcp_optnum_t optnum; local 125 optnum.code = entry->ds_code; 126 optnum.category = entry->ds_category; 131 optnum.code = strtoul(argv[optind], 0, 0); 132 optnum.category = ITAB_CAT_STANDARD | ITAB_CAT_SITE; 141 if (optnum.code > start) { 142 optnum.code -= start; 143 optnum.category = ITAB_CAT_VENDOR; 147 optnum.category |= ITAB_CAT_V6; 149 entry = inittab_getbycode(optnum [all...] |
/illumos-gate/usr/src/cmd/pr/ |
H A D | pr.c | 247 int optnum; local 256 for (optnum = 1, end_opt = 0; optnum < argc && !end_opt; optnum++) { 257 switch (*argv[optnum]) { 260 if (strlen(&argv[optnum][1]) != 261 strspn(&argv[optnum][1], "0123456789")) { 267 if ((Fpage = (int)strtol(&argv[optnum][1], 273 REMOVE_ARG(argc, &argv[optnum]); 274 optnum [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | agent.c | 761 dhcp_optnum_t optnum; local 778 (void) memcpy(&optnum, iap->ia_request->buffer, 782 switch (optnum.category) { 787 if (dsmp->dsm_pil[i] == optnum.code) 793 opt = dhcpv6_pkt_option(ack, NULL, optnum.code, 796 if (optnum.code <= DHCP_LAST_OPT) 797 opt = ack->opts[optnum.code]; 833 optnum.code, NULL); 841 if ((optnum.code > VS_OPTION_START || 842 optnum [all...] |
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 718 getinfo_ifnames(const char *ifn, dhcp_optnum_t *optnum, DHCP_OPT **result) argument 732 request = dhcp_ipc_alloc_request(DHCP_GET_TAG, "", optnum, 849 dhcp_ipc_getinfo(dhcp_optnum_t *optnum, DHCP_OPT **result, int32_t timeout) argument 871 retval = getinfo_ifnames("", optnum, result); 882 retval = getinfo_ifnames(ifnames, optnum, result); 932 retval = getinfo_ifnames(ifnames, optnum, result);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 1171 register int optnum; local 1174 for (optnum = 0; optnum < maxopts && (spec = spec_end) != NULL; optnum++) 1184 opt[optnum].udbo_name = spec; 1185 opt[optnum].udbo_val = NULL; 1188 opt[optnum].udbo_val = ++p; 1190 return optnum;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 149 dhcp_optnum_t optnum; local 173 optnum.code = entry->ds_code; 174 optnum.category = entry->ds_category; 175 optnum.size = entry->ds_max * inittab_type_to_size(entry); 176 request = dhcp_ipc_alloc_request(DHCP_GET_TAG, ifname, &optnum,
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 9477 * If path is NULL, return the kernel (optnum == KERNEL_CMD) or arguments 9478 * (optnum == ARGS_CMD) in the argument buf. If path is a zero-length 9485 menu_cmd_t optnum, 9522 optnum == KERNEL_CMD ? "kernel" : "args"); 9577 if (optnum == ARGS_CMD) { 9606 ((optnum == KERNEL_CMD) && 9621 if (((optnum == KERNEL_CMD) && 9623 ((optnum == ARGS_CMD) && 9636 if (optnum == KERNEL_CMD) { 9678 if ((optnum 9483 get_set_kernel( menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument 9841 get_kernel(menu_t *mp, menu_cmd_t optnum, char *buf, size_t bufsize) argument 9849 set_kernel(menu_t *mp, menu_cmd_t optnum, char *path, char *buf, size_t bufsize) argument 9862 int optnum; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 89 int32_t optnum; member in struct:sh_scoped
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 2325 int optnum, KMF_ATTRIBUTE_TESTER *optattrs, 2354 for (i = 0; i < optnum && ret == KMF_OK; i++) { 2324 test_attributes(int reqnum, KMF_ATTRIBUTE_TESTER *reqattrs, int optnum, KMF_ATTRIBUTE_TESTER *optattrs, int numattrs, KMF_ATTRIBUTE *attrlist) argument
|