/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpinfo/ |
H A D | dhcpinfo.c | 56 dhcp_optnum_t optnum; in main() local 125 optnum.code = entry->ds_code; in main() 126 optnum.category = entry->ds_category; in main() 131 optnum.code = strtoul(argv[optind], 0, 0); in main() 132 optnum.category = ITAB_CAT_STANDARD | ITAB_CAT_SITE; in main() 141 if (optnum.code > start) { in main() 142 optnum.code -= start; in main() 143 optnum.category = ITAB_CAT_VENDOR; in main() 147 optnum.category |= ITAB_CAT_V6; in main() 149 entry = inittab_getbycode(optnum.category, ITAB_CONS_INFO, in main() [all …]
|
/titanic_50/usr/src/cmd/pr/ |
H A D | pr.c | 247 int optnum; in findopt() local 256 for (optnum = 1, end_opt = 0; optnum < argc && !end_opt; optnum++) { in findopt() 257 switch (*argv[optnum]) { in findopt() 260 if (strlen(&argv[optnum][1]) != in findopt() 261 strspn(&argv[optnum][1], "0123456789")) { in findopt() 267 if ((Fpage = (int)strtol(&argv[optnum][1], in findopt() 273 REMOVE_ARG(argc, &argv[optnum]); in findopt() 274 optnum--; in findopt() 279 if (argv[optnum][1] == '-') { in findopt() 284 if (argv[optnum][1] == 'h' || argv[optnum][1] == 'l' || in findopt() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | agent.c | 761 dhcp_optnum_t optnum; in ipc_event() local 778 (void) memcpy(&optnum, iap->ia_request->buffer, in ipc_event() 782 switch (optnum.category) { in ipc_event() 787 if (dsmp->dsm_pil[i] == optnum.code) in ipc_event() 793 opt = dhcpv6_pkt_option(ack, NULL, optnum.code, in ipc_event() 796 if (optnum.code <= DHCP_LAST_OPT) in ipc_event() 797 opt = ack->opts[optnum.code]; in ipc_event() 833 optnum.code, NULL); in ipc_event() 841 if ((optnum.code > VS_OPTION_START || in ipc_event() 842 optnum.code == VS_OPTION_START) && in ipc_event() [all …]
|
/titanic_50/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 718 getinfo_ifnames(const char *ifn, dhcp_optnum_t *optnum, DHCP_OPT **result) in getinfo_ifnames() argument 732 request = dhcp_ipc_alloc_request(DHCP_GET_TAG, "", optnum, in getinfo_ifnames() 849 dhcp_ipc_getinfo(dhcp_optnum_t *optnum, DHCP_OPT **result, int32_t timeout) in dhcp_ipc_getinfo() argument 871 retval = getinfo_ifnames("", optnum, result); in dhcp_ipc_getinfo() 882 retval = getinfo_ifnames(ifnames, optnum, result); in dhcp_ipc_getinfo() 932 retval = getinfo_ifnames(ifnames, optnum, result); in dhcp_ipc_getinfo()
|
/titanic_50/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;
|
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 149 dhcp_optnum_t optnum; in nwamd_get_dhcpinfo_data() local 173 optnum.code = entry->ds_code; in nwamd_get_dhcpinfo_data() 174 optnum.category = entry->ds_category; in nwamd_get_dhcpinfo_data() 175 optnum.size = entry->ds_max * inittab_type_to_size(entry); in nwamd_get_dhcpinfo_data() 176 request = dhcp_ipc_alloc_request(DHCP_GET_TAG, ifname, &optnum, in nwamd_get_dhcpinfo_data()
|
/titanic_50/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 8864 menu_cmd_t optnum, argument 8899 bam_error(NOT_DBOOT, optnum == KERNEL_CMD ? "kernel" : "args"); 8951 if (optnum == ARGS_CMD) { 8978 ((optnum == KERNEL_CMD) && 8992 if (((optnum == KERNEL_CMD) && 8994 ((optnum == ARGS_CMD) && 9007 if (optnum == KERNEL_CMD) { 9049 if ((optnum == KERNEL_CMD) && (path[0] != '/')) { 9103 if (optnum == KERNEL_CMD) { 9162 if (optnum == KERNEL_CMD) { [all …]
|
/titanic_50/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 89 int32_t optnum; member
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 2325 int optnum, KMF_ATTRIBUTE_TESTER *optattrs, in test_attributes() argument 2354 for (i = 0; i < optnum && ret == KMF_OK; i++) { in test_attributes()
|