Symbol: options
bin/ls/ls.c
458
traverse(int argc, char *argv[], int options)
bin/ls/ls.c
465
fts_open(argv, options, f_nosort ? NULL : mastercmp)) == NULL)
bin/ls/ls.c
484
ch_options = !f_recursive && options & FTS_NOSTAT ? FTS_NAMEONLY : 0;
bin/pax/ar_subs.c
160
if ((get_arc() < 0) || ((*frmt->options)() < 0) ||
bin/pax/ar_subs.c
580
if (((*frmt->options)() < 0) || ((*frmt->st_rd)() < 0))
bin/pax/ar_subs.c
700
if ((*frmt->options)() < 0)
bin/pax/ar_subs.c
85
if ((get_arc() < 0) || ((*frmt->options)() < 0) ||
bin/pax/extern.h
171
void options (int, char **);
bin/pax/pax.c
255
options(argc, argv);
bin/pax/pax.h
154
int (*options)(); /* process format specific options (-o) */
bin/sh/options.c
403
options(0);
bin/sh/options.c
75
static void options(int);
bin/sh/options.c
99
options(1);
crypto/libressl/apps/openssl/pkcs12.c
115
int options;
crypto/libressl/apps/openssl/pkcs12.c
272
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
320
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
354
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
416
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
436
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
464
.opt.value = &pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
620
if ((pkcs12_config.options & (NOCERTS | NOKEYS)) ==
crypto/libressl/apps/openssl/pkcs12.c
625
if (pkcs12_config.options & NOCERTS)
crypto/libressl/apps/openssl/pkcs12.c
628
if (!(pkcs12_config.options & NOKEYS)) {
crypto/libressl/apps/openssl/pkcs12.c
637
if (!(pkcs12_config.options & NOCERTS)) {
crypto/libressl/apps/openssl/pkcs12.c
787
if ((pkcs12_config.options & INFO) != 0 && PKCS12_mac_present(p12)) {
crypto/libressl/apps/openssl/pkcs12.c
808
if (!dump_certs_keys_p12(out, p12, cpass, -1, pkcs12_config.options,
crypto/libressl/apps/openssl/pkcs12.c
827
dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options,
crypto/libressl/apps/openssl/pkcs12.c
83
int options, char *pempass);
crypto/libressl/apps/openssl/pkcs12.c
843
if (options & INFO)
crypto/libressl/apps/openssl/pkcs12.c
846
if (options & INFO) {
crypto/libressl/apps/openssl/pkcs12.c
85
char *pass, int passlen, int options, char *pempass);
crypto/libressl/apps/openssl/pkcs12.c
857
options, pempass)) {
crypto/libressl/apps/openssl/pkcs12.c
87
int passlen, int options, char *pempass);
crypto/libressl/apps/openssl/pkcs12.c
873
char *pass, int passlen, int options, char *pempass)
crypto/libressl/apps/openssl/pkcs12.c
881
options, pempass))
crypto/libressl/apps/openssl/pkcs12.c
889
int options, char *pempass)
crypto/libressl/apps/openssl/pkcs12.c
902
if (options & INFO)
crypto/libressl/apps/openssl/pkcs12.c
904
if (options & NOKEYS)
crypto/libressl/apps/openssl/pkcs12.c
922
if (options & INFO) {
crypto/libressl/apps/openssl/pkcs12.c
932
if (options & NOKEYS)
crypto/libressl/apps/openssl/pkcs12.c
950
if (options & INFO)
crypto/libressl/apps/openssl/pkcs12.c
952
if (options & NOCERTS)
crypto/libressl/apps/openssl/pkcs12.c
955
if (options & CACERTS)
crypto/libressl/apps/openssl/pkcs12.c
957
} else if (options & CLCERTS)
crypto/libressl/apps/openssl/pkcs12.c
970
if (options & INFO)
crypto/libressl/apps/openssl/pkcs12.c
974
pass, passlen, options, pempass);
crypto/libressl/apps/openssl/version.c
142
int options;
crypto/libressl/apps/openssl/version.c
153
version_config.options = 1;
crypto/libressl/apps/openssl/version.c
189
.opt.flag = &version_config.options,
crypto/libressl/apps/openssl/version.c
246
if (version_config.options) {
crypto/libressl/ssl/d1_pkt.c
592
if ((s->internal->options & SSL_OP_NO_CLIENT_RENEGOTIATION) != 0) {
crypto/libressl/ssl/s3_lib.c
2562
if (s->internal->options & SSL_OP_CIPHER_SERVER_PREFERENCE) {
crypto/libressl/ssl/ssl_both.c
680
if (!(s->internal->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS))
crypto/libressl/ssl/ssl_clnt.c
1063
!(s->internal->options & SSL_OP_LEGACY_SERVER_CONNECT)) {
crypto/libressl/ssl/ssl_lib.c
1285
return (s->internal->options|=larg);
crypto/libressl/ssl/ssl_lib.c
1287
return (s->internal->options&=~larg);
crypto/libressl/ssl/ssl_lib.c
1405
return (ctx->internal->options|=larg);
crypto/libressl/ssl/ssl_lib.c
1407
return (ctx->internal->options&=~larg);
crypto/libressl/ssl/ssl_lib.c
2086
ret->internal->options |= SSL_OP_LEGACY_SERVER_CONNECT;
crypto/libressl/ssl/ssl_lib.c
2422
if ((s->internal->options & SSL_OP_NO_TICKET) != 0)
crypto/libressl/ssl/ssl_lib.c
267
s->internal->options = ctx->internal->options;
crypto/libressl/ssl/ssl_lib.c
2835
ret->internal->options = s->internal->options;
crypto/libressl/ssl/ssl_locl.h
727
unsigned long options;
crypto/libressl/ssl/ssl_locl.h
936
unsigned long options; /* protocol behaviour */
crypto/libressl/ssl/ssl_pkt.c
940
if ((s->internal->options & SSL_OP_NO_CLIENT_RENEGOTIATION) != 0) {
crypto/libressl/ssl/ssl_srvr.c
903
if ((s->internal->new_session && (s->internal->options &
crypto/libressl/ssl/ssl_versions.c
131
unsigned long options;
crypto/libressl/ssl/ssl_versions.c
143
options = s->internal->options;
crypto/libressl/ssl/ssl_versions.c
146
options = 0;
crypto/libressl/ssl/ssl_versions.c
147
if (s->internal->options & SSL_OP_NO_DTLSv1)
crypto/libressl/ssl/ssl_versions.c
148
options |= SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1;
crypto/libressl/ssl/ssl_versions.c
149
if (s->internal->options & SSL_OP_NO_DTLSv1_2)
crypto/libressl/ssl/ssl_versions.c
150
options |= SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_2;
crypto/libressl/ssl/ssl_versions.c
153
if ((options & SSL_OP_NO_TLSv1) == 0)
crypto/libressl/ssl/ssl_versions.c
155
else if ((options & SSL_OP_NO_TLSv1_1) == 0)
crypto/libressl/ssl/ssl_versions.c
157
else if ((options & SSL_OP_NO_TLSv1_2) == 0)
crypto/libressl/ssl/ssl_versions.c
159
else if ((options & SSL_OP_NO_TLSv1_3) == 0)
crypto/libressl/ssl/ssl_versions.c
162
if ((options & SSL_OP_NO_TLSv1_3) && min_version < TLS1_3_VERSION)
crypto/libressl/ssl/ssl_versions.c
164
if ((options & SSL_OP_NO_TLSv1_2) && min_version < TLS1_2_VERSION)
crypto/libressl/ssl/ssl_versions.c
166
if ((options & SSL_OP_NO_TLSv1_1) && min_version < TLS1_1_VERSION)
crypto/libressl/ssl/ssl_versions.c
168
if ((options & SSL_OP_NO_TLSv1) && min_version < TLS1_VERSION)
crypto/libressl/ssl/t1_enc.c
390
if (!(s->internal->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) &&
crypto/libressl/ssl/t1_lib.c
454
server_pref = (ssl->internal->options & SSL_OP_CIPHER_SERVER_PREFERENCE);
crypto/openssh/auth-krb5.c
190
if (options.use_pam)
crypto/openssh/auth-krb5.c
215
if (options.kerberos_or_local_passwd)
crypto/openssh/auth-krb5.c
55
extern ServerOptions options;
crypto/openssh/auth-pam.c
1007
options.permit_root_login == PERMIT_YES)) {
crypto/openssh/auth-pam.c
105
extern ServerOptions options;
crypto/openssh/auth-pam.c
1064
if (!options.use_pam)
crypto/openssh/auth-pam.c
1350
int flags = (options.permit_empty_passwd == 0 ?
crypto/openssh/auth-pam.c
1354
if (!options.use_pam || sshpam_handle == NULL)
crypto/openssh/auth-pam.c
1367
options.permit_root_login != PERMIT_YES))
crypto/openssh/auth-pam.c
1407
options.password_authentication = 0;
crypto/openssh/auth-pam.c
1408
options.kbd_interactive_authentication = 0;
crypto/openssh/auth-pam.c
479
int r, flags = (options.permit_empty_passwd == 0 ?
crypto/openssh/auth-pam.c
693
if (options.pam_service_name == NULL)
crypto/openssh/auth-pam.c
717
options.pam_service_name);
crypto/openssh/auth-pam.c
718
sshpam_err = pam_start(options.pam_service_name, user,
crypto/openssh/auth-pam.c
734
options.use_dns));
crypto/openssh/auth-pam.c
809
if (!options.use_pam || sshpam_account_status == 0)
crypto/openssh/auth-pam.c
927
options.permit_root_login != PERMIT_YES))
crypto/openssh/auth-passwd.c
115
if (options.use_pam)
crypto/openssh/auth-passwd.c
60
extern ServerOptions options;
crypto/openssh/auth-passwd.c
90
if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
crypto/openssh/auth-passwd.c
93
if (*password == '\0' && options.permit_empty_passwd == 0)
crypto/openssh/auth-passwd.c
97
if (options.kerberos_authentication == 1) {
crypto/openssh/auth-rhosts.c
267
if (options.strict_modes &&
crypto/openssh/auth-rhosts.c
297
if (options.strict_modes &&
crypto/openssh/auth-rhosts.c
310
if (options.ignore_rhosts == IGNORE_RHOSTS_YES ||
crypto/openssh/auth-rhosts.c
311
(options.ignore_rhosts == IGNORE_RHOSTS_SHOSTS &&
crypto/openssh/auth-rhosts.c
48
extern ServerOptions options;
crypto/openssh/auth-sia.c
48
extern ServerOptions options;
crypto/openssh/auth-sia.c
60
host = get_canonical_hostname(options.use_dns);
crypto/openssh/auth-sia.c
89
host = get_canonical_hostname(options.use_dns);
crypto/openssh/auth.c
110
if (!options.use_pam && platform_locked_account(pw)) {
crypto/openssh/auth.c
120
if (options.chroot_directory == NULL ||
crypto/openssh/auth.c
121
strcasecmp(options.chroot_directory, "none") == 0) {
crypto/openssh/auth.c
141
if (options.num_deny_users > 0 || options.num_allow_users > 0 ||
crypto/openssh/auth.c
142
options.num_deny_groups > 0 || options.num_allow_groups > 0) {
crypto/openssh/auth.c
143
hostname = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth.c
148
if (options.num_deny_users > 0) {
crypto/openssh/auth.c
149
for (i = 0; i < options.num_deny_users; i++) {
crypto/openssh/auth.c
151
options.deny_users[i]);
crypto/openssh/auth.c
154
options.deny_users[i]);
crypto/openssh/auth.c
164
if (options.num_allow_users > 0) {
crypto/openssh/auth.c
165
for (i = 0; i < options.num_allow_users; i++) {
crypto/openssh/auth.c
167
options.allow_users[i]);
crypto/openssh/auth.c
170
options.allow_users[i]);
crypto/openssh/auth.c
175
if (i >= options.num_allow_users) {
crypto/openssh/auth.c
181
if (options.num_deny_groups > 0 || options.num_allow_groups > 0) {
crypto/openssh/auth.c
190
if (options.num_deny_groups > 0)
crypto/openssh/auth.c
191
if (ga_match(options.deny_groups,
crypto/openssh/auth.c
192
options.num_deny_groups)) {
crypto/openssh/auth.c
203
if (options.num_allow_groups > 0)
crypto/openssh/auth.c
204
if (!ga_match(options.allow_groups,
crypto/openssh/auth.c
205
options.num_allow_groups)) {
crypto/openssh/auth.c
240
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth.c
242
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth.c
254
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth.c
280
authctxt->failures >= options.max_authtries / 2 ||
crypto/openssh/auth.c
317
auth_get_canonical_hostname(ssh, options.use_dns), "ssh");
crypto/openssh/auth.c
327
auth_get_canonical_hostname(ssh, options.use_dns), "ssh",
crypto/openssh/auth.c
353
switch (options.permit_root_login) {
crypto/openssh/auth.c
410
if (options.authorized_principals_file == NULL)
crypto/openssh/auth.c
412
return expand_authorized_keys(options.authorized_principals_file, pw);
crypto/openssh/auth.c
430
if (options.strict_modes &&
crypto/openssh/auth.c
474
ci = server_get_connection_info(ssh, 1, options.use_dns);
crypto/openssh/auth.c
476
parse_server_match_config(&options, &includes, ci);
crypto/openssh/auth.c
477
log_change_level(options.log_level);
crypto/openssh/auth.c
479
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/auth.c
480
log_verbose_add(options.log_verbose[i]);
crypto/openssh/auth.c
497
auth_get_canonical_hostname(ssh, options.use_dns), "ssh");
crypto/openssh/auth.c
533
if (options.revoked_keys_file == NULL)
crypto/openssh/auth.c
535
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth.c
542
r = sshkey_check_revoked(key, options.revoked_keys_file);
crypto/openssh/auth.c
548
sshkey_type(key), fp, options.revoked_keys_file);
crypto/openssh/auth.c
553
options.revoked_keys_file);
crypto/openssh/auth.c
664
int do_env = options.permit_user_env && opts->nenv > 0;
crypto/openssh/auth.c
666
(options.allow_tcp_forwarding & FORWARD_LOCAL) != 0;
crypto/openssh/auth.c
668
(options.allow_tcp_forwarding & FORWARD_REMOTE) != 0;
crypto/openssh/auth.c
695
if (options.permit_user_env) {
crypto/openssh/auth.c
80
extern ServerOptions options;
crypto/openssh/auth2-chall.c
108
if (!options.use_pam)
crypto/openssh/auth2-chall.c
50
extern ServerOptions options;
crypto/openssh/auth2-gss.c
53
extern ServerOptions options;
crypto/openssh/auth2-hostbased.c
104
if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) {
crypto/openssh/auth2-hostbased.c
110
options.ca_sign_algorithms)) != 0) {
crypto/openssh/auth2-hostbased.c
117
options.required_rsa_size)) != 0) {
crypto/openssh/auth2-hostbased.c
181
resolvedname = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth2-hostbased.c
192
if (options.hostbased_uses_name_from_packet_only) {
crypto/openssh/auth2-hostbased.c
223
options.ignore_user_known_hosts ? NULL : _PATH_SSH_USER_HOSTFILE);
crypto/openssh/auth2-hostbased.c
229
options.ignore_user_known_hosts ? NULL :
crypto/openssh/auth2-hostbased.c
236
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-hostbased.c
244
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-hostbased.c
56
extern ServerOptions options;
crypto/openssh/auth2-kbdint.c
44
extern ServerOptions options;
crypto/openssh/auth2-kbdint.c
60
if (options.kbd_interactive_authentication)
crypto/openssh/auth2-methods.c
31
extern ServerOptions options;
crypto/openssh/auth2-methods.c
50
&options.pubkey_authentication
crypto/openssh/auth2-methods.c
56
&options.gss_authentication
crypto/openssh/auth2-methods.c
62
&options.password_authentication
crypto/openssh/auth2-methods.c
67
&options.kbd_interactive_authentication
crypto/openssh/auth2-methods.c
72
&options.hostbased_authentication
crypto/openssh/auth2-none.c
55
extern ServerOptions options;
crypto/openssh/auth2-none.c
68
if (options.permit_empty_passwd && options.password_authentication)
crypto/openssh/auth2-passwd.c
49
extern ServerOptions options;
crypto/openssh/auth2-pubkey.c
161
if (match_pattern_list(pkalg, options.pubkey_accepted_algos, 0) != 1) {
crypto/openssh/auth2-pubkey.c
167
options.ca_sign_algorithms)) != 0) {
crypto/openssh/auth2-pubkey.c
174
options.required_rsa_size)) != 0) {
crypto/openssh/auth2-pubkey.c
235
req_presence = (options.pubkey_auth_options &
crypto/openssh/auth2-pubkey.c
250
req_verify = (options.pubkey_auth_options &
crypto/openssh/auth2-pubkey.c
329
if ((f = auth_openprincipals(file, pw, options.strict_modes)) == NULL) {
crypto/openssh/auth2-pubkey.c
360
if (options.authorized_principals_command == NULL)
crypto/openssh/auth2-pubkey.c
362
if (options.authorized_principals_command_user == NULL) {
crypto/openssh/auth2-pubkey.c
375
username = percent_expand(options.authorized_principals_command_user,
crypto/openssh/auth2-pubkey.c
385
if (argv_split(options.authorized_principals_command,
crypto/openssh/auth2-pubkey.c
388
"invalid quotes", options.authorized_principals_command);
crypto/openssh/auth2-pubkey.c
393
options.authorized_principals_command);
crypto/openssh/auth2-pubkey.c
397
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/auth2-pubkey.c
402
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/auth2-pubkey.c
494
if (!sshkey_is_cert(key) || options.trusted_user_ca_keys == NULL)
crypto/openssh/auth2-pubkey.c
498
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-pubkey.c
502
options.trusted_user_ca_keys, 1, 0)) != 0) {
crypto/openssh/auth2-pubkey.c
505
options.trusted_user_ca_keys);
crypto/openssh/auth2-pubkey.c
524
options.authorized_principals_command != NULL;
crypto/openssh/auth2-pubkey.c
568
options.trusted_user_ca_keys);
crypto/openssh/auth2-pubkey.c
602
if ((f = auth_openkeyfile(file, pw, options.strict_modes)) != NULL) {
crypto/openssh/auth2-pubkey.c
632
if (options.authorized_keys_command == NULL)
crypto/openssh/auth2-pubkey.c
634
if (options.authorized_keys_command_user == NULL) {
crypto/openssh/auth2-pubkey.c
646
username = percent_expand(options.authorized_keys_command_user,
crypto/openssh/auth2-pubkey.c
656
if ((key_fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth2-pubkey.c
667
if (argv_split(options.authorized_keys_command, &ac, &av, 0) != 0) {
crypto/openssh/auth2-pubkey.c
669
options.authorized_keys_command);
crypto/openssh/auth2-pubkey.c
674
options.authorized_keys_command);
crypto/openssh/auth2-pubkey.c
722
options.authorized_keys_command, key, remote_ip,
crypto/openssh/auth2-pubkey.c
74
extern ServerOptions options;
crypto/openssh/auth2-pubkey.c
773
remote_host = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth2-pubkey.c
778
for (i = 0; !success && i < options.num_authkeys_files; i++) {
crypto/openssh/auth2-pubkey.c
779
if (strcasecmp(options.authorized_keys_files[i], "none") == 0)
crypto/openssh/auth2-pubkey.c
782
options.authorized_keys_files[i], pw);
crypto/openssh/auth2-pubkey.c
81
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth2.c
113
if ((fd = open(options.banner, O_RDONLY)) == -1)
crypto/openssh/auth2.c
156
if (options.banner == NULL)
crypto/openssh/auth2.c
235
(unsigned long long)options.timing_secret, user);
crypto/openssh/auth2.c
308
if (options.use_pam)
crypto/openssh/auth2.c
344
if (m != NULL && authctxt->failures < options.max_authtries) {
crypto/openssh/auth2.c
392
if (authenticated && options.num_auth_methods != 0) {
crypto/openssh/auth2.c
410
if (options.use_pam && authenticated) {
crypto/openssh/auth2.c
447
if (authctxt->failures >= options.max_authtries) {
crypto/openssh/auth2.c
481
if (options.num_auth_methods == 0)
crypto/openssh/auth2.c
569
if (options.num_auth_methods == 1 &&
crypto/openssh/auth2.c
570
strcmp(options.auth_methods[0], "any") == 0) {
crypto/openssh/auth2.c
571
free(options.auth_methods[0]);
crypto/openssh/auth2.c
572
options.auth_methods[0] = NULL;
crypto/openssh/auth2.c
573
options.num_auth_methods = 0;
crypto/openssh/auth2.c
576
if (options.num_auth_methods == 0)
crypto/openssh/auth2.c
579
authctxt->auth_methods = xcalloc(options.num_auth_methods,
crypto/openssh/auth2.c
582
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/auth2.c
583
if (auth2_methods_valid(options.auth_methods[i], 1) != 0) {
crypto/openssh/auth2.c
586
options.auth_methods[i]);
crypto/openssh/auth2.c
590
authctxt->num_auth_methods, options.auth_methods[i]);
crypto/openssh/auth2.c
592
xstrdup(options.auth_methods[i]);
crypto/openssh/auth2.c
63
extern ServerOptions options;
crypto/openssh/auth2.c
755
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/clientloop.c
1019
if (!options.permit_local_command)
crypto/openssh/clientloop.c
1026
if (*s == '!' && options.permit_local_command) {
crypto/openssh/clientloop.c
1061
0, &options.fwd_opts) > 0;
crypto/openssh/clientloop.c
1065
&options.fwd_opts) > 0;
crypto/openssh/clientloop.c
1085
&options.fwd_opts)) {
crypto/openssh/clientloop.c
1100
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1149
(options.enable_escape_commandline == 0 ? SUPPRESS_NOCMDLINE : 0);
crypto/openssh/clientloop.c
125
extern Options options;
crypto/openssh/clientloop.c
1267
if (ch == 'V' && options.log_level >
crypto/openssh/clientloop.c
1269
log_change_level(--options.log_level);
crypto/openssh/clientloop.c
1270
if (ch == 'v' && options.log_level <
crypto/openssh/clientloop.c
1272
log_change_level(++options.log_level);
crypto/openssh/clientloop.c
1276
log_level_name(options.log_level))) != 0)
crypto/openssh/clientloop.c
1290
options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1333
if (options.enable_escape_commandline == 0) {
crypto/openssh/clientloop.c
1433
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1457
if (options.control_master &&
crypto/openssh/clientloop.c
1458
!option_clear_or_none(options.control_path)) {
crypto/openssh/clientloop.c
1464
} else if (options.forward_x11 || options.permit_local_command) {
crypto/openssh/clientloop.c
1470
} else if (options.update_hostkeys) {
crypto/openssh/clientloop.c
1476
} else if (!option_clear_or_none(options.proxy_command) ||
crypto/openssh/clientloop.c
1477
options.fork_after_authentication) {
crypto/openssh/clientloop.c
1518
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1635
if (have_pty && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/clientloop.c
1653
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1660
if (options.session_type == SESSION_TYPE_NONE &&
crypto/openssh/clientloop.c
1776
if (!options.forward_x11) {
crypto/openssh/clientloop.c
1812
if (!options.forward_agent) {
crypto/openssh/clientloop.c
1867
if (options.tun_open == SSH_TUNMODE_POINTOPOINT)
crypto/openssh/clientloop.c
2205
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2207
options.user_hostfiles[i], ctx->host_str,
crypto/openssh/clientloop.c
2209
if ((r = hostkeys_foreach(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2214
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2218
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2237
int asking = options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK;
crypto/openssh/clientloop.c
2247
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/clientloop.c
2258
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/clientloop.c
2267
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK) {
crypto/openssh/clientloop.c
2281
options.update_hostkeys = 0;
crypto/openssh/clientloop.c
2289
options.update_hostkeys = 0;
crypto/openssh/clientloop.c
2294
if (options.update_hostkeys == 0)
crypto/openssh/clientloop.c
2301
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2306
if (stat(options.user_hostfiles[i], &sb) != 0) {
crypto/openssh/clientloop.c
2309
"exist", options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2313
options.user_hostfiles[i], strerror(errno));
crypto/openssh/clientloop.c
2317
if ((r = hostfile_replace_entries(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2320
options.hash_known_hosts, 0,
crypto/openssh/clientloop.c
2321
options.fingerprint_hash)) != 0) {
crypto/openssh/clientloop.c
2323
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2466
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/clientloop.c
247
if (muxserver_sock == -1 || !options.control_persist
crypto/openssh/clientloop.c
248
|| options.control_persist_timeout == 0) {
crypto/openssh/clientloop.c
2512
options.check_host_ip ? (struct sockaddr *)&hostaddr : NULL,
crypto/openssh/clientloop.c
2513
options.port, &ctx->host_str,
crypto/openssh/clientloop.c
2514
options.check_host_ip ? &ctx->ip_str : NULL);
crypto/openssh/clientloop.c
2517
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2519
options.user_hostfiles[i], ctx->host_str,
crypto/openssh/clientloop.c
2521
if ((r = hostkeys_foreach(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2526
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2530
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2537
want = HKF_MATCH_HOST | ( options.check_host_ip ? HKF_MATCH_IP : 0);
crypto/openssh/clientloop.c
259
(time_t)options.control_persist_timeout;
crypto/openssh/clientloop.c
261
options.control_persist_timeout);
crypto/openssh/clientloop.c
2694
options.ip_qos_interactive, options.ip_qos_bulk);
crypto/openssh/clientloop.c
2722
if (options.num_send_env != 0 && env != NULL) {
crypto/openssh/clientloop.c
2734
for (j = 0; j < options.num_send_env; j++) {
crypto/openssh/clientloop.c
2735
if (match_pattern(name, options.send_env[j])) {
crypto/openssh/clientloop.c
2749
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/clientloop.c
2751
name = xstrdup(options.setenv[i]);
crypto/openssh/clientloop.c
2820
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/clientloop.c
2821
unlink(options.control_path);
crypto/openssh/clientloop.c
2826
if (options.control_persist || options.session_type == SESSION_TYPE_NONE) {
crypto/openssh/clientloop.c
2836
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
2837
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/clientloop.c
2838
unlink(options.control_path);
crypto/openssh/clientloop.c
490
if (options.server_alive_interval > 0)
crypto/openssh/clientloop.c
491
server_alive_time = monotime() + options.server_alive_interval;
crypto/openssh/clientloop.c
499
if (ssh_packet_inc_alive_timeouts(ssh) > options.server_alive_count_max) {
crypto/openssh/clientloop.c
589
if (options.obscure_keystroke_timing_interval <= 0)
crypto/openssh/clientloop.c
636
options.obscure_keystroke_timing_interval);
crypto/openssh/clientloop.c
640
options.obscure_keystroke_timing_interval, 1);
crypto/openssh/clientloop.c
669
n /= options.obscure_keystroke_timing_interval * 1000LL * 1000;
crypto/openssh/clientloop.c
674
options.obscure_keystroke_timing_interval * n, 0);
crypto/openssh/clientloop.c
725
if (options.server_alive_interval > 0)
crypto/openssh/clientloop.c
727
if (options.rekey_interval > 0 && !ssh_packet_is_rekeying(ssh)) {
crypto/openssh/clientloop.c
752
if (options.server_alive_interval > 0 && !*conn_in_readyp &&
crypto/openssh/clientloop.c
774
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
786
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
825
(options.request_tty == REQUEST_TTY_FORCE ||
crypto/openssh/clientloop.c
826
options.request_tty == REQUEST_TTY_YES))
crypto/openssh/clientloop.c
830
tochan = options.log_level >= SYSLOG_LEVEL_ERROR &&
crypto/openssh/clientloop.c
926
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK &&
crypto/openssh/clientloop.c
927
options.batch_mode)
crypto/openssh/clientloop.c
929
if (!options.update_hostkeys || options.num_user_hostfiles <= 0)
crypto/openssh/clientloop.c
940
if (options.control_master || options.control_path != NULL ||
crypto/openssh/clientloop.c
941
options.forward_x11 || options.fork_after_authentication ||
crypto/openssh/clientloop.c
956
if (options.num_local_forwards != 0 ||
crypto/openssh/clientloop.c
957
options.num_remote_forwards != 0 ||
crypto/openssh/clientloop.c
958
options.num_permitted_remote_opens != 0 ||
crypto/openssh/clientloop.c
959
options.enable_escape_commandline != 0) {
crypto/openssh/clientloop.c
964
} else if (options.forward_agent != 0) {
crypto/openssh/clientloop.c
993
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/gss-serv-krb5.c
190
if (options.use_pam)
crypto/openssh/gss-serv-krb5.c
47
extern ServerOptions options;
crypto/openssh/gss-serv.c
104
if (options.gss_strict_acceptor) {
crypto/openssh/gss-serv.c
50
extern ServerOptions options;
crypto/openssh/hostfile.c
761
void *ctx, const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
773
if (host == NULL && (options & HKF_WANT_MATCH) != 0)
crypto/openssh/hostfile.c
795
if ((options & HKF_WANT_MATCH) == 0) {
crypto/openssh/hostfile.c
805
if ((options & HKF_WANT_MATCH) == 0)
crypto/openssh/hostfile.c
848
if ((options & HKF_WANT_MATCH) != 0 &&
crypto/openssh/hostfile.c
863
if ((options & HKF_WANT_PARSE_KEY) != 0) {
crypto/openssh/hostfile.c
931
const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
941
options, note);
crypto/openssh/hostfile.h
116
const char *host, const char *ip, u_int options, u_int note);
crypto/openssh/hostfile.h
119
const char *host, const char *ip, u_int options, u_int note);
crypto/openssh/monitor.c
1003
if (!options.use_pam)
crypto/openssh/monitor.c
1009
if (options.kbd_interactive_authentication)
crypto/openssh/monitor.c
1021
if (!options.use_pam)
crypto/openssh/monitor.c
1045
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
105
extern ServerOptions options;
crypto/openssh/monitor.c
1188
if (!options.pubkey_authentication)
crypto/openssh/monitor.c
1193
options.pubkey_accepted_algos))
crypto/openssh/monitor.c
1200
if (!options.hostbased_authentication)
crypto/openssh/monitor.c
1205
options.hostbased_accepted_algos))
crypto/openssh/monitor.c
1458
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/monitor.c
1470
req_presence = (options.pubkey_auth_options &
crypto/openssh/monitor.c
1484
req_verify = (options.pubkey_auth_options &
crypto/openssh/monitor.c
1546
session_get_remote_name_or_ip(ssh, utmp_len, options.use_dns),
crypto/openssh/monitor.c
1661
if (options.use_pam)
crypto/openssh/monitor.c
1855
if (!options.gss_authentication)
crypto/openssh/monitor.c
1888
if (!options.gss_authentication)
crypto/openssh/monitor.c
1920
if (!options.gss_authentication)
crypto/openssh/monitor.c
1950
if (!options.gss_authentication)
crypto/openssh/monitor.c
305
if (options.num_auth_methods != 0) {
crypto/openssh/monitor.c
324
if (options.use_pam && authenticated) {
crypto/openssh/monitor.c
348
if (authctxt->failures > options.max_authtries) {
crypto/openssh/monitor.c
678
options.sk_provider, NULL, compat)) != 0)
crypto/openssh/monitor.c
721
if ((r = sshbuf_put_string(m, &options, sizeof(options))) != 0)
crypto/openssh/monitor.c
725
if (options.x != NULL && \
crypto/openssh/monitor.c
726
(r = sshbuf_put_cstring(m, options.x)) != 0) \
crypto/openssh/monitor.c
730
for (i = 0; i < options.nx; i++) { \
crypto/openssh/monitor.c
731
if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \
crypto/openssh/monitor.c
821
if (options.use_pam)
crypto/openssh/monitor.c
900
if (!options.password_authentication)
crypto/openssh/monitor.c
905
authenticated = options.password_authentication &&
crypto/openssh/monitor.c
940
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
972
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
979
authok = options.kbd_interactive_authentication &&
crypto/openssh/monitor_wrap.c
1126
options.permitted_opens, options.num_permitted_opens);
crypto/openssh/monitor_wrap.c
1128
options.permitted_listens, options.num_permitted_listens);
crypto/openssh/monitor_wrap.c
1137
debug3_f("setting %u timeouts", options.num_channel_timeouts);
crypto/openssh/monitor_wrap.c
1139
for (i = 0; i < options.num_channel_timeouts; i++) {
crypto/openssh/monitor_wrap.c
1140
if (parse_pattern_interval(options.channel_timeouts[i],
crypto/openssh/monitor_wrap.c
1143
options.channel_timeouts[i]);
crypto/openssh/monitor_wrap.c
327
copy_set_server_options(&options, newopts, 1);
crypto/openssh/monitor_wrap.c
328
log_change_level(options.log_level);
crypto/openssh/monitor_wrap.c
330
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/monitor_wrap.c
331
log_verbose_add(options.log_verbose[i]);
crypto/openssh/monitor_wrap.c
400
kex_set_server_sig_algs(ssh, options.pubkey_accepted_algos);
crypto/openssh/monitor_wrap.c
706
if (!options.use_pam)
crypto/openssh/monitor_wrap.c
725
if (!options.use_pam)
crypto/openssh/monitor_wrap.c
84
extern ServerOptions options;
crypto/openssh/mux.c
1017
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
1018
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
1108
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
1109
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
1122
free(options.control_path);
crypto/openssh/mux.c
1123
options.control_path = NULL;
crypto/openssh/mux.c
1275
char *orig_control_path = options.control_path;
crypto/openssh/mux.c
1280
if (options.control_path == NULL ||
crypto/openssh/mux.c
1281
options.control_master == SSHCTL_MASTER_NO)
crypto/openssh/mux.c
1299
options.control_path = NULL;
crypto/openssh/mux.c
1300
xasprintf(&options.control_path, "%s.%s", orig_control_path, rbuf);
crypto/openssh/mux.c
1301
debug3_f("temporary control path %s", options.control_path);
crypto/openssh/mux.c
1304
muxserver_sock = unix_listener(options.control_path, 64, 0);
crypto/openssh/mux.c
1310
"disabling multiplexing", options.control_path);
crypto/openssh/mux.c
1317
free(options.control_path);
crypto/openssh/mux.c
1318
options.control_path = NULL;
crypto/openssh/mux.c
1319
options.control_master = SSHCTL_MASTER_NO;
crypto/openssh/mux.c
1328
if (link(options.control_path, orig_control_path) != 0) {
crypto/openssh/mux.c
1331
options.control_path, orig_control_path,
crypto/openssh/mux.c
1336
unlink(options.control_path);
crypto/openssh/mux.c
1339
unlink(options.control_path);
crypto/openssh/mux.c
1340
free(options.control_path);
crypto/openssh/mux.c
1341
options.control_path = orig_control_path;
crypto/openssh/mux.c
1348
0, options.control_path, 1);
crypto/openssh/mux.c
1382
if (cctx->want_x_fwd && options.forward_x11 && display != NULL) {
crypto/openssh/mux.c
1386
if (client_x11_get_proto(ssh, display, options.xauth_location,
crypto/openssh/mux.c
1387
options.forward_x11_trusted, options.forward_x11_timeout,
crypto/openssh/mux.c
1400
if (cctx->want_agent_fwd && options.forward_agent) {
crypto/openssh/mux.c
1865
options.num_local_forwards, options.num_remote_forwards);
crypto/openssh/mux.c
1868
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
1870
options.local_forwards[i].connect_port == 0 ?
crypto/openssh/mux.c
1872
options.local_forwards + i) != 0)
crypto/openssh/mux.c
1875
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
1877
options.remote_forwards + i) != 0)
crypto/openssh/mux.c
1902
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1)
crypto/openssh/mux.c
1905
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/mux.c
1906
options.num_setenv)) == NULL || *term == '\0')
crypto/openssh/mux.c
1910
if (options.escape_char != SSH_ESCAPECHAR_NONE)
crypto/openssh/mux.c
1911
echar = (u_int)options.escape_char;
crypto/openssh/mux.c
1919
(r = sshbuf_put_u32(m, options.forward_x11)) != 0 ||
crypto/openssh/mux.c
1920
(r = sshbuf_put_u32(m, options.forward_agent)) != 0 ||
crypto/openssh/mux.c
1921
(r = sshbuf_put_u32(m, options.session_type == SESSION_TYPE_SUBSYSTEM)) != 0 ||
crypto/openssh/mux.c
1928
if (options.num_send_env > 0 && environ != NULL) {
crypto/openssh/mux.c
1936
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/mux.c
1937
if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0)
crypto/openssh/mux.c
2001
if (options.fork_after_authentication)
crypto/openssh/mux.c
2007
options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/mux.c
2031
leave_raw_mode(options.request_tty ==
crypto/openssh/mux.c
2056
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/mux.c
2067
if (tty_flag && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/mux.c
2131
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1)
crypto/openssh/mux.c
2139
(r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 ||
crypto/openssh/mux.c
2140
(r = sshbuf_put_u32(m, options.stdio_forward_port)) != 0)
crypto/openssh/mux.c
2268
int sock, timeout = options.connection_timeout, timeout_ms = -1;
crypto/openssh/mux.c
2272
if (options.stdio_forward_host != NULL)
crypto/openssh/mux.c
2278
switch (options.control_master) {
crypto/openssh/mux.c
2310
options.control_master != SSHCTL_MASTER_NO) {
crypto/openssh/mux.c
2342
if (options.log_level != SYSLOG_LEVEL_QUIET)
crypto/openssh/mux.c
2361
if (options.log_level != SYSLOG_LEVEL_QUIET)
crypto/openssh/mux.c
257
for (i = 0; i < options.num_send_env; i++)
crypto/openssh/mux.c
258
if (match_pattern(name, options.send_env[i]))
crypto/openssh/mux.c
440
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
441
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
512
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
513
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
539
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/mux.c
547
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/mux.c
612
if (fctx->fid >= options.num_remote_forwards ||
crypto/openssh/mux.c
613
(options.remote_forwards[fctx->fid].connect_path == NULL &&
crypto/openssh/mux.c
614
options.remote_forwards[fctx->fid].connect_host == NULL)) {
crypto/openssh/mux.c
618
rfwd = &options.remote_forwards[fctx->fid];
crypto/openssh/mux.c
75
extern Options options;
crypto/openssh/mux.c
768
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
770
options.local_forwards + i)) {
crypto/openssh/mux.c
779
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
780
if (!compare_forward(&fwd, options.remote_forwards + i))
crypto/openssh/mux.c
789
options.remote_forwards[i].allocated_port)) != 0)
crypto/openssh/mux.c
796
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
797
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
808
&options.fwd_opts)) {
crypto/openssh/mux.c
815
add_local_forward(&options, &fwd);
crypto/openssh/mux.c
823
add_remote_forward(&options, &fwd);
crypto/openssh/mux.c
827
fctx->fid = options.num_remote_forwards - 1;
crypto/openssh/mux.c
902
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
904
options.local_forwards + i)) {
crypto/openssh/mux.c
905
found_fwd = options.local_forwards + i;
crypto/openssh/mux.c
911
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
913
options.remote_forwards + i)) {
crypto/openssh/mux.c
914
found_fwd = options.remote_forwards + i;
crypto/openssh/mux.c
935
&options.fwd_opts) == -1)
crypto/openssh/platform.c
110
if (options.use_pam) {
crypto/openssh/platform.c
134
if (options.chroot_directory != NULL &&
crypto/openssh/platform.c
135
strcasecmp(options.chroot_directory, "none") != 0)
crypto/openssh/platform.c
35
extern ServerOptions options;
crypto/openssh/platform.c
67
if (!options.use_pam && (getuid() == 0 || geteuid() == 0))
crypto/openssh/platform.c
82
if (options.use_pam) {
crypto/openssh/readconf.c
1033
process_config_line(Options *options, struct passwd *pw, const char *host,
crypto/openssh/readconf.c
1037
return process_config_line_depth(options, pw, host, original_host,
crypto/openssh/readconf.c
1043
process_config_line_depth(Options *options, struct passwd *pw, const char *host,
crypto/openssh/readconf.c
1103
options->ignored_unknown);
crypto/openssh/readconf.c
1124
intptr = &options->connection_timeout;
crypto/openssh/readconf.c
1144
intptr = &options->forward_agent;
crypto/openssh/readconf.c
1170
charptr = &options->forward_agent_sock_path;
crypto/openssh/readconf.c
1174
intptr = &options->forward_x11;
crypto/openssh/readconf.c
1190
intptr = &options->forward_x11_trusted;
crypto/openssh/readconf.c
1194
intptr = &options->forward_x11_timeout;
crypto/openssh/readconf.c
1198
intptr = &options->fwd_opts.gateway_ports;
crypto/openssh/readconf.c
1202
intptr = &options->exit_on_forward_failure;
crypto/openssh/readconf.c
1206
intptr = &options->password_authentication;
crypto/openssh/readconf.c
1210
intptr = &options->kbd_interactive_authentication;
crypto/openssh/readconf.c
1214
charptr = &options->kbd_interactive_devices;
crypto/openssh/readconf.c
1219
intptr = &options->pubkey_authentication;
crypto/openssh/readconf.c
1223
intptr = &options->hostbased_authentication;
crypto/openssh/readconf.c
1227
intptr = &options->gss_authentication;
crypto/openssh/readconf.c
1231
intptr = &options->gss_deleg_creds;
crypto/openssh/readconf.c
1235
intptr = &options->batch_mode;
crypto/openssh/readconf.c
1239
intptr = &options->check_host_ip;
crypto/openssh/readconf.c
1243
intptr = &options->verify_host_key_dns;
crypto/openssh/readconf.c
1248
intptr = &options->strict_host_key_checking;
crypto/openssh/readconf.c
1253
intptr = &options->compression;
crypto/openssh/readconf.c
1258
intptr = &options->tcp_keep_alive;
crypto/openssh/readconf.c
1262
intptr = &options->no_host_authentication_for_localhost;
crypto/openssh/readconf.c
1266
intptr = &options->number_of_password_prompts;
crypto/openssh/readconf.c
1290
if (*activep && options->rekey_limit == -1)
crypto/openssh/readconf.c
1291
options->rekey_limit = val64;
crypto/openssh/readconf.c
1297
intptr = &options->rekey_interval;
crypto/openssh/readconf.c
1310
intptr = &options->num_identity_files;
crypto/openssh/readconf.c
1317
add_identity_file(options, NULL,
crypto/openssh/readconf.c
1330
intptr = &options->num_certificate_files;
crypto/openssh/readconf.c
1338
add_certificate_file(options, arg,
crypto/openssh/readconf.c
1344
charptr=&options->xauth_location;
crypto/openssh/readconf.c
1348
charptr = &options->user;
crypto/openssh/readconf.c
136
const char *host, const char *original_host, Options *options,
crypto/openssh/readconf.c
1361
cpptr = (char **)&options->system_hostfiles;
crypto/openssh/readconf.c
1362
uintptr = &options->num_system_hostfiles;
crypto/openssh/readconf.c
138
static int process_config_line_depth(Options *options, struct passwd *pw,
crypto/openssh/readconf.c
1396
cpptr = (char **)&options->user_hostfiles;
crypto/openssh/readconf.c
1397
uintptr = &options->num_user_hostfiles;
crypto/openssh/readconf.c
1402
charptr = &options->hostname;
crypto/openssh/readconf.c
1406
charptr = &options->tag;
crypto/openssh/readconf.c
1410
charptr = &options->host_key_alias;
crypto/openssh/readconf.c
1414
charptr = &options->preferred_authentications;
crypto/openssh/readconf.c
1418
charptr = &options->bind_address;
crypto/openssh/readconf.c
1422
charptr = &options->bind_interface;
crypto/openssh/readconf.c
1426
charptr = &options->pkcs11_provider;
crypto/openssh/readconf.c
1430
charptr = &options->sk_provider;
crypto/openssh/readconf.c
1434
charptr = &options->known_hosts_command;
crypto/openssh/readconf.c
1438
charptr = &options->proxy_command;
crypto/openssh/readconf.c
1440
if (options->jump_host != NULL)
crypto/openssh/readconf.c
1441
charptr = &options->jump_host; /* Skip below */
crypto/openssh/readconf.c
1462
if (parse_jump(str + len, options, *activep) == -1) {
crypto/openssh/readconf.c
1483
if (*activep && options->port == -1)
crypto/openssh/readconf.c
1484
options->port = value;
crypto/openssh/readconf.c
1488
intptr = &options->connection_attempts;
crypto/openssh/readconf.c
1513
if (*activep && options->ciphers == NULL)
crypto/openssh/readconf.c
1514
options->ciphers = xstrdup(arg);
crypto/openssh/readconf.c
1530
if (*activep && options->macs == NULL)
crypto/openssh/readconf.c
1531
options->macs = xstrdup(arg);
crypto/openssh/readconf.c
1548
if (*activep && options->kex_algorithms == NULL)
crypto/openssh/readconf.c
1549
options->kex_algorithms = xstrdup(arg);
crypto/openssh/readconf.c
1553
charptr = &options->hostkeyalgorithms;
crypto/openssh/readconf.c
1574
charptr = &options->ca_sign_algorithms;
crypto/openssh/readconf.c
1579
log_level_ptr = &options->log_level;
crypto/openssh/readconf.c
1592
log_facility_ptr = &options->log_facility;
crypto/openssh/readconf.c
1605
cppptr = &options->log_verbose;
crypto/openssh/readconf.c
1606
uintptr = &options->num_log_verbose;
crypto/openssh/readconf.c
1672
add_remote_forward(options, &fwd);
crypto/openssh/readconf.c
1674
add_local_forward(options, &fwd);
crypto/openssh/readconf.c
1680
uintptr = &options->num_permitted_remote_opens;
crypto/openssh/readconf.c
1681
cppptr = &options->permitted_remote_opens;
crypto/openssh/readconf.c
1731
intptr = &options->clear_forwardings;
crypto/openssh/readconf.c
1781
value = match_cfg_line(options, &str, pw, host, original_host,
crypto/openssh/readconf.c
1800
intptr = &options->escape_char;
crypto/openssh/readconf.c
1824
intptr = &options->address_family;
crypto/openssh/readconf.c
1829
intptr = &options->enable_ssh_keysign;
crypto/openssh/readconf.c
1833
intptr = &options->identities_only;
crypto/openssh/readconf.c
1837
intptr = &options->server_alive_interval;
crypto/openssh/readconf.c
1841
intptr = &options->server_alive_count_max;
crypto/openssh/readconf.c
1857
rm_env(options, arg, filename, linenum);
crypto/openssh/readconf.c
1862
&options->send_env, &options->num_send_env, arg);
crypto/openssh/readconf.c
1871
found = options->num_setenv == 0;
crypto/openssh/readconf.c
1892
options->setenv = strs;
crypto/openssh/readconf.c
1893
options->num_setenv = nstrs;
crypto/openssh/readconf.c
1900
charptr = &options->control_path;
crypto/openssh/readconf.c
1904
intptr = &options->control_master;
crypto/openssh/readconf.c
1910
intptr = &options->control_persist;
crypto/openssh/readconf.c
1932
options->control_persist_timeout = value2;
crypto/openssh/readconf.c
1937
intptr = &options->hash_known_hosts;
crypto/openssh/readconf.c
1941
intptr = &options->tun_open;
crypto/openssh/readconf.c
1958
if (*activep && options->tun_local == -1) {
crypto/openssh/readconf.c
1959
options->tun_local = value;
crypto/openssh/readconf.c
1960
options->tun_remote = value2;
crypto/openssh/readconf.c
1965
charptr = &options->local_command;
crypto/openssh/readconf.c
1969
intptr = &options->permit_local_command;
crypto/openssh/readconf.c
1973
charptr = &options->remote_command;
crypto/openssh/readconf.c
1977
intptr = &options->visual_host_key;
crypto/openssh/readconf.c
2031
pw, host, original_host, options,
crypto/openssh/readconf.c
2071
if (*activep && options->ip_qos_interactive == -1) {
crypto/openssh/readconf.c
2072
options->ip_qos_interactive = value;
crypto/openssh/readconf.c
2073
options->ip_qos_bulk = value2;
crypto/openssh/readconf.c
2078
intptr = &options->request_tty;
crypto/openssh/readconf.c
2083
intptr = &options->session_type;
crypto/openssh/readconf.c
2088
intptr = &options->stdin_null;
crypto/openssh/readconf.c
2092
intptr = &options->fork_after_authentication;
crypto/openssh/readconf.c
2096
charptr = &options->ignored_unknown;
crypto/openssh/readconf.c
2100
intptr = &options->proxy_use_fdpass;
crypto/openssh/readconf.c
2104
found = options->num_canonical_domains == 0;
crypto/openssh/readconf.c
2128
options->canonical_domains = strs;
crypto/openssh/readconf.c
2129
options->num_canonical_domains = nstrs;
crypto/openssh/readconf.c
2136
found = options->num_permitted_cnames == 0;
crypto/openssh/readconf.c
2175
options->permitted_cnames = cnames;
crypto/openssh/readconf.c
2176
options->num_permitted_cnames = ncnames;
crypto/openssh/readconf.c
2184
intptr = &options->canonicalize_hostname;
crypto/openssh/readconf.c
2189
intptr = &options->canonicalize_max_dots;
crypto/openssh/readconf.c
2193
intptr = &options->canonicalize_fallback_local;
crypto/openssh/readconf.c
2209
options->fwd_opts.streamlocal_bind_mask = (mode_t)value;
crypto/openssh/readconf.c
2213
intptr = &options->fwd_opts.streamlocal_bind_unlink;
crypto/openssh/readconf.c
2217
charptr = &options->revoked_host_keys;
crypto/openssh/readconf.c
2221
intptr = &options->fingerprint_hash;
crypto/openssh/readconf.c
2238
intptr = &options->update_hostkeys;
crypto/openssh/readconf.c
2243
charptr = &options->hostbased_accepted_algos;
crypto/openssh/readconf.c
2248
charptr = &options->pubkey_accepted_algos;
crypto/openssh/readconf.c
2277
if (*activep && options->add_keys_to_agent == -1) {
crypto/openssh/readconf.c
2278
options->add_keys_to_agent = value;
crypto/openssh/readconf.c
2279
options->add_keys_to_agent_lifespan = value2;
crypto/openssh/readconf.c
2284
charptr = &options->identity_agent;
crypto/openssh/readconf.c
2311
intptr = &options->enable_escape_commandline;
crypto/openssh/readconf.c
2315
intptr = &options->required_rsa_size;
crypto/openssh/readconf.c
2355
intptr = &options->obscure_keystroke_timing_interval;
crypto/openssh/readconf.c
2361
found = options->num_channel_timeouts == 0;
crypto/openssh/readconf.c
2384
options->channel_timeouts = strs;
crypto/openssh/readconf.c
2385
options->num_channel_timeouts = nstrs;
crypto/openssh/readconf.c
2432
const char *original_host, Options *options, int flags,
crypto/openssh/readconf.c
2438
options, flags, &active, want_final_pass, 0);
crypto/openssh/readconf.c
2444
const char *host, const char *original_host, Options *options,
crypto/openssh/readconf.c
2484
if (process_config_line_depth(options, pw, host, original_host,
crypto/openssh/readconf.c
2509
config_has_permitted_cnames(Options *options)
crypto/openssh/readconf.c
2511
if (options->num_permitted_cnames == 1 &&
crypto/openssh/readconf.c
2512
strcasecmp(options->permitted_cnames[0].source_list, "none") == 0 &&
crypto/openssh/readconf.c
2513
strcmp(options->permitted_cnames[0].target_list, "") == 0)
crypto/openssh/readconf.c
2515
return options->num_permitted_cnames > 0;
crypto/openssh/readconf.c
2526
initialize_options(Options * options)
crypto/openssh/readconf.c
2528
memset(options, 'X', sizeof(*options));
crypto/openssh/readconf.c
2529
options->host_arg = NULL;
crypto/openssh/readconf.c
2530
options->forward_agent = -1;
crypto/openssh/readconf.c
2531
options->forward_agent_sock_path = NULL;
crypto/openssh/readconf.c
2532
options->forward_x11 = -1;
crypto/openssh/readconf.c
2533
options->forward_x11_trusted = -1;
crypto/openssh/readconf.c
2534
options->forward_x11_timeout = -1;
crypto/openssh/readconf.c
2535
options->stdio_forward_host = NULL;
crypto/openssh/readconf.c
2536
options->stdio_forward_port = 0;
crypto/openssh/readconf.c
2537
options->clear_forwardings = -1;
crypto/openssh/readconf.c
2538
options->exit_on_forward_failure = -1;
crypto/openssh/readconf.c
2539
options->xauth_location = NULL;
crypto/openssh/readconf.c
2540
options->fwd_opts.gateway_ports = -1;
crypto/openssh/readconf.c
2541
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1;
crypto/openssh/readconf.c
2542
options->fwd_opts.streamlocal_bind_unlink = -1;
crypto/openssh/readconf.c
2543
options->pubkey_authentication = -1;
crypto/openssh/readconf.c
2544
options->gss_authentication = -1;
crypto/openssh/readconf.c
2545
options->gss_deleg_creds = -1;
crypto/openssh/readconf.c
2546
options->password_authentication = -1;
crypto/openssh/readconf.c
2547
options->kbd_interactive_authentication = -1;
crypto/openssh/readconf.c
2548
options->kbd_interactive_devices = NULL;
crypto/openssh/readconf.c
2549
options->hostbased_authentication = -1;
crypto/openssh/readconf.c
2550
options->batch_mode = -1;
crypto/openssh/readconf.c
2551
options->check_host_ip = -1;
crypto/openssh/readconf.c
2552
options->strict_host_key_checking = -1;
crypto/openssh/readconf.c
2553
options->compression = -1;
crypto/openssh/readconf.c
2554
options->tcp_keep_alive = -1;
crypto/openssh/readconf.c
2555
options->port = -1;
crypto/openssh/readconf.c
2556
options->address_family = -1;
crypto/openssh/readconf.c
2557
options->connection_attempts = -1;
crypto/openssh/readconf.c
2558
options->connection_timeout = -1;
crypto/openssh/readconf.c
2559
options->number_of_password_prompts = -1;
crypto/openssh/readconf.c
2560
options->ciphers = NULL;
crypto/openssh/readconf.c
2561
options->macs = NULL;
crypto/openssh/readconf.c
2562
options->kex_algorithms = NULL;
crypto/openssh/readconf.c
2563
options->hostkeyalgorithms = NULL;
crypto/openssh/readconf.c
2564
options->ca_sign_algorithms = NULL;
crypto/openssh/readconf.c
2565
options->num_identity_files = 0;
crypto/openssh/readconf.c
2566
memset(options->identity_keys, 0, sizeof(options->identity_keys));
crypto/openssh/readconf.c
2567
options->num_certificate_files = 0;
crypto/openssh/readconf.c
2568
memset(options->certificates, 0, sizeof(options->certificates));
crypto/openssh/readconf.c
2569
options->hostname = NULL;
crypto/openssh/readconf.c
2570
options->host_key_alias = NULL;
crypto/openssh/readconf.c
2571
options->proxy_command = NULL;
crypto/openssh/readconf.c
2572
options->jump_user = NULL;
crypto/openssh/readconf.c
2573
options->jump_host = NULL;
crypto/openssh/readconf.c
2574
options->jump_port = -1;
crypto/openssh/readconf.c
2575
options->jump_extra = NULL;
crypto/openssh/readconf.c
2576
options->user = NULL;
crypto/openssh/readconf.c
2577
options->escape_char = -1;
crypto/openssh/readconf.c
2578
options->num_system_hostfiles = 0;
crypto/openssh/readconf.c
2579
options->num_user_hostfiles = 0;
crypto/openssh/readconf.c
2580
options->local_forwards = NULL;
crypto/openssh/readconf.c
2581
options->num_local_forwards = 0;
crypto/openssh/readconf.c
2582
options->remote_forwards = NULL;
crypto/openssh/readconf.c
2583
options->num_remote_forwards = 0;
crypto/openssh/readconf.c
2584
options->permitted_remote_opens = NULL;
crypto/openssh/readconf.c
2585
options->num_permitted_remote_opens = 0;
crypto/openssh/readconf.c
2586
options->log_facility = SYSLOG_FACILITY_NOT_SET;
crypto/openssh/readconf.c
2587
options->log_level = SYSLOG_LEVEL_NOT_SET;
crypto/openssh/readconf.c
2588
options->num_log_verbose = 0;
crypto/openssh/readconf.c
2589
options->log_verbose = NULL;
crypto/openssh/readconf.c
2590
options->preferred_authentications = NULL;
crypto/openssh/readconf.c
2591
options->bind_address = NULL;
crypto/openssh/readconf.c
2592
options->bind_interface = NULL;
crypto/openssh/readconf.c
2593
options->pkcs11_provider = NULL;
crypto/openssh/readconf.c
2594
options->sk_provider = NULL;
crypto/openssh/readconf.c
2595
options->enable_ssh_keysign = - 1;
crypto/openssh/readconf.c
2596
options->no_host_authentication_for_localhost = - 1;
crypto/openssh/readconf.c
2597
options->identities_only = - 1;
crypto/openssh/readconf.c
2598
options->rekey_limit = - 1;
crypto/openssh/readconf.c
2599
options->rekey_interval = -1;
crypto/openssh/readconf.c
2600
options->verify_host_key_dns = -1;
crypto/openssh/readconf.c
2601
options->server_alive_interval = -1;
crypto/openssh/readconf.c
2602
options->server_alive_count_max = -1;
crypto/openssh/readconf.c
2603
options->send_env = NULL;
crypto/openssh/readconf.c
2604
options->num_send_env = 0;
crypto/openssh/readconf.c
2605
options->setenv = NULL;
crypto/openssh/readconf.c
2606
options->num_setenv = 0;
crypto/openssh/readconf.c
2607
options->control_path = NULL;
crypto/openssh/readconf.c
2608
options->control_master = -1;
crypto/openssh/readconf.c
2609
options->control_persist = -1;
crypto/openssh/readconf.c
2610
options->control_persist_timeout = 0;
crypto/openssh/readconf.c
2611
options->hash_known_hosts = -1;
crypto/openssh/readconf.c
2612
options->tun_open = -1;
crypto/openssh/readconf.c
2613
options->tun_local = -1;
crypto/openssh/readconf.c
2614
options->tun_remote = -1;
crypto/openssh/readconf.c
2615
options->local_command = NULL;
crypto/openssh/readconf.c
2616
options->permit_local_command = -1;
crypto/openssh/readconf.c
2617
options->remote_command = NULL;
crypto/openssh/readconf.c
2618
options->add_keys_to_agent = -1;
crypto/openssh/readconf.c
2619
options->add_keys_to_agent_lifespan = -1;
crypto/openssh/readconf.c
2620
options->identity_agent = NULL;
crypto/openssh/readconf.c
2621
options->visual_host_key = -1;
crypto/openssh/readconf.c
2622
options->ip_qos_interactive = -1;
crypto/openssh/readconf.c
2623
options->ip_qos_bulk = -1;
crypto/openssh/readconf.c
2624
options->request_tty = -1;
crypto/openssh/readconf.c
2625
options->session_type = -1;
crypto/openssh/readconf.c
2626
options->stdin_null = -1;
crypto/openssh/readconf.c
2627
options->fork_after_authentication = -1;
crypto/openssh/readconf.c
2628
options->proxy_use_fdpass = -1;
crypto/openssh/readconf.c
2629
options->ignored_unknown = NULL;
crypto/openssh/readconf.c
2630
options->num_canonical_domains = 0;
crypto/openssh/readconf.c
2631
options->num_permitted_cnames = 0;
crypto/openssh/readconf.c
2632
options->canonicalize_max_dots = -1;
crypto/openssh/readconf.c
2633
options->canonicalize_fallback_local = -1;
crypto/openssh/readconf.c
2634
options->canonicalize_hostname = -1;
crypto/openssh/readconf.c
2635
options->revoked_host_keys = NULL;
crypto/openssh/readconf.c
2636
options->fingerprint_hash = -1;
crypto/openssh/readconf.c
2637
options->update_hostkeys = -1;
crypto/openssh/readconf.c
2638
options->hostbased_accepted_algos = NULL;
crypto/openssh/readconf.c
2639
options->pubkey_accepted_algos = NULL;
crypto/openssh/readconf.c
2640
options->known_hosts_command = NULL;
crypto/openssh/readconf.c
2641
options->required_rsa_size = -1;
crypto/openssh/readconf.c
2642
options->enable_escape_commandline = -1;
crypto/openssh/readconf.c
2643
options->obscure_keystroke_timing_interval = -1;
crypto/openssh/readconf.c
2644
options->tag = NULL;
crypto/openssh/readconf.c
2645
options->channel_timeouts = NULL;
crypto/openssh/readconf.c
2646
options->num_channel_timeouts = 0;
crypto/openssh/readconf.c
2654
fill_default_options_for_canonicalization(Options *options)
crypto/openssh/readconf.c
2656
if (options->canonicalize_max_dots == -1)
crypto/openssh/readconf.c
2657
options->canonicalize_max_dots = 1;
crypto/openssh/readconf.c
2658
if (options->canonicalize_fallback_local == -1)
crypto/openssh/readconf.c
2659
options->canonicalize_fallback_local = 1;
crypto/openssh/readconf.c
2660
if (options->canonicalize_hostname == -1)
crypto/openssh/readconf.c
2661
options->canonicalize_hostname = SSH_CANONICALISE_NO;
crypto/openssh/readconf.c
2669
fill_default_options(Options * options)
crypto/openssh/readconf.c
2675
if (options->forward_agent == -1)
crypto/openssh/readconf.c
2676
options->forward_agent = 0;
crypto/openssh/readconf.c
2677
if (options->forward_x11 == -1)
crypto/openssh/readconf.c
2678
options->forward_x11 = 0;
crypto/openssh/readconf.c
2679
if (options->forward_x11_trusted == -1)
crypto/openssh/readconf.c
2680
options->forward_x11_trusted = 0;
crypto/openssh/readconf.c
2681
if (options->forward_x11_timeout == -1)
crypto/openssh/readconf.c
2682
options->forward_x11_timeout = 1200;
crypto/openssh/readconf.c
2687
if (options->exit_on_forward_failure == -1)
crypto/openssh/readconf.c
2688
options->exit_on_forward_failure =
crypto/openssh/readconf.c
2689
options->stdio_forward_host != NULL ? 1 : 0;
crypto/openssh/readconf.c
2690
if (options->clear_forwardings == -1)
crypto/openssh/readconf.c
2691
options->clear_forwardings =
crypto/openssh/readconf.c
2692
options->stdio_forward_host != NULL ? 1 : 0;
crypto/openssh/readconf.c
2693
if (options->clear_forwardings == 1)
crypto/openssh/readconf.c
2694
clear_forwardings(options);
crypto/openssh/readconf.c
2696
if (options->xauth_location == NULL)
crypto/openssh/readconf.c
2697
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/readconf.c
2698
if (options->fwd_opts.gateway_ports == -1)
crypto/openssh/readconf.c
2699
options->fwd_opts.gateway_ports = 0;
crypto/openssh/readconf.c
2700
if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1)
crypto/openssh/readconf.c
2701
options->fwd_opts.streamlocal_bind_mask = 0177;
crypto/openssh/readconf.c
2702
if (options->fwd_opts.streamlocal_bind_unlink == -1)
crypto/openssh/readconf.c
2703
options->fwd_opts.streamlocal_bind_unlink = 0;
crypto/openssh/readconf.c
2704
if (options->pubkey_authentication == -1)
crypto/openssh/readconf.c
2705
options->pubkey_authentication = SSH_PUBKEY_AUTH_ALL;
crypto/openssh/readconf.c
2706
if (options->gss_authentication == -1)
crypto/openssh/readconf.c
2707
options->gss_authentication = 0;
crypto/openssh/readconf.c
2708
if (options->gss_deleg_creds == -1)
crypto/openssh/readconf.c
2709
options->gss_deleg_creds = 0;
crypto/openssh/readconf.c
2710
if (options->password_authentication == -1)
crypto/openssh/readconf.c
2711
options->password_authentication = 1;
crypto/openssh/readconf.c
2712
if (options->kbd_interactive_authentication == -1)
crypto/openssh/readconf.c
2713
options->kbd_interactive_authentication = 1;
crypto/openssh/readconf.c
2714
if (options->hostbased_authentication == -1)
crypto/openssh/readconf.c
2715
options->hostbased_authentication = 0;
crypto/openssh/readconf.c
2716
if (options->batch_mode == -1)
crypto/openssh/readconf.c
2717
options->batch_mode = 0;
crypto/openssh/readconf.c
2718
if (options->check_host_ip == -1)
crypto/openssh/readconf.c
2719
options->check_host_ip = 0;
crypto/openssh/readconf.c
2720
if (options->strict_host_key_checking == -1)
crypto/openssh/readconf.c
2721
options->strict_host_key_checking = SSH_STRICT_HOSTKEY_ASK;
crypto/openssh/readconf.c
2722
if (options->compression == -1)
crypto/openssh/readconf.c
2723
options->compression = 0;
crypto/openssh/readconf.c
2724
if (options->tcp_keep_alive == -1)
crypto/openssh/readconf.c
2725
options->tcp_keep_alive = 1;
crypto/openssh/readconf.c
2726
if (options->port == -1)
crypto/openssh/readconf.c
2727
options->port = 0; /* Filled in ssh_connect. */
crypto/openssh/readconf.c
2728
if (options->address_family == -1)
crypto/openssh/readconf.c
2729
options->address_family = AF_UNSPEC;
crypto/openssh/readconf.c
2730
if (options->connection_attempts == -1)
crypto/openssh/readconf.c
2731
options->connection_attempts = 1;
crypto/openssh/readconf.c
2732
if (options->number_of_password_prompts == -1)
crypto/openssh/readconf.c
2733
options->number_of_password_prompts = 3;
crypto/openssh/readconf.c
2735
if (options->add_keys_to_agent == -1) {
crypto/openssh/readconf.c
2736
options->add_keys_to_agent = 0;
crypto/openssh/readconf.c
2737
options->add_keys_to_agent_lifespan = 0;
crypto/openssh/readconf.c
2739
if (options->num_identity_files == 0) {
crypto/openssh/readconf.c
2740
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_RSA, 0);
crypto/openssh/readconf.c
2742
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_ECDSA, 0);
crypto/openssh/readconf.c
2743
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2746
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2748
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2750
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_XMSS, 0);
crypto/openssh/readconf.c
2752
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_DSA, 0);
crypto/openssh/readconf.c
2755
if (options->escape_char == -1)
crypto/openssh/readconf.c
2756
options->escape_char = '~';
crypto/openssh/readconf.c
2757
if (options->num_system_hostfiles == 0) {
crypto/openssh/readconf.c
2758
options->system_hostfiles[options->num_system_hostfiles++] =
crypto/openssh/readconf.c
2760
options->system_hostfiles[options->num_system_hostfiles++] =
crypto/openssh/readconf.c
2763
if (options->update_hostkeys == -1) {
crypto/openssh/readconf.c
2764
if (options->verify_host_key_dns <= 0 &&
crypto/openssh/readconf.c
2765
(options->num_user_hostfiles == 0 ||
crypto/openssh/readconf.c
2766
(options->num_user_hostfiles == 1 && strcmp(options->
crypto/openssh/readconf.c
2768
options->update_hostkeys = SSH_UPDATE_HOSTKEYS_YES;
crypto/openssh/readconf.c
2770
options->update_hostkeys = SSH_UPDATE_HOSTKEYS_NO;
crypto/openssh/readconf.c
2772
if (options->num_user_hostfiles == 0) {
crypto/openssh/readconf.c
2773
options->user_hostfiles[options->num_user_hostfiles++] =
crypto/openssh/readconf.c
2775
options->user_hostfiles[options->num_user_hostfiles++] =
crypto/openssh/readconf.c
2778
if (options->log_level == SYSLOG_LEVEL_NOT_SET)
crypto/openssh/readconf.c
2779
options->log_level = SYSLOG_LEVEL_INFO;
crypto/openssh/readconf.c
2780
if (options->log_facility == SYSLOG_FACILITY_NOT_SET)
crypto/openssh/readconf.c
2781
options->log_facility = SYSLOG_FACILITY_USER;
crypto/openssh/readconf.c
2782
if (options->no_host_authentication_for_localhost == - 1)
crypto/openssh/readconf.c
2783
options->no_host_authentication_for_localhost = 0;
crypto/openssh/readconf.c
2784
if (options->identities_only == -1)
crypto/openssh/readconf.c
2785
options->identities_only = 0;
crypto/openssh/readconf.c
2786
if (options->enable_ssh_keysign == -1)
crypto/openssh/readconf.c
2787
options->enable_ssh_keysign = 0;
crypto/openssh/readconf.c
2788
if (options->rekey_limit == -1)
crypto/openssh/readconf.c
2789
options->rekey_limit = 0;
crypto/openssh/readconf.c
2790
if (options->rekey_interval == -1)
crypto/openssh/readconf.c
2791
options->rekey_interval = 0;
crypto/openssh/readconf.c
2792
if (options->verify_host_key_dns == -1)
crypto/openssh/readconf.c
2793
options->verify_host_key_dns = 0;
crypto/openssh/readconf.c
2794
if (options->server_alive_interval == -1)
crypto/openssh/readconf.c
2795
options->server_alive_interval = 0;
crypto/openssh/readconf.c
2796
if (options->server_alive_count_max == -1)
crypto/openssh/readconf.c
2797
options->server_alive_count_max = 3;
crypto/openssh/readconf.c
2798
if (options->control_master == -1)
crypto/openssh/readconf.c
2799
options->control_master = 0;
crypto/openssh/readconf.c
2800
if (options->control_persist == -1) {
crypto/openssh/readconf.c
2801
options->control_persist = 0;
crypto/openssh/readconf.c
2802
options->control_persist_timeout = 0;
crypto/openssh/readconf.c
2804
if (options->hash_known_hosts == -1)
crypto/openssh/readconf.c
2805
options->hash_known_hosts = 0;
crypto/openssh/readconf.c
2806
if (options->tun_open == -1)
crypto/openssh/readconf.c
2807
options->tun_open = SSH_TUNMODE_NO;
crypto/openssh/readconf.c
2808
if (options->tun_local == -1)
crypto/openssh/readconf.c
2809
options->tun_local = SSH_TUNID_ANY;
crypto/openssh/readconf.c
2810
if (options->tun_remote == -1)
crypto/openssh/readconf.c
2811
options->tun_remote = SSH_TUNID_ANY;
crypto/openssh/readconf.c
2812
if (options->permit_local_command == -1)
crypto/openssh/readconf.c
2813
options->permit_local_command = 0;
crypto/openssh/readconf.c
2814
if (options->visual_host_key == -1)
crypto/openssh/readconf.c
2815
options->visual_host_key = 0;
crypto/openssh/readconf.c
2816
if (options->ip_qos_interactive == -1)
crypto/openssh/readconf.c
2817
options->ip_qos_interactive = IPTOS_DSCP_AF21;
crypto/openssh/readconf.c
2818
if (options->ip_qos_bulk == -1)
crypto/openssh/readconf.c
2819
options->ip_qos_bulk = IPTOS_DSCP_CS1;
crypto/openssh/readconf.c
2820
if (options->request_tty == -1)
crypto/openssh/readconf.c
2821
options->request_tty = REQUEST_TTY_AUTO;
crypto/openssh/readconf.c
2822
if (options->session_type == -1)
crypto/openssh/readconf.c
2823
options->session_type = SESSION_TYPE_DEFAULT;
crypto/openssh/readconf.c
2824
if (options->stdin_null == -1)
crypto/openssh/readconf.c
2825
options->stdin_null = 0;
crypto/openssh/readconf.c
2826
if (options->fork_after_authentication == -1)
crypto/openssh/readconf.c
2827
options->fork_after_authentication = 0;
crypto/openssh/readconf.c
2828
if (options->proxy_use_fdpass == -1)
crypto/openssh/readconf.c
2829
options->proxy_use_fdpass = 0;
crypto/openssh/readconf.c
2830
if (options->canonicalize_max_dots == -1)
crypto/openssh/readconf.c
2831
options->canonicalize_max_dots = 1;
crypto/openssh/readconf.c
2832
if (options->canonicalize_fallback_local == -1)
crypto/openssh/readconf.c
2833
options->canonicalize_fallback_local = 1;
crypto/openssh/readconf.c
2834
if (options->canonicalize_hostname == -1)
crypto/openssh/readconf.c
2835
options->canonicalize_hostname = SSH_CANONICALISE_NO;
crypto/openssh/readconf.c
2836
if (options->fingerprint_hash == -1)
crypto/openssh/readconf.c
2837
options->fingerprint_hash = SSH_FP_HASH_DEFAULT;
crypto/openssh/readconf.c
2839
if (options->sk_provider == NULL)
crypto/openssh/readconf.c
2840
options->sk_provider = xstrdup("internal");
crypto/openssh/readconf.c
2842
if (options->sk_provider == NULL)
crypto/openssh/readconf.c
2843
options->sk_provider = xstrdup("$SSH_SK_PROVIDER");
crypto/openssh/readconf.c
2845
if (options->required_rsa_size == -1)
crypto/openssh/readconf.c
2846
options->required_rsa_size = SSH_RSA_MINIMUM_MODULUS_SIZE;
crypto/openssh/readconf.c
2847
if (options->enable_escape_commandline == -1)
crypto/openssh/readconf.c
2848
options->enable_escape_commandline = 0;
crypto/openssh/readconf.c
2849
if (options->obscure_keystroke_timing_interval == -1) {
crypto/openssh/readconf.c
2850
options->obscure_keystroke_timing_interval =
crypto/openssh/readconf.c
2868
if ((r = kex_assemble_names(&options->what, \
crypto/openssh/readconf.c
2891
if (options->nv == 1 && \
crypto/openssh/readconf.c
2892
strcasecmp(options->v[0], none) == 0) { \
crypto/openssh/readconf.c
2893
free(options->v[0]); \
crypto/openssh/readconf.c
2894
free(options->v); \
crypto/openssh/readconf.c
2895
options->v = NULL; \
crypto/openssh/readconf.c
2896
options->nv = 0; \
crypto/openssh/readconf.c
2899
CLEAR_ON_NONE(options->local_command);
crypto/openssh/readconf.c
2900
CLEAR_ON_NONE(options->remote_command);
crypto/openssh/readconf.c
2901
CLEAR_ON_NONE(options->proxy_command);
crypto/openssh/readconf.c
2902
CLEAR_ON_NONE(options->control_path);
crypto/openssh/readconf.c
2903
CLEAR_ON_NONE(options->revoked_host_keys);
crypto/openssh/readconf.c
2904
CLEAR_ON_NONE(options->pkcs11_provider);
crypto/openssh/readconf.c
2905
CLEAR_ON_NONE(options->sk_provider);
crypto/openssh/readconf.c
2906
CLEAR_ON_NONE(options->known_hosts_command);
crypto/openssh/readconf.c
2910
if (options->jump_host != NULL &&
crypto/openssh/readconf.c
2911
strcmp(options->jump_host, "none") == 0 &&
crypto/openssh/readconf.c
2912
options->jump_port == 0 && options->jump_user == NULL) {
crypto/openssh/readconf.c
2913
free(options->jump_host);
crypto/openssh/readconf.c
2914
options->jump_host = NULL;
crypto/openssh/readconf.c
2916
if (options->num_permitted_cnames == 1 &&
crypto/openssh/readconf.c
2917
!config_has_permitted_cnames(options)) {
crypto/openssh/readconf.c
2919
free(options->permitted_cnames[0].source_list);
crypto/openssh/readconf.c
2920
free(options->permitted_cnames[0].target_list);
crypto/openssh/readconf.c
2921
memset(options->permitted_cnames, '\0',
crypto/openssh/readconf.c
2922
sizeof(*options->permitted_cnames));
crypto/openssh/readconf.c
2923
options->num_permitted_cnames = 0;
crypto/openssh/readconf.c
378
add_local_forward(Options *options, const struct Forward *newfwd)
crypto/openssh/readconf.c
384
for (i = 0; i < options->num_local_forwards; i++) {
crypto/openssh/readconf.c
385
if (forward_equals(newfwd, options->local_forwards + i))
crypto/openssh/readconf.c
388
options->local_forwards = xreallocarray(options->local_forwards,
crypto/openssh/readconf.c
389
options->num_local_forwards + 1,
crypto/openssh/readconf.c
390
sizeof(*options->local_forwards));
crypto/openssh/readconf.c
391
fwd = &options->local_forwards[options->num_local_forwards++];
crypto/openssh/readconf.c
407
add_remote_forward(Options *options, const struct Forward *newfwd)
crypto/openssh/readconf.c
413
for (i = 0; i < options->num_remote_forwards; i++) {
crypto/openssh/readconf.c
414
if (forward_equals(newfwd, options->remote_forwards + i))
crypto/openssh/readconf.c
417
options->remote_forwards = xreallocarray(options->remote_forwards,
crypto/openssh/readconf.c
418
options->num_remote_forwards + 1,
crypto/openssh/readconf.c
419
sizeof(*options->remote_forwards));
crypto/openssh/readconf.c
420
fwd = &options->remote_forwards[options->num_remote_forwards++];
crypto/openssh/readconf.c
433
clear_forwardings(Options *options)
crypto/openssh/readconf.c
437
for (i = 0; i < options->num_local_forwards; i++) {
crypto/openssh/readconf.c
438
free(options->local_forwards[i].listen_host);
crypto/openssh/readconf.c
439
free(options->local_forwards[i].listen_path);
crypto/openssh/readconf.c
440
free(options->local_forwards[i].connect_host);
crypto/openssh/readconf.c
441
free(options->local_forwards[i].connect_path);
crypto/openssh/readconf.c
443
if (options->num_local_forwards > 0) {
crypto/openssh/readconf.c
444
free(options->local_forwards);
crypto/openssh/readconf.c
445
options->local_forwards = NULL;
crypto/openssh/readconf.c
447
options->num_local_forwards = 0;
crypto/openssh/readconf.c
448
for (i = 0; i < options->num_remote_forwards; i++) {
crypto/openssh/readconf.c
449
free(options->remote_forwards[i].listen_host);
crypto/openssh/readconf.c
450
free(options->remote_forwards[i].listen_path);
crypto/openssh/readconf.c
451
free(options->remote_forwards[i].connect_host);
crypto/openssh/readconf.c
452
free(options->remote_forwards[i].connect_path);
crypto/openssh/readconf.c
454
if (options->num_remote_forwards > 0) {
crypto/openssh/readconf.c
455
free(options->remote_forwards);
crypto/openssh/readconf.c
456
options->remote_forwards = NULL;
crypto/openssh/readconf.c
458
options->num_remote_forwards = 0;
crypto/openssh/readconf.c
459
options->tun_open = SSH_TUNMODE_NO;
crypto/openssh/readconf.c
463
add_certificate_file(Options *options, const char *path, int userprovided)
crypto/openssh/readconf.c
467
if (options->num_certificate_files >= SSH_MAX_CERTIFICATE_FILES)
crypto/openssh/readconf.c
472
for (i = 0; i < options->num_certificate_files; i++) {
crypto/openssh/readconf.c
473
if (options->certificate_file_userprovided[i] == userprovided &&
crypto/openssh/readconf.c
474
strcmp(options->certificate_files[i], path) == 0) {
crypto/openssh/readconf.c
480
options->certificate_file_userprovided[options->num_certificate_files] =
crypto/openssh/readconf.c
482
options->certificate_files[options->num_certificate_files++] =
crypto/openssh/readconf.c
487
add_identity_file(Options *options, const char *dir, const char *filename,
crypto/openssh/readconf.c
493
if (options->num_identity_files >= SSH_MAX_IDENTITY_FILES)
crypto/openssh/readconf.c
503
for (i = 0; i < options->num_identity_files; i++) {
crypto/openssh/readconf.c
504
if (options->identity_file_userprovided[i] == userprovided &&
crypto/openssh/readconf.c
505
strcmp(options->identity_files[i], path) == 0) {
crypto/openssh/readconf.c
512
options->identity_file_userprovided[options->num_identity_files] =
crypto/openssh/readconf.c
514
options->identity_files[options->num_identity_files++] = path;
crypto/openssh/readconf.c
652
match_cfg_line(Options *options, char **condition, struct passwd *pw,
crypto/openssh/readconf.c
666
port = options->port <= 0 ? default_ssh_port() : options->port;
crypto/openssh/readconf.c
667
ruser = options->user == NULL ? pw->pw_name : options->user;
crypto/openssh/readconf.c
669
host = xstrdup(options->hostname);
crypto/openssh/readconf.c
670
} else if (options->hostname != NULL) {
crypto/openssh/readconf.c
672
host = percent_expand(options->hostname,
crypto/openssh/readconf.c
762
criteria = xstrdup(options->tag == NULL ? "" :
crypto/openssh/readconf.c
763
options->tag);
crypto/openssh/readconf.c
772
jmphost = option_clear_or_none(options->jump_host) ?
crypto/openssh/readconf.c
773
"" : options->jump_host;
crypto/openssh/readconf.c
781
keyalias = options->host_key_alias ?
crypto/openssh/readconf.c
782
options->host_key_alias : host;
crypto/openssh/readconf.c
845
rm_env(Options *options, const char *arg, const char *filename, int linenum)
crypto/openssh/readconf.c
847
u_int i, j, onum_send_env = options->num_send_env;
crypto/openssh/readconf.c
850
for (i = 0; i < options->num_send_env; ) {
crypto/openssh/readconf.c
851
if (!match_pattern(options->send_env[i], arg + 1)) {
crypto/openssh/readconf.c
856
filename, linenum, options->send_env[i]);
crypto/openssh/readconf.c
857
free(options->send_env[i]);
crypto/openssh/readconf.c
858
options->send_env[i] = NULL;
crypto/openssh/readconf.c
859
for (j = i; j < options->num_send_env - 1; j++) {
crypto/openssh/readconf.c
860
options->send_env[j] = options->send_env[j + 1];
crypto/openssh/readconf.c
861
options->send_env[j + 1] = NULL;
crypto/openssh/readconf.c
863
options->num_send_env--;
crypto/openssh/readconf.c
866
if (onum_send_env != options->num_send_env) {
crypto/openssh/readconf.c
867
options->send_env = xrecallocarray(options->send_env,
crypto/openssh/readconf.c
868
onum_send_env, options->num_send_env,
crypto/openssh/readconf.c
869
sizeof(*options->send_env));
crypto/openssh/servconf.c
100
options->queued_listen_addrs = NULL;
crypto/openssh/servconf.c
101
options->num_queued_listens = 0;
crypto/openssh/servconf.c
102
options->listen_addrs = NULL;
crypto/openssh/servconf.c
103
options->num_listen_addrs = 0;
crypto/openssh/servconf.c
104
options->address_family = -1;
crypto/openssh/servconf.c
105
options->routing_domain = NULL;
crypto/openssh/servconf.c
106
options->num_host_key_files = 0;
crypto/openssh/servconf.c
107
options->num_host_cert_files = 0;
crypto/openssh/servconf.c
108
options->host_key_agent = NULL;
crypto/openssh/servconf.c
109
options->pid_file = NULL;
crypto/openssh/servconf.c
110
options->login_grace_time = -1;
crypto/openssh/servconf.c
111
options->permit_root_login = PERMIT_NOT_SET;
crypto/openssh/servconf.c
112
options->ignore_rhosts = -1;
crypto/openssh/servconf.c
113
options->ignore_user_known_hosts = -1;
crypto/openssh/servconf.c
114
options->print_motd = -1;
crypto/openssh/servconf.c
115
options->print_lastlog = -1;
crypto/openssh/servconf.c
116
options->x11_forwarding = -1;
crypto/openssh/servconf.c
117
options->x11_display_offset = -1;
crypto/openssh/servconf.c
118
options->x11_use_localhost = -1;
crypto/openssh/servconf.c
119
options->permit_tty = -1;
crypto/openssh/servconf.c
120
options->permit_user_rc = -1;
crypto/openssh/servconf.c
121
options->xauth_location = NULL;
crypto/openssh/servconf.c
122
options->strict_modes = -1;
crypto/openssh/servconf.c
123
options->tcp_keep_alive = -1;
crypto/openssh/servconf.c
124
options->log_facility = SYSLOG_FACILITY_NOT_SET;
crypto/openssh/servconf.c
125
options->log_level = SYSLOG_LEVEL_NOT_SET;
crypto/openssh/servconf.c
1252
process_server_config_line_depth(ServerOptions *options, char *line,
crypto/openssh/servconf.c
126
options->num_log_verbose = 0;
crypto/openssh/servconf.c
127
options->log_verbose = NULL;
crypto/openssh/servconf.c
128
options->hostbased_authentication = -1;
crypto/openssh/servconf.c
129
options->hostbased_uses_name_from_packet_only = -1;
crypto/openssh/servconf.c
130
options->hostbased_accepted_algos = NULL;
crypto/openssh/servconf.c
131
options->hostkeyalgorithms = NULL;
crypto/openssh/servconf.c
132
options->pubkey_authentication = -1;
crypto/openssh/servconf.c
1328
intptr = &options->use_pam;
crypto/openssh/servconf.c
133
options->pubkey_auth_options = -1;
crypto/openssh/servconf.c
1331
charptr = &options->pam_service_name;
crypto/openssh/servconf.c
134
options->pubkey_accepted_algos = NULL;
crypto/openssh/servconf.c
1346
if (options->ports_from_cmdline) {
crypto/openssh/servconf.c
135
options->kerberos_authentication = -1;
crypto/openssh/servconf.c
1350
if (options->num_ports >= MAX_PORTS)
crypto/openssh/servconf.c
1357
options->ports[options->num_ports++] = a2port(arg);
crypto/openssh/servconf.c
1358
if (options->ports[options->num_ports-1] <= 0)
crypto/openssh/servconf.c
136
options->kerberos_or_local_passwd = -1;
crypto/openssh/servconf.c
1364
intptr = &options->login_grace_time;
crypto/openssh/servconf.c
137
options->kerberos_ticket_cleanup = -1;
crypto/openssh/servconf.c
138
options->kerberos_get_afs_token = -1;
crypto/openssh/servconf.c
139
options->gss_authentication=-1;
crypto/openssh/servconf.c
140
options->gss_cleanup_creds = -1;
crypto/openssh/servconf.c
141
options->gss_strict_acceptor = -1;
crypto/openssh/servconf.c
1411
queue_listen_addr(options, p, arg2, port);
crypto/openssh/servconf.c
1416
intptr = &options->address_family;
crypto/openssh/servconf.c
142
options->password_authentication = -1;
crypto/openssh/servconf.c
143
options->kbd_interactive_authentication = -1;
crypto/openssh/servconf.c
144
options->permit_empty_passwd = -1;
crypto/openssh/servconf.c
1444
options, arg, 1);
crypto/openssh/servconf.c
1449
charptr = &options->host_key_agent;
crypto/openssh/servconf.c
145
options->permit_user_env = -1;
crypto/openssh/servconf.c
146
options->permit_user_env_allowlist = NULL;
crypto/openssh/servconf.c
1465
servconf_add_hostcert(filename, linenum, options, arg);
crypto/openssh/servconf.c
1469
charptr = &options->pid_file;
crypto/openssh/servconf.c
147
options->compression = -1;
crypto/openssh/servconf.c
148
options->rekey_limit = -1;
crypto/openssh/servconf.c
1484
charptr = &options->moduli_file;
crypto/openssh/servconf.c
1488
intptr = &options->permit_root_login;
crypto/openssh/servconf.c
149
options->rekey_interval = -1;
crypto/openssh/servconf.c
1493
intptr = &options->ignore_rhosts;
crypto/openssh/servconf.c
1498
intptr = &options->ignore_user_known_hosts;
crypto/openssh/servconf.c
150
options->allow_tcp_forwarding = -1;
crypto/openssh/servconf.c
1504
intptr = &options->hostbased_authentication;
crypto/openssh/servconf.c
1508
intptr = &options->hostbased_uses_name_from_packet_only;
crypto/openssh/servconf.c
151
options->allow_streamlocal_forwarding = -1;
crypto/openssh/servconf.c
1512
charptr = &options->hostbased_accepted_algos;
crypto/openssh/servconf.c
152
options->allow_agent_forwarding = -1;
crypto/openssh/servconf.c
1529
charptr = &options->hostkeyalgorithms;
crypto/openssh/servconf.c
153
options->num_allow_users = 0;
crypto/openssh/servconf.c
1534
charptr = &options->ca_sign_algorithms;
crypto/openssh/servconf.c
1539
intptr = &options->pubkey_authentication;
crypto/openssh/servconf.c
154
options->num_deny_users = 0;
crypto/openssh/servconf.c
1544
charptr = &options->pubkey_accepted_algos;
crypto/openssh/servconf.c
1549
intptr = &options->pubkey_auth_options;
crypto/openssh/servconf.c
155
options->num_allow_groups = 0;
crypto/openssh/servconf.c
156
options->num_deny_groups = 0;
crypto/openssh/servconf.c
1569
intptr = &options->kerberos_authentication;
crypto/openssh/servconf.c
157
options->ciphers = NULL;
crypto/openssh/servconf.c
1573
intptr = &options->kerberos_or_local_passwd;
crypto/openssh/servconf.c
1577
intptr = &options->kerberos_ticket_cleanup;
crypto/openssh/servconf.c
158
options->macs = NULL;
crypto/openssh/servconf.c
1581
intptr = &options->kerberos_get_afs_token;
crypto/openssh/servconf.c
1585
intptr = &options->gss_authentication;
crypto/openssh/servconf.c
1589
intptr = &options->gss_cleanup_creds;
crypto/openssh/servconf.c
159
options->kex_algorithms = NULL;
crypto/openssh/servconf.c
1593
intptr = &options->gss_strict_acceptor;
crypto/openssh/servconf.c
1597
intptr = &options->password_authentication;
crypto/openssh/servconf.c
160
options->ca_sign_algorithms = NULL;
crypto/openssh/servconf.c
1601
intptr = &options->kbd_interactive_authentication;
crypto/openssh/servconf.c
1605
intptr = &options->print_motd;
crypto/openssh/servconf.c
1609
intptr = &options->print_lastlog;
crypto/openssh/servconf.c
161
options->fwd_opts.gateway_ports = -1;
crypto/openssh/servconf.c
1613
intptr = &options->x11_forwarding;
crypto/openssh/servconf.c
1617
intptr = &options->x11_display_offset;
crypto/openssh/servconf.c
162
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1;
crypto/openssh/servconf.c
1628
intptr = &options->x11_use_localhost;
crypto/openssh/servconf.c
163
options->fwd_opts.streamlocal_bind_unlink = -1;
crypto/openssh/servconf.c
1632
charptr = &options->xauth_location;
crypto/openssh/servconf.c
1636
intptr = &options->permit_tty;
crypto/openssh/servconf.c
164
options->num_subsystems = 0;
crypto/openssh/servconf.c
1640
intptr = &options->permit_user_rc;
crypto/openssh/servconf.c
1644
intptr = &options->strict_modes;
crypto/openssh/servconf.c
1648
intptr = &options->tcp_keep_alive;
crypto/openssh/servconf.c
165
options->max_startups_begin = -1;
crypto/openssh/servconf.c
1652
intptr = &options->permit_empty_passwd;
crypto/openssh/servconf.c
1656
intptr = &options->permit_user_env;
crypto/openssh/servconf.c
1657
charptr = &options->permit_user_env_allowlist;
crypto/openssh/servconf.c
166
options->max_startups_rate = -1;
crypto/openssh/servconf.c
167
options->max_startups = -1;
crypto/openssh/servconf.c
168
options->per_source_max_startups = -1;
crypto/openssh/servconf.c
1682
intptr = &options->compression;
crypto/openssh/servconf.c
169
options->per_source_masklen_ipv4 = -1;
crypto/openssh/servconf.c
170
options->per_source_masklen_ipv6 = -1;
crypto/openssh/servconf.c
1702
if (*activep && options->rekey_limit == -1)
crypto/openssh/servconf.c
1703
options->rekey_limit = val64;
crypto/openssh/servconf.c
1709
intptr = &options->rekey_interval;
crypto/openssh/servconf.c
171
options->per_source_penalty_exempt = NULL;
crypto/openssh/servconf.c
1715
intptr = &options->fwd_opts.gateway_ports;
crypto/openssh/servconf.c
172
options->per_source_penalty.enabled = -1;
crypto/openssh/servconf.c
1720
intptr = &options->use_dns;
crypto/openssh/servconf.c
1724
log_facility_ptr = &options->log_facility;
crypto/openssh/servconf.c
173
options->per_source_penalty.max_sources4 = -1;
crypto/openssh/servconf.c
1735
log_level_ptr = &options->log_level;
crypto/openssh/servconf.c
174
options->per_source_penalty.max_sources6 = -1;
crypto/openssh/servconf.c
1746
found = options->num_log_verbose == 0;
crypto/openssh/servconf.c
175
options->per_source_penalty.overflow_mode = -1;
crypto/openssh/servconf.c
176
options->per_source_penalty.overflow_mode6 = -1;
crypto/openssh/servconf.c
177
options->per_source_penalty.penalty_crash = -1;
crypto/openssh/servconf.c
1770
options->log_verbose = strs;
crypto/openssh/servconf.c
1771
options->num_log_verbose = nstrs;
crypto/openssh/servconf.c
1778
intptr = &options->allow_tcp_forwarding;
crypto/openssh/servconf.c
178
options->per_source_penalty.penalty_authfail = -1;
crypto/openssh/servconf.c
1783
intptr = &options->allow_streamlocal_forwarding;
crypto/openssh/servconf.c
1788
intptr = &options->allow_agent_forwarding;
crypto/openssh/servconf.c
179
options->per_source_penalty.penalty_noauth = -1;
crypto/openssh/servconf.c
1792
intptr = &options->disable_forwarding;
crypto/openssh/servconf.c
1796
chararrayptr = &options->allow_users;
crypto/openssh/servconf.c
1797
uintptr = &options->num_allow_users;
crypto/openssh/servconf.c
180
options->per_source_penalty.penalty_grace = -1;
crypto/openssh/servconf.c
181
options->per_source_penalty.penalty_max = -1;
crypto/openssh/servconf.c
1818
chararrayptr = &options->deny_users;
crypto/openssh/servconf.c
1819
uintptr = &options->num_deny_users;
crypto/openssh/servconf.c
182
options->per_source_penalty.penalty_min = -1;
crypto/openssh/servconf.c
1823
chararrayptr = &options->allow_groups;
crypto/openssh/servconf.c
1824
uintptr = &options->num_allow_groups;
crypto/openssh/servconf.c
183
options->max_authtries = -1;
crypto/openssh/servconf.c
184
options->max_sessions = -1;
crypto/openssh/servconf.c
1844
chararrayptr = &options->deny_groups;
crypto/openssh/servconf.c
1845
uintptr = &options->num_deny_groups;
crypto/openssh/servconf.c
185
options->banner = NULL;
crypto/openssh/servconf.c
1857
if (options->ciphers == NULL)
crypto/openssh/servconf.c
1858
options->ciphers = xstrdup(arg);
crypto/openssh/servconf.c
186
options->use_dns = -1;
crypto/openssh/servconf.c
187
options->client_alive_interval = -1;
crypto/openssh/servconf.c
1870
if (options->macs == NULL)
crypto/openssh/servconf.c
1871
options->macs = xstrdup(arg);
crypto/openssh/servconf.c
188
options->client_alive_count_max = -1;
crypto/openssh/servconf.c
1884
if (options->kex_algorithms == NULL)
crypto/openssh/servconf.c
1885
options->kex_algorithms = xstrdup(arg);
crypto/openssh/servconf.c
189
options->num_authkeys_files = 0;
crypto/openssh/servconf.c
1898
for (i = 0; i < options->num_subsystems; i++) {
crypto/openssh/servconf.c
1899
if (strcmp(arg, options->subsystem_name[i]) == 0) {
crypto/openssh/servconf.c
190
options->num_accept_env = 0;
crypto/openssh/servconf.c
191
options->num_setenv = 0;
crypto/openssh/servconf.c
1910
options->subsystem_name = xrecallocarray(
crypto/openssh/servconf.c
1911
options->subsystem_name, options->num_subsystems,
crypto/openssh/servconf.c
1912
options->num_subsystems + 1,
crypto/openssh/servconf.c
1913
sizeof(*options->subsystem_name));
crypto/openssh/servconf.c
1914
options->subsystem_command = xrecallocarray(
crypto/openssh/servconf.c
1915
options->subsystem_command, options->num_subsystems,
crypto/openssh/servconf.c
1916
options->num_subsystems + 1,
crypto/openssh/servconf.c
1917
sizeof(*options->subsystem_command));
crypto/openssh/servconf.c
1918
options->subsystem_args = xrecallocarray(
crypto/openssh/servconf.c
1919
options->subsystem_args, options->num_subsystems,
crypto/openssh/servconf.c
192
options->permit_tun = -1;
crypto/openssh/servconf.c
1920
options->num_subsystems + 1,
crypto/openssh/servconf.c
1921
sizeof(*options->subsystem_args));
crypto/openssh/servconf.c
1922
options->subsystem_name[options->num_subsystems] = xstrdup(arg);
crypto/openssh/servconf.c
1928
options->subsystem_command[options->num_subsystems] =
crypto/openssh/servconf.c
193
options->permitted_opens = NULL;
crypto/openssh/servconf.c
1933
xasprintf(&options->subsystem_args[options->num_subsystems],
crypto/openssh/servconf.c
1937
options->num_subsystems++;
crypto/openssh/servconf.c
194
options->permitted_listens = NULL;
crypto/openssh/servconf.c
1946
&options->max_startups_begin,
crypto/openssh/servconf.c
1947
&options->max_startups_rate,
crypto/openssh/servconf.c
1948
&options->max_startups)) == 3) {
crypto/openssh/servconf.c
1949
if (options->max_startups_begin >
crypto/openssh/servconf.c
195
options->adm_forced_command = NULL;
crypto/openssh/servconf.c
1950
options->max_startups ||
crypto/openssh/servconf.c
1951
options->max_startups_rate > 100 ||
crypto/openssh/servconf.c
1952
options->max_startups_rate < 1)
crypto/openssh/servconf.c
1959
options->max_startups = options->max_startups_begin;
crypto/openssh/servconf.c
196
options->chroot_directory = NULL;
crypto/openssh/servconf.c
1960
if (options->max_startups <= 0 ||
crypto/openssh/servconf.c
1961
options->max_startups_begin <= 0)
crypto/openssh/servconf.c
197
options->authorized_keys_command = NULL;
crypto/openssh/servconf.c
198
options->authorized_keys_command_user = NULL;
crypto/openssh/servconf.c
1984
options->per_source_masklen_ipv4 = value;
crypto/openssh/servconf.c
1985
options->per_source_masklen_ipv6 = value2;
crypto/openssh/servconf.c
199
options->revoked_keys_file = NULL;
crypto/openssh/servconf.c
200
options->sk_provider = NULL;
crypto/openssh/servconf.c
2001
if (*activep && options->per_source_max_startups == -1)
crypto/openssh/servconf.c
2002
options->per_source_max_startups = value;
crypto/openssh/servconf.c
2006
charptr = &options->per_source_penalty_exempt;
crypto/openssh/servconf.c
201
options->trusted_user_ca_keys = NULL;
crypto/openssh/servconf.c
202
options->authorized_principals_file = NULL;
crypto/openssh/servconf.c
203
options->authorized_principals_command = NULL;
crypto/openssh/servconf.c
2035
options->per_source_penalty.enabled == -1)
crypto/openssh/servconf.c
2036
options->per_source_penalty.enabled = value2;
crypto/openssh/servconf.c
204
options->authorized_principals_command_user = NULL;
crypto/openssh/servconf.c
2040
intptr = &options->per_source_penalty.penalty_crash;
crypto/openssh/servconf.c
2043
intptr = &options->per_source_penalty.penalty_authfail;
crypto/openssh/servconf.c
2046
intptr = &options->per_source_penalty.penalty_noauth;
crypto/openssh/servconf.c
2049
intptr = &options->per_source_penalty.penalty_grace;
crypto/openssh/servconf.c
205
options->ip_qos_interactive = -1;
crypto/openssh/servconf.c
2052
intptr = &options->per_source_penalty.penalty_max;
crypto/openssh/servconf.c
2055
intptr = &options->per_source_penalty.penalty_min;
crypto/openssh/servconf.c
2057
intptr = &options->per_source_penalty.max_sources4;
crypto/openssh/servconf.c
206
options->ip_qos_bulk = -1;
crypto/openssh/servconf.c
2062
intptr = &options->per_source_penalty.max_sources6;
crypto/openssh/servconf.c
2067
intptr = &options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
207
options->version_addendum = NULL;
crypto/openssh/servconf.c
2070
intptr = &options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
2073
intptr = &options->per_source_penalty.overflow_mode6;
crypto/openssh/servconf.c
2076
intptr = &options->per_source_penalty.overflow_mode6;
crypto/openssh/servconf.c
208
options->fingerprint_hash = -1;
crypto/openssh/servconf.c
209
options->disable_forwarding = -1;
crypto/openssh/servconf.c
2090
options->per_source_penalty.enabled = 1;
crypto/openssh/servconf.c
210
options->expose_userauth_info = -1;
crypto/openssh/servconf.c
2100
intptr = &options->max_authtries;
crypto/openssh/servconf.c
2104
intptr = &options->max_sessions;
crypto/openssh/servconf.c
2108
charptr = &options->banner;
crypto/openssh/servconf.c
211
options->required_rsa_size = -1;
crypto/openssh/servconf.c
2118
found = options->num_authkeys_files == 0;
crypto/openssh/servconf.c
212
options->channel_timeouts = NULL;
crypto/openssh/servconf.c
213
options->num_channel_timeouts = 0;
crypto/openssh/servconf.c
2135
options->authorized_keys_files = strs;
crypto/openssh/servconf.c
2136
options->num_authkeys_files = nstrs;
crypto/openssh/servconf.c
214
options->unused_connection_timeout = -1;
crypto/openssh/servconf.c
2143
charptr = &options->authorized_principals_file;
crypto/openssh/servconf.c
215
options->sshd_session_path = NULL;
crypto/openssh/servconf.c
2157
intptr = &options->client_alive_interval;
crypto/openssh/servconf.c
2161
intptr = &options->client_alive_count_max;
crypto/openssh/servconf.c
2174
&options->accept_env, &options->num_accept_env,
crypto/openssh/servconf.c
2184
found = options->num_setenv == 0;
crypto/openssh/servconf.c
2202
options->setenv = strs;
crypto/openssh/servconf.c
2203
options->num_setenv = nstrs;
crypto/openssh/servconf.c
2210
intptr = &options->permit_tun;
crypto/openssh/servconf.c
2258
parse_server_config_depth(options,
crypto/openssh/servconf.c
2305
parse_server_config_depth(options,
crypto/openssh/servconf.c
2350
uintptr = &options->num_permitted_listens;
crypto/openssh/servconf.c
2351
chararrayptr = &options->permitted_listens;
crypto/openssh/servconf.c
2353
uintptr = &options->num_permitted_opens;
crypto/openssh/servconf.c
2354
chararrayptr = &options->permitted_opens;
crypto/openssh/servconf.c
2412
if (*activep && options->adm_forced_command == NULL)
crypto/openssh/servconf.c
2413
options->adm_forced_command = xstrdup(str + len);
crypto/openssh/servconf.c
2418
charptr = &options->chroot_directory;
crypto/openssh/servconf.c
2429
charptr = &options->trusted_user_ca_keys;
crypto/openssh/servconf.c
2433
charptr = &options->revoked_keys_file;
crypto/openssh/servconf.c
2437
charptr = &options->sk_provider;
crypto/openssh/servconf.c
2466
options->ip_qos_interactive = value;
crypto/openssh/servconf.c
2467
options->ip_qos_bulk = value2;
crypto/openssh/servconf.c
2484
if (*activep && options->version_addendum == NULL) {
crypto/openssh/servconf.c
2486
options->version_addendum = xstrdup("");
crypto/openssh/servconf.c
2488
options->version_addendum = xstrdup(str + len);
crypto/openssh/servconf.c
2494
charptr = &options->authorized_keys_command;
crypto/openssh/servconf.c
2507
charptr = &options->authorized_keys_command_user;
crypto/openssh/servconf.c
2519
charptr = &options->authorized_principals_command;
crypto/openssh/servconf.c
2523
charptr = &options->authorized_principals_command_user;
crypto/openssh/servconf.c
2527
found = options->num_auth_methods == 0;
crypto/openssh/servconf.c
2552
options->auth_methods = strs;
crypto/openssh/servconf.c
2553
options->num_auth_methods = nstrs;
crypto/openssh/servconf.c
2570
options->fwd_opts.streamlocal_bind_mask = (mode_t)value;
crypto/openssh/servconf.c
2574
intptr = &options->fwd_opts.streamlocal_bind_unlink;
crypto/openssh/servconf.c
2586
options->fingerprint_hash = value;
crypto/openssh/servconf.c
2590
intptr = &options->expose_userauth_info;
crypto/openssh/servconf.c
2598
charptr = &options->routing_domain;
crypto/openssh/servconf.c
2612
intptr = &options->required_rsa_size;
crypto/openssh/servconf.c
2616
found = options->num_channel_timeouts == 0;
crypto/openssh/servconf.c
2639
options->channel_timeouts = strs;
crypto/openssh/servconf.c
2640
options->num_channel_timeouts = nstrs;
crypto/openssh/servconf.c
2647
intptr = &options->unused_connection_timeout;
crypto/openssh/servconf.c
2658
charptr = &options->sshd_session_path;
crypto/openssh/servconf.c
2692
process_server_config_line(ServerOptions *options, char *line,
crypto/openssh/servconf.c
2698
return process_server_config_line_depth(options, line, filename,
crypto/openssh/servconf.c
270
ServerOptions *options, const char *path, int userprovided)
crypto/openssh/servconf.c
2742
parse_server_match_config(ServerOptions *options,
crypto/openssh/servconf.c
275
&options->host_key_files, &options->host_key_file_userprovided,
crypto/openssh/servconf.c
2750
copy_set_server_options(options, &mo, 0);
crypto/openssh/servconf.c
276
&options->num_host_key_files, apath, userprovided);
crypto/openssh/servconf.c
282
ServerOptions *options, const char *path)
crypto/openssh/servconf.c
287
&options->host_cert_files, &options->num_host_cert_files, apath);
crypto/openssh/servconf.c
292
fill_default_server_options(ServerOptions *options)
crypto/openssh/servconf.c
2942
parse_server_config_depth(ServerOptions *options, const char *filename,
crypto/openssh/servconf.c
2959
if (process_server_config_line_depth(options, cp,
crypto/openssh/servconf.c
297
if (options->use_pam == -1)
crypto/openssh/servconf.c
2971
parse_server_config(ServerOptions *options, const char *filename,
crypto/openssh/servconf.c
2976
parse_server_config_depth(options, filename, conf, includes,
crypto/openssh/servconf.c
2979
process_queued_listen_addrs(options);
crypto/openssh/servconf.c
298
options->use_pam = 0;
crypto/openssh/servconf.c
299
if (options->pam_service_name == NULL)
crypto/openssh/servconf.c
300
options->pam_service_name = xstrdup(SSHD_PAM_SERVICE);
crypto/openssh/servconf.c
303
if (options->num_host_key_files == 0) {
crypto/openssh/servconf.c
305
servconf_add_hostkey("[default]", 0, options,
crypto/openssh/servconf.c
308
servconf_add_hostkey("[default]", 0, options,
crypto/openssh/servconf.c
311
servconf_add_hostkey("[default]", 0, options,
crypto/openssh/servconf.c
314
servconf_add_hostkey("[default]", 0, options,
crypto/openssh/servconf.c
319
if (options->num_ports == 0)
crypto/openssh/servconf.c
320
options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
crypto/openssh/servconf.c
321
if (options->address_family == -1)
crypto/openssh/servconf.c
322
options->address_family = AF_UNSPEC;
crypto/openssh/servconf.c
323
if (options->listen_addrs == NULL)
crypto/openssh/servconf.c
324
add_listen_addr(options, NULL, NULL, 0);
crypto/openssh/servconf.c
325
if (options->pid_file == NULL)
crypto/openssh/servconf.c
326
options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE);
crypto/openssh/servconf.c
327
if (options->moduli_file == NULL)
crypto/openssh/servconf.c
328
options->moduli_file = xstrdup(_PATH_DH_MODULI);
crypto/openssh/servconf.c
329
if (options->login_grace_time == -1)
crypto/openssh/servconf.c
330
options->login_grace_time = 120;
crypto/openssh/servconf.c
331
if (options->permit_root_login == PERMIT_NOT_SET)
crypto/openssh/servconf.c
332
options->permit_root_login = PERMIT_NO_PASSWD;
crypto/openssh/servconf.c
333
if (options->ignore_rhosts == -1)
crypto/openssh/servconf.c
334
options->ignore_rhosts = 1;
crypto/openssh/servconf.c
335
if (options->ignore_user_known_hosts == -1)
crypto/openssh/servconf.c
336
options->ignore_user_known_hosts = 0;
crypto/openssh/servconf.c
337
if (options->print_motd == -1)
crypto/openssh/servconf.c
338
options->print_motd = 1;
crypto/openssh/servconf.c
339
if (options->print_lastlog == -1)
crypto/openssh/servconf.c
340
options->print_lastlog = 1;
crypto/openssh/servconf.c
341
if (options->x11_forwarding == -1)
crypto/openssh/servconf.c
342
options->x11_forwarding = 0;
crypto/openssh/servconf.c
343
if (options->x11_display_offset == -1)
crypto/openssh/servconf.c
344
options->x11_display_offset = 10;
crypto/openssh/servconf.c
345
if (options->x11_use_localhost == -1)
crypto/openssh/servconf.c
346
options->x11_use_localhost = 1;
crypto/openssh/servconf.c
347
if (options->xauth_location == NULL)
crypto/openssh/servconf.c
348
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/servconf.c
349
if (options->permit_tty == -1)
crypto/openssh/servconf.c
350
options->permit_tty = 1;
crypto/openssh/servconf.c
351
if (options->permit_user_rc == -1)
crypto/openssh/servconf.c
352
options->permit_user_rc = 1;
crypto/openssh/servconf.c
353
if (options->strict_modes == -1)
crypto/openssh/servconf.c
354
options->strict_modes = 1;
crypto/openssh/servconf.c
355
if (options->tcp_keep_alive == -1)
crypto/openssh/servconf.c
356
options->tcp_keep_alive = 1;
crypto/openssh/servconf.c
357
if (options->log_facility == SYSLOG_FACILITY_NOT_SET)
crypto/openssh/servconf.c
358
options->log_facility = SYSLOG_FACILITY_AUTH;
crypto/openssh/servconf.c
359
if (options->log_level == SYSLOG_LEVEL_NOT_SET)
crypto/openssh/servconf.c
360
options->log_level = SYSLOG_LEVEL_INFO;
crypto/openssh/servconf.c
361
if (options->hostbased_authentication == -1)
crypto/openssh/servconf.c
362
options->hostbased_authentication = 0;
crypto/openssh/servconf.c
363
if (options->hostbased_uses_name_from_packet_only == -1)
crypto/openssh/servconf.c
364
options->hostbased_uses_name_from_packet_only = 0;
crypto/openssh/servconf.c
365
if (options->pubkey_authentication == -1)
crypto/openssh/servconf.c
366
options->pubkey_authentication = 1;
crypto/openssh/servconf.c
367
if (options->pubkey_auth_options == -1)
crypto/openssh/servconf.c
368
options->pubkey_auth_options = 0;
crypto/openssh/servconf.c
369
if (options->kerberos_authentication == -1)
crypto/openssh/servconf.c
370
options->kerberos_authentication = 0;
crypto/openssh/servconf.c
371
if (options->kerberos_or_local_passwd == -1)
crypto/openssh/servconf.c
372
options->kerberos_or_local_passwd = 1;
crypto/openssh/servconf.c
373
if (options->kerberos_ticket_cleanup == -1)
crypto/openssh/servconf.c
374
options->kerberos_ticket_cleanup = 1;
crypto/openssh/servconf.c
375
if (options->kerberos_get_afs_token == -1)
crypto/openssh/servconf.c
376
options->kerberos_get_afs_token = 0;
crypto/openssh/servconf.c
377
if (options->gss_authentication == -1)
crypto/openssh/servconf.c
378
options->gss_authentication = 0;
crypto/openssh/servconf.c
379
if (options->gss_cleanup_creds == -1)
crypto/openssh/servconf.c
380
options->gss_cleanup_creds = 1;
crypto/openssh/servconf.c
381
if (options->gss_strict_acceptor == -1)
crypto/openssh/servconf.c
382
options->gss_strict_acceptor = 1;
crypto/openssh/servconf.c
383
if (options->password_authentication == -1)
crypto/openssh/servconf.c
384
options->password_authentication = 1;
crypto/openssh/servconf.c
385
if (options->kbd_interactive_authentication == -1)
crypto/openssh/servconf.c
386
options->kbd_interactive_authentication = 1;
crypto/openssh/servconf.c
387
if (options->permit_empty_passwd == -1)
crypto/openssh/servconf.c
388
options->permit_empty_passwd = 0;
crypto/openssh/servconf.c
389
if (options->permit_user_env == -1) {
crypto/openssh/servconf.c
390
options->permit_user_env = 0;
crypto/openssh/servconf.c
391
options->permit_user_env_allowlist = NULL;
crypto/openssh/servconf.c
393
if (options->compression == -1)
crypto/openssh/servconf.c
395
options->compression = COMP_DELAYED;
crypto/openssh/servconf.c
397
options->compression = COMP_NONE;
crypto/openssh/servconf.c
400
if (options->rekey_limit == -1)
crypto/openssh/servconf.c
401
options->rekey_limit = 0;
crypto/openssh/servconf.c
402
if (options->rekey_interval == -1)
crypto/openssh/servconf.c
403
options->rekey_interval = 0;
crypto/openssh/servconf.c
404
if (options->allow_tcp_forwarding == -1)
crypto/openssh/servconf.c
405
options->allow_tcp_forwarding = FORWARD_ALLOW;
crypto/openssh/servconf.c
406
if (options->allow_streamlocal_forwarding == -1)
crypto/openssh/servconf.c
407
options->allow_streamlocal_forwarding = FORWARD_ALLOW;
crypto/openssh/servconf.c
408
if (options->allow_agent_forwarding == -1)
crypto/openssh/servconf.c
409
options->allow_agent_forwarding = 1;
crypto/openssh/servconf.c
410
if (options->fwd_opts.gateway_ports == -1)
crypto/openssh/servconf.c
411
options->fwd_opts.gateway_ports = 0;
crypto/openssh/servconf.c
412
if (options->max_startups == -1)
crypto/openssh/servconf.c
413
options->max_startups = 100;
crypto/openssh/servconf.c
414
if (options->max_startups_rate == -1)
crypto/openssh/servconf.c
415
options->max_startups_rate = 30; /* 30% */
crypto/openssh/servconf.c
416
if (options->max_startups_begin == -1)
crypto/openssh/servconf.c
417
options->max_startups_begin = 10;
crypto/openssh/servconf.c
418
if (options->per_source_max_startups == -1)
crypto/openssh/servconf.c
419
options->per_source_max_startups = INT_MAX;
crypto/openssh/servconf.c
420
if (options->per_source_masklen_ipv4 == -1)
crypto/openssh/servconf.c
421
options->per_source_masklen_ipv4 = 32;
crypto/openssh/servconf.c
422
if (options->per_source_masklen_ipv6 == -1)
crypto/openssh/servconf.c
423
options->per_source_masklen_ipv6 = 128;
crypto/openssh/servconf.c
424
if (options->per_source_penalty.enabled == -1)
crypto/openssh/servconf.c
425
options->per_source_penalty.enabled = 1;
crypto/openssh/servconf.c
426
if (options->per_source_penalty.max_sources4 == -1)
crypto/openssh/servconf.c
427
options->per_source_penalty.max_sources4 = 65536;
crypto/openssh/servconf.c
428
if (options->per_source_penalty.max_sources6 == -1)
crypto/openssh/servconf.c
429
options->per_source_penalty.max_sources6 = 65536;
crypto/openssh/servconf.c
430
if (options->per_source_penalty.overflow_mode == -1)
crypto/openssh/servconf.c
431
options->per_source_penalty.overflow_mode = PER_SOURCE_PENALTY_OVERFLOW_PERMISSIVE;
crypto/openssh/servconf.c
432
if (options->per_source_penalty.overflow_mode6 == -1)
crypto/openssh/servconf.c
433
options->per_source_penalty.overflow_mode6 = options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
434
if (options->per_source_penalty.penalty_crash == -1)
crypto/openssh/servconf.c
435
options->per_source_penalty.penalty_crash = 90;
crypto/openssh/servconf.c
436
if (options->per_source_penalty.penalty_grace == -1)
crypto/openssh/servconf.c
437
options->per_source_penalty.penalty_grace = 20;
crypto/openssh/servconf.c
438
if (options->per_source_penalty.penalty_authfail == -1)
crypto/openssh/servconf.c
439
options->per_source_penalty.penalty_authfail = 5;
crypto/openssh/servconf.c
440
if (options->per_source_penalty.penalty_noauth == -1)
crypto/openssh/servconf.c
441
options->per_source_penalty.penalty_noauth = 1;
crypto/openssh/servconf.c
442
if (options->per_source_penalty.penalty_min == -1)
crypto/openssh/servconf.c
443
options->per_source_penalty.penalty_min = 15;
crypto/openssh/servconf.c
444
if (options->per_source_penalty.penalty_max == -1)
crypto/openssh/servconf.c
445
options->per_source_penalty.penalty_max = 600;
crypto/openssh/servconf.c
446
if (options->max_authtries == -1)
crypto/openssh/servconf.c
447
options->max_authtries = DEFAULT_AUTH_FAIL_MAX;
crypto/openssh/servconf.c
448
if (options->max_sessions == -1)
crypto/openssh/servconf.c
449
options->max_sessions = DEFAULT_SESSIONS_MAX;
crypto/openssh/servconf.c
450
if (options->use_dns == -1)
crypto/openssh/servconf.c
451
options->use_dns = 0;
crypto/openssh/servconf.c
452
if (options->client_alive_interval == -1)
crypto/openssh/servconf.c
453
options->client_alive_interval = 0;
crypto/openssh/servconf.c
454
if (options->client_alive_count_max == -1)
crypto/openssh/servconf.c
455
options->client_alive_count_max = 3;
crypto/openssh/servconf.c
456
if (options->num_authkeys_files == 0) {
crypto/openssh/servconf.c
458
&options->authorized_keys_files,
crypto/openssh/servconf.c
459
&options->num_authkeys_files,
crypto/openssh/servconf.c
462
&options->authorized_keys_files,
crypto/openssh/servconf.c
463
&options->num_authkeys_files,
crypto/openssh/servconf.c
466
if (options->permit_tun == -1)
crypto/openssh/servconf.c
467
options->permit_tun = SSH_TUNMODE_NO;
crypto/openssh/servconf.c
468
if (options->ip_qos_interactive == -1)
crypto/openssh/servconf.c
469
options->ip_qos_interactive = IPTOS_DSCP_AF21;
crypto/openssh/servconf.c
470
if (options->ip_qos_bulk == -1)
crypto/openssh/servconf.c
471
options->ip_qos_bulk = IPTOS_DSCP_CS1;
crypto/openssh/servconf.c
472
if (options->version_addendum == NULL)
crypto/openssh/servconf.c
473
options->version_addendum = xstrdup("");
crypto/openssh/servconf.c
474
if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1)
crypto/openssh/servconf.c
475
options->fwd_opts.streamlocal_bind_mask = 0177;
crypto/openssh/servconf.c
476
if (options->fwd_opts.streamlocal_bind_unlink == -1)
crypto/openssh/servconf.c
477
options->fwd_opts.streamlocal_bind_unlink = 0;
crypto/openssh/servconf.c
478
if (options->fingerprint_hash == -1)
crypto/openssh/servconf.c
479
options->fingerprint_hash = SSH_FP_HASH_DEFAULT;
crypto/openssh/servconf.c
480
if (options->disable_forwarding == -1)
crypto/openssh/servconf.c
481
options->disable_forwarding = 0;
crypto/openssh/servconf.c
482
if (options->expose_userauth_info == -1)
crypto/openssh/servconf.c
483
options->expose_userauth_info = 0;
crypto/openssh/servconf.c
484
if (options->sk_provider == NULL)
crypto/openssh/servconf.c
485
options->sk_provider = xstrdup("internal");
crypto/openssh/servconf.c
486
if (options->required_rsa_size == -1)
crypto/openssh/servconf.c
487
options->required_rsa_size = SSH_RSA_MINIMUM_MODULUS_SIZE;
crypto/openssh/servconf.c
488
if (options->unused_connection_timeout == -1)
crypto/openssh/servconf.c
489
options->unused_connection_timeout = 0;
crypto/openssh/servconf.c
490
if (options->sshd_session_path == NULL)
crypto/openssh/servconf.c
491
options->sshd_session_path = xstrdup(_PATH_SSHD_SESSION);
crypto/openssh/servconf.c
493
assemble_algorithms(options);
crypto/openssh/servconf.c
504
if (options->nv == 1 && \
crypto/openssh/servconf.c
505
strcasecmp(options->v[0], none) == 0) { \
crypto/openssh/servconf.c
506
free(options->v[0]); \
crypto/openssh/servconf.c
507
free(options->v); \
crypto/openssh/servconf.c
508
options->v = NULL; \
crypto/openssh/servconf.c
509
options->nv = 0; \
crypto/openssh/servconf.c
512
CLEAR_ON_NONE(options->pid_file);
crypto/openssh/servconf.c
513
CLEAR_ON_NONE(options->xauth_location);
crypto/openssh/servconf.c
514
CLEAR_ON_NONE(options->banner);
crypto/openssh/servconf.c
515
CLEAR_ON_NONE(options->trusted_user_ca_keys);
crypto/openssh/servconf.c
516
CLEAR_ON_NONE(options->revoked_keys_file);
crypto/openssh/servconf.c
517
CLEAR_ON_NONE(options->sk_provider);
crypto/openssh/servconf.c
518
CLEAR_ON_NONE(options->authorized_principals_file);
crypto/openssh/servconf.c
519
CLEAR_ON_NONE(options->adm_forced_command);
crypto/openssh/servconf.c
520
CLEAR_ON_NONE(options->chroot_directory);
crypto/openssh/servconf.c
521
CLEAR_ON_NONE(options->routing_domain);
crypto/openssh/servconf.c
522
CLEAR_ON_NONE(options->host_key_agent);
crypto/openssh/servconf.c
523
CLEAR_ON_NONE(options->per_source_penalty_exempt);
crypto/openssh/servconf.c
525
for (i = 0; i < options->num_host_key_files; i++)
crypto/openssh/servconf.c
526
CLEAR_ON_NONE(options->host_key_files[i]);
crypto/openssh/servconf.c
527
for (i = 0; i < options->num_host_cert_files; i++)
crypto/openssh/servconf.c
528
CLEAR_ON_NONE(options->host_cert_files[i]);
crypto/openssh/servconf.c
80
static void parse_server_config_depth(ServerOptions *options,
crypto/openssh/servconf.c
809
add_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
815
add_one_listen_addr(options, addr, rdomain, port);
crypto/openssh/servconf.c
817
for (i = 0; i < options->num_ports; i++) {
crypto/openssh/servconf.c
818
add_one_listen_addr(options, addr, rdomain,
crypto/openssh/servconf.c
819
options->ports[i]);
crypto/openssh/servconf.c
825
add_one_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
834
for (i = 0; i < options->num_listen_addrs; i++) {
crypto/openssh/servconf.c
835
if (rdomain == NULL && options->listen_addrs[i].rdomain == NULL)
crypto/openssh/servconf.c
837
if (rdomain == NULL || options->listen_addrs[i].rdomain == NULL)
crypto/openssh/servconf.c
839
if (strcmp(rdomain, options->listen_addrs[i].rdomain) == 0)
crypto/openssh/servconf.c
842
if (i >= options->num_listen_addrs) {
crypto/openssh/servconf.c
846
options->listen_addrs = xrecallocarray(options->listen_addrs,
crypto/openssh/servconf.c
847
options->num_listen_addrs, options->num_listen_addrs + 1,
crypto/openssh/servconf.c
848
sizeof(*options->listen_addrs));
crypto/openssh/servconf.c
849
i = options->num_listen_addrs++;
crypto/openssh/servconf.c
851
options->listen_addrs[i].rdomain = xstrdup(rdomain);
crypto/openssh/servconf.c
856
hints.ai_family = options->address_family;
crypto/openssh/servconf.c
866
ai->ai_next = options->listen_addrs[i].addrs;
crypto/openssh/servconf.c
867
options->listen_addrs[i].addrs = aitop;
crypto/openssh/servconf.c
89
initialize_server_options(ServerOptions *options)
crypto/openssh/servconf.c
91
memset(options, 0, sizeof(*options));
crypto/openssh/servconf.c
911
queue_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
916
options->queued_listen_addrs = xrecallocarray(
crypto/openssh/servconf.c
917
options->queued_listen_addrs,
crypto/openssh/servconf.c
918
options->num_queued_listens, options->num_queued_listens + 1,
crypto/openssh/servconf.c
919
sizeof(*options->queued_listen_addrs));
crypto/openssh/servconf.c
920
qla = &options->queued_listen_addrs[options->num_queued_listens++];
crypto/openssh/servconf.c
930
process_queued_listen_addrs(ServerOptions *options)
crypto/openssh/servconf.c
935
if (options->num_ports == 0)
crypto/openssh/servconf.c
936
options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
crypto/openssh/servconf.c
937
if (options->address_family == -1)
crypto/openssh/servconf.c
938
options->address_family = AF_UNSPEC;
crypto/openssh/servconf.c
94
options->use_pam = -1;
crypto/openssh/servconf.c
940
for (i = 0; i < options->num_queued_listens; i++) {
crypto/openssh/servconf.c
941
qla = &options->queued_listen_addrs[i];
crypto/openssh/servconf.c
942
add_listen_addr(options, qla->addr, qla->rdomain, qla->port);
crypto/openssh/servconf.c
946
free(options->queued_listen_addrs);
crypto/openssh/servconf.c
947
options->queued_listen_addrs = NULL;
crypto/openssh/servconf.c
948
options->num_queued_listens = 0;
crypto/openssh/servconf.c
95
options->pam_service_name = NULL;
crypto/openssh/servconf.c
98
options->num_ports = 0;
crypto/openssh/servconf.c
99
options->ports_from_cmdline = 0;
crypto/openssh/serverloop.c
113
if (options.client_alive_count_max > 0 &&
crypto/openssh/serverloop.c
115
options.client_alive_count_max) {
crypto/openssh/serverloop.c
166
if (options.rekey_interval > 0 && !ssh_packet_is_rekeying(ssh)) {
crypto/openssh/serverloop.c
175
if (options.unused_connection_timeout != 0) {
crypto/openssh/serverloop.c
178
options.unused_connection_timeout;
crypto/openssh/serverloop.c
191
if (options.client_alive_interval) {
crypto/openssh/serverloop.c
195
ptimeout_deadline_sec(&timeout, options.client_alive_interval);
crypto/openssh/serverloop.c
235
now >= last_client_time + options.client_alive_interval) {
crypto/openssh/serverloop.c
421
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) != 0 &&
crypto/openssh/serverloop.c
423
!options.disable_forwarding) {
crypto/openssh/serverloop.c
466
if ((options.allow_streamlocal_forwarding & FORWARD_LOCAL) != 0 &&
crypto/openssh/serverloop.c
468
!options.disable_forwarding) {
crypto/openssh/serverloop.c
501
if ((options.permit_tun & mode) == 0) {
crypto/openssh/serverloop.c
759
(options.allow_tcp_forwarding & FORWARD_REMOTE) == 0 ||
crypto/openssh/serverloop.c
761
options.disable_forwarding ||
crypto/openssh/serverloop.c
768
&allocated_listen_port, &options.fwd_opts);
crypto/openssh/serverloop.c
793
if ((options.allow_streamlocal_forwarding & FORWARD_REMOTE) == 0
crypto/openssh/serverloop.c
795
options.disable_forwarding) {
crypto/openssh/serverloop.c
802
&fwd, NULL, &options.fwd_opts);
crypto/openssh/serverloop.c
84
extern ServerOptions options;
crypto/openssh/session.c
1042
if (!options.use_pam) {
crypto/openssh/session.c
1077
options.permit_user_env_allowlist);
crypto/openssh/session.c
1091
if (options.permit_user_env) {
crypto/openssh/session.c
1098
if (options.permit_user_env_allowlist == NULL ||
crypto/openssh/session.c
1100
options.permit_user_env_allowlist, 0) == 1)
crypto/openssh/session.c
1109
if (options.permit_user_env) {
crypto/openssh/session.c
1113
options.permit_user_env_allowlist);
crypto/openssh/session.c
1121
if (options.use_pam) {
crypto/openssh/session.c
1142
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/session.c
1143
cp = xstrdup(options.setenv[i]);
crypto/openssh/session.c
1146
fatal("Invalid config SetEnv: %s", options.setenv[i]);
crypto/openssh/session.c
1202
if (!s->is_subsystem && options.adm_forced_command == NULL &&
crypto/openssh/session.c
1203
auth_opts->permit_user_rc && options.permit_user_rc &&
crypto/openssh/session.c
1232
} else if (do_xauth && options.xauth_location != NULL) {
crypto/openssh/session.c
1237
options.xauth_location, s->auth_display);
crypto/openssh/session.c
1240
options.xauth_location, s->auth_display,
crypto/openssh/session.c
1243
if (xasprintf(&cmd, "%s -q -", options.xauth_location) == -1)
crypto/openssh/session.c
1378
if (!in_chroot && options.chroot_directory != NULL &&
crypto/openssh/session.c
1379
strcasecmp(options.chroot_directory, "none") != 0) {
crypto/openssh/session.c
1380
tmp = tilde_expand_filename(options.chroot_directory,
crypto/openssh/session.c
1390
free(options.chroot_directory);
crypto/openssh/session.c
1391
options.chroot_directory = NULL;
crypto/openssh/session.c
1421
} else if (options.chroot_directory != NULL &&
crypto/openssh/session.c
1422
strcasecmp(options.chroot_directory, "none") != 0) {
crypto/openssh/session.c
143
extern ServerOptions options;
crypto/openssh/session.c
1536
if (!options.use_pam)
crypto/openssh/session.c
1549
if (options.use_pam && !is_pam_session_open()) {
crypto/openssh/session.c
1596
if (options.kerberos_get_afs_token && k_hasafs() &&
crypto/openssh/session.c
1712
if (id >= options.max_sessions ||
crypto/openssh/session.c
1715
id, options.max_sessions, sessions_nalloc);
crypto/openssh/session.c
1735
if (sessions_nalloc >= options.max_sessions)
crypto/openssh/session.c
1738
sessions_nalloc, options.max_sessions);
crypto/openssh/session.c
1753
sessions_first_unused, options.max_sessions,
crypto/openssh/session.c
1894
if (!auth_opts->permit_pty_flag || !options.permit_tty) {
crypto/openssh/session.c
1953
for (i = 0; i < options.num_subsystems; i++) {
crypto/openssh/session.c
1954
if (strcmp(s->subsys, options.subsystem_name[i]) == 0) {
crypto/openssh/session.c
1955
prog = options.subsystem_command[i];
crypto/openssh/session.c
1956
cmd = options.subsystem_args[i];
crypto/openssh/session.c
1968
options.subsystem_name[i]);
crypto/openssh/session.c
2082
for (i = 0; i < options.num_accept_env; i++) {
crypto/openssh/session.c
2083
if (match_pattern(name, options.accept_env[i])) {
crypto/openssh/session.c
2180
!options.allow_agent_forwarding) {
crypto/openssh/session.c
2575
if (!options.x11_forwarding) {
crypto/openssh/session.c
2579
if (options.xauth_location == NULL ||
crypto/openssh/session.c
2580
(stat(options.xauth_location, &st) == -1)) {
crypto/openssh/session.c
2588
if (x11_create_display_inet(ssh, options.x11_display_offset,
crypto/openssh/session.c
2589
options.x11_use_localhost, s->single_connection,
crypto/openssh/session.c
2607
if (options.x11_use_localhost) {
crypto/openssh/session.c
2665
if (options.use_pam) {
crypto/openssh/session.c
2675
if (options.kerberos_ticket_cleanup &&
crypto/openssh/session.c
2681
if (options.gss_cleanup_creds)
crypto/openssh/session.c
275
if (!options.expose_userauth_info || info == NULL)
crypto/openssh/session.c
311
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) != 0) {
crypto/openssh/session.c
326
if ((options.allow_tcp_forwarding & FORWARD_REMOTE) != 0) {
crypto/openssh/session.c
355
options.disable_forwarding) {
crypto/openssh/session.c
359
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) == 0)
crypto/openssh/session.c
363
if ((options.allow_tcp_forwarding & FORWARD_REMOTE) == 0)
crypto/openssh/session.c
529
options.ip_qos_interactive, options.ip_qos_bulk);
crypto/openssh/session.c
658
options.ip_qos_interactive, options.ip_qos_bulk);
crypto/openssh/session.c
674
if (options.adm_forced_command) {
crypto/openssh/session.c
676
command = options.adm_forced_command;
crypto/openssh/session.c
784
if (options.print_motd) {
crypto/openssh/session.c
910
options.permit_user_env_allowlist);
crypto/openssh/sk-api.h
100
int sk_load_resident_keys(const char *pin, struct sk_option **options,
crypto/openssh/sk-api.h
91
struct sk_option **options, struct sk_enroll_response **enroll_response);
crypto/openssh/sk-api.h
96
uint8_t flags, const char *pin, struct sk_option **options,
crypto/openssh/ssh-keygen.c
2080
struct sshbuf *options, *option = NULL;
crypto/openssh/ssh-keygen.c
2083
if ((options = sshbuf_fromb(optbuf)) == NULL)
crypto/openssh/ssh-keygen.c
2085
while (sshbuf_len(options) != 0) {
crypto/openssh/ssh-keygen.c
2088
if ((r = sshbuf_get_cstring(options, &name, NULL)) != 0 ||
crypto/openssh/ssh-keygen.c
2089
(r = sshbuf_froms(options, &option)) != 0)
crypto/openssh/ssh-keygen.c
2123
sshbuf_free(options);
crypto/openssh/ssh-keysign.c
179
Options options;
crypto/openssh/ssh-keysign.c
224
initialize_options(&options);
crypto/openssh/ssh-keysign.c
226
&options, 0, NULL);
crypto/openssh/ssh-keysign.c
227
(void)fill_default_options(&options);
crypto/openssh/ssh-keysign.c
228
if (options.enable_ssh_keysign != 1)
crypto/openssh/ssh-keysign.c
291
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/ssh.c
1003
if (options.control_master == SSHCTL_MASTER_YES)
crypto/openssh/ssh.c
1004
options.control_master = SSHCTL_MASTER_ASK;
crypto/openssh/ssh.c
1006
options.control_master = SSHCTL_MASTER_YES;
crypto/openssh/ssh.c
1009
if (options.port == -1) {
crypto/openssh/ssh.c
1010
options.port = a2port(optarg);
crypto/openssh/ssh.c
1011
if (options.port <= 0) {
crypto/openssh/ssh.c
1019
if (options.user == NULL)
crypto/openssh/ssh.c
1020
options.user = optarg;
crypto/openssh/ssh.c
1025
add_local_forward(&options, &fwd);
crypto/openssh/ssh.c
1037
add_remote_forward(&options, &fwd);
crypto/openssh/ssh.c
1048
add_local_forward(&options, &fwd);
crypto/openssh/ssh.c
1059
options.compression = 1;
crypto/openssh/ssh.c
1065
if (options.session_type != -1 &&
crypto/openssh/ssh.c
1066
options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1068
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
1069
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
1072
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
1076
if (process_config_line(&options, pw,
crypto/openssh/ssh.c
1083
if (options.session_type != -1 &&
crypto/openssh/ssh.c
1084
options.session_type != SESSION_TYPE_SUBSYSTEM)
crypto/openssh/ssh.c
1086
options.session_type = SESSION_TYPE_SUBSYSTEM;
crypto/openssh/ssh.c
1089
free(options.control_path);
crypto/openssh/ssh.c
1090
options.control_path = xstrdup(optarg);
crypto/openssh/ssh.c
1093
options.bind_address = optarg;
crypto/openssh/ssh.c
1096
options.bind_interface = optarg;
crypto/openssh/ssh.c
1120
if (options.user == NULL) {
crypto/openssh/ssh.c
1121
options.user = tuser;
crypto/openssh/ssh.c
1125
if (options.port == -1 && tport != -1)
crypto/openssh/ssh.c
1126
options.port = tport;
crypto/openssh/ssh.c
1134
if (options.user == NULL) {
crypto/openssh/ssh.c
1135
options.user = p;
crypto/openssh/ssh.c
1158
if (options.user != NULL && !valid_ruser(options.user))
crypto/openssh/ssh.c
1160
options.host_arg = xstrdup(host);
crypto/openssh/ssh.c
1173
if (options.session_type == SESSION_TYPE_SUBSYSTEM) {
crypto/openssh/ssh.c
1198
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/ssh.c
1199
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/ssh.c
1200
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/ssh.c
1201
SYSLOG_FACILITY_USER : options.log_facility,
crypto/openssh/ssh.c
1208
process_config_files(options.host_arg, pw, 0, &want_final_pass);
crypto/openssh/ssh.c
1213
fill_default_options_for_canonicalization(&options);
crypto/openssh/ssh.c
1216
if (options.hostname != NULL) {
crypto/openssh/ssh.c
1218
cp = percent_expand(options.hostname,
crypto/openssh/ssh.c
1222
free(options.hostname);
crypto/openssh/ssh.c
1223
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1234
if (options.canonicalize_hostname != SSH_CANONICALISE_NO || was_addr)
crypto/openssh/ssh.c
1235
addrs = resolve_canonicalize(&host, options.port);
crypto/openssh/ssh.c
1250
direct = option_clear_or_none(options.proxy_command) &&
crypto/openssh/ssh.c
1251
option_clear_or_none(options.jump_host);
crypto/openssh/ssh.c
1252
if (addrs == NULL && config_has_permitted_cnames(&options) && (direct ||
crypto/openssh/ssh.c
1253
options.canonicalize_hostname == SSH_CANONICALISE_ALWAYS)) {
crypto/openssh/ssh.c
1254
if ((addrs = resolve_host(host, options.port,
crypto/openssh/ssh.c
1267
if (options.canonicalize_hostname != 0 && !want_final_pass) {
crypto/openssh/ssh.c
1275
free(options.hostname);
crypto/openssh/ssh.c
1276
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1277
process_config_files(options.host_arg, pw, 1, NULL);
crypto/openssh/ssh.c
1283
if (addrs != NULL && options.port > 0)
crypto/openssh/ssh.c
1284
set_addrinfo_port(addrs, options.port);
crypto/openssh/ssh.c
1288
if (fill_default_options(&options) != 0)
crypto/openssh/ssh.c
1291
if (options.user == NULL)
crypto/openssh/ssh.c
1292
options.user = xstrdup(pw->pw_name);
crypto/openssh/ssh.c
1297
if (options.jump_host != NULL) {
crypto/openssh/ssh.c
1299
const char *jumpuser = options.jump_user, *sshbin = argv0;
crypto/openssh/ssh.c
1300
int port = options.port, jumpport = options.jump_port;
crypto/openssh/ssh.c
1307
jumpuser = options.user;
crypto/openssh/ssh.c
1308
if (strcmp(options.jump_host, host) == 0 && port == jumpport &&
crypto/openssh/ssh.c
1309
strcmp(options.user, jumpuser) == 0)
crypto/openssh/ssh.c
1310
fatal("jumphost loop via %s", options.jump_host);
crypto/openssh/ssh.c
1320
if (options.proxy_command != NULL)
crypto/openssh/ssh.c
1323
options.proxy_use_fdpass = 0;
crypto/openssh/ssh.c
1324
snprintf(port_s, sizeof(port_s), "%d", options.jump_port);
crypto/openssh/ssh.c
1325
xasprintf(&options.proxy_command,
crypto/openssh/ssh.c
1329
options.jump_user == NULL ? "" : " -l ",
crypto/openssh/ssh.c
1330
options.jump_user == NULL ? "" : options.jump_user,
crypto/openssh/ssh.c
1332
options.jump_port <= 0 ? "" : " -p ",
crypto/openssh/ssh.c
1333
options.jump_port <= 0 ? "" : port_s,
crypto/openssh/ssh.c
1335
options.jump_extra == NULL ? "" : " -J ",
crypto/openssh/ssh.c
1336
options.jump_extra == NULL ? "" : options.jump_extra,
crypto/openssh/ssh.c
1344
options.jump_host);
crypto/openssh/ssh.c
1346
options.proxy_command);
crypto/openssh/ssh.c
1349
if (options.port == 0)
crypto/openssh/ssh.c
1350
options.port = default_ssh_port();
crypto/openssh/ssh.c
1351
channel_set_af(ssh, options.address_family);
crypto/openssh/ssh.c
1354
if (options.host_key_alias != NULL)
crypto/openssh/ssh.c
1355
lowercase(options.host_key_alias);
crypto/openssh/ssh.c
1356
if (options.proxy_command != NULL &&
crypto/openssh/ssh.c
1357
strcmp(options.proxy_command, "-") == 0 &&
crypto/openssh/ssh.c
1358
options.proxy_use_fdpass)
crypto/openssh/ssh.c
1360
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK) {
crypto/openssh/ssh.c
1361
if (options.control_persist && options.control_path != NULL) {
crypto/openssh/ssh.c
1364
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1366
options.remote_command != NULL ||
crypto/openssh/ssh.c
1367
options.request_tty == REQUEST_TTY_NO) {
crypto/openssh/ssh.c
1370
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1371
} else if (options.log_level < SYSLOG_LEVEL_INFO) {
crypto/openssh/ssh.c
1373
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1376
if (options.connection_attempts <= 0)
crypto/openssh/ssh.c
1379
if (sshbuf_len(command) != 0 && options.remote_command != NULL)
crypto/openssh/ssh.c
1383
if (options.fork_after_authentication && sshbuf_len(command) == 0 &&
crypto/openssh/ssh.c
1384
options.remote_command == NULL &&
crypto/openssh/ssh.c
1385
options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1390
log_init(argv0, options.log_level, options.log_facility, !use_syslog);
crypto/openssh/ssh.c
1391
for (j = 0; j < options.num_log_verbose; j++) {
crypto/openssh/ssh.c
1392
if (strcasecmp(options.log_verbose[j], "none") == 0)
crypto/openssh/ssh.c
1394
log_verbose_add(options.log_verbose[j]);
crypto/openssh/ssh.c
1397
if (options.request_tty == REQUEST_TTY_YES ||
crypto/openssh/ssh.c
1398
options.request_tty == REQUEST_TTY_FORCE)
crypto/openssh/ssh.c
1402
if (sshbuf_len(command) == 0 && options.remote_command == NULL)
crypto/openssh/ssh.c
1403
tty_flag = options.request_tty != REQUEST_TTY_NO;
crypto/openssh/ssh.c
1406
if (options.request_tty == REQUEST_TTY_NO ||
crypto/openssh/ssh.c
1408
options.session_type == SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1411
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
crypto/openssh/ssh.c
1412
options.request_tty != REQUEST_TTY_FORCE) {
crypto/openssh/ssh.c
1426
xasprintf(&cinfo->portstr, "%d", options.port);
crypto/openssh/ssh.c
1429
cinfo->keyalias = xstrdup(options.host_key_alias ?
crypto/openssh/ssh.c
143
Options options;
crypto/openssh/ssh.c
1430
options.host_key_alias : options.host_arg);
crypto/openssh/ssh.c
1431
cinfo->host_arg = xstrdup(options.host_arg);
crypto/openssh/ssh.c
1433
cinfo->remuser = xstrdup(options.user);
crypto/openssh/ssh.c
1436
cinfo->jmphost = xstrdup(options.jump_host == NULL ?
crypto/openssh/ssh.c
1437
"" : options.jump_host);
crypto/openssh/ssh.c
1446
if (options.remote_command != NULL) {
crypto/openssh/ssh.c
1447
debug3("expanding RemoteCommand: %s", options.remote_command);
crypto/openssh/ssh.c
1448
cp = options.remote_command;
crypto/openssh/ssh.c
1449
options.remote_command = default_client_percent_expand(cp,
crypto/openssh/ssh.c
1451
debug3("expanded RemoteCommand: %s", options.remote_command);
crypto/openssh/ssh.c
1453
if ((r = sshbuf_put(command, options.remote_command,
crypto/openssh/ssh.c
1454
strlen(options.remote_command))) != 0)
crypto/openssh/ssh.c
1458
if (options.control_path != NULL) {
crypto/openssh/ssh.c
1459
cp = tilde_expand_filename(options.control_path, getuid());
crypto/openssh/ssh.c
1460
free(options.control_path);
crypto/openssh/ssh.c
1461
options.control_path = default_client_percent_dollar_expand(cp,
crypto/openssh/ssh.c
1466
if (options.identity_agent != NULL) {
crypto/openssh/ssh.c
1467
p = tilde_expand_filename(options.identity_agent, getuid());
crypto/openssh/ssh.c
1470
free(options.identity_agent);
crypto/openssh/ssh.c
1471
options.identity_agent = cp;
crypto/openssh/ssh.c
1474
if (options.revoked_host_keys != NULL) {
crypto/openssh/ssh.c
1475
p = tilde_expand_filename(options.revoked_host_keys, getuid());
crypto/openssh/ssh.c
1478
free(options.revoked_host_keys);
crypto/openssh/ssh.c
1479
options.revoked_host_keys = cp;
crypto/openssh/ssh.c
1482
if (options.forward_agent_sock_path != NULL) {
crypto/openssh/ssh.c
1483
p = tilde_expand_filename(options.forward_agent_sock_path,
crypto/openssh/ssh.c
1487
free(options.forward_agent_sock_path);
crypto/openssh/ssh.c
1488
options.forward_agent_sock_path = cp;
crypto/openssh/ssh.c
1489
if (stat(options.forward_agent_sock_path, &st) != 0) {
crypto/openssh/ssh.c
1491
options.forward_agent_sock_path, strerror(errno));
crypto/openssh/ssh.c
1492
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
1497
if (options.num_system_hostfiles > 0 &&
crypto/openssh/ssh.c
1498
strcasecmp(options.system_hostfiles[0], "none") == 0) {
crypto/openssh/ssh.c
1499
if (options.num_system_hostfiles > 1)
crypto/openssh/ssh.c
1502
free(options.system_hostfiles[0]);
crypto/openssh/ssh.c
1503
options.system_hostfiles[0] = NULL;
crypto/openssh/ssh.c
1504
options.num_system_hostfiles = 0;
crypto/openssh/ssh.c
1507
if (options.num_user_hostfiles > 0 &&
crypto/openssh/ssh.c
1508
strcasecmp(options.user_hostfiles[0], "none") == 0) {
crypto/openssh/ssh.c
1509
if (options.num_user_hostfiles > 1)
crypto/openssh/ssh.c
1512
free(options.user_hostfiles[0]);
crypto/openssh/ssh.c
1513
options.user_hostfiles[0] = NULL;
crypto/openssh/ssh.c
1514
options.num_user_hostfiles = 0;
crypto/openssh/ssh.c
1516
for (j = 0; j < options.num_user_hostfiles; j++) {
crypto/openssh/ssh.c
1517
if (options.user_hostfiles[j] == NULL)
crypto/openssh/ssh.c
1519
cp = tilde_expand_filename(options.user_hostfiles[j], getuid());
crypto/openssh/ssh.c
1521
if (strcmp(options.user_hostfiles[j], p) != 0)
crypto/openssh/ssh.c
1523
"'%s'", options.user_hostfiles[j], p);
crypto/openssh/ssh.c
1524
free(options.user_hostfiles[j]);
crypto/openssh/ssh.c
1526
options.user_hostfiles[j] = p;
crypto/openssh/ssh.c
1529
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/ssh.c
1530
if (options.local_forwards[i].listen_path != NULL) {
crypto/openssh/ssh.c
1531
cp = options.local_forwards[i].listen_path;
crypto/openssh/ssh.c
1532
p = options.local_forwards[i].listen_path =
crypto/openssh/ssh.c
1539
if (options.local_forwards[i].connect_path != NULL) {
crypto/openssh/ssh.c
1540
cp = options.local_forwards[i].connect_path;
crypto/openssh/ssh.c
1541
p = options.local_forwards[i].connect_path =
crypto/openssh/ssh.c
1550
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/ssh.c
1551
if (options.remote_forwards[i].listen_path != NULL) {
crypto/openssh/ssh.c
1552
cp = options.remote_forwards[i].listen_path;
crypto/openssh/ssh.c
1553
p = options.remote_forwards[i].listen_path =
crypto/openssh/ssh.c
1560
if (options.remote_forwards[i].connect_path != NULL) {
crypto/openssh/ssh.c
1561
cp = options.remote_forwards[i].connect_path;
crypto/openssh/ssh.c
1562
p = options.remote_forwards[i].connect_path =
crypto/openssh/ssh.c
1572
dump_client_config(&options, host);
crypto/openssh/ssh.c
1577
if (options.sk_provider != NULL && *options.sk_provider == '$' &&
crypto/openssh/ssh.c
1578
strlen(options.sk_provider) > 1) {
crypto/openssh/ssh.c
1579
if ((cp = getenv(options.sk_provider + 1)) == NULL) {
crypto/openssh/ssh.c
1581
"disabling", options.sk_provider);
crypto/openssh/ssh.c
1582
free(options.sk_provider);
crypto/openssh/ssh.c
1583
options.sk_provider = NULL;
crypto/openssh/ssh.c
1586
options.sk_provider, cp);
crypto/openssh/ssh.c
1587
free(options.sk_provider);
crypto/openssh/ssh.c
1588
options.sk_provider = xstrdup(cp);
crypto/openssh/ssh.c
1592
if (muxclient_command != 0 && options.control_path == NULL)
crypto/openssh/ssh.c
1594
if (options.control_path != NULL) {
crypto/openssh/ssh.c
1596
if ((sock = muxclient(options.control_path)) >= 0) {
crypto/openssh/ssh.c
1607
if (addrs == NULL && options.proxy_command == NULL) {
crypto/openssh/ssh.c
1608
debug2("resolving \"%s\" port %d", host, options.port);
crypto/openssh/ssh.c
1609
if ((addrs = resolve_host(host, options.port, 1,
crypto/openssh/ssh.c
1614
if (options.connection_timeout >= INT_MAX/1000)
crypto/openssh/ssh.c
1617
timeout_ms = options.connection_timeout * 1000;
crypto/openssh/ssh.c
1621
for (j = 0; j < options.num_channel_timeouts; j++) {
crypto/openssh/ssh.c
1623
options.channel_timeouts[j]);
crypto/openssh/ssh.c
1624
if (parse_pattern_interval(options.channel_timeouts[j],
crypto/openssh/ssh.c
1627
options.channel_timeouts[j]);
crypto/openssh/ssh.c
1634
if (ssh_connect(ssh, host, options.host_arg, addrs, &hostaddr,
crypto/openssh/ssh.c
1635
options.port, options.connection_attempts,
crypto/openssh/ssh.c
1636
&timeout_ms, options.tcp_keep_alive) != 0)
crypto/openssh/ssh.c
1642
ssh_packet_set_timeout(ssh, options.server_alive_interval,
crypto/openssh/ssh.c
1643
options.server_alive_count_max);
crypto/openssh/ssh.c
1655
if (options.hostbased_authentication) {
crypto/openssh/ssh.c
1686
if (options.hostbased_authentication == 1) {
crypto/openssh/ssh.c
1711
if (options.identity_agent &&
crypto/openssh/ssh.c
1712
strcmp(options.identity_agent, SSH_AUTHSOCKET_ENV_NAME) != 0) {
crypto/openssh/ssh.c
1713
if (strcmp(options.identity_agent, "none") == 0) {
crypto/openssh/ssh.c
1716
cp = options.identity_agent;
crypto/openssh/ssh.c
1734
if (options.forward_agent && options.forward_agent_sock_path != NULL) {
crypto/openssh/ssh.c
1735
cp = options.forward_agent_sock_path;
crypto/openssh/ssh.c
1743
options.forward_agent = 0;
crypto/openssh/ssh.c
1751
tilde_expand_paths(options.system_hostfiles,
crypto/openssh/ssh.c
1752
options.num_system_hostfiles);
crypto/openssh/ssh.c
1753
tilde_expand_paths(options.user_hostfiles, options.num_user_hostfiles);
crypto/openssh/ssh.c
1759
options.port, pw, timeout_ms, cinfo);
crypto/openssh/ssh.c
1773
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/ssh.c
1774
free(options.identity_files[i]);
crypto/openssh/ssh.c
1775
options.identity_files[i] = NULL;
crypto/openssh/ssh.c
1776
if (options.identity_keys[i]) {
crypto/openssh/ssh.c
1777
sshkey_free(options.identity_keys[i]);
crypto/openssh/ssh.c
1778
options.identity_keys[i] = NULL;
crypto/openssh/ssh.c
1781
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/ssh.c
1782
free(options.certificate_files[i]);
crypto/openssh/ssh.c
1783
options.certificate_files[i] = NULL;
crypto/openssh/ssh.c
1787
(void)pkcs11_del_provider(options.pkcs11_provider);
crypto/openssh/ssh.c
1795
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/ssh.c
1796
unlink(options.control_path);
crypto/openssh/ssh.c
1827
options.stdin_null = ostdin_null_flag;
crypto/openssh/ssh.c
1828
options.request_tty = orequest_tty;
crypto/openssh/ssh.c
1830
options.fork_after_authentication = ofork_after_authentication;
crypto/openssh/ssh.c
1831
options.session_type = osession_type;
crypto/openssh/ssh.c
1834
options.control_master = SSHCTL_MASTER_NO;
crypto/openssh/ssh.c
1835
(void)muxclient(options.control_path);
crypto/openssh/ssh.c
1842
setproctitle("%s [mux]", options.control_path);
crypto/openssh/ssh.c
1852
options.fork_after_authentication = 0;
crypto/openssh/ssh.c
1866
if (options.fork_after_authentication)
crypto/openssh/ssh.c
1918
if (options.exit_on_forward_failure) {
crypto/openssh/ssh.c
1956
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
1970
if (options.stdio_forward_host == NULL)
crypto/openssh/ssh.c
1973
debug3_f("%s:%d", options.stdio_forward_host,
crypto/openssh/ssh.c
1974
options.stdio_forward_port);
crypto/openssh/ssh.c
1979
if ((c = channel_connect_stdio_fwd(ssh, options.stdio_forward_host,
crypto/openssh/ssh.c
1980
options.stdio_forward_port, in, out,
crypto/openssh/ssh.c
2030
options.permitted_remote_opens,
crypto/openssh/ssh.c
2031
options.num_permitted_remote_opens);
crypto/openssh/ssh.c
2033
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2036
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/ssh.c
2039
(options.local_forwards[i].listen_path != NULL) ?
crypto/openssh/ssh.c
2040
options.local_forwards[i].listen_path :
crypto/openssh/ssh.c
2041
(options.local_forwards[i].listen_host == NULL) ?
crypto/openssh/ssh.c
2042
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/ssh.c
2043
options.local_forwards[i].listen_host,
crypto/openssh/ssh.c
2044
options.local_forwards[i].listen_port,
crypto/openssh/ssh.c
2045
(options.local_forwards[i].connect_path != NULL) ?
crypto/openssh/ssh.c
2046
options.local_forwards[i].connect_path :
crypto/openssh/ssh.c
2047
options.local_forwards[i].connect_host,
crypto/openssh/ssh.c
2048
options.local_forwards[i].connect_port);
crypto/openssh/ssh.c
2050
&options.local_forwards[i], &options.fwd_opts);
crypto/openssh/ssh.c
2052
if (i > 0 && success != i && options.exit_on_forward_failure)
crypto/openssh/ssh.c
2058
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/ssh.c
2061
(options.remote_forwards[i].listen_path != NULL) ?
crypto/openssh/ssh.c
2062
options.remote_forwards[i].listen_path :
crypto/openssh/ssh.c
2063
(options.remote_forwards[i].listen_host == NULL) ?
crypto/openssh/ssh.c
2064
"LOCALHOST" : options.remote_forwards[i].listen_host,
crypto/openssh/ssh.c
2065
options.remote_forwards[i].listen_port,
crypto/openssh/ssh.c
2066
(options.remote_forwards[i].connect_path != NULL) ?
crypto/openssh/ssh.c
2067
options.remote_forwards[i].connect_path :
crypto/openssh/ssh.c
2068
options.remote_forwards[i].connect_host,
crypto/openssh/ssh.c
2069
options.remote_forwards[i].connect_port);
crypto/openssh/ssh.c
2070
if ((options.remote_forwards[i].handle =
crypto/openssh/ssh.c
2072
&options.remote_forwards[i])) >= 0) {
crypto/openssh/ssh.c
2075
&options.remote_forwards[i]);
crypto/openssh/ssh.c
2077
} else if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2084
if (options.tun_open != SSH_TUNMODE_NO) {
crypto/openssh/ssh.c
2086
options.tun_open, options.tun_local,
crypto/openssh/ssh.c
2087
options.tun_remote, ssh_tun_confirm, NULL)) != NULL)
crypto/openssh/ssh.c
2089
else if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2105
if (options.forward_agent) {
crypto/openssh/ssh.c
2108
options.forward_agent = 0;
crypto/openssh/ssh.c
2127
if (display == NULL && options.forward_x11)
crypto/openssh/ssh.c
2129
if (options.forward_x11 && client_x11_get_proto(ssh, display,
crypto/openssh/ssh.c
2130
options.xauth_location, options.forward_x11_trusted,
crypto/openssh/ssh.c
2131
options.forward_x11_timeout, &proto, &data) == 0) {
crypto/openssh/ssh.c
2143
if (options.forward_agent) {
crypto/openssh/ssh.c
2152
options.ip_qos_interactive, options.ip_qos_bulk);
crypto/openssh/ssh.c
2154
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/ssh.c
2155
options.num_setenv)) == NULL || *term == '\0')
crypto/openssh/ssh.c
2158
options.session_type == SESSION_TYPE_SUBSYSTEM, term,
crypto/openssh/ssh.c
2169
if (options.stdin_null) {
crypto/openssh/ssh.c
2194
if (options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
2208
if (!options.control_persist)
crypto/openssh/ssh.c
2213
if (options.local_command != NULL) {
crypto/openssh/ssh.c
2214
debug3("expanding LocalCommand: %s", options.local_command);
crypto/openssh/ssh.c
2215
cp = options.local_command;
crypto/openssh/ssh.c
2216
options.local_command = percent_expand(cp,
crypto/openssh/ssh.c
2220
debug3("expanded LocalCommand: %s", options.local_command);
crypto/openssh/ssh.c
2237
if (options.control_persist && muxserver_sock != -1) {
crypto/openssh/ssh.c
2238
ostdin_null_flag = options.stdin_null;
crypto/openssh/ssh.c
2239
osession_type = options.session_type;
crypto/openssh/ssh.c
2240
orequest_tty = options.request_tty;
crypto/openssh/ssh.c
2242
ofork_after_authentication = options.fork_after_authentication;
crypto/openssh/ssh.c
2243
options.stdin_null = 1;
crypto/openssh/ssh.c
2244
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
2247
options.stdio_forward_host != NULL))
crypto/openssh/ssh.c
2249
options.fork_after_authentication = 1;
crypto/openssh/ssh.c
2255
if (options.control_persist && muxserver_sock == -1)
crypto/openssh/ssh.c
2258
if (options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
2261
interactive = options.control_master == SSHCTL_MASTER_NO;
crypto/openssh/ssh.c
2266
options.ip_qos_interactive, options.ip_qos_bulk);
crypto/openssh/ssh.c
2270
if (options.control_master == SSHCTL_MASTER_NO &&
crypto/openssh/ssh.c
2282
if (options.local_command != NULL &&
crypto/openssh/ssh.c
2283
options.permit_local_command)
crypto/openssh/ssh.c
2284
ssh_local_cmd(options.local_command);
crypto/openssh/ssh.c
2299
if (options.fork_after_authentication) {
crypto/openssh/ssh.c
2300
if (options.exit_on_forward_failure &&
crypto/openssh/ssh.c
2301
options.num_remote_forwards > 0) {
crypto/openssh/ssh.c
2309
options.escape_char : SSH_ESCAPECHAR_NONE, id);
crypto/openssh/ssh.c
2343
if (options.pkcs11_provider != NULL &&
crypto/openssh/ssh.c
2344
options.num_identity_files < SSH_MAX_IDENTITY_FILES &&
crypto/openssh/ssh.c
2345
(pkcs11_init(!options.batch_mode) == 0) &&
crypto/openssh/ssh.c
2346
(nkeys = pkcs11_add_provider(options.pkcs11_provider, NULL,
crypto/openssh/ssh.c
2362
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/ssh.c
2364
strcasecmp(options.identity_files[i], "none") == 0) {
crypto/openssh/ssh.c
2365
free(options.identity_files[i]);
crypto/openssh/ssh.c
2366
options.identity_files[i] = NULL;
crypto/openssh/ssh.c
2369
cp = tilde_expand_filename(options.identity_files[i], getuid());
crypto/openssh/ssh.c
2376
free(options.identity_files[i]);
crypto/openssh/ssh.c
2380
options.identity_file_userprovided[i];
crypto/openssh/ssh.c
2388
if (options.num_certificate_files != 0)
crypto/openssh/ssh.c
2410
options.identity_file_userprovided[i];
crypto/openssh/ssh.c
2414
if (options.num_certificate_files > SSH_MAX_CERTIFICATE_FILES)
crypto/openssh/ssh.c
2416
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/ssh.c
2417
cp = tilde_expand_filename(options.certificate_files[i],
crypto/openssh/ssh.c
2426
free(options.certificate_files[i]);
crypto/openssh/ssh.c
2427
options.certificate_files[i] = NULL;
crypto/openssh/ssh.c
2442
options.certificate_file_userprovided[i];
crypto/openssh/ssh.c
2446
options.num_identity_files = n_ids;
crypto/openssh/ssh.c
2447
memcpy(options.identity_files, identity_files, sizeof(identity_files));
crypto/openssh/ssh.c
2448
memcpy(options.identity_keys, identity_keys, sizeof(identity_keys));
crypto/openssh/ssh.c
2449
memcpy(options.identity_file_userprovided,
crypto/openssh/ssh.c
2452
options.num_certificate_files = n_certs;
crypto/openssh/ssh.c
2453
memcpy(options.certificate_files,
crypto/openssh/ssh.c
2455
memcpy(options.certificates, certificates, sizeof(certificates));
crypto/openssh/ssh.c
2456
memcpy(options.certificate_file_userprovided,
crypto/openssh/ssh.c
269
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
270
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
315
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
316
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
346
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
347
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
392
if (*cname == '\0' || !config_has_permitted_cnames(&options) ||
crypto/openssh/ssh.c
395
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
crypto/openssh/ssh.c
402
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
crypto/openssh/ssh.c
405
for (i = 0; i < options.num_permitted_cnames; i++) {
crypto/openssh/ssh.c
406
rule = options.permitted_cnames + i;
crypto/openssh/ssh.c
458
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
crypto/openssh/ssh.c
465
direct = option_clear_or_none(options.proxy_command) &&
crypto/openssh/ssh.c
466
option_clear_or_none(options.jump_host);
crypto/openssh/ssh.c
468
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
crypto/openssh/ssh.c
488
if (ndots > options.canonicalize_max_dots) {
crypto/openssh/ssh.c
490
*hostp, options.canonicalize_max_dots);
crypto/openssh/ssh.c
494
for (i = 0; i < options.num_canonical_domains; i++) {
crypto/openssh/ssh.c
495
if (strcasecmp(options.canonical_domains[i], "none") == 0)
crypto/openssh/ssh.c
498
options.canonical_domains[i]);
crypto/openssh/ssh.c
518
if (!options.canonicalize_fallback_local)
crypto/openssh/ssh.c
536
options.required_rsa_size)) != 0) {
crypto/openssh/ssh.c
569
!read_config_file(config, pw, host, host_name, &options,
crypto/openssh/ssh.c
579
&options, SSHCONF_CHECKPERM | SSHCONF_USERCONF |
crypto/openssh/ssh.c
584
host, host_name, &options,
crypto/openssh/ssh.c
732
initialize_options(&options);
crypto/openssh/ssh.c
758
options.address_family = AF_INET;
crypto/openssh/ssh.c
761
options.address_family = AF_INET6;
crypto/openssh/ssh.c
764
options.stdin_null = 1;
crypto/openssh/ssh.c
767
options.fork_after_authentication = 1;
crypto/openssh/ssh.c
768
options.stdin_null = 1;
crypto/openssh/ssh.c
771
options.forward_x11 = 0;
crypto/openssh/ssh.c
774
options.forward_x11 = 1;
crypto/openssh/ssh.c
786
options.forward_x11 = 1;
crypto/openssh/ssh.c
787
options.forward_x11_trusted = 1;
crypto/openssh/ssh.c
790
options.fwd_opts.gateway_ports = 1;
crypto/openssh/ssh.c
793
if (options.stdio_forward_host != NULL)
crypto/openssh/ssh.c
814
if (options.tag == NULL)
crypto/openssh/ssh.c
815
options.tag = xstrdup(optarg);
crypto/openssh/ssh.c
870
options.forward_agent = 0;
crypto/openssh/ssh.c
873
options.forward_agent = 1;
crypto/openssh/ssh.c
876
options.gss_deleg_creds = 0;
crypto/openssh/ssh.c
879
options.gss_authentication = 1;
crypto/openssh/ssh.c
880
options.gss_deleg_creds = 1;
crypto/openssh/ssh.c
889
add_identity_file(&options, NULL, p, 1);
crypto/openssh/ssh.c
894
free(options.pkcs11_provider);
crypto/openssh/ssh.c
895
options.pkcs11_provider = xstrdup(optarg);
crypto/openssh/ssh.c
901
if (options.jump_host != NULL) {
crypto/openssh/ssh.c
906
if (options.proxy_command != NULL)
crypto/openssh/ssh.c
908
if (parse_jump(optarg, &options, 1) == -1)
crypto/openssh/ssh.c
910
options.proxy_command = xstrdup("none");
crypto/openssh/ssh.c
913
if (options.request_tty == REQUEST_TTY_YES)
crypto/openssh/ssh.c
914
options.request_tty = REQUEST_TTY_FORCE;
crypto/openssh/ssh.c
916
options.request_tty = REQUEST_TTY_YES;
crypto/openssh/ssh.c
921
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/ssh.c
923
if (options.log_level < SYSLOG_LEVEL_DEBUG3) {
crypto/openssh/ssh.c
925
options.log_level++;
crypto/openssh/ssh.c
935
if (options.tun_open == -1)
crypto/openssh/ssh.c
936
options.tun_open = SSH_TUNMODE_DEFAULT;
crypto/openssh/ssh.c
937
options.tun_local = a2tun(optarg, &options.tun_remote);
crypto/openssh/ssh.c
938
if (options.tun_local == SSH_TUNID_ERR) {
crypto/openssh/ssh.c
945
if (options.stdio_forward_host != NULL)
crypto/openssh/ssh.c
950
options.stdio_forward_host =
crypto/openssh/ssh.c
953
options.stdio_forward_port = fwd.listen_port;
crypto/openssh/ssh.c
961
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
962
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
965
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/ssh.c
971
options.escape_char = (u_char) optarg[1] & 31;
crypto/openssh/ssh.c
973
options.escape_char = (u_char) optarg[0];
crypto/openssh/ssh.c
975
options.escape_char = SSH_ESCAPECHAR_NONE;
crypto/openssh/ssh.c
989
free(options.ciphers);
crypto/openssh/ssh.c
990
options.ciphers = xstrdup(optarg);
crypto/openssh/ssh.c
994
free(options.macs);
crypto/openssh/ssh.c
995
options.macs = xstrdup(optarg);
crypto/openssh/sshconnect.c
1016
if (options.check_host_ip && (local ||
crypto/openssh/sshconnect.c
1017
strcmp(hostname, ip) == 0 || options.proxy_command != NULL))
crypto/openssh/sshconnect.c
1018
options.check_host_ip = 0;
crypto/openssh/sshconnect.c
103
"r", options.user,
crypto/openssh/sshconnect.c
1031
if (!want_cert && options.check_host_ip) {
crypto/openssh/sshconnect.c
1094
options.host_key_alias == NULL ?
crypto/openssh/sshconnect.c
1095
hostname : options.host_key_alias, 0,
crypto/openssh/sshconnect.c
1096
options.ca_sign_algorithms, &fail_reason) != 0) {
crypto/openssh/sshconnect.c
1104
if (options.update_hostkeys != 0) {
crypto/openssh/sshconnect.c
1105
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1111
if (options.update_hostkeys != 0 &&
crypto/openssh/sshconnect.c
1117
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1121
if (options.update_hostkeys != 0 && host_found->note) {
crypto/openssh/sshconnect.c
1122
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1126
if (options.check_host_ip && ip_status == HOST_NEW) {
crypto/openssh/sshconnect.c
1132
host_key, options.hash_known_hosts))
crypto/openssh/sshconnect.c
1141
} else if (options.visual_host_key) {
crypto/openssh/sshconnect.c
1143
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1145
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1155
if (options.host_key_alias == NULL && port != 0 &&
crypto/openssh/sshconnect.c
1170
if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
1180
} else if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
1194
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1196
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1201
if (options.visual_host_key)
crypto/openssh/sshconnect.c
1203
if (options.verify_host_key_dns) {
crypto/openssh/sshconnect.c
1232
if (options.check_host_ip && ip_status == HOST_NEW) {
crypto/openssh/sshconnect.c
1235
if (options.hash_known_hosts) {
crypto/openssh/sshconnect.c
1238
host, host_key, options.hash_known_hosts) &&
crypto/openssh/sshconnect.c
1240
host_key, options.hash_known_hosts);
crypto/openssh/sshconnect.c
1245
options.hash_known_hosts);
crypto/openssh/sshconnect.c
1249
host_key, options.hash_known_hosts);
crypto/openssh/sshconnect.c
1272
if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
129
command_string = expand_proxy_command(proxy_command, options.user,
crypto/openssh/sshconnect.c
1294
if (options.check_host_ip && host_ip_differ) {
crypto/openssh/sshconnect.c
1329
if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
1342
if (options.password_authentication) {
crypto/openssh/sshconnect.c
1345
options.password_authentication = 0;
crypto/openssh/sshconnect.c
1348
if (options.kbd_interactive_authentication) {
crypto/openssh/sshconnect.c
1351
options.kbd_interactive_authentication = 0;
crypto/openssh/sshconnect.c
1354
if (options.forward_agent) {
crypto/openssh/sshconnect.c
1357
options.forward_agent = 0;
crypto/openssh/sshconnect.c
1360
if (options.forward_x11) {
crypto/openssh/sshconnect.c
1363
options.forward_x11 = 0;
crypto/openssh/sshconnect.c
1366
if (options.num_local_forwards > 0 ||
crypto/openssh/sshconnect.c
1367
options.num_remote_forwards > 0) {
crypto/openssh/sshconnect.c
1370
options.num_local_forwards =
crypto/openssh/sshconnect.c
1371
options.num_remote_forwards = 0;
crypto/openssh/sshconnect.c
1374
if (options.tun_open != SSH_TUNMODE_NO) {
crypto/openssh/sshconnect.c
1377
options.tun_open = SSH_TUNMODE_NO;
crypto/openssh/sshconnect.c
1380
if (options.update_hostkeys != 0) {
crypto/openssh/sshconnect.c
1383
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1385
if (options.exit_on_forward_failure && cancelled_forwarding)
crypto/openssh/sshconnect.c
1402
if (options.check_host_ip && host_status != HOST_CHANGED &&
crypto/openssh/sshconnect.c
1415
if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
1421
} else if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
1431
if (!hostkey_trusted && options.update_hostkeys) {
crypto/openssh/sshconnect.c
1434
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1480
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/sshconnect.c
1488
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/sshconnect.c
1518
if (options.revoked_host_keys != NULL) {
crypto/openssh/sshconnect.c
1519
r = sshkey_check_revoked(host_key, options.revoked_host_keys);
crypto/openssh/sshconnect.c
1526
options.revoked_host_keys);
crypto/openssh/sshconnect.c
1532
fp, options.revoked_host_keys);
crypto/openssh/sshconnect.c
1538
if (options.verify_host_key_dns) {
crypto/openssh/sshconnect.c
154
if (!debug_flag && options.control_path != NULL &&
crypto/openssh/sshconnect.c
1549
if (options.verify_host_key_dns == 1 &&
crypto/openssh/sshconnect.c
155
options.control_persist && stdfd_devnull(0, 0, 1) == -1)
crypto/openssh/sshconnect.c
1566
r = check_host_key(host, cinfo, hostaddr, options.port, host_key,
crypto/openssh/sshconnect.c
1567
RDRW, 0, options.user_hostfiles, options.num_user_hostfiles,
crypto/openssh/sshconnect.c
1568
options.system_hostfiles, options.num_system_hostfiles,
crypto/openssh/sshconnect.c
1569
options.known_hosts_command);
crypto/openssh/sshconnect.c
1600
server_user = options.user ? options.user : local_user;
crypto/openssh/sshconnect.c
1647
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1649
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1658
if (options.visual_host_key)
crypto/openssh/sshconnect.c
1672
fp = sshkey_fingerprint(host_key, options.fingerprint_hash,
crypto/openssh/sshconnect.c
1701
if (!options.permit_local_command ||
crypto/openssh/sshconnect.c
1737
if (options.add_keys_to_agent == 0)
crypto/openssh/sshconnect.c
1745
if (options.add_keys_to_agent == 2 &&
crypto/openssh/sshconnect.c
1752
skprovider = options.sk_provider;
crypto/openssh/sshconnect.c
1755
options.add_keys_to_agent_lifespan,
crypto/openssh/sshconnect.c
1756
(options.add_keys_to_agent == 3), 0, skprovider, NULL, 0)) == 0)
crypto/openssh/sshconnect.c
212
command_string = expand_proxy_command(proxy_command, options.user,
crypto/openssh/sshconnect.c
237
if (!debug_flag && options.control_path != NULL &&
crypto/openssh/sshconnect.c
238
options.control_persist && stdfd_devnull(0, 0, 1) == -1)
crypto/openssh/sshconnect.c
311
strcmp(ifa->ifa_name, options.bind_interface) != 0)
crypto/openssh/sshconnect.c
370
if (options.ip_qos_interactive != INT_MAX)
crypto/openssh/sshconnect.c
371
set_sock_tos(sock, options.ip_qos_interactive);
crypto/openssh/sshconnect.c
374
if (options.bind_address == NULL && options.bind_interface == NULL)
crypto/openssh/sshconnect.c
377
if (options.bind_address != NULL) {
crypto/openssh/sshconnect.c
383
if ((r = getaddrinfo(options.bind_address, NULL,
crypto/openssh/sshconnect.c
385
error("getaddrinfo: %s: %s", options.bind_address,
crypto/openssh/sshconnect.c
395
} else if (options.bind_interface != NULL) {
crypto/openssh/sshconnect.c
398
error("getifaddrs: %s: %s", options.bind_interface,
crypto/openssh/sshconnect.c
403
if (check_ifaddrs(options.bind_interface, ai->ai_family,
crypto/openssh/sshconnect.c
406
options.bind_interface);
crypto/openssh/sshconnect.c
485
if (options.address_family != AF_UNSPEC &&
crypto/openssh/sshconnect.c
486
ai->ai_family != options.address_family) {
crypto/openssh/sshconnect.c
552
if (options.proxy_command == NULL) {
crypto/openssh/sshconnect.c
555
} else if (strcmp(options.proxy_command, "-") == 0) {
crypto/openssh/sshconnect.c
566
} else if (options.proxy_use_fdpass) {
crypto/openssh/sshconnect.c
568
options.proxy_command);
crypto/openssh/sshconnect.c
571
options.proxy_command);
crypto/openssh/sshconnect.c
583
if (options.batch_mode)
crypto/openssh/sshconnect.c
648
if (options.proxy_command == NULL) {
crypto/openssh/sshconnect.c
666
if (options.host_key_alias != NULL) {
crypto/openssh/sshconnect.c
667
*hostfile_hostname = xstrdup(options.host_key_alias);
crypto/openssh/sshconnect.c
729
const char *hostkeyalgs = options.hostkeyalgorithms;
crypto/openssh/sshconnect.c
81
extern Options options;
crypto/openssh/sshconnect.c
887
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/sshconnect.c
93
const char *keyalias = options.host_key_alias ?
crypto/openssh/sshconnect.c
94
options.host_key_alias : host_arg;
crypto/openssh/sshconnect.c
986
if (options.no_host_authentication_for_localhost == 1 && local &&
crypto/openssh/sshconnect.c
987
options.host_key_alias == NULL) {
crypto/openssh/sshconnect.c
990
options.update_hostkeys = 0;
crypto/openssh/sshconnect2.c
1035
const char *host = options.host_key_alias ? options.host_key_alias :
crypto/openssh/sshconnect2.c
1039
if (authctxt->attempt_passwd++ >= options.number_of_password_prompts)
crypto/openssh/sshconnect2.c
1084
host = options.host_key_alias ? options.host_key_alias : authctxt->host;
crypto/openssh/sshconnect2.c
1167
options.pubkey_accepted_algos, NULL);
crypto/openssh/sshconnect2.c
1184
oallowed = allowed = xstrdup(options.pubkey_accepted_algos);
crypto/openssh/sshconnect2.c
1244
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/sshconnect2.c
1246
notifier = notify_start(options.batch_mode,
crypto/openssh/sshconnect2.c
1252
alg, options.sk_provider, pin, compat)) != 0) {
crypto/openssh/sshconnect2.c
1321
(options.pubkey_authentication & SSH_PUBKEY_AUTH_HBOUND) != 0) {
crypto/openssh/sshconnect2.c
1326
if ((fp = sshkey_fingerprint(id->key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
133
for (i = 0; i < options.num_user_hostfiles; i++)
crypto/openssh/sshconnect2.c
134
load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0);
crypto/openssh/sshconnect2.c
135
for (i = 0; i < options.num_system_hostfiles; i++) {
crypto/openssh/sshconnect2.c
137
options.system_hostfiles[i], 0);
crypto/openssh/sshconnect2.c
139
if (options.known_hosts_command != NULL) {
crypto/openssh/sshconnect2.c
140
load_hostkeys_command(hostkeys, options.known_hosts_command,
crypto/openssh/sshconnect2.c
150
best = first_alg(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1533
for (i = 0; i <= options.number_of_password_prompts; i++) {
crypto/openssh/sshconnect2.c
1549
if (options.batch_mode) {
crypto/openssh/sshconnect2.c
156
ret = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1569
options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1577
options.required_rsa_size)) != 0) {
crypto/openssh/sshconnect2.c
1600
options.pubkey_accepted_algos, 0) == 1)
crypto/openssh/sshconnect2.c
1607
options.pubkey_accepted_algos, 0) == 1)
crypto/openssh/sshconnect2.c
1610
options.pubkey_accepted_algos, 0) == 1)
crypto/openssh/sshconnect2.c
1615
options.pubkey_accepted_algos, 0) == 1)
crypto/openssh/sshconnect2.c
1618
options.pubkey_accepted_algos, 0) == 1)
crypto/openssh/sshconnect2.c
164
oavail = avail = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1681
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/sshconnect2.c
1682
key = options.identity_keys[i];
crypto/openssh/sshconnect2.c
1686
"certificate", options.identity_files[i]);
crypto/openssh/sshconnect2.c
1689
if (key && sshkey_is_sk(key) && options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1692
options.identity_files[i]);
crypto/openssh/sshconnect2.c
1695
options.identity_keys[i] = NULL;
crypto/openssh/sshconnect2.c
1699
id->filename = xstrdup(options.identity_files[i]);
crypto/openssh/sshconnect2.c
1700
id->userprovided = options.identity_file_userprovided[i];
crypto/openssh/sshconnect2.c
1704
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/sshconnect2.c
1705
key = options.certificates[i];
crypto/openssh/sshconnect2.c
1709
"certificate", options.identity_files[i]);
crypto/openssh/sshconnect2.c
1712
if (key && sshkey_is_sk(key) && options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1716
options.identity_files[i]);
crypto/openssh/sshconnect2.c
1722
id->filename = xstrdup(options.certificate_files[i]);
crypto/openssh/sshconnect2.c
1723
id->userprovided = options.certificate_file_userprovided[i];
crypto/openssh/sshconnect2.c
1730
options.required_rsa_size)) != 0) {
crypto/openssh/sshconnect2.c
1749
if (!found && !options.identities_only) {
crypto/openssh/sshconnect2.c
1782
if (!found && options.identities_only) {
crypto/openssh/sshconnect2.c
1911
if (authctxt->attempt_kbdint++ >= options.number_of_password_prompts)
crypto/openssh/sshconnect2.c
1926
(r = sshpkt_put_cstring(ssh, options.kbd_interactive_devices ?
crypto/openssh/sshconnect2.c
1927
options.kbd_interactive_devices : "")) != 0 ||
crypto/openssh/sshconnect2.c
1982
authctxt->server_user, options.host_key_alias ?
crypto/openssh/sshconnect2.c
1983
options.host_key_alias : authctxt->host, prompt) == -1)
crypto/openssh/sshconnect2.c
2137
authctxt->oktypes = xstrdup(options.hostbased_accepted_algos);
crypto/openssh/sshconnect2.c
2182
if ((fp = sshkey_fingerprint(private, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
229
if (options.rekey_limit || options.rekey_interval)
crypto/openssh/sshconnect2.c
230
ssh_packet_set_rekey_limits(ssh, options.rekey_limit,
crypto/openssh/sshconnect2.c
231
options.rekey_interval);
crypto/openssh/sshconnect2.c
2310
authlist = options.preferred_authentications;
crypto/openssh/sshconnect2.c
2316
preferred = options.preferred_authentications;
crypto/openssh/sshconnect2.c
238
if (options.hostkeyalgorithms == NULL ||
crypto/openssh/sshconnect2.c
239
options.hostkeyalgorithms[0] == '-' ||
crypto/openssh/sshconnect2.c
240
options.hostkeyalgorithms[0] == '+')
crypto/openssh/sshconnect2.c
245
if ((r = kex_assemble_names(&options.hostkeyalgorithms,
crypto/openssh/sshconnect2.c
254
options.kex_algorithms, options.ciphers, options.macs,
crypto/openssh/sshconnect2.c
255
compression_alg_list(options.compression),
crypto/openssh/sshconnect2.c
256
hkalgs ? hkalgs : options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
390
&options.gss_authentication,
crypto/openssh/sshconnect2.c
396
&options.hostbased_authentication,
crypto/openssh/sshconnect2.c
401
&options.pubkey_authentication,
crypto/openssh/sshconnect2.c
406
&options.kbd_interactive_authentication,
crypto/openssh/sshconnect2.c
407
&options.batch_mode},
crypto/openssh/sshconnect2.c
411
&options.password_authentication,
crypto/openssh/sshconnect2.c
412
&options.batch_mode},
crypto/openssh/sshconnect2.c
428
if (options.preferred_authentications == NULL)
crypto/openssh/sshconnect2.c
429
options.preferred_authentications = authmethods_get();
crypto/openssh/sshconnect2.c
578
if (len > 0 && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/sshconnect2.c
660
fp = sshkey_fingerprint(id->key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
726
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
827
status = ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds,
crypto/openssh/sshconnect2.c
83
extern Options options;
crypto/openssh/sshconnect2.c
984
(void)ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds,
crypto/openssh/sshconnect2.c
99
options.required_rsa_size)) != 0)
crypto/openssh/sshd-session.c
1008
if (process_server_config_line(&options, line,
crypto/openssh/sshd-session.c
1056
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/sshd-session.c
1057
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/sshd-session.c
1058
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/sshd-session.c
1059
SYSLOG_FACILITY_AUTH : options.log_facility,
crypto/openssh/sshd-session.c
1070
parse_server_config(&options, "rexec", cfg, &includes, NULL, 1);
crypto/openssh/sshd-session.c
1072
fill_default_server_options(&options);
crypto/openssh/sshd-session.c
1073
options.timing_secret = timing_secret;
crypto/openssh/sshd-session.c
1078
if (privsep_chroot || options.kerberos_authentication)
crypto/openssh/sshd-session.c
1099
if (options.authorized_keys_command_user == NULL &&
crypto/openssh/sshd-session.c
1100
(options.authorized_keys_command != NULL &&
crypto/openssh/sshd-session.c
1101
strcasecmp(options.authorized_keys_command, "none") != 0))
crypto/openssh/sshd-session.c
1104
if (options.authorized_principals_command_user == NULL &&
crypto/openssh/sshd-session.c
1105
(options.authorized_principals_command != NULL &&
crypto/openssh/sshd-session.c
1106
strcasecmp(options.authorized_principals_command, "none") != 0))
crypto/openssh/sshd-session.c
1116
if (options.num_auth_methods != 0) {
crypto/openssh/sshd-session.c
1117
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/sshd-session.c
1118
if (auth2_methods_valid(options.auth_methods[i],
crypto/openssh/sshd-session.c
1122
if (i >= options.num_auth_methods)
crypto/openssh/sshd-session.c
1128
if (options.moduli_file != NULL)
crypto/openssh/sshd-session.c
1129
dh_set_moduli_file(options.moduli_file);
crypto/openssh/sshd-session.c
1132
if (options.host_key_agent) {
crypto/openssh/sshd-session.c
1133
if (strcmp(options.host_key_agent, SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/sshd-session.c
1135
options.host_key_agent, 1);
crypto/openssh/sshd-session.c
1140
options.host_key_agent);
crypto/openssh/sshd-session.c
1143
if (options.num_host_key_files != sensitive_data.num_hostkeys) {
crypto/openssh/sshd-session.c
1145
options.num_host_key_files, sensitive_data.num_hostkeys);
crypto/openssh/sshd-session.c
1148
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
1165
log_init(__progname, options.log_level,
crypto/openssh/sshd-session.c
1166
options.log_facility, log_stderr);
crypto/openssh/sshd-session.c
1167
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/sshd-session.c
1168
log_verbose_add(options.log_verbose[i]);
crypto/openssh/sshd-session.c
1171
log_init(__progname, options.log_level, options.log_facility, log_stderr);
crypto/openssh/sshd-session.c
122
ServerOptions options;
crypto/openssh/sshd-session.c
1233
channel_set_af(ssh, options.address_family);
crypto/openssh/sshd-session.c
1238
if (options.tcp_keep_alive && ssh_packet_connection_is_on_socket(ssh) &&
crypto/openssh/sshd-session.c
1279
alarm(options.login_grace_time);
crypto/openssh/sshd-session.c
1282
options.version_addendum)) != 0)
crypto/openssh/sshd-session.c
1333
if (options.routing_domain != NULL)
crypto/openssh/sshd-session.c
1334
set_process_rdomain(ssh, options.routing_domain);
crypto/openssh/sshd-session.c
1341
if (options.gss_authentication) {
crypto/openssh/sshd-session.c
1348
if (options.use_pam) {
crypto/openssh/sshd-session.c
1361
ssh_packet_set_timeout(ssh, options.client_alive_interval,
crypto/openssh/sshd-session.c
1362
options.client_alive_count_max);
crypto/openssh/sshd-session.c
1378
if (options.use_pam)
crypto/openssh/sshd-session.c
1400
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-session.c
1405
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-session.c
1421
if (options.rekey_limit || options.rekey_interval)
crypto/openssh/sshd-session.c
1422
ssh_packet_set_rekey_limits(ssh, options.rekey_limit,
crypto/openssh/sshd-session.c
1423
options.rekey_interval);
crypto/openssh/sshd-session.c
1425
if (options.compression == COMP_NONE)
crypto/openssh/sshd-session.c
1429
kex_proposal_populate_entries(ssh, myproposal, options.kex_algorithms,
crypto/openssh/sshd-session.c
1430
options.ciphers, options.macs, compression, hkalgs);
crypto/openssh/sshd-session.c
1437
kex_set_server_sig_algs(ssh, options.pubkey_accepted_algos);
crypto/openssh/sshd-session.c
230
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
250
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
451
if (match_pattern_list(s, options.hostkeyalgorithms, 0) != 1) {
crypto/openssh/sshd-session.c
469
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
525
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
575
if (ind < 0 || (u_int)ind >= options.num_host_key_files)
crypto/openssh/sshd-session.c
583
if (ind < 0 || (u_int)ind >= options.num_host_key_files)
crypto/openssh/sshd-session.c
593
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
630
for (i = nkeys = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
635
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/sshd-session.c
910
initialize_server_options(&options);
crypto/openssh/sshd-session.c
917
options.address_family = AF_INET;
crypto/openssh/sshd-session.c
920
options.address_family = AF_INET6;
crypto/openssh/sshd-session.c
927
&options, optarg);
crypto/openssh/sshd-session.c
932
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/sshd-session.c
933
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3)
crypto/openssh/sshd-session.c
934
options.log_level++;
crypto/openssh/sshd-session.c
958
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/sshd-session.c
964
options.ports_from_cmdline = 1;
crypto/openssh/sshd-session.c
965
if (options.num_ports >= MAX_PORTS) {
crypto/openssh/sshd-session.c
969
options.ports[options.num_ports++] = a2port(optarg);
crypto/openssh/sshd-session.c
970
if (options.ports[options.num_ports-1] <= 0) {
crypto/openssh/sshd-session.c
976
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd-session.c
986
&options, optarg, 1);
crypto/openssh/sshd.c
104
ServerOptions options;
crypto/openssh/sshd.c
1080
options.log_level,
crypto/openssh/sshd.c
1081
options.log_facility,
crypto/openssh/sshd.c
1139
options.timing_secret = PEEK_U64(hash);
crypto/openssh/sshd.c
1170
parse_server_match_config(&options, &includes, connection_info);
crypto/openssh/sshd.c
1171
dump_config(&options);
crypto/openssh/sshd.c
1228
initialize_server_options(&options);
crypto/openssh/sshd.c
1235
options.address_family = AF_INET;
crypto/openssh/sshd.c
1238
options.address_family = AF_INET6;
crypto/openssh/sshd.c
1245
&options, optarg);
crypto/openssh/sshd.c
1250
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/sshd.c
1251
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3)
crypto/openssh/sshd.c
1252
options.log_level++;
crypto/openssh/sshd.c
1279
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/sshd.c
1285
options.ports_from_cmdline = 1;
crypto/openssh/sshd.c
1286
if (options.num_ports >= MAX_PORTS) {
crypto/openssh/sshd.c
1290
options.ports[options.num_ports++] = a2port(optarg);
crypto/openssh/sshd.c
1291
if (options.ports[options.num_ports-1] <= 0) {
crypto/openssh/sshd.c
1297
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd.c
1307
&options, optarg, 1);
crypto/openssh/sshd.c
1330
if (process_server_config_line(&options, line,
crypto/openssh/sshd.c
1377
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/sshd.c
1378
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/sshd.c
1379
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/sshd.c
1380
SYSLOG_FACILITY_AUTH : options.log_facility,
crypto/openssh/sshd.c
1406
parse_server_config(&options, config_file_name, cfg,
crypto/openssh/sshd.c
1410
fill_default_server_options(&options);
crypto/openssh/sshd.c
1413
if (options.authorized_keys_command_user == NULL &&
crypto/openssh/sshd.c
1414
(options.authorized_keys_command != NULL &&
crypto/openssh/sshd.c
1415
strcasecmp(options.authorized_keys_command, "none") != 0))
crypto/openssh/sshd.c
1418
if (options.authorized_principals_command_user == NULL &&
crypto/openssh/sshd.c
1419
(options.authorized_principals_command != NULL &&
crypto/openssh/sshd.c
1420
strcasecmp(options.authorized_principals_command, "none") != 0))
crypto/openssh/sshd.c
1430
if (options.num_auth_methods != 0) {
crypto/openssh/sshd.c
1431
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/sshd.c
1432
if (auth2_methods_valid(options.auth_methods[i],
crypto/openssh/sshd.c
1436
if (i >= options.num_auth_methods)
crypto/openssh/sshd.c
1453
sensitive_data.host_keys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1455
sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1458
if (options.host_key_agent) {
crypto/openssh/sshd.c
1459
if (strcmp(options.host_key_agent, SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/sshd.c
1461
options.host_key_agent, 1);
crypto/openssh/sshd.c
1466
options.host_key_agent);
crypto/openssh/sshd.c
1469
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd.c
1470
int ll = options.host_key_file_userprovided[i] ?
crypto/openssh/sshd.c
1473
if (options.host_key_files[i] == NULL)
crypto/openssh/sshd.c
1475
if ((r = sshkey_load_private(options.host_key_files[i], "",
crypto/openssh/sshd.c
1478
options.host_key_files[i]);
crypto/openssh/sshd.c
1482
options.host_key_files[i]);
crypto/openssh/sshd.c
1488
options.host_key_files[i]);
crypto/openssh/sshd.c
1492
if ((r = sshkey_load_public(options.host_key_files[i],
crypto/openssh/sshd.c
1495
options.host_key_files[i]);
crypto/openssh/sshd.c
1499
"private key", options.host_key_files[i]);
crypto/openssh/sshd.c
1507
options.host_key_files[i]);
crypto/openssh/sshd.c
1510
options.required_rsa_size)) != 0) {
crypto/openssh/sshd.c
1511
error_fr(r, "Host key %s", options.host_key_files[i]);
crypto/openssh/sshd.c
1521
options.host_key_files[i]);
crypto/openssh/sshd.c
1528
options.host_key_files[i]);
crypto/openssh/sshd.c
1546
if ((fp = sshkey_fingerprint(pubkey, options.fingerprint_hash,
crypto/openssh/sshd.c
1563
sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1565
for (i = 0; i < options.num_host_key_files; i++)
crypto/openssh/sshd.c
1568
for (i = 0; i < options.num_host_cert_files; i++) {
crypto/openssh/sshd.c
1569
if (options.host_cert_files[i] == NULL)
crypto/openssh/sshd.c
1571
if ((r = sshkey_load_public(options.host_cert_files[i],
crypto/openssh/sshd.c
1574
options.host_cert_files[i]);
crypto/openssh/sshd.c
1579
options.host_cert_files[i]);
crypto/openssh/sshd.c
1584
for (j = 0; j < options.num_host_key_files; j++) {
crypto/openssh/sshd.c
1591
if (j >= options.num_host_key_files) {
crypto/openssh/sshd.c
1593
options.host_cert_files[i]);
crypto/openssh/sshd.c
1604
options.kerberos_authentication);
crypto/openssh/sshd.c
1649
rexec_argv[0] = options.sshd_session_path;
crypto/openssh/sshd.c
1669
log_init(__progname, options.log_level,
crypto/openssh/sshd.c
1670
options.log_facility, log_stderr);
crypto/openssh/sshd.c
1671
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/sshd.c
1672
log_verbose_add(options.log_verbose[i]);
crypto/openssh/sshd.c
1688
log_init(__progname, options.log_level, options.log_facility, log_stderr);
crypto/openssh/sshd.c
1725
if (options.pid_file != NULL && !debug_flag) {
crypto/openssh/sshd.c
1726
FILE *f = fopen(options.pid_file, "w");
crypto/openssh/sshd.c
1730
options.pid_file, strerror(errno));
crypto/openssh/sshd.c
222
children = xcalloc(options.max_startups, sizeof(*children));
crypto/openssh/sshd.c
223
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
240
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
248
" slots full", options.max_startups);
crypto/openssh/sshd.c
269
if (++children_active > options.max_startups)
crypto/openssh/sshd.c
318
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
427
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
441
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
457
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
487
if (options.pid_file != NULL)
crypto/openssh/sshd.c
488
unlink(options.pid_file);
crypto/openssh/sshd.c
533
if (startups < options.max_startups_begin)
crypto/openssh/sshd.c
535
if (startups >= options.max_startups)
crypto/openssh/sshd.c
537
if (options.max_startups_rate == 100)
crypto/openssh/sshd.c
540
p = 100 - options.max_startups_rate;
crypto/openssh/sshd.c
541
p *= startups - options.max_startups_begin;
crypto/openssh/sshd.c
542
p /= options.max_startups - options.max_startups_begin;
crypto/openssh/sshd.c
543
p += options.max_startups_rate;
crypto/openssh/sshd.c
576
startups < options.max_startups_begin - 1) {
crypto/openssh/sshd.c
642
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd.c
716
(r = sshbuf_put_u64(m, options.timing_secret)) != 0 ||
crypto/openssh/sshd.c
817
srclimit_init(options.max_startups,
crypto/openssh/sshd.c
818
options.per_source_max_startups,
crypto/openssh/sshd.c
819
options.per_source_masklen_ipv4,
crypto/openssh/sshd.c
820
options.per_source_masklen_ipv6,
crypto/openssh/sshd.c
821
&options.per_source_penalty,
crypto/openssh/sshd.c
822
options.per_source_penalty_exempt);
crypto/openssh/sshd.c
824
for (i = 0; i < options.num_listen_addrs; i++) {
crypto/openssh/sshd.c
825
listen_on_addrs(&options.listen_addrs[i]);
crypto/openssh/sshd.c
826
freeaddrinfo(options.listen_addrs[i].addrs);
crypto/openssh/sshd.c
827
free(options.listen_addrs[i].rdomain);
crypto/openssh/sshd.c
828
memset(&options.listen_addrs[i], 0,
crypto/openssh/sshd.c
829
sizeof(options.listen_addrs[i]));
crypto/openssh/sshd.c
831
free(options.listen_addrs);
crypto/openssh/sshd.c
832
options.listen_addrs = NULL;
crypto/openssh/sshd.c
833
options.num_listen_addrs = 0;
crypto/openssh/sshd.c
860
startup_pollfd = xcalloc(options.max_startups, sizeof(int));
crypto/openssh/sshd.c
878
pfd = xcalloc(num_listen_socks + options.max_startups,
crypto/openssh/sshd.c
891
if (options.pid_file != NULL)
crypto/openssh/sshd.c
892
unlink(options.pid_file);
crypto/openssh/sshd.c
906
options.max_startups_begin, options.max_startups);
crypto/openssh/sshd.c
926
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
946
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshlogin.c
101
if (!options.print_lastlog)
crypto/openssh/sshlogin.c
68
extern ServerOptions options;
games/rogue/room.c
560
if (options[i].is_bool) {
games/rogue/room.c
561
*(options[i].bval) = (((ch == 't') || (ch == 'T')) ? 1 : 0);
games/rogue/room.c
568
if (options[i].is_bool) {
games/rogue/room.c
582
move(i, j + strlen(options[i].prompt));
games/rogue/room.c
584
move(i, j + strlen(options[i].prompt));
games/rogue/room.c
595
strcpy(*(options[i].strval), buf);
games/rogue/room.c
60
} options[NOPTS] = {
games/rogue/room.c
618
const struct option *opt = &options[i];
games/rogue/room.c
633
const struct option *opt = &options[i];
games/rogue/room.c
642
move(i, strlen(options[i].prompt));
games/worms/worms.c
177
const struct options *op;
include/resolv.h
145
u_long options; /* option flags - see below. */
lib/libc/gen/fts.c
103
fts_open(char * const *argv, int options,
lib/libc/gen/fts.c
113
if (options & ~FTS_OPTIONMASK) {
lib/libc/gen/fts.c
123
sp->fts_options = options;
lib/libc/gen/wait3.c
43
wait3(int *istat, int options, struct rusage *rup)
lib/libc/gen/wait3.c
45
return (_wait4(WAIT_ANY, istat, options, rup));
lib/libc/gen/waitpid.c
44
__waitpid(pid_t pid, int *istat, int options)
lib/libc/gen/waitpid.c
46
return (_wait4(pid, istat, options, NULL));
lib/libc/net/getaddrinfo.c
1477
res_options = statp->options & (RES_RECURSE | RES_DEFNAMES |
lib/libc/net/getaddrinfo.c
2047
if ((res->options & RES_INIT) == 0 && res_ninit(res) == -1) {
lib/libc/net/getaddrinfo.c
2396
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2403
(res->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U)
lib/libc/net/getaddrinfo.c
2407
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2420
if ((res->options & (RES_USE_EDNS0|RES_USE_DNSSEC))
lib/libc/net/getaddrinfo.c
2424
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2430
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2441
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2547
if ((!dots && (res->options & RES_DEFNAMES)) ||
lib/libc/net/getaddrinfo.c
2548
(dots && !trailing_dot && (res->options & RES_DNSRCH))) {
lib/libc/net/getaddrinfo.c
2607
if (!(res->options & RES_DNSRCH))
lib/libc/net/getaddrinfo.c
2628
if ((dots || !searched || !(res->options & RES_NOTLDQUERY)) &&
lib/libc/net/getaddrinfo.c
2666
if (res->options & RES_DEBUG)
lib/libc/net/gethostbydns.c
109
if (res->options & RES_DEBUG) {
lib/libc/net/gethostbydns.c
335
if (statp->options & RES_USE_INET6) {
lib/libc/net/gethostbydns.c
419
if (statp->options & RES_USE_INET6)
lib/libc/net/gethostbydns.c
639
old_options = statp->options;
lib/libc/net/gethostbydns.c
640
statp->options &= ~RES_DNSRCH;
lib/libc/net/gethostbydns.c
641
statp->options |= RES_DEFNAMES;
lib/libc/net/gethostbydns.c
651
statp->options = old_options;
lib/libc/net/gethostbydns.c
656
statp->options = old_options;
lib/libc/net/gethostbydns.c
677
if (af == AF_INET && (statp->options & RES_USE_INET6)) {
lib/libc/net/gethostbydns.c
740
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1)
lib/libc/net/gethostbydns.c
743
statp->options |= RES_STAYOPEN | RES_USEVC;
lib/libc/net/gethostbydns.c
752
statp->options &= ~(RES_STAYOPEN | RES_USEVC);
lib/libc/net/gethostbyht.c
180
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/gethostbyht.c
190
if (gethostent_p(&he, hed, statp->options & RES_USE_INET6, statp) != 0)
lib/libc/net/gethostbyht.c
250
statp->options & RES_USE_INET6) {
lib/libc/net/gethostbyht.c
313
statp->options & RES_USE_INET6) {
lib/libc/net/gethostbynis.c
105
if (statp->options & RES_USE_INET6) {
lib/libc/net/gethostbynis.c
218
oresopt = statp->options;
lib/libc/net/gethostbynis.c
219
statp->options &= ~RES_USE_INET6;
lib/libc/net/gethostbynis.c
221
statp->options = oresopt;
lib/libc/net/gethostbynis.c
245
oresopt = statp->options;
lib/libc/net/gethostbynis.c
246
statp->options &= ~RES_USE_INET6;
lib/libc/net/gethostbynis.c
248
statp->options = oresopt;
lib/libc/net/gethostnamadr.c
174
res_options = statp->options & (RES_RECURSE | RES_DEFNAMES |
lib/libc/net/gethostnamadr.c
451
if (af == AF_INET && (statp->options & RES_USE_INET6) != 0U) {
lib/libc/net/gethostnamadr.c
486
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/gethostnamadr.c
490
if (statp->options & RES_USE_INET6) {
lib/libc/net/gethostnamadr.c
510
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/gethostnamadr.c
603
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
286
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
334
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
342
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
389
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
414
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
421
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
446
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1)
lib/libc/net/getnetbydns.c
449
statp->options |= RES_STAYOPEN | RES_USEVC;
lib/libc/net/getnetbydns.c
458
statp->options &= ~(RES_STAYOPEN | RES_USEVC);
lib/libc/net/hesiod.c
360
if ((_res.options & RES_INIT) == 0 && res_init() == -1)
lib/libc/net/name6.c
219
u_long options;
lib/libc/net/name6.c
271
if ((statp->options & RES_INIT) == 0) {
lib/libc/net/name6.c
278
options = statp->options;
lib/libc/net/name6.c
279
statp->options &= ~RES_USE_INET6;
lib/libc/net/name6.c
306
statp->options = options;
lib/libc/net/name6.c
315
u_long options;
lib/libc/net/name6.c
363
if ((statp->options & RES_INIT) == 0) {
lib/libc/net/name6.c
370
options = statp->options;
lib/libc/net/name6.c
371
statp->options &= ~RES_USE_INET6;
lib/libc/net/name6.c
377
statp->options = options;
lib/libc/resolv/res_data.c
123
if (!(_res.options & RES_INIT))
lib/libc/resolv/res_data.c
124
_res.options = RES_DEFAULT;
lib/libc/resolv/res_data.c
148
if ((_res.options & RES_INIT) == 0U && res_init() == -1)
lib/libc/resolv/res_data.c
164
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
175
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
189
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
215
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
228
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
244
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
258
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
273
if ((_res.options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_debug.c
138
if (statp->options & mask)
lib/libc/resolv/res_findzonecut.c
91
if ((statp->options & RES_DEBUG) != 0U) res_dprintf x; \
lib/libc/resolv/res_init.c
180
statp->options = RES_DEFAULT;
lib/libc/resolv/res_init.c
489
if (statp->options & RES_DEBUG) {
lib/libc/resolv/res_init.c
500
statp->options |= RES_INIT;
lib/libc/resolv/res_init.c
505
res_setoptions(res_state statp, const char *options, const char *source)
lib/libc/resolv/res_init.c
507
const char *cp = options;
lib/libc/resolv/res_init.c
514
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
516
options, source);
lib/libc/resolv/res_init.c
530
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
540
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
566
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
571
if (!(statp->options & RES_DEBUG)) {
lib/libc/resolv/res_init.c
573
options, source);
lib/libc/resolv/res_init.c
574
statp->options |= RES_DEBUG;
lib/libc/resolv/res_init.c
582
statp->options |= RES_NOTLDQUERY;
lib/libc/resolv/res_init.c
584
statp->options |= RES_USE_INET6;
lib/libc/resolv/res_init.c
586
statp->options |= RES_ROTATE;
lib/libc/resolv/res_init.c
589
statp->options |= RES_NOCHECKNAME;
lib/libc/resolv/res_init.c
593
statp->options |= RES_USE_EDNS0;
lib/libc/resolv/res_init.c
598
statp->options |= RES_USE_DNAME;
lib/libc/resolv/res_init.c
620
statp->options |= RES_NO_NIBBLE2;
lib/libc/resolv/res_init.c
622
statp->options &=
lib/libc/resolv/res_init.c
699
statp->options &= ~RES_INIT;
lib/libc/resolv/res_mkquery.c
111
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_mkquery.c
124
hp->rd = (statp->options & RES_RECURSE) != 0U;
lib/libc/resolv/res_mkquery.c
215
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_mkquery.c
236
if (statp->options & RES_USE_DNSSEC) {
lib/libc/resolv/res_mkquery.c
238
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_mkquery.c
272
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_query.c
124
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
132
(statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC|RES_NSID))) {
lib/libc/resolv/res_query.c
135
if (n > 0 && (statp->options & RES_NSID) != 0U) {
lib/libc/resolv/res_query.c
143
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
154
if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U &&
lib/libc/resolv/res_query.c
157
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
163
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
172
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
257
if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
lib/libc/resolv/res_query.c
258
(dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) {
lib/libc/resolv/res_query.c
316
if ((statp->options & RES_DNSRCH) == 0U)
lib/libc/resolv/res_query.c
325
if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0U) &&
lib/libc/resolv/res_query.c
366
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
404
if (statp->options & RES_NOALIASES)
lib/libc/resolv/res_send.c
1010
Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));
lib/libc/resolv/res_send.c
1051
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1064
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1070
if (!(statp->options & RES_INSECURE1) &&
lib/libc/resolv/res_send.c
1077
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1084
if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) {
lib/libc/resolv/res_send.c
1090
DprintQ(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1099
if (!(statp->options & RES_INSECURE2) &&
lib/libc/resolv/res_send.c
1107
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1116
DprintQ(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1124
if (!(statp->options & RES_IGNTC) && anhp->tc) {
lib/libc/resolv/res_send.c
1129
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1152
if ((statp->options & RES_DEBUG) != 0U) {
lib/libc/resolv/res_send.c
1170
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_send.c
322
DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY),
lib/libc/resolv/res_send.c
324
v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
lib/libc/resolv/res_send.c
398
if ((statp->options & RES_ROTATE) != 0U &&
lib/libc/resolv/res_send.c
399
(statp->options & RES_BLAST) == 0U) {
lib/libc/resolv/res_send.c
471
Dprint(((statp->options & RES_DEBUG) &&
lib/libc/resolv/res_send.c
505
Dprint((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
510
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
520
if ((v_circuit && (statp->options & RES_USEVC) == 0U) ||
lib/libc/resolv/res_send.c
521
(statp->options & RES_STAYOPEN) == 0U) {
lib/libc/resolv/res_send.c
772
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
783
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
833
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
924
if (!(statp->options & RES_INSECURE1) &&
lib/libc/resolv/res_send.c
936
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
941
if (statp->options & RES_INSECURE1) {
lib/libc/resolv/res_state.c
81
statp->options = RES_TIMEOUT; /* Motorola, et al. */
lib/libc/resolv/res_update.c
85
if ((statp->options & RES_DEBUG) != 0U) res_dprintf x; \
lib/libc/stdlib/getopt_long.c
194
parse_long_options(char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
359
getopt_internal(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
366
if (options == NULL)
lib/libc/stdlib/getopt_long.c
375
if (*options == '-')
lib/libc/stdlib/getopt_long.c
377
else if (posixly_correct || *options == '+')
lib/libc/stdlib/getopt_long.c
380
if (posixly_correct || *options == '+')
lib/libc/stdlib/getopt_long.c
382
else if (*options == '-')
lib/libc/stdlib/getopt_long.c
385
if (*options == '+' || *options == '-')
lib/libc/stdlib/getopt_long.c
386
options++;
lib/libc/stdlib/getopt_long.c
423
(place[1] == '\0' && strchr(options, '-') == NULL)) {
lib/libc/stdlib/getopt_long.c
495
} else if (*place != ':' && strchr(options, *place) != NULL)
lib/libc/stdlib/getopt_long.c
498
optchar = parse_long_options(nargv, options, long_options,
lib/libc/stdlib/getopt_long.c
508
(oli = strchr(options, optchar)) == NULL) {
lib/libc/stdlib/getopt_long.c
544
optchar = parse_long_options(nargv, options, long_options,
lib/libc/stdlib/getopt_long.c
581
getopt(int nargc, char * const *nargv, const char *options)
lib/libc/stdlib/getopt_long.c
592
return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
lib/libc/stdlib/getopt_long.c
601
getopt_long(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
605
return (getopt_internal(nargc, nargv, options, long_options, idx,
lib/libc/stdlib/getopt_long.c
614
getopt_long_only(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
618
return (getopt_internal(nargc, nargv, options, long_options, idx,
lib/libc/stdlib/getopt_long.c
82
#define PRINT_ERROR ((opterr) && (*options != ':'))
lib/libc/stdlib/getopt_long.c
90
#define BADARG ((*options == ':') ? (int)':' : (int)'?')
lib/libfetch/http.c
1255
char *options = NULL;
lib/libfetch/http.c
1264
if (asprintf(&options, "%s%s%s%s",
lib/libfetch/http.c
1294
cnonce, noncecount, options);
lib/libfetch/http.c
1299
c->nonce, url->doc, digest, options);
lib/libfetch/http.c
1301
if (options)
lib/libfetch/http.c
1302
free(options);
lib/libpam/modules/pam_exec/pam_exec.c
110
struct pe_opts *options)
lib/libpam/modules/pam_exec/pam_exec.c
141
nitems_rv = options->return_prog_exit_status ? PAM_RV_COUNT : 0;
lib/libpam/modules/pam_exec/pam_exec.c
174
if (options->return_prog_exit_status) {
lib/libpam/modules/pam_exec/pam_exec.c
252
if (options->return_prog_exit_status) {
lib/libpam/modules/pam_exec/pam_exec.c
268
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
270
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
274
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
309
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
311
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
315
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
349
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
351
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
355
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
389
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
391
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
395
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
426
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
428
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
432
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
463
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
465
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
469
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
72
struct pe_opts *options)
lib/libpam/modules/pam_exec/pam_exec.c
83
options->return_prog_exit_status = 0;
lib/libpam/modules/pam_exec/pam_exec.c
90
options->return_prog_exit_status = 1;
lib/libthread_xu/thread/thr_syscalls.c
700
__wait4(pid_t pid, int *istat, int options, struct rusage *rusage)
lib/libthread_xu/thread/thr_syscalls.c
707
ret = __sys_wait4(pid, istat, options, rusage);
lib/libthread_xu/thread/thr_syscalls.c
715
_waitpid(pid_t wpid, int *status, int options)
lib/libthread_xu/thread/thr_syscalls.c
722
ret = __waitpid(wpid, status, options);
lib/libutil/getmntopts.c
46
getmntopts(const char *options, const struct mntopt *m0, int *flagp,
lib/libutil/getmntopts.c
55
if ((optbuf = strdup(options)) == NULL)
libexec/telnetd/defs.h
184
#define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
libexec/telnetd/defs.h
185
#define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
libexec/telnetd/defs.h
186
#define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
libexec/telnetd/defs.h
187
#define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
libexec/telnetd/defs.h
194
#define set_my_state_do(opt) (options[opt] |= MY_STATE_DO)
libexec/telnetd/defs.h
195
#define set_my_state_will(opt) (options[opt] |= MY_STATE_WILL)
libexec/telnetd/defs.h
196
#define set_my_want_state_do(opt) (options[opt] |= MY_WANT_STATE_DO)
libexec/telnetd/defs.h
197
#define set_my_want_state_will(opt) (options[opt] |= MY_WANT_STATE_WILL)
libexec/telnetd/defs.h
199
#define set_my_state_dont(opt) (options[opt] &= ~MY_STATE_DO)
libexec/telnetd/defs.h
200
#define set_my_state_wont(opt) (options[opt] &= ~MY_STATE_WILL)
libexec/telnetd/defs.h
201
#define set_my_want_state_dont(opt) (options[opt] &= ~MY_WANT_STATE_DO)
libexec/telnetd/defs.h
202
#define set_my_want_state_wont(opt) (options[opt] &= ~MY_WANT_STATE_WILL)
libexec/telnetd/defs.h
212
((options[opt]+MY_STATE_WILL) & MY_WANT_STATE_WILL)
libexec/telnetd/defs.h
215
((options[opt]+MY_STATE_DO) & MY_WANT_STATE_DO)
libexec/telnetd/ext.h
36
extern char options[256];
libexec/tftpd/tftpd.c
331
} options[] = {
libexec/tftpd/tftpd.c
406
for (i = 0; options[i].o_type != NULL; i++)
libexec/tftpd/tftpd.c
407
if (strcmp(option, options[i].o_type) == 0) {
libexec/tftpd/tftpd.c
408
options[i].o_request = ++cp;
libexec/tftpd/tftpd.c
415
if (options[OPT_TIMEOUT].o_request) {
libexec/tftpd/tftpd.c
416
int to = atoi(options[OPT_TIMEOUT].o_request);
libexec/tftpd/tftpd.c
422
options[OPT_TIMEOUT].o_reply = rexmtval = to;
libexec/tftpd/tftpd.c
424
options[OPT_TIMEOUT].o_request = NULL;
libexec/tftpd/tftpd.c
546
if (options[OPT_TSIZE].o_request) {
libexec/tftpd/tftpd.c
548
options[OPT_TSIZE].o_reply = stbuf.st_size;
libexec/tftpd/tftpd.c
551
options[OPT_TSIZE].o_reply =
libexec/tftpd/tftpd.c
552
atoi(options[OPT_TSIZE].o_request);
libexec/tftpd/tftpd.c
828
for (i = 0; options[i].o_type != NULL; i++) {
libexec/tftpd/tftpd.c
829
if (options[i].o_request) {
libexec/tftpd/tftpd.c
830
n = snprintf(bp, size, "%s%c%d", options[i].o_type,
libexec/tftpd/tftpd.c
831
0, options[i].o_reply);
sbin/ccdconfig/ccdconfig.c
104
int ch, options = 0, action = CCD_CONFIG;
sbin/ccdconfig/ccdconfig.c
110
++options;
sbin/ccdconfig/ccdconfig.c
115
++options;
sbin/ccdconfig/ccdconfig.c
136
++options;
sbin/ccdconfig/ccdconfig.c
141
++options;
sbin/ccdconfig/ccdconfig.c
155
if (options > 1)
sbin/cryptdisks/cryptdisks.c
284
entry_parser(char **tokens, char **options, int type)
sbin/cryptdisks/cryptdisks.c
303
for (i = 0; options[i] != NULL; i++)
sbin/cryptdisks/cryptdisks.c
304
parse_crypt_options(&go, options[i]);
sbin/cryptdisks/cryptdisks.c
449
char *options[256];
sbin/cryptdisks/cryptdisks.c
480
i = line_tokenize(tokens[3], &iscomma, '#', options);
sbin/cryptdisks/cryptdisks.c
486
entry_parser(tokens, options, type);
sbin/devd/parse.y
77
: OPTIONS BEGINBLOCK options ENDBLOCK SEMICOLON
sbin/devd/parse.y
80
options
sbin/devd/parse.y
82
| options option
sbin/dhclient/clparse.c
550
parse_option_decl(cfile, lease->options);
sbin/dhclient/clparse.c
565
parse_option_decl(FILE *cfile, struct option_data *options)
sbin/dhclient/clparse.c
712
options[code].data = malloc(hunkix + nul_term);
sbin/dhclient/clparse.c
713
if (!options[code].data)
sbin/dhclient/clparse.c
715
memcpy(options[code].data, hunkbuf, hunkix + nul_term);
sbin/dhclient/clparse.c
716
options[code].len = hunkix;
sbin/dhclient/dhclient.c
1246
struct option_data options[256];
sbin/dhclient/dhclient.c
1249
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1254
options[i].data = &discover;
sbin/dhclient/dhclient.c
1255
options[i].len = sizeof(discover);
sbin/dhclient/dhclient.c
1259
options[i].data = config->requested_options;
sbin/dhclient/dhclient.c
1260
options[i].len = config->requested_option_count;
sbin/dhclient/dhclient.c
1266
options[i].data = lease->address.iabuf;
sbin/dhclient/dhclient.c
1267
options[i].len = lease->address.len;
sbin/dhclient/dhclient.c
1273
if (!options[i].data &&
sbin/dhclient/dhclient.c
1275
options[i].data = config->send_options[i].data;
sbin/dhclient/dhclient.c
1276
options[i].len = config->send_options[i].len;
sbin/dhclient/dhclient.c
1280
i = cons_options(options);
sbin/dhclient/dhclient.c
1281
if (i == -1 || client->packet.options[i] != DHO_END)
sbin/dhclient/dhclient.c
1307
struct option_data options[256];
sbin/dhclient/dhclient.c
1310
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1315
options[i].data = &request;
sbin/dhclient/dhclient.c
1316
options[i].len = sizeof(request);
sbin/dhclient/dhclient.c
1320
options[i].data = config->requested_options;
sbin/dhclient/dhclient.c
1321
options[i].len = config->requested_option_count;
sbin/dhclient/dhclient.c
1328
options[i].data = lease->options[i].data;
sbin/dhclient/dhclient.c
1329
options[i].len = lease->options[i].len;
sbin/dhclient/dhclient.c
1335
options[i].data = lease->address.iabuf;
sbin/dhclient/dhclient.c
1336
options[i].len = lease->address.len;
sbin/dhclient/dhclient.c
1342
if (!options[i].data && config->send_options[i].data) {
sbin/dhclient/dhclient.c
1343
options[i].data = config->send_options[i].data;
sbin/dhclient/dhclient.c
1344
options[i].len = config->send_options[i].len;
sbin/dhclient/dhclient.c
1348
i = cons_options(options);
sbin/dhclient/dhclient.c
1349
if (i == -1 || client->packet.options[i] != DHO_END)
sbin/dhclient/dhclient.c
1385
struct option_data options[256];
sbin/dhclient/dhclient.c
1389
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1394
options[i].data = &decline;
sbin/dhclient/dhclient.c
1395
options[i].len = sizeof(decline);
sbin/dhclient/dhclient.c
1399
options[i].data = lease->options[i].data;
sbin/dhclient/dhclient.c
1400
options[i].len = lease->options[i].len;
sbin/dhclient/dhclient.c
1404
options[i].data = lease->address.iabuf;
sbin/dhclient/dhclient.c
1405
options[i].len = lease->address.len;
sbin/dhclient/dhclient.c
1410
options[i].data = config->send_options[i].data;
sbin/dhclient/dhclient.c
1411
options[i].len = config->send_options[i].len;
sbin/dhclient/dhclient.c
1415
i = cons_options(options);
sbin/dhclient/dhclient.c
1416
if (i == -1 || client->packet.options[i] != DHO_END)
sbin/dhclient/dhclient.c
1449
if (lease->options[i].len)
sbin/dhclient/dhclient.c
1450
free(lease->options[i].data);
sbin/dhclient/dhclient.c
1506
if (lease->options[i].len)
sbin/dhclient/dhclient.c
1509
pretty_print_option(i, &lease->options[i], 1));
sbin/dhclient/dhclient.c
1576
if (lease->options[DHO_SUBNET_MASK].len &&
sbin/dhclient/dhclient.c
1577
(lease->options[DHO_SUBNET_MASK].len <
sbin/dhclient/dhclient.c
1581
memcpy(netmask.iabuf, lease->options[DHO_SUBNET_MASK].data,
sbin/dhclient/dhclient.c
1582
lease->options[DHO_SUBNET_MASK].len);
sbin/dhclient/dhclient.c
1583
netmask.len = lease->options[DHO_SUBNET_MASK].len;
sbin/dhclient/dhclient.c
1589
if (!lease->options[DHO_BROADCAST_ADDRESS].len) {
sbin/dhclient/dhclient.c
1614
if (lease->options[i].len)
sbin/dhclient/dhclient.c
1616
pretty_print_option(i, &lease->options[i],
sbin/dhclient/dhclient.c
1632
o.len = config->defaults[i].len + lease->options[i].len;
sbin/dhclient/dhclient.c
1642
lease->options[i].data,
sbin/dhclient/dhclient.c
1643
lease->options[i].len);
sbin/dhclient/dhclient.c
1651
o.len = config->defaults[i].len + lease->options[i].len;
sbin/dhclient/dhclient.c
1658
memcpy(o.data, lease->options[i].data,
sbin/dhclient/dhclient.c
1659
lease->options[i].len);
sbin/dhclient/dhclient.c
1660
memcpy(o.data + lease->options[i].len,
sbin/dhclient/dhclient.c
1696
hdr.len += sizeof(int) + lease->options[i].len;
sbin/dhclient/dhclient.c
1712
buf_add(buf, &lease->options[i].len,
sbin/dhclient/dhclient.c
1713
sizeof(lease->options[i].len));
sbin/dhclient/dhclient.c
1714
buf_add(buf, lease->options[i].data,
sbin/dhclient/dhclient.c
1715
lease->options[i].len);
sbin/dhclient/dhclient.c
1941
opbuf = pretty_print_option(option, &l->options[option], 0);
sbin/dhclient/dhclient.c
1943
sbuf = option_as_string(option, l->options[option].data,
sbin/dhclient/dhclient.c
1944
l->options[option].len);
sbin/dhclient/dhclient.c
1958
if (l->options[option].len != 4) { /* RFC 2132 */
sbin/dhclient/dhclient.c
1962
l->options[option].len);
sbin/dhclient/dhclient.c
1963
l->options[option].len = 4;
sbin/dhclient/dhclient.c
1992
l->options[option].len = 0;
sbin/dhclient/dhclient.c
1993
free(l->options[option].data);
sbin/dhclient/dhclient.c
2040
return (check_classless_option(l->options[option].data,
sbin/dhclient/dhclient.c
2041
l->options[option].len));
sbin/dhclient/dhclient.c
628
if (!picked->options[DHO_DHCP_MESSAGE_TYPE].len) {
sbin/dhclient/dhclient.c
661
dhcpack(struct iaddr client_addr, struct option_data *options)
sbin/dhclient/dhclient.c
674
lease = packet_to_lease(options);
sbin/dhclient/dhclient.c
686
if (client->new->options[DHO_DHCP_LEASE_TIME].data)
sbin/dhclient/dhclient.c
688
getULong(client->new->options[DHO_DHCP_LEASE_TIME].data);
sbin/dhclient/dhclient.c
701
if (client->new->options[DHO_DHCP_RENEWAL_TIME].len)
sbin/dhclient/dhclient.c
703
getULong(client->new->options[DHO_DHCP_RENEWAL_TIME].data);
sbin/dhclient/dhclient.c
708
if (client->new->options[DHO_DHCP_REBINDING_TIME].len)
sbin/dhclient/dhclient.c
710
getULong(client->new->options[DHO_DHCP_REBINDING_TIME].data);
sbin/dhclient/dhclient.c
774
if (client->active->options[DHO_DHCP_SERVER_IDENTIFIER].len == 4) {
sbin/dhclient/dhclient.c
776
client->active->options[DHO_DHCP_SERVER_IDENTIFIER].data,
sbin/dhclient/dhclient.c
790
dhcpoffer(struct iaddr client_addr, struct option_data *options)
sbin/dhclient/dhclient.c
795
char *name = options[DHO_DHCP_MESSAGE_TYPE].len ? "DHCPOFFER" :
sbin/dhclient/dhclient.c
806
if (!options[config->required_options[i]].len) {
sbin/dhclient/dhclient.c
825
lease = packet_to_lease(options);
sbin/dhclient/dhclient.c
840
if (!options[DHO_DHCP_MESSAGE_TYPE].len)
sbin/dhclient/dhclient.c
879
packet_to_lease(struct option_data *options)
sbin/dhclient/dhclient.c
895
if (options[i].len) {
sbin/dhclient/dhclient.c
896
lease->options[i] = options[i];
sbin/dhclient/dhclient.c
897
options[i].data = NULL;
sbin/dhclient/dhclient.c
898
options[i].len = 0;
sbin/dhclient/dhclient.c
912
if ((!lease->options[DHO_DHCP_OPTION_OVERLOAD].len ||
sbin/dhclient/dhclient.c
913
!(lease->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 2)) &&
sbin/dhclient/dhclient.c
932
if ((!lease->options[DHO_DHCP_OPTION_OVERLOAD].len ||
sbin/dhclient/dhclient.c
933
!(lease->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 1)) &&
sbin/dhclient/dhclient.c
949
dhcpnak(struct iaddr client_addr, struct option_data *options)
sbin/dhclient/dhcp.h
70
unsigned char options[DHCP_OPTION_LEN];
sbin/dhclient/dhcpd.h
114
struct option_data options[256];
sbin/dhclient/dispatch.c
340
bcopy(l->options[DHO_SUBNET_MASK].data, &mymask, 4);
sbin/dhclient/options.c
108
if (!options[code].data) {
sbin/dhclient/options.c
118
options[code].len = len;
sbin/dhclient/options.c
119
options[code].data = t;
sbin/dhclient/options.c
126
t = calloc(1, len + options[code].len + 1);
sbin/dhclient/options.c
130
memcpy(t, options[code].data, options[code].len);
sbin/dhclient/options.c
131
memcpy(t + options[code].len, &s[2], len);
sbin/dhclient/options.c
132
options[code].len += len;
sbin/dhclient/options.c
133
t[options[code].len] = 0;
sbin/dhclient/options.c
134
free(options[code].data);
sbin/dhclient/options.c
135
options[code].data = t;
sbin/dhclient/options.c
149
cons_options(struct option_data *options)
sbin/dhclient/options.c
151
unsigned char *buf = client->packet.options;
sbin/dhclient/options.c
158
if (options[DHO_DHCP_MESSAGE_TYPE].data) {
sbin/dhclient/options.c
160
buf[6] = options[DHO_DHCP_MESSAGE_TYPE].data[0];
sbin/dhclient/options.c
166
if (!options[code].data || code == DHO_DHCP_MESSAGE_TYPE)
sbin/dhclient/options.c
169
length = options[code].len;
sbin/dhclient/options.c
181
memcpy(buf + bufix, options[code].data + ix, incr);
sbin/dhclient/options.c
455
struct option_data options[256];
sbin/dhclient/options.c
474
memset(options, 0, sizeof(options));
sbin/dhclient/options.c
476
if (memcmp(&packet->options, DHCP_OPTIONS_COOKIE, 4) == 0) {
sbin/dhclient/options.c
478
options_valid = parse_option_buffer(options,
sbin/dhclient/options.c
479
&packet->options[4], sizeof(packet->options) - 4);
sbin/dhclient/options.c
483
options[DHO_DHCP_MESSAGE_TYPE].data &&
sbin/dhclient/options.c
484
options[DHO_DHCP_OPTION_OVERLOAD].data) {
sbin/dhclient/options.c
485
if (options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 1)
sbin/dhclient/options.c
486
options_valid = parse_option_buffer(options,
sbin/dhclient/options.c
490
options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 2)
sbin/dhclient/options.c
491
options_valid = parse_option_buffer(options,
sbin/dhclient/options.c
500
if (options[DHO_DHCP_MESSAGE_TYPE].data) {
sbin/dhclient/options.c
502
switch (options[DHO_DHCP_MESSAGE_TYPE].data[0]) {
sbin/dhclient/options.c
539
(*handler)(from, options);
sbin/dhclient/options.c
542
if (options[i].len && options[i].data)
sbin/dhclient/options.c
543
free(options[i].data);
sbin/dhclient/options.c
55
parse_option_buffer(struct option_data *options, unsigned char *buffer,
sbin/dhclient/privsep.c
171
lease.options[i].data = NULL;
sbin/dhclient/privsep.c
172
lease.options[i].len = optlen;
sbin/dhclient/privsep.c
177
lease.options[i].data =
sbin/dhclient/privsep.c
179
if (lease.options[i].data == NULL)
sbin/dhclient/privsep.c
181
buf_read(fd, lease.options[i].data, optlen);
sbin/dhclient/privsep.c
193
if (lease.options[i].len > 0)
sbin/dhclient/privsep.c
194
free(lease.options[i].data);
sbin/ifconfig/ifconfig.c
131
char options[1024];
sbin/ifconfig/ifconfig.c
135
options[0] = '\0';
sbin/ifconfig/ifconfig.c
137
strlcat(options, p->opt_usage, sizeof(options));
sbin/ifconfig/ifconfig.c
138
strlcat(options, " ", sizeof(options));
sbin/ifconfig/ifconfig.c
149
options, options, options);
sbin/ifconfig/ifconfig.c
362
char options[1024];
sbin/ifconfig/ifconfig.c
381
strlcpy(options, "adf:G:klmnuv", sizeof(options));
sbin/ifconfig/ifconfig.c
383
strlcat(options, p->opt, sizeof(options));
sbin/ifconfig/ifconfig.c
384
while ((c = getopt(argc, argv, options)) != -1) {
sbin/ifconfig/ifmedia.c
313
int options;
sbin/ifconfig/ifmedia.c
317
options = get_media_options(IFM_TYPE(ifmr->ifm_ulist[0]), val);
sbin/ifconfig/ifmedia.c
319
ifmr->ifm_current &= ~options;
sbin/ifconfig/ifmedia.c
321
ifmr->ifm_current |= options;
sbin/ifconfig/ifmedia.c
402
} options[4];
sbin/ifconfig/ifmedia.c
541
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/ifconfig/ifmedia.c
542
option = lookup_media_word(ttos->options[i].desc, optptr);
sbin/ifconfig/ifmedia.c
672
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/ifconfig/ifmedia.c
673
if (ttos->options[i].alias)
sbin/ifconfig/ifmedia.c
675
for (desc = ttos->options[i].desc;
sbin/ifconfig/ifmedia.c
725
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/ifconfig/ifmedia.c
726
if (ttos->options[i].alias)
sbin/ifconfig/ifmedia.c
728
for (desc = ttos->options[i].desc;
sbin/mount/mount.c
127
char *options;
sbin/mount/mount.c
130
options = NULL;
sbin/mount/mount.c
149
options = catopt(options, optarg);
sbin/mount/mount.c
156
options = catopt(options, "ro");
sbin/mount/mount.c
171
options = catopt(options, "noro");
sbin/mount/mount.c
202
options = update_options(options,
sbin/mount/mount.c
205
fs->fs_file, init_flags, options,
sbin/mount/mount.c
257
options = update_options(options, fs->fs_mntops,
sbin/mount/mount.c
261
options = update_options(options, NULL,
sbin/mount/mount.c
265
mntbuf->f_mntonname, init_flags, options, 0);
sbin/mount/mount.c
276
init_flags, options, fs->fs_mntops);
sbin/mount/mount.c
308
init_flags, options, NULL);
sbin/mount/mount.c
379
const char *options, const char *mntopts)
sbin/mount/mount.c
402
if (options == NULL) {
sbin/mount/mount.c
404
options = "rw";
sbin/mount/mount.c
406
options = mntopts;
sbin/mount/mount.c
410
optbuf = catopt(xstrdup(mntopts), options);
sbin/mount/mount.c
586
mangle(char *options, int *argcp, const char **argv)
sbin/mount/mount.c
592
for (s = options; (p = strsep(&s, ",")) != NULL;)
sbin/mount_ufs/mount.c
101
char *options;
sbin/mount_ufs/mount.c
104
options = NULL;
sbin/mount_ufs/mount.c
123
options = catopt(options, optarg);
sbin/mount_ufs/mount.c
130
options = catopt(options, "ro");
sbin/mount_ufs/mount.c
145
options = catopt(options, "noro");
sbin/mount_ufs/mount.c
175
options = update_options(options,
sbin/mount_ufs/mount.c
178
fs->fs_file, init_flags, options,
sbin/mount_ufs/mount.c
230
options = update_options(options, fs->fs_mntops,
sbin/mount_ufs/mount.c
234
options = update_options(options, NULL,
sbin/mount_ufs/mount.c
238
mntbuf->f_mntonname, init_flags, options, 0);
sbin/mount_ufs/mount.c
249
init_flags, options, fs->fs_mntops);
sbin/mount_ufs/mount.c
262
init_flags, options, NULL);
sbin/mount_ufs/mount.c
338
const char *options, const char *mntopts)
sbin/mount_ufs/mount.c
358
if (options == NULL) {
sbin/mount_ufs/mount.c
360
options = "rw";
sbin/mount_ufs/mount.c
362
options = mntopts;
sbin/mount_ufs/mount.c
366
optbuf = catopt(xstrdup(mntopts), options);
sbin/mount_ufs/mount.c
543
mangle(char *options, int *argcp, const char **argv)
sbin/mount_ufs/mount.c
549
for (s = options; (p = strsep(&s, ",")) != NULL;)
sbin/ping/ping.c
1007
if (options & F_QUIET)
sbin/ping/ping.c
1010
if (options & F_WAITTIME && triptime > waittime) {
sbin/ping/ping.c
1015
if (options & F_FLOOD)
sbin/ping/ping.c
1026
if (options & F_AUDIBLE)
sbin/ping/ping.c
1028
if (options & F_MASK) {
sbin/ping/ping.c
1033
if (options & F_TIME) {
sbin/ping/ping.c
105
int options;
sbin/ping/ping.c
1094
if (((options & F_VERBOSE) && uid == 0) ||
sbin/ping/ping.c
1095
(!(options & F_QUIET2) &&
sbin/ping/ping.c
1154
&& !(options & F_FLOOD)) {
sbin/ping/ping.c
1188
if (!(options & F_FLOOD)) {
sbin/ping/ping.c
1528
if ((options & F_NUMERIC) ||
sbin/ping/ping.c
1598
if (!(options & F_QUIET)) {
sbin/ping/ping.c
242
options |= F_MISSED;
sbin/ping/ping.c
245
options |= F_AUDIBLE;
sbin/ping/ping.c
256
options |= F_HDRINCL;
sbin/ping/ping.c
260
options |= F_SO_DEBUG;
sbin/ping/ping.c
267
options |= F_FLOOD;
sbin/ping/ping.c
281
options |= F_SWEEP;
sbin/ping/ping.c
295
options |= F_SWEEP;
sbin/ping/ping.c
309
options |= F_SWEEP;
sbin/ping/ping.c
317
options |= F_MIF;
sbin/ping/ping.c
325
options |= F_INTERVAL;
sbin/ping/ping.c
333
options |= F_NOLOOP;
sbin/ping/ping.c
351
options |= F_MASK;
sbin/ping/ping.c
355
options |= F_TIME;
sbin/ping/ping.c
367
options |= F_TTL;
sbin/ping/ping.c
370
options |= F_NUMERIC;
sbin/ping/ping.c
373
options |= F_ONCE;
sbin/ping/ping.c
376
options |= F_PINGFILLED;
sbin/ping/ping.c
380
options |= F_QUIET2;
sbin/ping/ping.c
383
options |= F_QUIET;
sbin/ping/ping.c
386
options |= F_RROUTE;
sbin/ping/ping.c
389
options |= F_SO_DONTROUTE;
sbin/ping/ping.c
411
options |= F_MTTL;
sbin/ping/ping.c
424
options |= F_VERBOSE;
sbin/ping/ping.c
432
options |= F_WAITTIME;
sbin/ping/ping.c
436
options |= F_HDRINCL;
sbin/ping/ping.c
451
switch (options & (F_MASK|F_TIME)) {
sbin/ping/ping.c
457
if (!(options & F_QUIET))
sbin/ping/ping.c
464
if (!(options & F_QUIET))
sbin/ping/ping.c
472
if (options & F_RROUTE)
sbin/ping/ping.c
480
if (options & F_PINGFILLED) {
sbin/ping/ping.c
529
if (options & F_FLOOD && options & F_INTERVAL)
sbin/ping/ping.c
532
if (options & F_FLOOD && IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
sbin/ping/ping.c
535
if (options & (F_MIF | F_NOLOOP | F_MTTL)
sbin/ping/ping.c
543
if (!(options & F_PINGFILLED))
sbin/ping/ping.c
554
if (options & F_SO_DEBUG)
sbin/ping/ping.c
557
if (options & F_SO_DONTROUTE)
sbin/ping/ping.c
560
if (options & F_HDRINCL) {
sbin/ping/ping.c
562
if (!(options & (F_TTL | F_MTTL))) {
sbin/ping/ping.c
583
if (options & F_RROUTE) {
sbin/ping/ping.c
599
if (options & F_TTL) {
sbin/ping/ping.c
605
if (options & F_NOLOOP) {
sbin/ping/ping.c
611
if (options & F_MTTL) {
sbin/ping/ping.c
617
if (options & F_MIF) {
sbin/ping/ping.c
644
if (options & F_SWEEP && !sweepmax)
sbin/ping/ping.c
729
if (options & F_FLOOD) {
sbin/ping/ping.c
792
if ((options & F_ONCE && nreceived) ||
sbin/ping/ping.c
796
if (n == 0 || options & F_FLOOD) {
sbin/ping/ping.c
825
if (options & F_MISSED)
sbin/ping/ping.c
849
if (!(options & F_NUMERIC) && finish_up)
sbin/ping/ping.c
882
if ((options & F_TIME) || timing) {
sbin/ping/ping.c
887
if (options & F_TIME)
sbin/ping/ping.c
901
if (options & F_HDRINCL) {
sbin/ping/ping.c
913
if (options & F_FLOOD && errno == ENOBUFS) {
sbin/ping/ping.c
925
if (!(options & F_QUIET) && options & F_FLOOD)
sbin/ping/ping.c
954
if (options & F_VERBOSE)
sbin/ping6/ping6.c
1076
if (options & F_FQDN)
sbin/ping6/ping6.c
1078
else if (options & F_FQDNOLD)
sbin/ping6/ping6.c
1080
else if (options & F_NODEADDR)
sbin/ping6/ping6.c
1082
else if (options & F_SUPTYPES)
sbin/ping6/ping6.c
1109
if (options & F_FQDN) {
sbin/ping6/ping6.c
1123
} else if (options & F_FQDNOLD) {
sbin/ping6/ping6.c
1136
} else if (options & F_NODEADDR) {
sbin/ping6/ping6.c
1150
} else if (options & F_SUPTYPES) {
sbin/ping6/ping6.c
1198
if (!(options & F_QUIET) && options & F_FLOOD)
sbin/ping6/ping6.c
1316
if (options & F_VERBOSE)
sbin/ping6/ping6.c
1323
if (options & F_VERBOSE)
sbin/ping6/ping6.c
1329
(options & F_VERBOSE) != 0)
sbin/ping6/ping6.c
1371
if (options & F_QUIET)
sbin/ping6/ping6.c
1374
if (options & F_FLOOD)
sbin/ping6/ping6.c
1380
if ((options & F_VERBOSE) != 0) {
sbin/ping6/ping6.c
1418
if (options & F_QUIET)
sbin/ping6/ping6.c
1484
if (options & F_VERBOSE) {
sbin/ping6/ping6.c
1553
if (!(options & F_VERBOSE))
sbin/ping6/ping6.c
1559
if (!(options & F_FLOOD)) {
sbin/ping6/ping6.c
1561
if (options & F_VERBOSE)
sbin/ping6/ping6.c
165
u_int options;
sbin/ping6/ping6.c
1771
if (options & F_VERBOSE) {
sbin/ping6/ping6.c
1825
if (options & F_VERBOSE) {
sbin/ping6/ping6.c
1950
if ((options & F_VERBOSE) != 0) {
sbin/ping6/ping6.c
2201
if (options & F_VERBOSE) {
sbin/ping6/ping6.c
2271
if (options & F_VERBOSE) {
sbin/ping6/ping6.c
2321
if ((options & F_HOSTNAME) == 0)
sbin/ping6/ping6.c
2430
if (!(options & F_QUIET)) {
sbin/ping6/ping6.c
312
options &= ~F_NOUSERDATA;
sbin/ping6/ping6.c
313
options |= F_NODEADDR;
sbin/ping6/ping6.c
372
options |= F_SO_DEBUG;
sbin/ping6/ping6.c
379
options |= F_FLOOD;
sbin/ping6/ping6.c
386
options |= F_HOSTNAME;
sbin/ping6/ping6.c
398
options |= F_INTERFACE;
sbin/ping6/ping6.c
421
options |= F_INTERVAL;
sbin/ping6/ping6.c
441
options &= ~F_HOSTNAME;
sbin/ping6/ping6.c
444
options |= F_NIGROUP;
sbin/ping6/ping6.c
447
options |= F_PINGFILLED;
sbin/ping6/ping6.c
451
options |= F_QUIET;
sbin/ping6/ping6.c
472
options |= F_SRCADDR;
sbin/ping6/ping6.c
485
options &= ~F_NOUSERDATA;
sbin/ping6/ping6.c
486
options |= F_SUPTYPES;
sbin/ping6/ping6.c
489
options |= F_VERBOSE;
sbin/ping6/ping6.c
492
options &= ~F_NOUSERDATA;
sbin/ping6/ping6.c
493
options |= F_FQDN;
sbin/ping6/ping6.c
496
options &= ~F_NOUSERDATA;
sbin/ping6/ping6.c
497
options |= F_FQDNOLD;
sbin/ping6/ping6.c
517
if (options & F_NIGROUP) {
sbin/ping6/ping6.c
551
if ((options & F_SRCADDR) &&
sbin/ping6/ping6.c
571
if (gres->ai_next && (options & F_VERBOSE))
sbin/ping6/ping6.c
586
if ((options & F_VERBOSE) != 0) {
sbin/ping6/ping6.c
618
if ((options & F_FLOOD) && (options & F_INTERVAL))
sbin/ping6/ping6.c
621
if ((options & F_NOUSERDATA) == 0) {
sbin/ping6/ping6.c
628
if (options & F_VERBOSE)
sbin/ping6/ping6.c
641
if (!(options & F_PINGFILLED))
sbin/ping6/ping6.c
660
if (options & F_SO_DEBUG)
sbin/ping6/ping6.c
688
if (!(options & F_VERBOSE)) {
sbin/ping6/ping6.c
690
if ((options & F_FQDN) || (options & F_FQDNOLD) ||
sbin/ping6/ping6.c
691
(options & F_NODEADDR) || (options & F_SUPTYPES))
sbin/ping6/ping6.c
705
if ((options & F_VERBOSE) != 0) {
sbin/ping6/ping6.c
771
if (!(options & F_SRCADDR)) {
sbin/ping6/ping6.c
881
if ((options & F_FLOOD) == 0) {
sbin/ping6/ping6.c
929
if (options & F_FLOOD) {
sbin/ping6/ping6.c
994
if ((options & F_VERBOSE) != 0) {
sbin/routed/rtquery/rtquery.c
109
char *p, *options, *value, delim;
sbin/routed/rtquery/rtquery.c
165
options = optarg;
sbin/routed/rtquery/rtquery.c
166
while (*options != '\0') {
sbin/routed/rtquery/rtquery.c
184
switch (getsubopt(&options,traceopts,&value)) {
sbin/vinum/commands.c
1444
int options;
sbin/vinum/commands.c
1448
if (ioctl(superdev, VINUM_GETDAEMON, &options) < 0)
sbin/vinum/commands.c
1451
printf("Options mask: %d\n", options);
sbin/vinum/commands.c
1455
options = atoi(argv[0]);
sbin/vinum/commands.c
1456
if (ioctl(superdev, VINUM_SETDAEMON, &options) < 0)
sbin/vinum/commands.c
1469
int options;
sbin/vinum/commands.c
1471
if (ioctl(superdev, VINUM_GETDAEMON, &options) < 0)
sbin/vinum/commands.c
1473
if (options & daemon_noupdate) {
share/examples/ppi/ppilcd.c
29
static void hd44780_prepare(char *devname, char *options);
share/examples/ppi/ppilcd.c
321
hd44780_prepare(char *devname, char *options)
share/examples/ppi/ppilcd.c
323
char *cp = options;
share/examples/ppi/ppilcd.c
53
void (* l_prepare)(char *name, char *options);
sys/bus/ppbus/ppb_1284.c
143
ppb_request_mode(int mode, int options)
sys/bus/ppbus/ppb_1284.c
147
if (options & PPB_EXTENSIBILITY_LINK) {
sys/bus/ppbus/ppb_1284.c
153
request_mode = (options & PPB_REQUEST_ID) ?
sys/bus/ppbus/ppb_1284.c
158
request_mode = (options & PPB_REQUEST_ID) ?
sys/bus/ppbus/ppb_1284.c
163
if (options & PPB_USE_RLE)
sys/bus/ppbus/ppb_1284.c
164
request_mode = (options & PPB_REQUEST_ID) ?
sys/bus/ppbus/ppb_1284.c
168
request_mode = (options & PPB_REQUEST_ID) ?
sys/bus/ppbus/ppb_1284.c
189
ppb_peripheral_negotiate(device_t bus, int mode, int options)
sys/bus/ppbus/ppb_1284.c
198
request_mode = ppb_request_mode(mode, options);
sys/bus/ppbus/ppb_1284.c
650
ppb_1284_negotiate(device_t bus, int mode, int options)
sys/bus/ppbus/ppb_1284.c
676
request_mode = ppb_request_mode(mode, options);
sys/bus/ppbus/ppb_1284.c
736
if (options & PPB_EXTENSIBILITY_LINK) {
sys/dev/disk/fd/fd.c
1452
fd->options &= ~(FDOPT_NORETRY | FDOPT_NOERRLOG);
sys/dev/disk/fd/fd.c
193
int options; /* user configurable options, see ioctl_fd.h */
sys/dev/disk/fd/fd.c
2182
if (fd->options & FDOPT_NORETRY)
sys/dev/disk/fd/fd.c
2200
int printerror = (fd->options & FDOPT_NOERRLOG) == 0;
sys/dev/disk/fd/fd.c
2333
*(int *)ap->a_data = fd->options;
sys/dev/disk/fd/fd.c
2337
fd->options = *(int *)ap->a_data;
sys/dev/disk/fd/fd.c
978
fd->options = 0;
sys/dev/disk/isp/isp_library.c
1359
ISP_IOXPUT_8(isp, src->vp_mod_ports[i].options, &dst->vp_mod_ports[i].options);
sys/dev/disk/isp/isp_library.c
1387
ISP_IOXGET_8(isp, &src->vp_mod_ports[i].options, dst->vp_mod_ports[i].options);
sys/dev/disk/isp/isp_library.c
557
vp->vp_mod_ports[0].options = ICB2400_VPOPT_ENABLED;
sys/dev/disk/isp/isp_library.c
559
vp->vp_mod_ports[0].options |= ICB2400_VPOPT_INI_ENABLE;
sys/dev/disk/isp/isp_library.c
562
vp->vp_mod_ports[0].options |= ICB2400_VPOPT_TGT_DISABLE;
sys/dev/disk/isp/ispmbox.h
1171
uint8_t options;
sys/dev/disk/sym/sym_hipd.c
1064
u8 options; /* PPR options */
sys/dev/disk/sym/sym_hipd.c
2768
tp->tinfo.user.options |= PPR_OPT_DT;
sys/dev/disk/sym/sym_hipd.c
2847
tp->tinfo.goal.options = 0;
sys/dev/disk/sym/sym_hipd.c
2851
if (tp->tinfo.goal.options & PPR_OPT_MASK)
sys/dev/disk/sym/sym_hipd.c
2887
msgptr[msglen++] = tp->tinfo.goal.options & PPR_OPT_DT;
sys/dev/disk/sym/sym_hipd.c
3311
tp->tinfo.current.options = 0;
sys/dev/disk/sym/sym_hipd.c
3478
cts__spi.ppr_options = tp->tinfo.current.options;
sys/dev/disk/sym/sym_hipd.c
3516
tp->tinfo.current.options = 0;
sys/dev/disk/sym/sym_hipd.c
3538
tp->tinfo.goal.options = tp->tinfo.current.options = 0;
sys/dev/disk/sym/sym_hipd.c
3560
tp->tinfo.goal.options = tp->tinfo.current.options = dt;
sys/dev/disk/sym/sym_hipd.c
4765
if (tp->tinfo.current.options & PPR_OPT_MASK)
sys/dev/disk/sym/sym_hipd.c
5207
tp->tinfo.current.options = 0;
sys/dev/disk/sym/sym_hipd.c
5858
tp->tinfo.goal.options = 0;
sys/dev/disk/sym/sym_hipd.c
5990
tp->tinfo.goal.options = 0;
sys/dev/disk/sym/sym_hipd.c
7602
tp->tinfo.current.options != tp->tinfo.goal.options) {
sys/dev/disk/sym/sym_hipd.c
8098
cts__spi->ppr_options = tip->options;
sys/dev/disk/sym/sym_hipd.c
8240
tp->tinfo.current.options = tp->tinfo.goal.options = 0;
sys/dev/disk/sym/sym_hipd.c
8267
tip->options = (cts__spi->ppr_options & PPR_OPT_DT);
sys/dev/disk/sym/sym_hipd.c
8293
tip->options &= ~PPR_OPT_DT;
sys/dev/disk/sym/sym_hipd.c
8299
if (tip->options & PPR_OPT_DT) {
sys/dev/drm/amd/display/dc/dce/dce_transform.c
964
enum grph_color_adjust_option options)
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
183
if (compressor->options.bits.CLK_GATING_DISABLED == 1) {
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
225
if (compressor->options.bits.FBC_SUPPORT &&
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
274
if (compressor->options.bits.FBC_SUPPORT) {
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
530
compressor->base.options.raw = 0;
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
531
compressor->base.options.bits.FBC_SUPPORT = true;
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
535
compressor->base.options.bits.DUMMY_BACKEND = false;
sys/dev/drm/amd/display/dc/dce110/dce110_compressor.c
543
compressor->base.options.bits.CLK_GATING_DISABLED = false;
sys/dev/drm/amd/display/dc/dce110/dce110_opp_csc_v.c
111
enum grph_color_adjust_option options)
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
109
if (cp110->base.options.bits.LPT_MC_CONFIG == 1) {
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
326
if (compressor->options.bits.CLK_GATING_DISABLED == 1) {
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
369
if (compressor->options.bits.FBC_SUPPORT &&
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
370
(compressor->options.bits.DUMMY_BACKEND == 0) &&
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
383
if (compressor->options.bits.LPT_SUPPORT && (paths_num < 2) &&
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
418
if (compressor->options.bits.FBC_SUPPORT &&
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
432
if (compressor->options.bits.LPT_SUPPORT)
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
497
if (compressor->options.bits.LPT_SUPPORT) {
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
664
if (!compressor->options.bits.LPT_SUPPORT)
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
793
compressor->base.options.raw = 0;
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
794
compressor->base.options.bits.FBC_SUPPORT = true;
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
795
compressor->base.options.bits.LPT_SUPPORT = true;
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
798
compressor->base.options.bits.DUMMY_BACKEND = false;
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
803
compressor->base.options.bits.LPT_SUPPORT = false;
sys/dev/drm/amd/display/dc/dce112/dce112_compressor.c
805
compressor->base.options.bits.CLK_GATING_DISABLED = false;
sys/dev/drm/amd/display/dc/inc/compressor.h
95
} options;
sys/dev/drm/amd/powerplay/inc/hardwaremanager.h
392
uint32_t options;
sys/dev/drm/ttm/ttm_page_alloc.c
118
struct ttm_pool_opts options;
sys/dev/drm/ttm/ttm_page_alloc.c
175
m->options.max_size = val;
sys/dev/drm/ttm/ttm_page_alloc.c
177
m->options.small = val;
sys/dev/drm/ttm/ttm_page_alloc.c
188
m->options.alloc_size = val;
sys/dev/drm/ttm/ttm_page_alloc.c
202
val = m->options.max_size;
sys/dev/drm/ttm/ttm_page_alloc.c
204
val = m->options.small;
sys/dev/drm/ttm/ttm_page_alloc.c
206
val = m->options.alloc_size;
sys/dev/drm/ttm/ttm_page_alloc.c
603
if (count < _manager->options.small
sys/dev/drm/ttm/ttm_page_alloc.c
606
unsigned alloc_size = _manager->options.alloc_size;
sys/dev/drm/ttm/ttm_page_alloc.c
711
if (pool->npages > _manager->options.max_size) {
sys/dev/drm/ttm/ttm_page_alloc.c
712
npages = pool->npages - _manager->options.max_size;
sys/dev/drm/ttm/ttm_page_alloc.c
834
_manager->options.max_size = max_pages;
sys/dev/drm/ttm/ttm_page_alloc.c
835
_manager->options.small = SMALL_ALLOCATION;
sys/dev/drm/ttm/ttm_page_alloc.c
836
_manager->options.alloc_size = NUM_PAGES_TO_ALLOC;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1061
if (pool->npages_free >= (_manager->options.max_size +
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1063
npages = pool->npages_free - _manager->options.max_size;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1172
_manager->options.max_size = max_pages;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1173
_manager->options.small = SMALL_ALLOCATION;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
1174
_manager->options.alloc_size = NUM_PAGES_TO_ALLOC;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
166
struct ttm_pool_opts options;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
217
m->options.max_size = val;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
219
m->options.small = val;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
230
m->options.alloc_size = val;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
244
val = m->options.max_size;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
246
val = m->options.small;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
248
val = m->options.alloc_size;
sys/dev/drm/ttm/ttm_page_alloc_dma.c
786
unsigned count = _manager->options.small;
sys/dev/netif/ig_hal/e1000_82575.h
79
} options;
sys/dev/raid/aac/aac.c
1672
u_int32_t code, major, minor, options = 0, atu_size = 0;
sys/dev/raid/aac/aac.c
1735
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/raid/aac/aac.c
1737
sc->supported_options = options;
sys/dev/raid/aac/aac.c
1739
if ((options & AAC_SUPPORTED_4GB_WINDOW) != 0 &&
sys/dev/raid/aac/aac.c
1742
if (options & AAC_SUPPORTED_NONDASD)
sys/dev/raid/aac/aac.c
1744
if ((options & AAC_SUPPORTED_SGMAP_HOST64) != 0
sys/dev/raid/aac/aac.c
1750
if ((options & AAC_SUPPORTED_NEW_COMM)
sys/dev/raid/aac/aac.c
1753
if (options & AAC_SUPPORTED_64BIT_ARRAYSIZE)
sys/dev/raid/aac/aac.c
1801
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/raid/aac/aac.c
1802
sc->aac_max_fib_size = (options & 0xFFFF);
sys/dev/raid/aac/aac.c
1803
sc->aac_max_sectors = (options >> 16) << 1;
sys/dev/raid/aac/aac.c
1804
options = AAC_GET_MAILBOX(sc, 2);
sys/dev/raid/aac/aac.c
1805
sc->aac_sg_tablesize = (options >> 16);
sys/dev/raid/aac/aac.c
1806
options = AAC_GET_MAILBOX(sc, 3);
sys/dev/raid/aac/aac.c
1807
sc->aac_max_fibs = (options & 0xFFFF);
sys/dev/raid/hpt27xx/hptintf.h
1545
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/raid/hptmv/hptintf.h
899
int hpt_delete_array(DEVICEID id, DWORD options);
sys/dev/raid/hptmv/ioctl.c
157
hpt_delete_array(_VBUS_ARG DEVICEID id, DWORD options)
sys/dev/raid/hptmv/ioctl.c
160
BOOLEAN del_block0 = (options & DAF_KEEP_DATA_IF_POSSIBLE)?0:1;
sys/dev/raid/hptrr/hptintf.h
1366
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/raid/vinum/vinumdaemon.c
271
vinum_setdaemonopts(int options)
sys/dev/raid/vinum/vinumdaemon.c
273
daemon_options = options;
sys/dev/sound/pci/ich.c
102
uint32_t options;
sys/dev/sound/pci/ich.c
873
if ((ich_devs[i].options & PROBE_LOW) != 0)
sys/kern/init_main.c
561
int options, error;
sys/kern/init_main.c
634
options = 0;
sys/kern/init_main.c
639
options = 1;
sys/kern/init_main.c
644
options = 1;
sys/kern/init_main.c
650
options = 1;
sys/kern/init_main.c
652
if (options == 0)
sys/kern/kern_exit.c
1000
kern_wait(idtype_t idtype, id_t id, int *status, int options,
sys/kern/kern_exit.c
1017
if (options &~ (WUNTRACED|WNOHANG|WCONTINUED|WLINUXCLONE|WSTOPPED|
sys/kern/kern_exit.c
1021
if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
sys/kern/kern_exit.c
1132
((options & WLINUXCLONE) != 0)) {
sys/kern/kern_exit.c
1138
if (p->p_stat == SZOMB && (options & WEXITED)) {
sys/kern/kern_exit.c
1239
if (options & WNOWAIT) {
sys/kern/kern_exit.c
1347
(((p->p_flags & P_TRACED) && (options & WTRAPPED)) ||
sys/kern/kern_exit.c
1348
(options & WSTOPPED))) {
sys/kern/kern_exit.c
1358
(options & WUNTRACED) == 0)) {
sys/kern/kern_exit.c
1368
if ((options & WNOWAIT) == 0)
sys/kern/kern_exit.c
1388
if ((options & WCONTINUED) && (p->p_flags & P_CONTINUED)) {
sys/kern/kern_exit.c
1407
if ((options & WNOWAIT) == 0)
sys/kern/kern_exit.c
1427
if (options & WNOHANG) {
sys/kern/kern_exit.c
919
int options;
sys/kern/kern_exit.c
923
options = uap->options | WEXITED | WTRAPPED;
sys/kern/kern_exit.c
938
error = kern_wait(idtype, id, &status, options, &wrusage,
sys/kern/kern_exit.c
958
int options;
sys/kern/kern_exit.c
966
options = uap->options;
sys/kern/kern_exit.c
984
error = kern_wait(idtype, id, &status, options,
sys/net/if_media.c
478
struct ifmedia_description *options;
sys/net/if_media.c
550
for (desc = ttos->options; desc->ifmt_string != NULL; desc++) {
sys/net/if_media.h
354
#define IFM_MAKEWORD(type, subtype, options, instance) \
sys/net/if_media.h
355
((type) | (subtype) | (options) | ((instance) << IFM_ISHIFT))
sys/netgraph/ksocket/ng_ksocket.c
1085
mhead = &meta->options[0];
sys/netgraph/ksocket/ng_ksocket.c
898
for (field = &meta->options[0];
sys/netgraph/netgraph.h
165
struct meta_field_header options[0]; /* add as (if) needed */
sys/sys/kern_syscall.h
82
int kern_wait(idtype_t idtype, id_t id, int *status, int options,
sys/sys/soundcard.h
1745
char options[128]; /* Reserved */
sys/sys/sysproto.h
1422
int options; char options_[PAD_(int)];
sys/sys/sysproto.h
53
int options; char options_[PAD_(int)];
test/stress/stress2/include/stress.h
34
extern void options(int, char **);
test/stress/stress2/lib/main.c
181
options(argc, argv);
usr.bin/at/at.c
742
const char *options = "q:f:t:rmvldbc"; /* default options for at */
usr.bin/at/at.c
765
options = "q:v";
usr.bin/at/at.c
769
options = "";
usr.bin/at/at.c
773
options = "f:q:mv";
usr.bin/at/at.c
779
while ((c=getopt(argc, argv, options)) != -1)
usr.bin/at/at.c
813
options = "";
usr.bin/at/at.c
827
options = "q:";
usr.bin/at/at.c
835
options = "f:q:mv";
usr.bin/at/at.c
840
options = "";
usr.bin/dfregress/parser.c
184
parse_options(char *str, char **options)
usr.bin/dfregress/parser.c
188
i = line_tokenize(str, &iscomma, '#', options);
usr.bin/dfregress/parser.h
34
int parse_options(char *str, char **options);
usr.bin/dfregress/testcase.c
726
char *options[256];
usr.bin/dfregress/testcase.c
744
nopts = parse_options(tokens[2], options);
usr.bin/dfregress/testcase.c
764
parse_testcase_option(&testcase->opts, options[i]);
usr.bin/find/option.c
172
return ((OPTION *)bsearch(&tmp, options,
usr.bin/find/option.c
173
sizeof(options)/sizeof(OPTION), sizeof(OPTION), typecompare));
usr.bin/find/option.c
52
static OPTION const options[] = {
usr.bin/indent/indent.c
65
struct options opt;
usr.bin/indent/indent_globs.h
223
extern struct options opt;
usr.bin/patch/patch.c
522
const char *options = "b::B:cCd:D:eEfF:i:lnNo:p:r:RstuvV:x:z:";
usr.bin/patch/patch.c
562
while ((ch = getopt_long(Argc, Argv, options, longopts, NULL)) != -1) {
usr.bin/stat/stat.c
209
const char *statfmt, *options, *synopsis;
usr.bin/stat/stat.c
229
options = "fn";
usr.bin/stat/stat.c
235
options = "f:FHlLnqrst:x";
usr.bin/stat/stat.c
240
while ((ch = getopt(argc, argv, options)) != -1)
usr.bin/telnet/externs.h
128
options[], /* All the little options */
usr.bin/telnet/externs.h
148
#define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
usr.bin/telnet/externs.h
149
#define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
usr.bin/telnet/externs.h
150
#define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
usr.bin/telnet/externs.h
151
#define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
usr.bin/telnet/externs.h
158
#define set_my_state_do(opt) {options[opt] |= MY_STATE_DO;}
usr.bin/telnet/externs.h
159
#define set_my_state_will(opt) {options[opt] |= MY_STATE_WILL;}
usr.bin/telnet/externs.h
160
#define set_my_want_state_do(opt) {options[opt] |= MY_WANT_STATE_DO;}
usr.bin/telnet/externs.h
161
#define set_my_want_state_will(opt) {options[opt] |= MY_WANT_STATE_WILL;}
usr.bin/telnet/externs.h
163
#define set_my_state_dont(opt) {options[opt] &= ~MY_STATE_DO;}
usr.bin/telnet/externs.h
164
#define set_my_state_wont(opt) {options[opt] &= ~MY_STATE_WILL;}
usr.bin/telnet/externs.h
165
#define set_my_want_state_dont(opt) {options[opt] &= ~MY_WANT_STATE_DO;}
usr.bin/telnet/externs.h
166
#define set_my_want_state_wont(opt) {options[opt] &= ~MY_WANT_STATE_WILL;}
usr.bin/telnet/telnet.c
168
ClearArray(options);
usr.bin/telnet/telnet.c
78
char options[256]; /* The combined options */
usr.bin/w/w.c
183
if (!(_res.options & RES_INIT))
usr.sbin/autofs/automount.c
133
mount_autofs(from, mountpoint, options, prefix);
usr.sbin/autofs/automount.c
263
char *options = NULL;
usr.sbin/autofs/automount.c
287
options = concat(options, ',', optarg);
usr.sbin/autofs/automount.c
328
node_print(root, options);
usr.sbin/autofs/automount.c
77
mount_autofs(const char *from, const char *fspath, const char *options,
usr.sbin/autofs/automount.c
86
from, fspath, prefix, options);
usr.sbin/autofs/automount.c
90
info.master_options = options;
usr.sbin/autofs/automount.c
99
mount_if_not_already(const struct node *n, const char *map, const char *options,
usr.sbin/autofs/automountd.c
167
char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp;
usr.sbin/autofs/automountd.c
234
options = node_options(node);
usr.sbin/autofs/automountd.c
239
options = concat(options, ',', adr->adr_options);
usr.sbin/autofs/automountd.c
244
options = concat(cmdline_options, ',', options);
usr.sbin/autofs/automountd.c
250
nobrowse = pick_option("nobrowse", &options);
usr.sbin/autofs/automountd.c
302
options = concat(options, ',', "automounted");
usr.sbin/autofs/automountd.c
307
pick_option("nobrowse", &options);
usr.sbin/autofs/automountd.c
312
fstype = pick_option("fstype=", &options);
usr.sbin/autofs/automountd.c
326
retrycnt = pick_option("retrycnt=", &options);
usr.sbin/autofs/automountd.c
330
options = concat(options, ',', "retrycnt=1");
usr.sbin/autofs/automountd.c
332
options = concat(options, ',',
usr.sbin/autofs/automountd.c
337
f = auto_popen("mount", "-t", fstype, "-o", options,
usr.sbin/autofs/automountd.c
426
char *options = NULL;
usr.sbin/autofs/automountd.c
456
options = concat(options, ',', optarg);
usr.sbin/autofs/automountd.c
548
handle_request(&request, options, incomplete_hierarchy);
usr.sbin/autofs/common.c
1100
char *mountpoint = NULL, *map = NULL, *options = NULL;
usr.sbin/autofs/common.c
1113
node_new_map(root, mountpoint, options, map,
usr.sbin/autofs/common.c
1119
mountpoint = map = options = NULL;
usr.sbin/autofs/common.c
1127
} else if (options == NULL) {
usr.sbin/autofs/common.c
1131
options = checked_strdup(yytext + 1);
usr.sbin/autofs/common.c
164
node_new(struct node *parent, char *key, char *options, char *location,
usr.sbin/autofs/common.c
177
if (options != NULL)
usr.sbin/autofs/common.c
178
n->n_options = options;
usr.sbin/autofs/common.c
195
node_new_map(struct node *parent, char *key, char *options, char *map,
usr.sbin/autofs/common.c
208
if (options != NULL)
usr.sbin/autofs/common.c
209
n->n_options = options;
usr.sbin/autofs/common.c
580
char *options;
usr.sbin/autofs/common.c
585
options = concat(x, ',', n->n_options);
usr.sbin/autofs/common.c
588
return (node_options_x(n->n_parent, options));
usr.sbin/autofs/common.c
608
char *path, *options, *tmp;
usr.sbin/autofs/common.c
612
options = concat(cmdline_options, ',', tmp);
usr.sbin/autofs/common.c
630
options[0] != '\0' ? "-" : " ",
usr.sbin/autofs/common.c
632
options[0] != '\0' ? options : "",
usr.sbin/autofs/common.c
641
free(options);
usr.sbin/autofs/common.c
729
char *key = NULL, *options = NULL, *mountpoint = NULL,
usr.sbin/autofs/common.c
748
options != NULL) {
usr.sbin/autofs/common.c
758
key = options = NULL;
usr.sbin/autofs/common.c
766
key = options = NULL;
usr.sbin/autofs/common.c
771
if (options != NULL) {
usr.sbin/autofs/common.c
778
options = checked_strdup(yytext + 1);
usr.sbin/autofs/common.c
802
key = options = NULL;
usr.sbin/autofs/common.c
807
node = node_new(parent, key, options, NULL, map, lineno);
usr.sbin/autofs/common.c
808
key = options = NULL;
usr.sbin/autofs/common.h
95
struct node *node_new(struct node *parent, char *key, char *options,
usr.sbin/autofs/common.h
97
struct node *node_new_map(struct node *parent, char *key, char *options,
usr.sbin/bthcid/parser.y
102
options: option ';'
usr.sbin/bthcid/parser.y
103
| options option ';'
usr.sbin/bthcid/parser.y
88
'{' options '}'
usr.sbin/config/config.h
151
void options(void);
usr.sbin/config/main.c
236
options(); /* make options .h files */
usr.sbin/inetd/inetd.c
1180
if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) &&
usr.sbin/inetd/inetd.c
226
int options;
usr.sbin/inetd/inetd.c
326
options |= SO_DEBUG;
usr.sbin/makefs/makefs.c
363
set_option(const option_t *options, const char *option, char *buf, size_t len)
usr.sbin/makefs/makefs.c
376
retval = set_option_var(options, var, val, buf, len);
usr.sbin/makefs/makefs.c
382
set_option_var(const option_t *options, const char *var, const char *val,
usr.sbin/makefs/makefs.c
390
*(type *)options[i].value = 1; \
usr.sbin/makefs/makefs.c
393
*(type *)options[i].value = (type)strsuftoll(options[i].desc, val, \
usr.sbin/makefs/makefs.c
394
options[i].minimum, options[i].maximum); break
usr.sbin/makefs/makefs.c
396
for (i = 0; options[i].name != NULL; i++) {
usr.sbin/makefs/makefs.c
398
if (options[i].letter != var[0])
usr.sbin/makefs/makefs.c
400
} else if (strcmp(options[i].name, var) != 0)
usr.sbin/makefs/makefs.c
402
switch (options[i].type) {
usr.sbin/makefs/makefs.c
404
*(bool *)options[i].value = 1;
usr.sbin/makefs/makefs.c
407
strlcpy((void *)options[i].value, val, (size_t)
usr.sbin/makefs/makefs.c
408
options[i].maximum);
usr.sbin/makefs/makefs.c
412
*(char **)options[i].value = s;
usr.sbin/makefs/makefs.c
428
warnx("Unknown type %d in option %s", options[i].type,
usr.sbin/makefs/msdos.c
160
msdos_opt->options.create_size = MAX(msdos_opt->options.create_size,
usr.sbin/makefs/msdos.c
163
msdos_opt->options.offset = fsopts->offset;
usr.sbin/makefs/msdos.c
164
if (msdos_opt->options.bytes_per_sector == 0) {
usr.sbin/makefs/msdos.c
167
msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
usr.sbin/makefs/msdos.c
169
fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
usr.sbin/makefs/msdos.c
170
} else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
usr.sbin/makefs/msdos.c
173
fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
usr.sbin/makefs/msdos.c
179
if (mkfs_msdos(image, NULL, &msdos_opt->options) == -1)
usr.sbin/makefs/msdos.c
73
struct msdos_options options;
usr.sbin/makefs/msdos.c
89
.value = &msdos_opt->options._name, \
usr.sbin/pfctl/parse.y
229
struct node_state_opt *options;
usr.sbin/pfctl/parse.y
2376
filter_opts.keep.options = $1.options;
usr.sbin/pfctl/parse.y
3470
$$.options = NULL;
usr.sbin/pfctl/parse.y
3474
$$.options = $3;
usr.sbin/pfctl/parse.y
3478
$$.options = $3;
usr.sbin/pfctl/parse.y
3482
$$.options = $3;
usr.sbin/pfctl/parse.y
399
struct node_state_opt *options;
usr.sbin/traceroute/traceroute.c
309
static int options; /* socket options */
usr.sbin/traceroute/traceroute.c
359
options |= SO_DEBUG;
usr.sbin/traceroute/traceroute.c
438
options |= SO_DONTROUTE;
usr.sbin/traceroute/traceroute.c
555
if (options & SO_DEBUG)
usr.sbin/traceroute/traceroute.c
567
if (options & SO_DEBUG)
usr.sbin/traceroute/traceroute.c
570
if (options & SO_DONTROUTE)
usr.sbin/traceroute6/traceroute6.c
325
static int options; /* socket options */
usr.sbin/traceroute6/traceroute6.c
384
options |= SO_DEBUG;
usr.sbin/traceroute6/traceroute6.c
459
options |= SO_DONTROUTE;
usr.sbin/traceroute6/traceroute6.c
629
if (options & SO_DEBUG)
usr.sbin/traceroute6/traceroute6.c
632
if (options & SO_DONTROUTE)
usr.sbin/traceroute6/traceroute6.c
643
if (options & SO_DEBUG)
usr.sbin/traceroute6/traceroute6.c
646
if (options & SO_DONTROUTE)
usr.sbin/usbconfig/usbconfig.c
128
static struct options options;
usr.sbin/usbconfig/usbconfig.c
303
reset_options(struct options *opt)
usr.sbin/usbconfig/usbconfig.c
312
flush_command(struct libusb20_backend *pbe, struct options *opt)
usr.sbin/usbconfig/usbconfig.c
531
struct options *opt = &options;
usr.sbin/ypserv/yp_dnslookup.c
131
if (!(_res.options & RES_INIT) && res_init() == -1) {