Home
last modified time | relevance | path

Searched refs:optnum (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/
H A Ddhcpinfo.c54 dhcp_optnum_t optnum; in main() local
123 optnum.code = entry->ds_code; in main()
124 optnum.category = entry->ds_category; in main()
129 optnum.code = strtoul(argv[optind], 0, 0); in main()
130 optnum.category = ITAB_CAT_STANDARD | ITAB_CAT_SITE; in main()
139 if (optnum.code > start) { in main()
140 optnum.code -= start; in main()
141 optnum.category = ITAB_CAT_VENDOR; in main()
145 optnum.category |= ITAB_CAT_V6; in main()
147 entry = inittab_getbycode(optnum.category, ITAB_CONS_INFO, in main()
[all …]
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c245 int optnum; in findopt() local
254 for (optnum = 1, end_opt = 0; optnum < argc && !end_opt; optnum++) { in findopt()
255 switch (*argv[optnum]) { in findopt()
258 if (strlen(&argv[optnum][1]) != in findopt()
259 strspn(&argv[optnum][1], "0123456789")) { in findopt()
265 if ((Fpage = (int)strtol(&argv[optnum][1], in findopt()
271 REMOVE_ARG(argc, &argv[optnum]); in findopt()
272 optnum--; in findopt()
277 if (argv[optnum][1] == '-') { in findopt()
282 if (argv[optnum][1] == 'h' || argv[optnum][1] == 'l' || in findopt()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dagent.c769 dhcp_optnum_t optnum; in ipc_event() local
786 (void) memcpy(&optnum, iap->ia_request->buffer, in ipc_event()
790 switch (optnum.category) { in ipc_event()
795 if (dsmp->dsm_pil[i] == optnum.code) in ipc_event()
801 opt = dhcpv6_pkt_option(ack, NULL, optnum.code, in ipc_event()
805 optnum.code, &did_alloc); in ipc_event()
841 optnum.code, NULL); in ipc_event()
849 if ((optnum.code > VS_OPTION_START || in ipc_event()
850 optnum.code == VS_OPTION_START) && in ipc_event()
851 optnum.code <= VS_OPTION_END) in ipc_event()
[all …]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c721 getinfo_ifnames(const char *ifn, dhcp_optnum_t *optnum, DHCP_OPT **result) in getinfo_ifnames() argument
735 request = dhcp_ipc_alloc_request(DHCP_GET_TAG, "", optnum, in getinfo_ifnames()
852 dhcp_ipc_getinfo(dhcp_optnum_t *optnum, DHCP_OPT **result, int32_t timeout) in dhcp_ipc_getinfo() argument
874 retval = getinfo_ifnames("", optnum, result); in dhcp_ipc_getinfo()
885 retval = getinfo_ifnames(ifnames, optnum, result); in dhcp_ipc_getinfo()
935 retval = getinfo_ifnames(ifnames, optnum, result); in dhcp_ipc_getinfo()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dudb.c1169 register int optnum; local
1172 for (optnum = 0; optnum < maxopts && (spec = spec_end) != NULL; optnum++)
1182 opt[optnum].udbo_name = spec;
1183 opt[optnum].udbo_val = NULL;
1186 opt[optnum].udbo_val = ++p;
1188 return optnum;
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c149 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()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c9404 menu_cmd_t optnum, argument
9441 optnum == KERNEL_CMD ? "kernel" : "args");
9496 if (optnum == ARGS_CMD) {
9525 ((optnum == KERNEL_CMD) &&
9540 if (((optnum == KERNEL_CMD) &&
9542 ((optnum == ARGS_CMD) &&
9555 if (optnum == KERNEL_CMD) {
9597 if ((optnum == KERNEL_CMD) && (path[0] != '/')) {
9658 if (optnum == KERNEL_CMD) {
9718 if (optnum == KERNEL_CMD) {
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h86 int32_t optnum; member
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c2325 int optnum, KMF_ATTRIBUTE_TESTER *optattrs, in test_attributes() argument
2354 for (i = 0; i < optnum && ret == KMF_OK; i++) { in test_attributes()