/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 131 z_decomp_alloc(options, opt_len) in z_decomp_alloc() argument 132 u_char *options; in z_decomp_alloc() 139 || options[1] != CILEN_DEFLATE 140 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL 141 || options[3] != DEFLATE_CHK_SEQUENCE) 143 w_size = DEFLATE_SIZE(options[2]); 177 u_char *options; 183 || options[1] != CILEN_DEFLATE 184 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL 185 || DEFLATE_SIZE(options[2]) != state->w_size [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | svc-ripng | 34 options="sqp:Ptv" 43 "$options" "q" quiet_mode true false 45 "$options" "s" supply_routes true false 47 "$options" "p" udp_port 521 49 "$options" "P" poison_reverse false true 51 "$options" "v" verbose true false 53 "$options" "log_file"
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getopt_long.c | 82 #define PRINT_ERROR ((opterr) && (*options != ':')) 249 ch = options[short_i]; in verify_short_long_equivalents() 255 (ch == 'W') && (options[short_i+1] == ';')) { in verify_short_long_equivalents() 286 (strchr(options, long_options[long_i].val) in verify_short_long_equivalents() 463 if (options == NULL) in getopt_internal() 478 if (*options == '+') { in getopt_internal() 484 } else if (*options == '-') { in getopt_internal() 488 if ((*options == '+') || (*options == '-')) { in getopt_internal() 489 options++; in getopt_internal() 630 (oli = strchr(options, optchar)) == NULL) { in getopt_internal() [all …]
|
H A D | waitpid.c | 76 waitpid(pid_t pid, int *stat_loc, int options) in waitpid() argument 97 options |= (WEXITED|WTRAPPED); in waitpid() 99 if ((error = waitid(idtype, id, &info, options)) < 0) in waitpid() 115 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) in wait4() argument 136 if (options & ~(WNOHANG|WUNTRACED|WCONTINUED)) { in wait4() 140 noptions = options | WEXITED | WTRAPPED; in wait4() 160 if ((options & WNOHANG) && info.si_pid == 0) in wait4() 186 wait3(int *stat_loc, int options, struct rusage *rp) in wait3() argument 188 return (wait4(0, stat_loc, options, rp)); in wait3()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 91 if (newmsglen > PACKETSZ || nstatp->options & RES_USEVC) in res_nsendsigned() 94 nstatp->options |= RES_IGNTC; in res_nsendsigned() 96 nstatp->options |= RES_USEVC; in res_nsendsigned() 100 nstatp->options &= ~RES_DEBUG; in res_nsendsigned() 114 NULL, NULL, &tsig_time, nstatp->options & RES_KEEPTSIG); in res_nsendsigned() 116 Dprint((statp->options & RES_DEBUG) || in res_nsendsigned() 121 DprintQ((statp->options & RES_DEBUG) || in res_nsendsigned() 147 if (hp->tc && !usingTCP && (statp->options & RES_IGNTC) == 0U) { in res_nsendsigned() 148 nstatp->options &= ~RES_IGNTC; in res_nsendsigned() 152 Dprint((statp->options & RES_DEBUG) || in res_nsendsigned() [all …]
|
H A D | res_data.c | 126 if (!(_res.options & RES_INIT)) in res_init() 127 _res.options = RES_DEFAULT; in res_init() 151 if ((_res.options & RES_INIT) == 0U && res_init() == -1) in fp_nquery() 167 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_mkquery() 178 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_mkupdate() 192 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_query() 216 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_send() 228 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_sendsigned() 243 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_update() 257 if ((_res.options & RES_INIT) == 0U && res_init() == -1) { in res_search() [all …]
|
H A D | res_query.c | 123 if (statp->options & RES_DEBUG) in res_nquery() 134 if (n > 0 && (statp->options & RES_NSID) != 0U) { in res_nquery() 142 if (statp->options & RES_DEBUG) in res_nquery() 153 if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U && in res_nquery() 156 if (statp->options & RES_DEBUG) in res_nquery() 162 if (statp->options & RES_DEBUG) in res_nquery() 171 if (statp->options & RES_DEBUG) in res_nquery() 256 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) || in res_nsearch() 315 if ((statp->options & RES_DNSRCH) == 0U) in res_nsearch() 365 if (statp->options & RES_DEBUG) in res_nquerydomain() [all …]
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcoeadm.c | 104 cmdOptions_t *options) in fcoe_adm_create_port() argument 120 for (; options->optval; options++) { in fcoe_adm_create_port() 121 switch (options->optval) { in fcoe_adm_create_port() 130 if (!isValidWWN(options->optarg)) { in fcoe_adm_create_port() 135 sscanf(options->optarg, "%016llx", &portWWN); in fcoe_adm_create_port() 141 if (!isValidWWN(options->optarg)) { in fcoe_adm_create_port() 156 options->optval); in fcoe_adm_create_port() 371 fcoe_adm_list_ports(cmdOptions_t *options) in fcoe_adm_list_ports() argument 380 for (; options->optval; options++) { in fcoe_adm_list_ports() 381 switch (options->optval) { in fcoe_adm_list_ports() [all …]
|
H A D | fcinfo.h | 143 int fc_util_list_hbaport(int wwnCount, char **wwn_argv, cmdOptions_t *options); 144 int fc_util_list_remoteport(int wwnCount, char **argv, cmdOptions_t *options); 145 int fc_util_list_logicalunit(int pathCount, char **argv, cmdOptions_t *options); 146 int fc_util_delete_npivport(int wwnCount, char **argv, cmdOptions_t *options); 147 int fc_util_create_npivport(int wwnCount, char **argv, cmdOptions_t *options); 152 cmdOptions_t *options); 154 int fcoe_adm_list_ports(cmdOptions_t *options);
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | deflate.c | 200 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc() 201 options[1] != CILEN_DEFLATE || in z_comp_alloc() 203 options[3] != DEFLATE_CHK_SEQUENCE) { in z_comp_alloc() 208 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc() 261 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_init() 262 options[1] != CILEN_DEFLATE || in z_comp_init() 654 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_alloc() 655 options[1] != CILEN_DEFLATE || in z_decomp_alloc() 662 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc() 712 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_init() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getvol.c | 137 if (!(options & DM_BATCH) && volume) { in _getvol() 147 if (options & DM_BATCH) in _getvol() 161 if (options & DM_ELABEL) in _getvol() 166 if ((options & DM_BATCH) || in _getvol() 334 if (label && (options & DM_ELABEL)) { in insert() 341 if (label && !(options & DM_ELABEL)) { in insert() 358 if (options & DM_FORMFS) { in insert() 373 } else if (options & DM_FORMAT) { in insert() 380 if (options & DM_WLABEL) { in insert() 385 if (options & DM_OLABEL) { in insert() [all …]
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_impl.c | 166 const char *options, char **resultsp) in private_options() argument 174 path, connection, options); in private_options() 177 if ((rv = pack_properties(options, &prop)) != 0) { in private_options() 272 if ((len = strlen(options)) == 0) { in pack_properties() 282 (void) strlcpy(tmp, options, len + 1); in pack_properties() 347 char *name, *value, *options; in unpack_properties() local 400 (void) strlcat(options, ",", len); in unpack_properties() 402 (void) strlcat(options, name, len); in unpack_properties() 407 (void) strlcat(options, "=", len); in unpack_properties() 408 (void) strlcat(options, value, len); in unpack_properties() [all …]
|
/illumos-gate/usr/src/cmd/svc/servinfo/ |
H A D | servinfo.c | 102 svc_getrpcinfo(char *sname, char *sproto, int options) in svc_getrpcinfo() argument 169 if (options & DEFAULT) { in svc_getrpcinfo() 176 } else if (options & PROTO) { in svc_getrpcinfo() 202 if (options & (PROTO | PORT)) in svc_getrpcinfo() 214 int options = DEFAULT; in main() local 237 options = PROTO; in main() 240 options = PORT; in main() 266 return (svc_getrpcinfo(sname, sproto, options)); in main() 275 if (options & DEFAULT) { in main() 279 } else if (options & PROTO) in main()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | options.h | 38 } options; typedef 40 void set_options_mask(options *msk, char *str); 41 void add_option(options *msk, char option); 42 int compare_options_mask(options *msk, options *specified);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | cfga.c | 44 const char *options, in cfga_change_state() argument 65 if ((rc = ap_cmd_parse(a, name, options, NULL)) == CFGA_OK) in cfga_change_state() 103 const char *options, in cfga_private_func() argument 122 } else if ((rc = ap_cmd_parse(a, function, options, &cmd)) != CFGA_OK) in cfga_private_func() 125 rc = ap_test_err(a, options); in cfga_private_func() 138 const char *options, in cfga_test() argument 161 else if ((rc = ap_cmd_parse(a, f, options, &cmd)) != CFGA_OK) in cfga_test() 176 const char *options, in cfga_list_ext() argument 198 else if ((rc = ap_cmd_parse(a, f, options, NULL)) != CFGA_OK) in cfga_list_ext() 269 cfga_help(struct cfga_msg *msgp, const char *options, cfga_flags_t flags) in cfga_help() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | svc-rdisc | 50 options="afsp:T:r" 59 "$options" "a" accept_all true false 61 "$options" "p" preference 0 63 "$options" "T" transmit_interval 600 65 "$options" "r" act_as_router true false 67 "$options" "send_address receive_address"
|
/illumos-gate/usr/src/cmd/mpathadm/ |
H A D | mpathadm.h | 56 int modifyMpathSupport(int operandLen, char *operand[], cmdOptions_t *options); 58 int listLogicalUnit(int operandLen, char *operand[], cmdOptions_t *options); 64 int modifyLogicalUnit(int operandLen, char *operand[], cmdOptions_t *options); 73 int enablePath(cmdOptions_t *options); 74 int disablePath(cmdOptions_t *options); 75 int overridePath(cmdOptions_t *options); 77 boolean_t getPathOid(cmdOptions_t *options, MP_OID *pPathOid);
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_query.c | 81 if ((_res.options & RES_INIT) == 0 && res_init() == -1) 84 if (_res.options & RES_DEBUG) 92 if (_res.options & RES_DEBUG) 101 if (_res.options & RES_DEBUG) 111 if (_res.options & RES_DEBUG) 158 if ((_res.options & RES_INIT) == 0 && res_init() == -1) 175 if ((n == 0 && _res.options & RES_DEFNAMES) || 176 (n != 0 && *--cp != '.' && _res.options & RES_DNSRCH)) { 201 (_res.options & RES_DNSRCH) == 0) 236 if (_res.options & RES_DEBUG) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | externs.h | 145 extern char options[]; /* All the little options */ 163 #define my_state_is_do(opt) (options[opt]&MY_STATE_DO) 164 #define my_state_is_will(opt) (options[opt]&MY_STATE_WILL) 165 #define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO) 166 #define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL) 173 #define set_my_state_do(opt) {options[opt] |= MY_STATE_DO; } 174 #define set_my_state_will(opt) {options[opt] |= MY_STATE_WILL; } 175 #define set_my_want_state_do(opt) {options[opt] |= MY_WANT_STATE_DO; } 178 #define set_my_state_dont(opt) {options[opt] &= ~MY_STATE_DO; } 179 #define set_my_state_wont(opt) {options[opt] &= ~MY_STATE_WILL; } [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_init.c | 431 for (i = 0; options[i].name; i++) { 432 if (options[i].found) continue; 447 *(options[i].value) = 1; 449 *(options[i].value) = 0; 450 options[i].found = 1; 465 profile_option_strings *options; 477 for (i = 0; options[i].name; i++) { 489 if (*options[i].value == 0) 491 strcpy(*options[i].value, value); 492 options[i].found = 1; [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | getopt1.c | 69 getopt_long (argc, argv, options, long_options, opt_index) in getopt_long() argument 72 const char *options; 76 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); 85 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only() argument 88 const char *options; 92 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/ |
H A D | main.c | 52 static int options; variable 77 options |= PT_RENAME; in main() 81 options |= PT_INFO_ONLY; in main() 85 options |= PT_OVERWRITE; in main() 89 options |= PT_ODTSTREAM; in main() 112 flex_device(argv[optind+1], 1), &argv[optind+2], options); in main()
|
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 67 static uint64_t options; variable 196 options |= flag; in main() 198 options &= ~flag; in main() 488 if (core_set_options((int)options) != 0) in write_kernel() 523 options = CC_PROCESS_PATH; in read_legacy() 570 options |= CC_GLOBAL_PATH; in read_legacy() 575 options |= CC_PROCESS_PATH; in read_legacy() 577 options &= ~CC_PROCESS_PATH; in read_legacy() 582 options |= CC_GLOBAL_SETID; in read_legacy() 587 options |= CC_PROCESS_SETID; in read_legacy() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 386 $$options{$key} = $$defref{$key} unless defined($$options{$key}); 403 if defined($$options{"version"}) && $$options{"version"} != 1; 404 $paths{$peer} = $options; 440 local($options); 447 $options = \%defaults; 466 $options = \%defaults; 472 $options = \%pathopts; 484 if $options != \%defaults && defined($$options{$_}); 491 $$options{$_} = $word; 494 $$options{$_} .= " " . $word; [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_in_tkt.c | 1049 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_FORWARDABLE)) in krb5_get_init_creds() 1062 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_PROXIABLE)) in krb5_get_init_creds() 1084 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_TKT_LIFE)) { in krb5_get_init_creds() 1102 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE)) { in krb5_get_init_creds() 1173 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST)) { in krb5_get_init_creds() 1187 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST)) { in krb5_get_init_creds() 1224 if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_SALT)) { in krb5_get_init_creds() 1225 salt = *options->salt; in krb5_get_init_creds() 1549 (!(options && (options->flags & KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST)))) in krb5_get_init_creds() 1552 (!(options && in krb5_get_init_creds() [all …]
|