bin/ls/ls.c
651
traverse(int argc, char *argv[], int options)
bin/ls/ls.c
658
fts_open(argv, options, f_nosort ? NULL : mastercmp)) == NULL)
bin/ls/ls.c
667
display(NULL, chp, options);
bin/ls/ls.c
678
options & FTS_NOSTAT ? FTS_NAMEONLY : 0;
bin/ls/ls.c
727
display(p, chp, options);
bin/ls/ls.c
746
display(const FTSENT *p, FTSENT *list, int options)
bin/ls/ls.c
933
if (options & FTS_LOGICAL)
bin/pax/ar_subs.c
160
if ((get_arc() < 0) || ((*frmt->options)() < 0) ||
bin/pax/ar_subs.c
583
if (((*frmt->options)() < 0) || ((*frmt->st_rd)() < 0))
bin/pax/ar_subs.c
703
if ((*frmt->options)() < 0)
bin/pax/ar_subs.c
82
if ((get_arc() < 0) || ((*frmt->options)() < 0) ||
bin/pax/extern.h
182
void options(int, char **);
bin/pax/pax.c
253
options(argc, argv);
bin/pax/pax.h
159
int (*options)(void); /* process format specific options (-o) */
bin/sh/options.c
403
options(0);
bin/sh/options.c
67
static int options(int);
bin/sh/options.c
92
login |= options(1);
crypto/heimdal/appl/ftp/ftp/cmds.c
1017
options |= SO_DEBUG;
crypto/heimdal/appl/ftp/ftp/cmds.c
1019
options &= ~SO_DEBUG;
crypto/heimdal/appl/ftp/ftp/ftp.c
1251
if (options & SO_DEBUG)
crypto/heimdal/appl/ftp/ftp/ftp.c
1318
if (options & SO_DEBUG)
crypto/heimdal/appl/ftp/ftp/ftp_var.h
105
extern int options; /* used during socket creation */
crypto/heimdal/appl/ftp/ftp/globals.c
64
int options; /* used during socket creation */
crypto/heimdal/appl/ftp/ftp/main.c
121
options |= SO_DEBUG;
crypto/heimdal/appl/ftp/ftpd/ls.c
53
static int parse_flags(const char *options);
crypto/heimdal/appl/ftp/ftpd/ls.c
801
parse_flags(const char *options)
crypto/heimdal/appl/ftp/ftpd/ls.c
810
if(options == NULL || *options != '-')
crypto/heimdal/appl/ftp/ftpd/ls.c
812
for(p = options + 1; *p; p++) {
crypto/heimdal/appl/telnet/telnet/externs.h
103
options[], /* All the little options */
crypto/heimdal/appl/telnet/telnet/externs.h
123
#define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
crypto/heimdal/appl/telnet/telnet/externs.h
124
#define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
crypto/heimdal/appl/telnet/telnet/externs.h
125
#define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
crypto/heimdal/appl/telnet/telnet/externs.h
126
#define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
crypto/heimdal/appl/telnet/telnet/externs.h
133
#define set_my_state_do(opt) {options[opt] |= MY_STATE_DO;}
crypto/heimdal/appl/telnet/telnet/externs.h
134
#define set_my_state_will(opt) {options[opt] |= MY_STATE_WILL;}
crypto/heimdal/appl/telnet/telnet/externs.h
135
#define set_my_want_state_do(opt) {options[opt] |= MY_WANT_STATE_DO;}
crypto/heimdal/appl/telnet/telnet/externs.h
136
#define set_my_want_state_will(opt) {options[opt] |= MY_WANT_STATE_WILL;}
crypto/heimdal/appl/telnet/telnet/externs.h
138
#define set_my_state_dont(opt) {options[opt] &= ~MY_STATE_DO;}
crypto/heimdal/appl/telnet/telnet/externs.h
139
#define set_my_state_wont(opt) {options[opt] &= ~MY_STATE_WILL;}
crypto/heimdal/appl/telnet/telnet/externs.h
140
#define set_my_want_state_dont(opt) {options[opt] &= ~MY_WANT_STATE_DO;}
crypto/heimdal/appl/telnet/telnet/externs.h
141
#define set_my_want_state_wont(opt) {options[opt] &= ~MY_WANT_STATE_WILL;}
crypto/heimdal/appl/telnet/telnet/telnet.c
143
memset(options, 0, sizeof options);
crypto/heimdal/appl/telnet/telnet/telnet.c
53
char options[256]; /* The combined options */
crypto/heimdal/appl/telnet/telnetd/defs.h
125
#define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
126
#define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
127
#define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
128
#define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
135
#define set_my_state_do(opt) (options[opt] |= MY_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
136
#define set_my_state_will(opt) (options[opt] |= MY_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
137
#define set_my_want_state_do(opt) (options[opt] |= MY_WANT_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
138
#define set_my_want_state_will(opt) (options[opt] |= MY_WANT_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
140
#define set_my_state_dont(opt) (options[opt] &= ~MY_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
141
#define set_my_state_wont(opt) (options[opt] &= ~MY_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
142
#define set_my_want_state_dont(opt) (options[opt] &= ~MY_WANT_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/defs.h
143
#define set_my_want_state_wont(opt) (options[opt] &= ~MY_WANT_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
153
((options[opt]+MY_STATE_WILL) & MY_WANT_STATE_WILL)
crypto/heimdal/appl/telnet/telnetd/defs.h
156
((options[opt]+MY_STATE_DO) & MY_WANT_STATE_DO)
crypto/heimdal/appl/telnet/telnetd/ext.h
44
extern char options[256];
crypto/heimdal/appl/telnet/telnetd/global.c
44
char options[256];
crypto/heimdal/kdc/krb5tgs.c
1119
const KDCOptions * const options, krb5_principal server,
crypto/heimdal/kdc/krb5tgs.c
1124
if(!options->canonicalize && server->name.name_type != KRB5_NT_SRV_INST)
crypto/heimdal/lib/gssapi/gssapi/gssapi.h
960
gss_mo_list(gss_const_OID mech, gss_OID_set *options);
crypto/heimdal/lib/gssapi/gssapi/gssapi.h
963
gss_mo_name(gss_const_OID mech, gss_const_OID options, gss_buffer_t name);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
107
add_all_mo(gssapi_mech_interface m, gss_OID_set *options, OM_uint32 mask)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
114
gss_add_oid_set_member(&minor, m->gm_mo[n].option, options);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
118
gss_mo_list(gss_const_OID mech, gss_OID_set *options)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
123
if (options == NULL)
crypto/heimdal/lib/gssapi/mech/gss_mo.c
126
*options = GSS_C_NO_OID_SET;
crypto/heimdal/lib/gssapi/mech/gss_mo.c
131
major = gss_create_empty_oid_set(&minor, options);
crypto/heimdal/lib/gssapi/mech/gss_mo.c
135
add_all_mo(m, options, 0);
crypto/heimdal/lib/krb5/deprecated.c
223
krb5_flags options,
crypto/heimdal/lib/krb5/deprecated.c
234
options,
crypto/heimdal/lib/krb5/deprecated.c
265
krb5_flags options,
crypto/heimdal/lib/krb5/deprecated.c
277
options,
crypto/heimdal/lib/krb5/deprecated.c
287
options,
crypto/heimdal/lib/krb5/deprecated.c
346
krb5_flags options,
crypto/heimdal/lib/krb5/deprecated.c
362
options,
crypto/heimdal/lib/krb5/get_cred.c
1123
krb5_flags options,
crypto/heimdal/lib/krb5/get_cred.c
1149
options |= KRB5_TC_MATCH_KEYTYPE;
crypto/heimdal/lib/krb5/get_cred.c
1168
if(options & KRB5_GC_EXPIRED_OK) {
crypto/heimdal/lib/krb5/get_cred.c
1178
if(options & KRB5_GC_CACHED)
crypto/heimdal/lib/krb5/get_cred.c
1186
if(options & KRB5_GC_CACHED)
crypto/heimdal/lib/krb5/get_cred.c
1189
if(options & KRB5_GC_USER_USER)
crypto/heimdal/lib/krb5/get_cred.c
1192
options |= KRB5_GC_NO_STORE;
crypto/heimdal/lib/krb5/get_cred.c
1202
if(ret == 0 && (options & KRB5_GC_NO_STORE) == 0)
crypto/heimdal/lib/krb5/get_cred.c
1209
krb5_flags options,
crypto/heimdal/lib/krb5/get_cred.c
1216
return krb5_get_credentials_with_flags(context, options, flags,
crypto/heimdal/lib/krb5/get_cred.c
1222
krb5_flags options;
crypto/heimdal/lib/krb5/get_cred.c
1256
krb5_flags options)
crypto/heimdal/lib/krb5/get_cred.c
1258
opt->options = options;
crypto/heimdal/lib/krb5/get_cred.c
1264
krb5_flags options)
crypto/heimdal/lib/krb5/get_cred.c
1266
opt->options |= options;
crypto/heimdal/lib/krb5/get_cred.c
1328
krb5_flags options;
crypto/heimdal/lib/krb5/get_cred.c
1349
options = opt->options;
crypto/heimdal/lib/krb5/get_cred.c
1351
options = 0;
crypto/heimdal/lib/krb5/get_cred.c
1365
options |= KRB5_TC_MATCH_KEYTYPE;
crypto/heimdal/lib/krb5/get_cred.c
1374
options & KRB5_TC_MATCH_KEYTYPE,
crypto/heimdal/lib/krb5/get_cred.c
1384
if(options & KRB5_GC_EXPIRED_OK) {
crypto/heimdal/lib/krb5/get_cred.c
1396
if(options & KRB5_GC_CACHED)
crypto/heimdal/lib/krb5/get_cred.c
1405
if(options & KRB5_GC_CACHED) {
crypto/heimdal/lib/krb5/get_cred.c
1410
if(options & KRB5_GC_USER_USER) {
crypto/heimdal/lib/krb5/get_cred.c
1412
options |= KRB5_GC_NO_STORE;
crypto/heimdal/lib/krb5/get_cred.c
1414
if (options & KRB5_GC_FORWARDABLE)
crypto/heimdal/lib/krb5/get_cred.c
1416
if (options & KRB5_GC_NO_TRANSIT_CHECK)
crypto/heimdal/lib/krb5/get_cred.c
1418
if (options & KRB5_GC_CONSTRAINED_DELEGATION) {
crypto/heimdal/lib/krb5/get_cred.c
1422
if (options & KRB5_GC_CANONICALIZE)
crypto/heimdal/lib/krb5/get_cred.c
1435
if(ret == 0 && (options & KRB5_GC_NO_STORE) == 0)
crypto/heimdal/lib/krb5/get_in_tkt.c
365
krb5_flags options,
crypto/heimdal/lib/krb5/get_in_tkt.c
393
opts = int2KDCOptions(options);
crypto/heimdal/lib/krb5/get_in_tkt.c
530
krb5_flags options,
crypto/heimdal/lib/krb5/get_in_tkt.c
546
options,
crypto/heimdal/lib/krb5/init_creds_pw.c
1351
krb5_get_init_creds_opt *options,
crypto/heimdal/lib/krb5/init_creds_pw.c
1365
ret = get_init_creds_common(context, client, start_time, options, ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
186
krb5_get_init_creds_opt *options)
crypto/heimdal/lib/krb5/init_creds_pw.c
1966
krb5_get_init_creds_opt *options)
crypto/heimdal/lib/krb5/init_creds_pw.c
1974
ret = krb5_init_creds_init(context, client, prompter, data, start_time, options, &ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
2017
process_last_request(context, options, ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
2038
options);
crypto/heimdal/lib/krb5/init_creds_pw.c
2070
krb5_get_init_creds_opt *options)
crypto/heimdal/lib/krb5/init_creds_pw.c
2077
ret = krb5_init_creds_init(context, client, NULL, NULL, start_time, options, &ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
208
if (options->flags & KRB5_GET_INIT_CREDS_OPT_TKT_LIFE)
crypto/heimdal/lib/krb5/init_creds_pw.c
209
tmp = options->tkt_life;
crypto/heimdal/lib/krb5/init_creds_pw.c
2092
process_last_request(context, options, ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
2117
krb5_get_init_creds_opt *options)
crypto/heimdal/lib/krb5/init_creds_pw.c
2124
ret = krb5_init_creds_init(context, client, NULL, NULL, start_time, options, &ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
2138
process_last_request(context, options, ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
214
if ((options->flags & KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE) &&
crypto/heimdal/lib/krb5/init_creds_pw.c
215
options->renew_life > 0) {
crypto/heimdal/lib/krb5/init_creds_pw.c
216
cred->times.renew_till = now + options->renew_life;
crypto/heimdal/lib/krb5/init_creds_pw.c
256
krb5_get_init_creds_opt *options,
crypto/heimdal/lib/krb5/init_creds_pw.c
273
if (options && options->opt_private && options->opt_private->lr.func) {
crypto/heimdal/lib/krb5/init_creds_pw.c
290
(*options->opt_private->lr.func)(context, lre,
crypto/heimdal/lib/krb5/init_creds_pw.c
291
options->opt_private->lr.ctx);
crypto/heimdal/lib/krb5/init_creds_pw.c
350
krb5_get_init_creds_opt *options,
crypto/heimdal/lib/krb5/init_creds_pw.c
360
if (options == NULL) {
crypto/heimdal/lib/krb5/init_creds_pw.c
364
options = default_opt;
crypto/heimdal/lib/krb5/init_creds_pw.c
365
krb5_get_init_creds_opt_set_default_flags(context, NULL, realm, options);
crypto/heimdal/lib/krb5/init_creds_pw.c
368
if (options->opt_private) {
crypto/heimdal/lib/krb5/init_creds_pw.c
369
if (options->opt_private->password) {
crypto/heimdal/lib/krb5/init_creds_pw.c
371
options->opt_private->password);
crypto/heimdal/lib/krb5/init_creds_pw.c
376
ctx->keyproc = options->opt_private->key_proc;
crypto/heimdal/lib/krb5/init_creds_pw.c
377
ctx->req_pac = options->opt_private->req_pac;
crypto/heimdal/lib/krb5/init_creds_pw.c
378
ctx->pk_init_ctx = options->opt_private->pk_init_ctx;
crypto/heimdal/lib/krb5/init_creds_pw.c
379
ctx->ic_flags = options->opt_private->flags;
crypto/heimdal/lib/krb5/init_creds_pw.c
396
ret = init_cred(context, &ctx->cred, client, start_time, options);
crypto/heimdal/lib/krb5/init_creds_pw.c
407
if (options->flags & KRB5_GET_INIT_CREDS_OPT_FORWARDABLE)
crypto/heimdal/lib/krb5/init_creds_pw.c
408
ctx->flags.forwardable = options->forwardable;
crypto/heimdal/lib/krb5/init_creds_pw.c
410
if (options->flags & KRB5_GET_INIT_CREDS_OPT_PROXIABLE)
crypto/heimdal/lib/krb5/init_creds_pw.c
411
ctx->flags.proxiable = options->proxiable;
crypto/heimdal/lib/krb5/init_creds_pw.c
417
if (options->flags & KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST) {
crypto/heimdal/lib/krb5/init_creds_pw.c
418
ctx->addrs = options->address_list;
crypto/heimdal/lib/krb5/init_creds_pw.c
419
} else if (options->opt_private) {
crypto/heimdal/lib/krb5/init_creds_pw.c
420
switch (options->opt_private->addressless) {
crypto/heimdal/lib/krb5/init_creds_pw.c
436
if (options->flags & KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST) {
crypto/heimdal/lib/krb5/init_creds_pw.c
440
etypes = malloc((options->etype_list_length + 1)
crypto/heimdal/lib/krb5/init_creds_pw.c
447
memcpy (etypes, options->etype_list,
crypto/heimdal/lib/krb5/init_creds_pw.c
448
options->etype_list_length * sizeof(krb5_enctype));
crypto/heimdal/lib/krb5/init_creds_pw.c
449
etypes[options->etype_list_length] = ETYPE_NULL;
crypto/heimdal/lib/krb5/init_creds_pw.c
452
if (options->flags & KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST) {
crypto/heimdal/lib/krb5/init_creds_pw.c
453
pre_auth_types = malloc((options->preauth_list_length + 1)
crypto/heimdal/lib/krb5/init_creds_pw.c
460
memcpy (pre_auth_types, options->preauth_list,
crypto/heimdal/lib/krb5/init_creds_pw.c
461
options->preauth_list_length * sizeof(krb5_preauthtype));
crypto/heimdal/lib/krb5/init_creds_pw.c
462
pre_auth_types[options->preauth_list_length] = KRB5_PADATA_NONE;
crypto/heimdal/lib/krb5/init_creds_pw.c
465
if (options->flags & KRB5_GET_INIT_CREDS_OPT_ANONYMOUS)
crypto/heimdal/lib/krb5/init_creds_pw.c
466
ctx->flags.request_anonymous = options->anonymous;
crypto/heimdal/lib/krb5/init_creds_pw.c
495
krb5_get_init_creds_opt *options;
crypto/heimdal/lib/krb5/init_creds_pw.c
499
ret = krb5_get_init_creds_opt_alloc(context, &options);
crypto/heimdal/lib/krb5/init_creds_pw.c
502
krb5_get_init_creds_opt_set_tkt_life (options, 60);
crypto/heimdal/lib/krb5/init_creds_pw.c
503
krb5_get_init_creds_opt_set_forwardable (options, FALSE);
crypto/heimdal/lib/krb5/init_creds_pw.c
504
krb5_get_init_creds_opt_set_proxiable (options, FALSE);
crypto/heimdal/lib/krb5/init_creds_pw.c
506
krb5_get_init_creds_opt_set_preauth_list (options,
crypto/heimdal/lib/krb5/init_creds_pw.c
521
options);
crypto/heimdal/lib/krb5/init_creds_pw.c
522
krb5_get_init_creds_opt_free(context, options);
crypto/heimdal/lib/krb5/verify_init.c
148
if (fail_verify_is_ok (context, options))
crypto/heimdal/lib/krb5/verify_init.c
176
if (ret == KRB5_KT_NOTFOUND && fail_verify_is_ok (context, options))
crypto/heimdal/lib/krb5/verify_init.c
37
krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt *options)
crypto/heimdal/lib/krb5/verify_init.c
39
memset (options, 0, sizeof(*options));
crypto/heimdal/lib/krb5/verify_init.c
43
krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt *options,
crypto/heimdal/lib/krb5/verify_init.c
46
options->flags |= KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL;
crypto/heimdal/lib/krb5/verify_init.c
47
options->ap_req_nofail = ap_req_nofail;
crypto/heimdal/lib/krb5/verify_init.c
56
krb5_verify_init_creds_opt *options)
crypto/heimdal/lib/krb5/verify_init.c
58
if ((options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL
crypto/heimdal/lib/krb5/verify_init.c
59
&& options->ap_req_nofail != 0)
crypto/heimdal/lib/krb5/verify_init.c
76
krb5_verify_init_creds_opt *options)
crypto/heimdal/lib/roken/resolve.c
554
state.options |= RES_DEBUG;
crypto/krb5/src/clients/kinit/kinit.c
645
krb5_get_init_creds_opt *options = NULL;
crypto/krb5/src/clients/kinit/kinit.c
654
ret = krb5_get_init_creds_opt_alloc(k5->ctx, &options);
crypto/krb5/src/clients/kinit/kinit.c
659
krb5_get_init_creds_opt_set_tkt_life(options, opts->lifetime);
crypto/krb5/src/clients/kinit/kinit.c
661
krb5_get_init_creds_opt_set_renew_life(options, opts->rlife);
crypto/krb5/src/clients/kinit/kinit.c
663
krb5_get_init_creds_opt_set_forwardable(options, 1);
crypto/krb5/src/clients/kinit/kinit.c
665
krb5_get_init_creds_opt_set_forwardable(options, 0);
crypto/krb5/src/clients/kinit/kinit.c
667
krb5_get_init_creds_opt_set_proxiable(options, 1);
crypto/krb5/src/clients/kinit/kinit.c
669
krb5_get_init_creds_opt_set_proxiable(options, 0);
crypto/krb5/src/clients/kinit/kinit.c
671
krb5_get_init_creds_opt_set_canonicalize(options, 1);
crypto/krb5/src/clients/kinit/kinit.c
673
krb5_get_init_creds_opt_set_anonymous(options, 1);
crypto/krb5/src/clients/kinit/kinit.c
680
krb5_get_init_creds_opt_set_address_list(options, addresses);
crypto/krb5/src/clients/kinit/kinit.c
683
krb5_get_init_creds_opt_set_address_list(options, NULL);
crypto/krb5/src/clients/kinit/kinit.c
685
krb5_get_init_creds_opt_set_fast_ccache_name(k5->ctx, options,
crypto/krb5/src/clients/kinit/kinit.c
689
krb5_get_init_creds_opt_set_pac_request(k5->ctx, options, TRUE);
crypto/krb5/src/clients/kinit/kinit.c
691
krb5_get_init_creds_opt_set_pac_request(k5->ctx, options, FALSE);
crypto/krb5/src/clients/kinit/kinit.c
725
ret = krb5_get_init_creds_opt_set_pa(k5->ctx, options,
crypto/krb5/src/clients/kinit/kinit.c
739
ret = krb5_get_init_creds_opt_set_in_ccache(k5->ctx, options,
crypto/krb5/src/clients/kinit/kinit.c
744
ret = krb5_get_init_creds_opt_set_out_ccache(k5->ctx, options, k5->out_cc);
crypto/krb5/src/clients/kinit/kinit.c
753
options);
crypto/krb5/src/clients/kinit/kinit.c
758
options);
crypto/krb5/src/clients/kinit/kinit.c
839
if (options)
crypto/krb5/src/clients/kinit/kinit.c
840
krb5_get_init_creds_opt_free(k5->ctx, options);
crypto/krb5/src/clients/ksu/heuristic.c
509
krb5_get_init_creds_opt *options, char *cmd,
crypto/krb5/src/clients/ksu/krb_auth_su.c
141
krb5_get_init_creds_opt *options,
crypto/krb5/src/clients/ksu/krb_auth_su.c
194
options);
crypto/krb5/src/clients/ksu/krb_auth_su.c
36
char *hostname, krb5_get_init_creds_opt *options,
crypto/krb5/src/clients/ksu/krb_auth_su.c
99
if (ksu_get_tgt_via_passwd(context, client, options, &zero_password,
crypto/krb5/src/clients/ksu/main.c
137
retval = krb5_get_init_creds_opt_alloc(ksu_context, &options);
crypto/krb5/src/clients/ksu/main.c
202
krb5_get_init_creds_opt_set_renew_life(options, rlife);
crypto/krb5/src/clients/ksu/main.c
218
krb5_get_init_creds_opt_set_proxiable(options, 1);
crypto/krb5/src/clients/ksu/main.c
221
krb5_get_init_creds_opt_set_proxiable(options, 0);
crypto/krb5/src/clients/ksu/main.c
224
krb5_get_init_creds_opt_set_forwardable(options, 1);
crypto/krb5/src/clients/ksu/main.c
227
krb5_get_init_creds_opt_set_forwardable(options, 0);
crypto/krb5/src/clients/ksu/main.c
243
krb5_get_init_creds_opt_set_tkt_life(options, lifetime);
crypto/krb5/src/clients/ksu/main.c
381
options, cmd, localhostname,
crypto/krb5/src/clients/ksu/main.c
463
krb5_get_init_creds_opt_set_out_ccache(ksu_context, options, cc_tmp);
crypto/krb5/src/clients/ksu/main.c
479
if (ksu_get_tgt_via_passwd(ksu_context, client, options,
crypto/krb5/src/clients/ksu/main.c
504
options, target_user, cc_tmp,
crypto/krb5/src/clients/ksu/main.c
91
krb5_get_init_creds_opt *options = NULL;
crypto/krb5/src/clients/kvno/kvno.c
295
krb5_flags options, int unknown, krb5_principal for_user_princ,
crypto/krb5/src/clients/kvno/kvno.c
344
ret = krb5_get_credentials_for_user(context, options, ccache,
crypto/krb5/src/clients/kvno/kvno.c
349
ret = krb5_get_credentials(context, options, ccache, &in_creds,
crypto/krb5/src/clients/kvno/kvno.c
466
krb5_flags options = 0;
crypto/krb5/src/clients/kvno/kvno.c
471
options |= KRB5_GC_CANONICALIZE;
crypto/krb5/src/clients/kvno/kvno.c
473
options |= KRB5_GC_CACHED;
crypto/krb5/src/clients/kvno/kvno.c
475
options |= KRB5_GC_NO_STORE;
crypto/krb5/src/clients/kvno/kvno.c
544
options |= KRB5_GC_USER_USER;
crypto/krb5/src/clients/kvno/kvno.c
563
if (kvno(names[i], ccache, me, etype, keytab, sname, options, unknown,
crypto/krb5/src/include/k5-int.h
2364
krb5_get_credentials_for_user(krb5_context context, krb5_flags options,
crypto/krb5/src/include/k5-int.h
2372
krb5_flags options,
crypto/krb5/src/include/k5-int.h
575
krb5_flags options;
crypto/krb5/src/include/k5-int.h
768
krb5_flags options;
crypto/krb5/src/include/k5-platform.h
1140
extern int k5_getopt_long(int nargc, char **nargv, char *options,
crypto/krb5/src/kdc/kdc_util.c
1471
rep_s4u_user.user_id.options =
crypto/krb5/src/kdc/kdc_util.c
1472
req_s4u_user->user_id.options & KRB5_S4U_OPTS_USE_REPLY_KEY_USAGE;
crypto/krb5/src/kdc/kdc_util.c
1478
if (req_s4u_user->user_id.options & KRB5_S4U_OPTS_USE_REPLY_KEY_USAGE)
crypto/krb5/src/kdc/kdc_util.c
1840
pac_options->options &= KRB5_PA_PAC_OPTIONS_RBCD;
crypto/krb5/src/kdc/kdc_util.c
1841
if (pac_options->options == 0) {
crypto/krb5/src/kdc/kdc_util.c
1870
if (pac_options->options & KRB5_PA_PAC_OPTIONS_RBCD)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1003
free_atype(choice->options[count], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1004
free_atype_ptr(choice->options[count], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1281
if (check_atype_tag(choice->options[i], t)) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1282
ret = decode_atype(t, asn1, len, choice->options[i], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
819
return encode_atype(buf, val, choice->options[count], tag_out);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.h
231
const struct atype_info **options;
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
1712
DEFFIELD(pa_pac_options_0, krb5_pa_pac_options, options, 0, krb5_flags);
crypto/krb5/src/lib/krb5/asn.1/asn1_k_encode.c
973
DEFFIELD(s4u_userid_4, krb5_s4u_userid, options, 4, opt_krb5_flags);
crypto/krb5/src/lib/krb5/krb/get_creds.c
104
if (options & KRB5_GC_CONSTRAINED_DELEGATION)
crypto/krb5/src/lib/krb5/krb/get_creds.c
1094
krb5_creds *in_creds, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/get_creds.c
1106
ctx->req_options = options;
crypto/krb5/src/lib/krb5/krb/get_creds.c
1108
if (options & KRB5_GC_CANONICALIZE)
crypto/krb5/src/lib/krb5/krb/get_creds.c
1110
if (options & KRB5_GC_FORWARDABLE)
crypto/krb5/src/lib/krb5/krb/get_creds.c
1112
if (options & KRB5_GC_NO_TRANSIT_CHECK)
crypto/krb5/src/lib/krb5/krb/get_creds.c
1309
krb5_get_credentials(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/get_creds.c
1321
if (options & KRB5_GC_CONSTRAINED_DELEGATION) {
crypto/krb5/src/lib/krb5/krb/get_creds.c
1322
return k5_get_proxy_cred_from_kdc(context, options, ccache, in_creds,
crypto/krb5/src/lib/krb5/krb/get_creds.c
1332
code = krb5_tkt_creds_init(context, ccache, in_creds, options, &ctx);
crypto/krb5/src/lib/krb5/krb/get_creds.c
136
k5_get_cached_cred(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/get_creds.c
146
code = construct_matching_creds(context, options, in_creds,
crypto/krb5/src/lib/krb5/krb/get_creds.c
52
construct_matching_creds(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/get_creds.c
89
if (options & (KRB5_GC_USER_USER | KRB5_GC_CONSTRAINED_DELEGATION)) {
crypto/krb5/src/lib/krb5/krb/get_creds.c
93
if (options & KRB5_GC_USER_USER) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1512
warn_pw_expiry(krb5_context context, krb5_get_init_creds_opt *options,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1529
k5_gic_opt_get_expire_cb(options, &expire_cb, &expire_data);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1957
krb5_get_init_creds_opt *options, get_as_key_fn gak_fct,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1969
options,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2006
const char *in_tkt_service, krb5_get_init_creds_opt *options,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2020
start_time, in_tkt_service, options, gak_fct,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2036
start_time, in_tkt_service, options, gak_fct,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2093
krb5_flags options, krb5_address *const *addrs,
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2120
if (options&KDC_OPT_FORWARDABLE)
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2123
if (options&KDC_OPT_PROXIABLE)
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
238
krb5_get_init_creds_opt *options,
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
245
options, &ctx);
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
280
krb5_get_init_creds_opt *options)
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
301
in_tkt_service, options, FALSE, kdcs);
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
319
start_time, in_tkt_service, options,
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
343
krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
355
retval = k5_populate_gic_opt(context, &opts, options, addrs, ktypes,
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
182
krb5_get_init_creds_opt *options)
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
206
in_tkt_service, options, krb5_get_as_key_password,
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
221
if (options && !(options->flags & KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT))
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
228
ret = make_chpw_options(context, options, &chpw_opts);
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
335
start_time, in_tkt_service, options,
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
373
krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
391
retval = k5_populate_gic_opt(context, &opts, options, addrs, ktypes,
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
69
krb5_get_in_tkt_with_skey(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
80
retval = k5_populate_gic_opt(context, &opts, options, addrs, ktypes,
crypto/krb5/src/lib/krb5/krb/int-proto.h
294
const char *in_tkt_service, krb5_get_init_creds_opt *options,
crypto/krb5/src/lib/krb5/krb/int-proto.h
310
krb5_flags options, krb5_address *const *addrs,
crypto/krb5/src/lib/krb5/krb/int-proto.h
385
k5_get_proxy_cred_from_kdc(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/int-proto.h
83
k5_get_cached_cred(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/kfree.c
638
user_id->options = 0;
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1002
options &= ~KRB5_GC_CONSTRAINED_DELEGATION;
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1004
code = get_client_tgt(context, options, ccache, in_creds->client, &tgt);
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1017
if (options & KRB5_GC_CANONICALIZE)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1019
if (options & KRB5_GC_FORWARDABLE)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1021
if (options & KRB5_GC_NO_TRANSIT_CHECK)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1148
k5_get_proxy_cred_from_kdc(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1159
code = k5_get_cached_cred(context, options, ccache, in_creds, out_creds);
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1161
options & KRB5_GC_CACHED)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1168
code = get_proxy_cred_from_kdc(context, options, ccache, ©,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1187
if (!(options & KRB5_GC_NO_STORE))
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1202
krb5_flags options,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
1239
options | KRB5_GC_CONSTRAINED_DELEGATION,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
328
if (rep_s4u_user->user_id.options & KRB5_S4U_OPTS_USE_REPLY_KEY_USAGE)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
366
if (rep_s4u_user->user_id.options &
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
421
krb5_flags options,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
471
s4u_user.user_id.options = KRB5_S4U_OPTS_USE_REPLY_KEY_USAGE;
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
482
code = krb5_get_credentials(context, options, ccache, &tgtq, &tgt);
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
501
if (options & KRB5_GC_CANONICALIZE)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
503
if (options & KRB5_GC_FORWARDABLE)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
505
if (options & KRB5_GC_NO_TRANSIT_CHECK)
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
648
krb5_get_credentials_for_user(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
658
if (options & KRB5_GC_CONSTRAINED_DELEGATION) {
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
665
code = krb5_get_credentials(context, options | KRB5_GC_CACHED,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
668
(options & KRB5_GC_CACHED))
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
670
} else if (options & KRB5_GC_CACHED) {
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
685
code = krb5_get_credentials(context, options | KRB5_GC_CACHED,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
691
code = krb5_get_self_cred_from_kdc(context, options, ccache, in_creds,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
706
code = krb5_get_credentials(context, options | KRB5_GC_CACHED, ccache,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
711
options |= KRB5_GC_NO_STORE;
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
723
if ((options & KRB5_GC_NO_STORE) == 0) {
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
757
if (!(pac_options->options & KRB5_PA_PAC_OPTIONS_RBCD))
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
772
pac_options.options |= KRB5_PA_PAC_OPTIONS_RBCD;
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
786
get_client_tgt(krb5_context context, krb5_flags options, krb5_ccache ccache,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
802
code = krb5_get_credentials(context, options, ccache, &mcreds, tgt_out);
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
985
get_proxy_cred_from_kdc(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
999
(options & KRB5_GC_CONSTRAINED_DELEGATION) == 0)
crypto/krb5/src/lib/krb5/krb/val_renew.c
117
krb5_get_credentials_validate(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/val_renew.c
125
krb5_get_credentials_renew(krb5_context context, krb5_flags options,
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
263
krb5_verify_init_creds_opt *options)
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
313
if (!have_keys && !nofail(context, options, creds))
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
39
nofail(krb5_context context, krb5_verify_init_creds_opt *options,
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
44
if (options &&
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
45
(options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL))
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
46
return (options->ap_req_nofail != 0);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
436
long options = SSL_OP_NO_SSLv2;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
461
options |= SSL_OP_IGNORE_UNEXPECTED_EOF;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
463
SSL_CTX_set_options(ctx, options);
crypto/krb5/src/util/support/getopt_long.c
158
getopt_long(nargc, nargv, options, long_options, index)
crypto/krb5/src/util/support/getopt_long.c
161
char * options;
crypto/krb5/src/util/support/getopt_long.c
168
_DIAGASSERT(options != NULL);
crypto/krb5/src/util/support/getopt_long.c
172
if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
crypto/krb5/src/util/support/getopt_long.c
210
if ((opterr) && (*options != ':'))
crypto/krb5/src/util/support/getopt_long.c
217
if ((opterr) && (*options != ':'))
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1477
krb5_get_init_creds_opt *options)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1490
krb5_get_init_creds_opt *options)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1497
(krb5_verify_init_creds_opt *options)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1504
(krb5_verify_init_creds_opt *options,
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1517
krb5_verify_init_creds_opt *options)
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
490
krb5_get_init_creds_opt options;
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
497
pkrb5_get_init_creds_opt_init(&options);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
533
pkrb5_get_init_creds_opt_set_tkt_life(&options, lifetime);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
534
pkrb5_get_init_creds_opt_set_forwardable(&options,
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
536
pkrb5_get_init_creds_opt_set_proxiable(&options,
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
538
pkrb5_get_init_creds_opt_set_renew_life(&options,
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
541
pkrb5_get_init_creds_opt_set_address_list(&options,NULL);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
597
pkrb5_get_init_creds_opt_set_address_list(&options,addrs);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
610
&options);
crypto/krb5/src/windows/leashdll/krb5routines.c
181
krb5_get_init_creds_opt * options = NULL;
crypto/krb5/src/windows/leashdll/krb5routines.c
202
code = pkrb5_get_init_creds_opt_alloc(ctx, &options);
crypto/krb5/src/windows/leashdll/krb5routines.c
240
pkrb5_get_init_creds_opt_set_tkt_life(options, lifetime);
crypto/krb5/src/windows/leashdll/krb5routines.c
241
pkrb5_get_init_creds_opt_set_forwardable(options,
crypto/krb5/src/windows/leashdll/krb5routines.c
243
pkrb5_get_init_creds_opt_set_proxiable(options,
crypto/krb5/src/windows/leashdll/krb5routines.c
245
pkrb5_get_init_creds_opt_set_renew_life(options,
crypto/krb5/src/windows/leashdll/krb5routines.c
248
pkrb5_get_init_creds_opt_set_address_list(options,NULL);
crypto/krb5/src/windows/leashdll/krb5routines.c
304
pkrb5_get_init_creds_opt_set_address_list(options,addrs);
crypto/krb5/src/windows/leashdll/krb5routines.c
309
code = pkrb5_get_init_creds_opt_set_out_ccache(ctx, options, cc);
crypto/krb5/src/windows/leashdll/krb5routines.c
321
options);
crypto/krb5/src/windows/leashdll/krb5routines.c
358
if (options)
crypto/krb5/src/windows/leashdll/krb5routines.c
359
pkrb5_get_init_creds_opt_free(ctx, options);
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
105
extern ServerOptions options;
crypto/openssh/auth-pam.c
1054
if (!options.use_pam)
crypto/openssh/auth-pam.c
1260
int flags = (options.permit_empty_passwd == 0 ?
crypto/openssh/auth-pam.c
1264
if (!options.use_pam || sshpam_handle == NULL)
crypto/openssh/auth-pam.c
1277
options.permit_root_login != PERMIT_YES))
crypto/openssh/auth-pam.c
1319
options.password_authentication = 0;
crypto/openssh/auth-pam.c
1320
options.kbd_interactive_authentication = 0;
crypto/openssh/auth-pam.c
492
int r, flags = (options.permit_empty_passwd == 0 ?
crypto/openssh/auth-pam.c
709
if (options.pam_service_name == NULL)
crypto/openssh/auth-pam.c
726
options.pam_service_name);
crypto/openssh/auth-pam.c
727
sshpam_err = pam_start(options.pam_service_name, user,
crypto/openssh/auth-pam.c
744
options.use_dns));
crypto/openssh/auth-pam.c
819
if (!options.use_pam || sshpam_account_status == 0)
crypto/openssh/auth-pam.c
910
options.permit_root_login != PERMIT_YES))
crypto/openssh/auth-pam.c
989
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
265
if (options.strict_modes &&
crypto/openssh/auth-rhosts.c
295
if (options.strict_modes &&
crypto/openssh/auth-rhosts.c
308
if (options.ignore_rhosts == IGNORE_RHOSTS_YES ||
crypto/openssh/auth-rhosts.c
309
(options.ignore_rhosts == IGNORE_RHOSTS_SHOSTS &&
crypto/openssh/auth-rhosts.c
46
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
109
if (!options.use_pam && platform_locked_account(pw)) {
crypto/openssh/auth.c
119
if (options.chroot_directory == NULL ||
crypto/openssh/auth.c
120
strcasecmp(options.chroot_directory, "none") == 0) {
crypto/openssh/auth.c
140
if (options.num_deny_users > 0 || options.num_allow_users > 0 ||
crypto/openssh/auth.c
141
options.num_deny_groups > 0 || options.num_allow_groups > 0) {
crypto/openssh/auth.c
142
hostname = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth.c
147
if (options.num_deny_users > 0) {
crypto/openssh/auth.c
148
for (i = 0; i < options.num_deny_users; i++) {
crypto/openssh/auth.c
150
options.deny_users[i]);
crypto/openssh/auth.c
153
options.deny_users[i]);
crypto/openssh/auth.c
163
if (options.num_allow_users > 0) {
crypto/openssh/auth.c
164
for (i = 0; i < options.num_allow_users; i++) {
crypto/openssh/auth.c
166
options.allow_users[i]);
crypto/openssh/auth.c
169
options.allow_users[i]);
crypto/openssh/auth.c
174
if (i >= options.num_allow_users) {
crypto/openssh/auth.c
180
if (options.num_deny_groups > 0 || options.num_allow_groups > 0) {
crypto/openssh/auth.c
189
if (options.num_deny_groups > 0)
crypto/openssh/auth.c
190
if (ga_match(options.deny_groups,
crypto/openssh/auth.c
191
options.num_deny_groups)) {
crypto/openssh/auth.c
202
if (options.num_allow_groups > 0)
crypto/openssh/auth.c
203
if (!ga_match(options.allow_groups,
crypto/openssh/auth.c
204
options.num_allow_groups)) {
crypto/openssh/auth.c
239
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth.c
241
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth.c
253
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth.c
279
authctxt->failures >= options.max_authtries / 2 ||
crypto/openssh/auth.c
320
auth_get_canonical_hostname(ssh, options.use_dns), "ssh");
crypto/openssh/auth.c
330
auth_get_canonical_hostname(ssh, options.use_dns), "ssh",
crypto/openssh/auth.c
357
switch (options.permit_root_login) {
crypto/openssh/auth.c
414
if (options.authorized_principals_file == NULL)
crypto/openssh/auth.c
416
return expand_authorized_keys(options.authorized_principals_file, pw);
crypto/openssh/auth.c
434
if (options.strict_modes &&
crypto/openssh/auth.c
481
ci = server_get_connection_info(ssh, 1, options.use_dns);
crypto/openssh/auth.c
484
parse_server_match_config(&options, &includes, ci);
crypto/openssh/auth.c
485
log_change_level(options.log_level);
crypto/openssh/auth.c
487
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/auth.c
488
log_verbose_add(options.log_verbose[i]);
crypto/openssh/auth.c
506
auth_get_canonical_hostname(ssh, options.use_dns), "ssh");
crypto/openssh/auth.c
521
from_host = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth.c
558
if (options.num_revoked_keys_files == 0)
crypto/openssh/auth.c
560
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth.c
567
for (i = 0; i < options.num_revoked_keys_files; i++) {
crypto/openssh/auth.c
568
r = sshkey_check_revoked(key, options.revoked_keys_files[i]);
crypto/openssh/auth.c
575
options.revoked_keys_files[i]);
crypto/openssh/auth.c
580
options.revoked_keys_files[i]);
crypto/openssh/auth.c
692
int do_env = options.permit_user_env && opts->nenv > 0;
crypto/openssh/auth.c
694
(options.allow_tcp_forwarding & FORWARD_LOCAL) != 0;
crypto/openssh/auth.c
696
(options.allow_tcp_forwarding & FORWARD_REMOTE) != 0;
crypto/openssh/auth.c
723
if (options.permit_user_env) {
crypto/openssh/auth.c
79
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
105
if (match_pattern_list(pkalg, options.hostbased_accepted_algos, 0) != 1) {
crypto/openssh/auth2-hostbased.c
111
options.ca_sign_algorithms)) != 0) {
crypto/openssh/auth2-hostbased.c
118
options.required_rsa_size)) != 0) {
crypto/openssh/auth2-hostbased.c
182
resolvedname = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth2-hostbased.c
193
if (options.hostbased_uses_name_from_packet_only) {
crypto/openssh/auth2-hostbased.c
216
options.ca_sign_algorithms, &reason) != 0) {
crypto/openssh/auth2-hostbased.c
218
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-hostbased.c
233
options.ignore_user_known_hosts ? NULL : _PATH_SSH_USER_HOSTFILE);
crypto/openssh/auth2-hostbased.c
239
options.ignore_user_known_hosts ? NULL :
crypto/openssh/auth2-hostbased.c
246
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-hostbased.c
254
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
48
extern ServerOptions options;
crypto/openssh/auth2-none.c
61
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
348
options.strict_modes)) == NULL) {
crypto/openssh/auth2-pubkey.c
391
if (options.authorized_principals_command == NULL)
crypto/openssh/auth2-pubkey.c
393
if (options.authorized_principals_command_user == NULL) {
crypto/openssh/auth2-pubkey.c
406
username = percent_expand(options.authorized_principals_command_user,
crypto/openssh/auth2-pubkey.c
416
if (argv_split(options.authorized_principals_command,
crypto/openssh/auth2-pubkey.c
419
"invalid quotes", options.authorized_principals_command);
crypto/openssh/auth2-pubkey.c
424
options.authorized_principals_command);
crypto/openssh/auth2-pubkey.c
428
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/auth2-pubkey.c
433
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/auth2-pubkey.c
525
if (!sshkey_is_cert(key) || options.trusted_user_ca_keys == NULL)
crypto/openssh/auth2-pubkey.c
529
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/auth2-pubkey.c
533
options.trusted_user_ca_keys, 1, 0)) != 0) {
crypto/openssh/auth2-pubkey.c
536
options.trusted_user_ca_keys);
crypto/openssh/auth2-pubkey.c
555
options.authorized_principals_command != NULL;
crypto/openssh/auth2-pubkey.c
605
options.trusted_user_ca_keys);
crypto/openssh/auth2-pubkey.c
639
if ((f = auth_openkeyfile(file, pw, options.strict_modes)) != NULL) {
crypto/openssh/auth2-pubkey.c
669
if (options.authorized_keys_command == NULL)
crypto/openssh/auth2-pubkey.c
671
if (options.authorized_keys_command_user == NULL) {
crypto/openssh/auth2-pubkey.c
683
username = percent_expand(options.authorized_keys_command_user,
crypto/openssh/auth2-pubkey.c
693
if ((key_fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/auth2-pubkey.c
704
if (argv_split(options.authorized_keys_command, &ac, &av, 0) != 0) {
crypto/openssh/auth2-pubkey.c
706
options.authorized_keys_command);
crypto/openssh/auth2-pubkey.c
711
options.authorized_keys_command);
crypto/openssh/auth2-pubkey.c
73
extern ServerOptions options;
crypto/openssh/auth2-pubkey.c
759
options.authorized_keys_command, key, remote_ip,
crypto/openssh/auth2-pubkey.c
80
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/auth2-pubkey.c
810
remote_host = auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/auth2-pubkey.c
815
for (i = 0; !success && i < options.num_authkeys_files; i++) {
crypto/openssh/auth2-pubkey.c
819
if (strcasecmp(options.authorized_keys_files[i], "none") == 0)
crypto/openssh/auth2-pubkey.c
822
options.authorized_keys_files[i], pw);
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
316
if (options.use_pam)
crypto/openssh/auth2.c
350
if (m != NULL && authctxt->failures < options.max_authtries) {
crypto/openssh/auth2.c
398
if (authenticated && options.num_auth_methods != 0) {
crypto/openssh/auth2.c
416
if (options.use_pam && authenticated) {
crypto/openssh/auth2.c
453
if (authctxt->failures >= options.max_authtries) {
crypto/openssh/auth2.c
487
if (options.num_auth_methods == 0)
crypto/openssh/auth2.c
575
if (options.num_auth_methods == 1 &&
crypto/openssh/auth2.c
576
strcmp(options.auth_methods[0], "any") == 0) {
crypto/openssh/auth2.c
577
free(options.auth_methods[0]);
crypto/openssh/auth2.c
578
options.auth_methods[0] = NULL;
crypto/openssh/auth2.c
579
options.num_auth_methods = 0;
crypto/openssh/auth2.c
582
if (options.num_auth_methods == 0)
crypto/openssh/auth2.c
585
authctxt->auth_methods = xcalloc(options.num_auth_methods,
crypto/openssh/auth2.c
588
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/auth2.c
589
if (auth2_methods_valid(options.auth_methods[i], 1) != 0) {
crypto/openssh/auth2.c
592
options.auth_methods[i]);
crypto/openssh/auth2.c
596
authctxt->num_auth_methods, options.auth_methods[i]);
crypto/openssh/auth2.c
598
xstrdup(options.auth_methods[i]);
crypto/openssh/auth2.c
63
extern ServerOptions options;
crypto/openssh/auth2.c
761
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/blocklist.c
55
extern ServerOptions options;
crypto/openssh/blocklist.c
86
if (options.use_blocklist)
crypto/openssh/clientloop.c
1018
if (!options.permit_local_command)
crypto/openssh/clientloop.c
1025
if (*s == '!' && options.permit_local_command) {
crypto/openssh/clientloop.c
1060
0, &options.fwd_opts) > 0;
crypto/openssh/clientloop.c
1064
&options.fwd_opts) > 0;
crypto/openssh/clientloop.c
1084
&options.fwd_opts)) {
crypto/openssh/clientloop.c
1099
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
113
extern Options options;
crypto/openssh/clientloop.c
1149
(options.enable_escape_commandline == 0 ? SUPPRESS_NOCMDLINE : 0);
crypto/openssh/clientloop.c
1277
if (ch == 'V' && options.log_level >
crypto/openssh/clientloop.c
1279
log_change_level(--options.log_level);
crypto/openssh/clientloop.c
1280
if (ch == 'v' && options.log_level <
crypto/openssh/clientloop.c
1282
log_change_level(++options.log_level);
crypto/openssh/clientloop.c
1286
log_level_name(options.log_level))) != 0)
crypto/openssh/clientloop.c
1300
options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1343
if (options.enable_escape_commandline == 0) {
crypto/openssh/clientloop.c
1443
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1467
if (options.pkcs11_provider != NULL)
crypto/openssh/clientloop.c
1469
else if (options.control_master &&
crypto/openssh/clientloop.c
1470
!option_clear_or_none(options.control_path)) {
crypto/openssh/clientloop.c
1476
} else if (options.forward_x11 || options.permit_local_command) {
crypto/openssh/clientloop.c
1482
} else if (options.update_hostkeys) {
crypto/openssh/clientloop.c
1488
} else if (!option_clear_or_none(options.proxy_command) ||
crypto/openssh/clientloop.c
1489
options.fork_after_authentication) {
crypto/openssh/clientloop.c
1533
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1668
if (have_pty && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/clientloop.c
1686
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
1693
if (options.session_type == SESSION_TYPE_NONE &&
crypto/openssh/clientloop.c
1809
if (!options.forward_x11) {
crypto/openssh/clientloop.c
1845
if (!options.forward_agent) {
crypto/openssh/clientloop.c
1900
if (options.tun_open == SSH_TUNMODE_POINTOPOINT)
crypto/openssh/clientloop.c
2239
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2241
options.user_hostfiles[i], ctx->host_str,
crypto/openssh/clientloop.c
2243
if ((r = hostkeys_foreach(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2248
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2252
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2271
int asking = options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK;
crypto/openssh/clientloop.c
2281
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/clientloop.c
2292
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/clientloop.c
2301
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK) {
crypto/openssh/clientloop.c
2315
options.update_hostkeys = 0;
crypto/openssh/clientloop.c
2323
options.update_hostkeys = 0;
crypto/openssh/clientloop.c
2328
if (options.update_hostkeys == 0)
crypto/openssh/clientloop.c
2335
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2340
if (stat(options.user_hostfiles[i], &sb) != 0) {
crypto/openssh/clientloop.c
2343
"exist", options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2347
options.user_hostfiles[i], strerror(errno));
crypto/openssh/clientloop.c
2351
if ((r = hostfile_replace_entries(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2354
options.hash_known_hosts, 0,
crypto/openssh/clientloop.c
2355
options.fingerprint_hash)) != 0) {
crypto/openssh/clientloop.c
2357
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
245
if (muxserver_sock == -1 || !options.control_persist
crypto/openssh/clientloop.c
246
|| options.control_persist_timeout == 0) {
crypto/openssh/clientloop.c
2501
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/clientloop.c
2547
options.check_host_ip ? (struct sockaddr *)&hostaddr : NULL,
crypto/openssh/clientloop.c
2548
options.port, &ctx->host_str,
crypto/openssh/clientloop.c
2549
options.check_host_ip ? &ctx->ip_str : NULL);
crypto/openssh/clientloop.c
2552
for (i = 0; i < options.num_user_hostfiles; i++) {
crypto/openssh/clientloop.c
2554
options.user_hostfiles[i], ctx->host_str,
crypto/openssh/clientloop.c
2556
if ((r = hostkeys_foreach(options.user_hostfiles[i],
crypto/openssh/clientloop.c
2561
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
2565
options.user_hostfiles[i]);
crypto/openssh/clientloop.c
257
(time_t)options.control_persist_timeout;
crypto/openssh/clientloop.c
2572
want = HKF_MATCH_HOST | ( options.check_host_ip ? HKF_MATCH_IP : 0);
crypto/openssh/clientloop.c
259
options.control_persist_timeout);
crypto/openssh/clientloop.c
2754
if (options.num_send_env != 0 && env != NULL) {
crypto/openssh/clientloop.c
2766
for (j = 0; j < options.num_send_env; j++) {
crypto/openssh/clientloop.c
2767
if (match_pattern(name, options.send_env[j])) {
crypto/openssh/clientloop.c
2781
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/clientloop.c
2783
name = xstrdup(options.setenv[i]);
crypto/openssh/clientloop.c
2872
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/clientloop.c
2873
unlink(options.control_path);
crypto/openssh/clientloop.c
2878
if (options.control_persist || options.session_type == SESSION_TYPE_NONE) {
crypto/openssh/clientloop.c
2888
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
2889
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/clientloop.c
2890
unlink(options.control_path);
crypto/openssh/clientloop.c
488
if (options.server_alive_interval > 0)
crypto/openssh/clientloop.c
489
server_alive_time = monotime() + options.server_alive_interval;
crypto/openssh/clientloop.c
497
if (ssh_packet_inc_alive_timeouts(ssh) > options.server_alive_count_max) {
crypto/openssh/clientloop.c
587
if (options.obscure_keystroke_timing_interval <= 0)
crypto/openssh/clientloop.c
634
options.obscure_keystroke_timing_interval);
crypto/openssh/clientloop.c
638
options.obscure_keystroke_timing_interval, 1);
crypto/openssh/clientloop.c
668
n /= options.obscure_keystroke_timing_interval * 1000LL * 1000;
crypto/openssh/clientloop.c
673
options.obscure_keystroke_timing_interval * n, 0);
crypto/openssh/clientloop.c
724
if (options.server_alive_interval > 0)
crypto/openssh/clientloop.c
726
if (options.rekey_interval > 0 && !ssh_packet_is_rekeying(ssh)) {
crypto/openssh/clientloop.c
751
if (options.server_alive_interval > 0 && !*conn_in_readyp &&
crypto/openssh/clientloop.c
773
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
785
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/clientloop.c
824
(options.request_tty == REQUEST_TTY_FORCE ||
crypto/openssh/clientloop.c
825
options.request_tty == REQUEST_TTY_YES))
crypto/openssh/clientloop.c
829
tochan = options.log_level >= SYSLOG_LEVEL_ERROR &&
crypto/openssh/clientloop.c
925
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK &&
crypto/openssh/clientloop.c
926
options.batch_mode)
crypto/openssh/clientloop.c
928
if (!options.update_hostkeys || options.num_user_hostfiles <= 0)
crypto/openssh/clientloop.c
939
if (options.control_master || options.control_path != NULL ||
crypto/openssh/clientloop.c
940
options.forward_x11 || options.fork_after_authentication ||
crypto/openssh/clientloop.c
941
options.pkcs11_provider != NULL || can_update_hostkeys() ||
crypto/openssh/clientloop.c
955
if (options.num_local_forwards != 0 ||
crypto/openssh/clientloop.c
956
options.num_remote_forwards != 0 ||
crypto/openssh/clientloop.c
957
options.num_permitted_remote_opens != 0 ||
crypto/openssh/clientloop.c
958
options.enable_escape_commandline != 0) {
crypto/openssh/clientloop.c
963
} else if (options.forward_agent != 0) {
crypto/openssh/clientloop.c
992
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
106
if (options.gss_strict_acceptor) {
crypto/openssh/gss-serv.c
336
if (options.gss_deleg_creds == 0) {
crypto/openssh/gss-serv.c
52
extern ServerOptions options;
crypto/openssh/hostfile.c
791
void *ctx, const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
803
if (host == NULL && (options & HKF_WANT_MATCH) != 0)
crypto/openssh/hostfile.c
825
if ((options & HKF_WANT_MATCH) == 0) {
crypto/openssh/hostfile.c
835
if ((options & HKF_WANT_MATCH) == 0)
crypto/openssh/hostfile.c
845
if ((options & HKF_WANT_MATCH) == 0)
crypto/openssh/hostfile.c
884
if ((options & HKF_WANT_MATCH) != 0 &&
crypto/openssh/hostfile.c
899
if ((options & HKF_WANT_PARSE_KEY) != 0) {
crypto/openssh/hostfile.c
967
const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
977
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
1015
if (!options.password_authentication)
crypto/openssh/monitor.c
1020
authenticated = options.password_authentication &&
crypto/openssh/monitor.c
1054
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
1086
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
1093
authok = options.kbd_interactive_authentication &&
crypto/openssh/monitor.c
1117
if (!options.use_pam)
crypto/openssh/monitor.c
1123
if (options.kbd_interactive_authentication)
crypto/openssh/monitor.c
1135
if (!options.use_pam)
crypto/openssh/monitor.c
1160
if (!options.kbd_interactive_authentication)
crypto/openssh/monitor.c
1303
if (!options.pubkey_authentication)
crypto/openssh/monitor.c
1308
options.pubkey_accepted_algos))
crypto/openssh/monitor.c
1315
if (!options.hostbased_authentication)
crypto/openssh/monitor.c
1320
options.hostbased_accepted_algos))
crypto/openssh/monitor.c
1573
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/monitor.c
1585
req_presence = (options.pubkey_auth_options &
crypto/openssh/monitor.c
1599
req_verify = (options.pubkey_auth_options &
crypto/openssh/monitor.c
1661
session_get_remote_name_or_ip(ssh, utmp_len, options.use_dns),
crypto/openssh/monitor.c
1776
if (options.use_pam)
crypto/openssh/monitor.c
1976
if (!options.gss_authentication)
crypto/openssh/monitor.c
2009
if (!options.gss_authentication)
crypto/openssh/monitor.c
2041
if (!options.gss_authentication)
crypto/openssh/monitor.c
2071
if (!options.gss_authentication)
crypto/openssh/monitor.c
309
if (options.num_auth_methods != 0) {
crypto/openssh/monitor.c
328
if (options.use_pam && authenticated) {
crypto/openssh/monitor.c
352
if (authctxt->failures > options.max_authtries) {
crypto/openssh/monitor.c
619
if ((r = serialise_server_options(&options, &config)) != 0)
crypto/openssh/monitor.c
639
(r = sshbuf_put_u64(m, options.timing_secret)) != 0 ||
crypto/openssh/monitor.c
791
options.sk_provider, NULL, compat)) != 0)
crypto/openssh/monitor.c
835
if ((r = serialise_server_options(&options, &config)) != 0)
crypto/openssh/monitor.c
906
if (options.refuse_connection) {
crypto/openssh/monitor.c
936
if (options.use_pam)
crypto/openssh/monitor.c
98
extern ServerOptions options;
crypto/openssh/monitor_wrap.c
1161
options.permitted_opens, options.num_permitted_opens);
crypto/openssh/monitor_wrap.c
1163
options.permitted_listens, options.num_permitted_listens);
crypto/openssh/monitor_wrap.c
1172
debug3_f("setting %u timeouts", options.num_channel_timeouts);
crypto/openssh/monitor_wrap.c
1174
for (i = 0; i < options.num_channel_timeouts; i++) {
crypto/openssh/monitor_wrap.c
1175
if (parse_pattern_interval(options.channel_timeouts[i],
crypto/openssh/monitor_wrap.c
1178
options.channel_timeouts[i]);
crypto/openssh/monitor_wrap.c
311
if ((r = deserialise_server_options(config, &options)) != 0)
crypto/openssh/monitor_wrap.c
315
log_change_level(options.log_level);
crypto/openssh/monitor_wrap.c
317
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/monitor_wrap.c
318
log_verbose_add(options.log_verbose[i]);
crypto/openssh/monitor_wrap.c
386
kex_set_server_sig_algs(ssh, options.pubkey_accepted_algos);
crypto/openssh/monitor_wrap.c
692
if (!options.use_pam)
crypto/openssh/monitor_wrap.c
711
if (!options.use_pam)
crypto/openssh/monitor_wrap.c
84
extern ServerOptions options;
crypto/openssh/mux.c
1052
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
1053
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
1143
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
1144
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
1157
free(options.control_path);
crypto/openssh/mux.c
1158
options.control_path = NULL;
crypto/openssh/mux.c
1175
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
1176
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
1323
char *orig_control_path = options.control_path;
crypto/openssh/mux.c
1328
if (options.control_path == NULL ||
crypto/openssh/mux.c
1329
options.control_master == SSHCTL_MASTER_NO)
crypto/openssh/mux.c
1347
options.control_path = NULL;
crypto/openssh/mux.c
1348
xasprintf(&options.control_path, "%s.%s", orig_control_path, rbuf);
crypto/openssh/mux.c
1349
debug3_f("temporary control path %s", options.control_path);
crypto/openssh/mux.c
1352
muxserver_sock = unix_listener(options.control_path, 64, 0);
crypto/openssh/mux.c
1358
"disabling multiplexing", options.control_path);
crypto/openssh/mux.c
1365
free(options.control_path);
crypto/openssh/mux.c
1366
options.control_path = NULL;
crypto/openssh/mux.c
1367
options.control_master = SSHCTL_MASTER_NO;
crypto/openssh/mux.c
1376
if (link(options.control_path, orig_control_path) != 0) {
crypto/openssh/mux.c
1379
options.control_path, orig_control_path,
crypto/openssh/mux.c
1384
unlink(options.control_path);
crypto/openssh/mux.c
1387
unlink(options.control_path);
crypto/openssh/mux.c
1388
free(options.control_path);
crypto/openssh/mux.c
1389
options.control_path = orig_control_path;
crypto/openssh/mux.c
1396
0, options.control_path, 1);
crypto/openssh/mux.c
1430
if (cctx->want_x_fwd && options.forward_x11 && display != NULL) {
crypto/openssh/mux.c
1434
if (client_x11_get_proto(ssh, display, options.xauth_location,
crypto/openssh/mux.c
1435
options.forward_x11_trusted, options.forward_x11_timeout,
crypto/openssh/mux.c
1448
if (cctx->want_agent_fwd && options.forward_agent)
crypto/openssh/mux.c
1966
options.num_local_forwards, options.num_remote_forwards);
crypto/openssh/mux.c
1969
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
1971
options.local_forwards[i].connect_port == 0 ?
crypto/openssh/mux.c
1973
options.local_forwards + i) != 0)
crypto/openssh/mux.c
1976
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
1978
options.remote_forwards + i) != 0)
crypto/openssh/mux.c
2003
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1)
crypto/openssh/mux.c
2006
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/mux.c
2007
options.num_setenv)) == NULL || *term == '\0')
crypto/openssh/mux.c
2011
if (options.escape_char != SSH_ESCAPECHAR_NONE)
crypto/openssh/mux.c
2012
echar = (u_int)options.escape_char;
crypto/openssh/mux.c
2020
(r = sshbuf_put_u32(m, options.forward_x11)) != 0 ||
crypto/openssh/mux.c
2021
(r = sshbuf_put_u32(m, options.forward_agent)) != 0 ||
crypto/openssh/mux.c
2022
(r = sshbuf_put_u32(m, options.session_type == SESSION_TYPE_SUBSYSTEM)) != 0 ||
crypto/openssh/mux.c
2029
if (options.num_send_env > 0 && environ != NULL) {
crypto/openssh/mux.c
2037
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/mux.c
2038
if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0)
crypto/openssh/mux.c
2102
if (options.fork_after_authentication)
crypto/openssh/mux.c
2108
options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/mux.c
2132
leave_raw_mode(options.request_tty ==
crypto/openssh/mux.c
2157
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
crypto/openssh/mux.c
2168
if (tty_flag && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/mux.c
2232
if (options.stdin_null && stdfd_devnull(1, 0, 0) == -1)
crypto/openssh/mux.c
2240
(r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 ||
crypto/openssh/mux.c
2241
(r = sshbuf_put_u32(m, options.stdio_forward_port)) != 0)
crypto/openssh/mux.c
2371
int sock, timeout = options.connection_timeout, timeout_ms = -1;
crypto/openssh/mux.c
2376
if (options.stdio_forward_host != NULL)
crypto/openssh/mux.c
2382
switch (options.control_master) {
crypto/openssh/mux.c
2414
options.control_master != SSHCTL_MASTER_NO) {
crypto/openssh/mux.c
2457
if (options.log_level != SYSLOG_LEVEL_QUIET)
crypto/openssh/mux.c
247
for (i = 0; i < options.num_send_env; i++)
crypto/openssh/mux.c
2476
if (options.log_level != SYSLOG_LEVEL_QUIET)
crypto/openssh/mux.c
248
if (match_pattern(name, options.send_env[i]))
crypto/openssh/mux.c
435
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
436
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
546
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
547
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
55
extern Options options;
crypto/openssh/mux.c
573
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/mux.c
581
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/mux.c
646
if (fctx->fid >= options.num_remote_forwards ||
crypto/openssh/mux.c
647
(options.remote_forwards[fctx->fid].connect_path == NULL &&
crypto/openssh/mux.c
648
options.remote_forwards[fctx->fid].connect_host == NULL)) {
crypto/openssh/mux.c
652
rfwd = &options.remote_forwards[fctx->fid];
crypto/openssh/mux.c
803
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
805
options.local_forwards + i)) {
crypto/openssh/mux.c
814
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
815
if (!compare_forward(&fwd, options.remote_forwards + i))
crypto/openssh/mux.c
824
options.remote_forwards[i].allocated_port)) != 0)
crypto/openssh/mux.c
831
if (options.control_master == SSHCTL_MASTER_ASK ||
crypto/openssh/mux.c
832
options.control_master == SSHCTL_MASTER_AUTO_ASK) {
crypto/openssh/mux.c
843
&options.fwd_opts)) {
crypto/openssh/mux.c
850
add_local_forward(&options, &fwd);
crypto/openssh/mux.c
858
add_remote_forward(&options, &fwd);
crypto/openssh/mux.c
862
fctx->fid = options.num_remote_forwards - 1;
crypto/openssh/mux.c
937
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/mux.c
939
options.local_forwards + i)) {
crypto/openssh/mux.c
940
found_fwd = options.local_forwards + i;
crypto/openssh/mux.c
946
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/mux.c
948
options.remote_forwards + i)) {
crypto/openssh/mux.c
949
found_fwd = options.remote_forwards + i;
crypto/openssh/mux.c
970
&options.fwd_opts) != 1)
crypto/openssh/openbsd-compat/bsd-waitpid.c
33
waitpid(int pid, int *stat_loc, int options)
crypto/openssh/openbsd-compat/bsd-waitpid.c
46
wait_pid = wait4(pid, &statusp, options, NULL);
crypto/openssh/openbsd-compat/getopt_long.c
103
#define BADARG ((*options == ':') ? (int)':' : (int)'?')
crypto/openssh/openbsd-compat/getopt_long.c
190
parse_long_options(char * const *nargv, const char *options,
crypto/openssh/openbsd-compat/getopt_long.c
308
getopt_internal(int nargc, char * const *nargv, const char *options,
crypto/openssh/openbsd-compat/getopt_long.c
315
if (options == NULL)
crypto/openssh/openbsd-compat/getopt_long.c
331
if (*options == '-')
crypto/openssh/openbsd-compat/getopt_long.c
333
else if (posixly_correct || *options == '+')
crypto/openssh/openbsd-compat/getopt_long.c
335
if (*options == '+' || *options == '-')
crypto/openssh/openbsd-compat/getopt_long.c
336
options++;
crypto/openssh/openbsd-compat/getopt_long.c
363
(place[1] == '\0' && strchr(options, '-') == NULL)) {
crypto/openssh/openbsd-compat/getopt_long.c
428
else if (*place != ':' && strchr(options, *place) != NULL)
crypto/openssh/openbsd-compat/getopt_long.c
431
optchar = parse_long_options(nargv, options, long_options,
crypto/openssh/openbsd-compat/getopt_long.c
441
(oli = strchr(options, optchar)) == NULL) {
crypto/openssh/openbsd-compat/getopt_long.c
468
optchar = parse_long_options(nargv, options, long_options,
crypto/openssh/openbsd-compat/getopt_long.c
504
getopt(int nargc, char * const *nargv, const char *options)
crypto/openssh/openbsd-compat/getopt_long.c
515
return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
crypto/openssh/openbsd-compat/getopt_long.c
524
getopt_long(int nargc, char * const *nargv, const char *options,
crypto/openssh/openbsd-compat/getopt_long.c
528
return (getopt_internal(nargc, nargv, options, long_options, idx,
crypto/openssh/openbsd-compat/getopt_long.c
537
getopt_long_only(int nargc, char * const *nargv, const char *options,
crypto/openssh/openbsd-compat/getopt_long.c
541
return (getopt_internal(nargc, nargv, options, long_options, idx,
crypto/openssh/openbsd-compat/getopt_long.c
95
#define PRINT_ERROR ((opterr) && (*options != ':'))
crypto/openssh/openbsd-compat/getrrsetbyname.c
224
if ((_resp->options & RES_INIT) == 0 && res_init() == -1) {
crypto/openssh/openbsd-compat/getrrsetbyname.c
230
_resp->options |= RES_DEBUG;
crypto/openssh/openbsd-compat/getrrsetbyname.c
235
if (_resp->options & RES_USE_EDNS0)
crypto/openssh/openbsd-compat/getrrsetbyname.c
236
_resp->options |= RES_USE_DNSSEC;
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
1124
process_config_line(Options *options, struct passwd *pw, const char *host,
crypto/openssh/readconf.c
1128
return process_config_line_depth(options, pw, host, original_host,
crypto/openssh/readconf.c
1134
process_config_line_depth(Options *options, struct passwd *pw, const char *host,
crypto/openssh/readconf.c
1195
options->ignored_unknown);
crypto/openssh/readconf.c
1216
intptr = &options->connection_timeout;
crypto/openssh/readconf.c
1236
intptr = &options->forward_agent;
crypto/openssh/readconf.c
124
Options *options, int flags, int *activep, int *want_final_pass, int depth);
crypto/openssh/readconf.c
125
static int process_config_line_depth(Options *options, struct passwd *pw,
crypto/openssh/readconf.c
1262
charptr = &options->forward_agent_sock_path;
crypto/openssh/readconf.c
1266
intptr = &options->forward_x11;
crypto/openssh/readconf.c
1282
intptr = &options->forward_x11_trusted;
crypto/openssh/readconf.c
1286
intptr = &options->forward_x11_timeout;
crypto/openssh/readconf.c
1290
intptr = &options->fwd_opts.gateway_ports;
crypto/openssh/readconf.c
1294
intptr = &options->exit_on_forward_failure;
crypto/openssh/readconf.c
1298
intptr = &options->password_authentication;
crypto/openssh/readconf.c
1302
intptr = &options->kbd_interactive_authentication;
crypto/openssh/readconf.c
1306
charptr = &options->kbd_interactive_devices;
crypto/openssh/readconf.c
1311
intptr = &options->pubkey_authentication;
crypto/openssh/readconf.c
1315
intptr = &options->hostbased_authentication;
crypto/openssh/readconf.c
1319
intptr = &options->gss_authentication;
crypto/openssh/readconf.c
1323
intptr = &options->gss_deleg_creds;
crypto/openssh/readconf.c
1327
intptr = &options->batch_mode;
crypto/openssh/readconf.c
1331
intptr = &options->check_host_ip;
crypto/openssh/readconf.c
1335
intptr = &options->verify_host_key_dns;
crypto/openssh/readconf.c
1340
intptr = &options->strict_host_key_checking;
crypto/openssh/readconf.c
1345
intptr = &options->compression;
crypto/openssh/readconf.c
1350
intptr = &options->tcp_keep_alive;
crypto/openssh/readconf.c
1354
intptr = &options->no_host_authentication_for_localhost;
crypto/openssh/readconf.c
1358
intptr = &options->number_of_password_prompts;
crypto/openssh/readconf.c
1382
if (*activep && options->rekey_limit == -1)
crypto/openssh/readconf.c
1383
options->rekey_limit = val64;
crypto/openssh/readconf.c
1389
intptr = &options->rekey_interval;
crypto/openssh/readconf.c
1402
intptr = &options->num_identity_files;
crypto/openssh/readconf.c
1409
add_identity_file(options, NULL,
crypto/openssh/readconf.c
1422
intptr = &options->num_certificate_files;
crypto/openssh/readconf.c
1430
add_certificate_file(options, arg,
crypto/openssh/readconf.c
1436
charptr=&options->xauth_location;
crypto/openssh/readconf.c
1440
charptr = &options->user;
crypto/openssh/readconf.c
1453
cpptr = (char **)&options->system_hostfiles;
crypto/openssh/readconf.c
1454
uintptr = &options->num_system_hostfiles;
crypto/openssh/readconf.c
1488
cpptr = (char **)&options->user_hostfiles;
crypto/openssh/readconf.c
1489
uintptr = &options->num_user_hostfiles;
crypto/openssh/readconf.c
1494
charptr = &options->hostname;
crypto/openssh/readconf.c
1498
charptr = &options->tag;
crypto/openssh/readconf.c
1502
charptr = &options->host_key_alias;
crypto/openssh/readconf.c
1506
charptr = &options->preferred_authentications;
crypto/openssh/readconf.c
1510
charptr = &options->bind_address;
crypto/openssh/readconf.c
1514
charptr = &options->bind_interface;
crypto/openssh/readconf.c
1518
charptr = &options->pkcs11_provider;
crypto/openssh/readconf.c
1522
charptr = &options->sk_provider;
crypto/openssh/readconf.c
1526
charptr = &options->known_hosts_command;
crypto/openssh/readconf.c
1530
charptr = &options->proxy_command;
crypto/openssh/readconf.c
1551
if (parse_jump(str + len, options, cmdline, *activep) == -1) {
crypto/openssh/readconf.c
1572
if (*activep && options->port == -1)
crypto/openssh/readconf.c
1573
options->port = value;
crypto/openssh/readconf.c
1577
intptr = &options->connection_attempts;
crypto/openssh/readconf.c
1602
if (*activep && options->ciphers == NULL)
crypto/openssh/readconf.c
1603
options->ciphers = xstrdup(arg);
crypto/openssh/readconf.c
1619
if (*activep && options->macs == NULL)
crypto/openssh/readconf.c
1620
options->macs = xstrdup(arg);
crypto/openssh/readconf.c
1637
if (*activep && options->kex_algorithms == NULL)
crypto/openssh/readconf.c
1638
options->kex_algorithms = xstrdup(arg);
crypto/openssh/readconf.c
1642
charptr = &options->hostkeyalgorithms;
crypto/openssh/readconf.c
1663
charptr = &options->ca_sign_algorithms;
crypto/openssh/readconf.c
1668
log_level_ptr = &options->log_level;
crypto/openssh/readconf.c
1681
log_facility_ptr = &options->log_facility;
crypto/openssh/readconf.c
1694
cppptr = &options->log_verbose;
crypto/openssh/readconf.c
1695
uintptr = &options->num_log_verbose;
crypto/openssh/readconf.c
1761
add_remote_forward(options, &fwd);
crypto/openssh/readconf.c
1763
add_local_forward(options, &fwd);
crypto/openssh/readconf.c
1769
uintptr = &options->num_permitted_remote_opens;
crypto/openssh/readconf.c
1770
cppptr = &options->permitted_remote_opens;
crypto/openssh/readconf.c
1820
intptr = &options->clear_forwardings;
crypto/openssh/readconf.c
1870
value = match_cfg_line(options, str, &ac, &av, pw, host,
crypto/openssh/readconf.c
1882
intptr = &options->escape_char;
crypto/openssh/readconf.c
1906
intptr = &options->address_family;
crypto/openssh/readconf.c
1911
intptr = &options->enable_ssh_keysign;
crypto/openssh/readconf.c
1915
intptr = &options->identities_only;
crypto/openssh/readconf.c
1919
intptr = &options->server_alive_interval;
crypto/openssh/readconf.c
1923
intptr = &options->server_alive_count_max;
crypto/openssh/readconf.c
1939
rm_env(options, arg, filename, linenum);
crypto/openssh/readconf.c
1944
&options->send_env, &options->num_send_env, arg);
crypto/openssh/readconf.c
1953
found = options->num_setenv == 0;
crypto/openssh/readconf.c
1974
options->setenv = strs;
crypto/openssh/readconf.c
1975
options->num_setenv = nstrs;
crypto/openssh/readconf.c
1982
charptr = &options->control_path;
crypto/openssh/readconf.c
1986
intptr = &options->control_master;
crypto/openssh/readconf.c
1992
intptr = &options->control_persist;
crypto/openssh/readconf.c
2014
options->control_persist_timeout = value2;
crypto/openssh/readconf.c
2019
intptr = &options->hash_known_hosts;
crypto/openssh/readconf.c
2023
intptr = &options->tun_open;
crypto/openssh/readconf.c
2040
if (*activep && options->tun_local == -1) {
crypto/openssh/readconf.c
2041
options->tun_local = value;
crypto/openssh/readconf.c
2042
options->tun_remote = value2;
crypto/openssh/readconf.c
2047
charptr = &options->local_command;
crypto/openssh/readconf.c
2051
intptr = &options->permit_local_command;
crypto/openssh/readconf.c
2055
charptr = &options->remote_command;
crypto/openssh/readconf.c
2059
intptr = &options->visual_host_key;
crypto/openssh/readconf.c
2077
options, pw, host, original_host,
crypto/openssh/readconf.c
2125
options, flags | SSHCONF_CHECKPERM |
crypto/openssh/readconf.c
2177
if (*activep && options->ip_qos_interactive == -1) {
crypto/openssh/readconf.c
2178
options->ip_qos_interactive = value;
crypto/openssh/readconf.c
2179
options->ip_qos_bulk = value2;
crypto/openssh/readconf.c
2184
intptr = &options->request_tty;
crypto/openssh/readconf.c
2189
intptr = &options->session_type;
crypto/openssh/readconf.c
2194
intptr = &options->stdin_null;
crypto/openssh/readconf.c
2198
intptr = &options->fork_after_authentication;
crypto/openssh/readconf.c
2202
charptr = &options->ignored_unknown;
crypto/openssh/readconf.c
2206
intptr = &options->proxy_use_fdpass;
crypto/openssh/readconf.c
2210
found = options->num_canonical_domains == 0;
crypto/openssh/readconf.c
2234
options->canonical_domains = strs;
crypto/openssh/readconf.c
2235
options->num_canonical_domains = nstrs;
crypto/openssh/readconf.c
2242
found = options->num_permitted_cnames == 0;
crypto/openssh/readconf.c
2281
options->permitted_cnames = cnames;
crypto/openssh/readconf.c
2282
options->num_permitted_cnames = ncnames;
crypto/openssh/readconf.c
2290
intptr = &options->canonicalize_hostname;
crypto/openssh/readconf.c
2295
intptr = &options->canonicalize_max_dots;
crypto/openssh/readconf.c
2299
intptr = &options->canonicalize_fallback_local;
crypto/openssh/readconf.c
2315
options->fwd_opts.streamlocal_bind_mask = (mode_t)value;
crypto/openssh/readconf.c
2319
intptr = &options->fwd_opts.streamlocal_bind_unlink;
crypto/openssh/readconf.c
2323
uintptr = &options->num_revoked_host_keys;
crypto/openssh/readconf.c
2324
cppptr = &options->revoked_host_keys;
crypto/openssh/readconf.c
2357
intptr = &options->fingerprint_hash;
crypto/openssh/readconf.c
2374
intptr = &options->update_hostkeys;
crypto/openssh/readconf.c
2379
charptr = &options->hostbased_accepted_algos;
crypto/openssh/readconf.c
2384
charptr = &options->pubkey_accepted_algos;
crypto/openssh/readconf.c
2413
if (*activep && options->add_keys_to_agent == -1) {
crypto/openssh/readconf.c
2414
options->add_keys_to_agent = value;
crypto/openssh/readconf.c
2415
options->add_keys_to_agent_lifespan = value2;
crypto/openssh/readconf.c
2420
charptr = &options->identity_agent;
crypto/openssh/readconf.c
2447
intptr = &options->enable_escape_commandline;
crypto/openssh/readconf.c
2451
intptr = &options->required_rsa_size;
crypto/openssh/readconf.c
2455
intptr = &options->warn_weak_crypto;
crypto/openssh/readconf.c
2496
intptr = &options->obscure_keystroke_timing_interval;
crypto/openssh/readconf.c
2502
found = options->num_channel_timeouts == 0;
crypto/openssh/readconf.c
2525
options->channel_timeouts = strs;
crypto/openssh/readconf.c
2526
options->num_channel_timeouts = nstrs;
crypto/openssh/readconf.c
2545
if (*activep && options->version_addendum == NULL) {
crypto/openssh/readconf.c
2547
options->version_addendum = xstrdup("");
crypto/openssh/readconf.c
2549
options->version_addendum = xstrdup(str + len);
crypto/openssh/readconf.c
2608
const char *original_host, const char *remote_command, Options *options, int flags,
crypto/openssh/readconf.c
2614
remote_command, options, flags, &active, want_final_pass, 0);
crypto/openssh/readconf.c
2621
Options *options, int flags, int *activep, int *want_final_pass, int depth)
crypto/openssh/readconf.c
2660
if (process_config_line_depth(options, pw, host, original_host,
crypto/openssh/readconf.c
2685
config_has_permitted_cnames(Options *options)
crypto/openssh/readconf.c
2687
if (options->num_permitted_cnames == 1 &&
crypto/openssh/readconf.c
2688
strcasecmp(options->permitted_cnames[0].source_list, "none") == 0 &&
crypto/openssh/readconf.c
2689
strcmp(options->permitted_cnames[0].target_list, "") == 0)
crypto/openssh/readconf.c
2691
return options->num_permitted_cnames > 0;
crypto/openssh/readconf.c
2702
initialize_options(Options * options)
crypto/openssh/readconf.c
2704
memset(options, 'X', sizeof(*options));
crypto/openssh/readconf.c
2705
options->host_arg = NULL;
crypto/openssh/readconf.c
2706
options->forward_agent = -1;
crypto/openssh/readconf.c
2707
options->forward_agent_sock_path = NULL;
crypto/openssh/readconf.c
2708
options->forward_x11 = -1;
crypto/openssh/readconf.c
2709
options->forward_x11_trusted = -1;
crypto/openssh/readconf.c
2710
options->forward_x11_timeout = -1;
crypto/openssh/readconf.c
2711
options->stdio_forward_host = NULL;
crypto/openssh/readconf.c
2712
options->stdio_forward_port = 0;
crypto/openssh/readconf.c
2713
options->clear_forwardings = -1;
crypto/openssh/readconf.c
2714
options->exit_on_forward_failure = -1;
crypto/openssh/readconf.c
2715
options->xauth_location = NULL;
crypto/openssh/readconf.c
2716
options->fwd_opts.gateway_ports = -1;
crypto/openssh/readconf.c
2717
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1;
crypto/openssh/readconf.c
2718
options->fwd_opts.streamlocal_bind_unlink = -1;
crypto/openssh/readconf.c
2719
options->pubkey_authentication = -1;
crypto/openssh/readconf.c
2720
options->gss_authentication = -1;
crypto/openssh/readconf.c
2721
options->gss_deleg_creds = -1;
crypto/openssh/readconf.c
2722
options->password_authentication = -1;
crypto/openssh/readconf.c
2723
options->kbd_interactive_authentication = -1;
crypto/openssh/readconf.c
2724
options->kbd_interactive_devices = NULL;
crypto/openssh/readconf.c
2725
options->hostbased_authentication = -1;
crypto/openssh/readconf.c
2726
options->batch_mode = -1;
crypto/openssh/readconf.c
2727
options->check_host_ip = -1;
crypto/openssh/readconf.c
2728
options->strict_host_key_checking = -1;
crypto/openssh/readconf.c
2729
options->compression = -1;
crypto/openssh/readconf.c
2730
options->tcp_keep_alive = -1;
crypto/openssh/readconf.c
2731
options->port = -1;
crypto/openssh/readconf.c
2732
options->address_family = -1;
crypto/openssh/readconf.c
2733
options->connection_attempts = -1;
crypto/openssh/readconf.c
2734
options->connection_timeout = -1;
crypto/openssh/readconf.c
2735
options->number_of_password_prompts = -1;
crypto/openssh/readconf.c
2736
options->ciphers = NULL;
crypto/openssh/readconf.c
2737
options->macs = NULL;
crypto/openssh/readconf.c
2738
options->kex_algorithms = NULL;
crypto/openssh/readconf.c
2739
options->hostkeyalgorithms = NULL;
crypto/openssh/readconf.c
2740
options->ca_sign_algorithms = NULL;
crypto/openssh/readconf.c
2741
options->num_identity_files = 0;
crypto/openssh/readconf.c
2742
memset(options->identity_keys, 0, sizeof(options->identity_keys));
crypto/openssh/readconf.c
2743
options->num_certificate_files = 0;
crypto/openssh/readconf.c
2744
memset(options->certificates, 0, sizeof(options->certificates));
crypto/openssh/readconf.c
2745
options->hostname = NULL;
crypto/openssh/readconf.c
2746
options->host_key_alias = NULL;
crypto/openssh/readconf.c
2747
options->proxy_command = NULL;
crypto/openssh/readconf.c
2748
options->jump_user = NULL;
crypto/openssh/readconf.c
2749
options->jump_host = NULL;
crypto/openssh/readconf.c
2750
options->jump_port = -1;
crypto/openssh/readconf.c
2751
options->jump_extra = NULL;
crypto/openssh/readconf.c
2752
options->user = NULL;
crypto/openssh/readconf.c
2753
options->escape_char = -1;
crypto/openssh/readconf.c
2754
options->num_system_hostfiles = 0;
crypto/openssh/readconf.c
2755
options->num_user_hostfiles = 0;
crypto/openssh/readconf.c
2756
options->local_forwards = NULL;
crypto/openssh/readconf.c
2757
options->num_local_forwards = 0;
crypto/openssh/readconf.c
2758
options->remote_forwards = NULL;
crypto/openssh/readconf.c
2759
options->num_remote_forwards = 0;
crypto/openssh/readconf.c
2760
options->permitted_remote_opens = NULL;
crypto/openssh/readconf.c
2761
options->num_permitted_remote_opens = 0;
crypto/openssh/readconf.c
2762
options->log_facility = SYSLOG_FACILITY_NOT_SET;
crypto/openssh/readconf.c
2763
options->log_level = SYSLOG_LEVEL_NOT_SET;
crypto/openssh/readconf.c
2764
options->num_log_verbose = 0;
crypto/openssh/readconf.c
2765
options->log_verbose = NULL;
crypto/openssh/readconf.c
2766
options->preferred_authentications = NULL;
crypto/openssh/readconf.c
2767
options->bind_address = NULL;
crypto/openssh/readconf.c
2768
options->bind_interface = NULL;
crypto/openssh/readconf.c
2769
options->pkcs11_provider = NULL;
crypto/openssh/readconf.c
2770
options->sk_provider = NULL;
crypto/openssh/readconf.c
2771
options->enable_ssh_keysign = - 1;
crypto/openssh/readconf.c
2772
options->no_host_authentication_for_localhost = - 1;
crypto/openssh/readconf.c
2773
options->identities_only = - 1;
crypto/openssh/readconf.c
2774
options->rekey_limit = - 1;
crypto/openssh/readconf.c
2775
options->rekey_interval = -1;
crypto/openssh/readconf.c
2776
options->verify_host_key_dns = -1;
crypto/openssh/readconf.c
2777
options->server_alive_interval = -1;
crypto/openssh/readconf.c
2778
options->server_alive_count_max = -1;
crypto/openssh/readconf.c
2779
options->send_env = NULL;
crypto/openssh/readconf.c
2780
options->num_send_env = 0;
crypto/openssh/readconf.c
2781
options->setenv = NULL;
crypto/openssh/readconf.c
2782
options->num_setenv = 0;
crypto/openssh/readconf.c
2783
options->control_path = NULL;
crypto/openssh/readconf.c
2784
options->control_master = -1;
crypto/openssh/readconf.c
2785
options->control_persist = -1;
crypto/openssh/readconf.c
2786
options->control_persist_timeout = 0;
crypto/openssh/readconf.c
2787
options->hash_known_hosts = -1;
crypto/openssh/readconf.c
2788
options->tun_open = -1;
crypto/openssh/readconf.c
2789
options->tun_local = -1;
crypto/openssh/readconf.c
2790
options->tun_remote = -1;
crypto/openssh/readconf.c
2791
options->local_command = NULL;
crypto/openssh/readconf.c
2792
options->permit_local_command = -1;
crypto/openssh/readconf.c
2793
options->remote_command = NULL;
crypto/openssh/readconf.c
2794
options->add_keys_to_agent = -1;
crypto/openssh/readconf.c
2795
options->add_keys_to_agent_lifespan = -1;
crypto/openssh/readconf.c
2796
options->identity_agent = NULL;
crypto/openssh/readconf.c
2797
options->visual_host_key = -1;
crypto/openssh/readconf.c
2798
options->ip_qos_interactive = -1;
crypto/openssh/readconf.c
2799
options->ip_qos_bulk = -1;
crypto/openssh/readconf.c
2800
options->request_tty = -1;
crypto/openssh/readconf.c
2801
options->session_type = -1;
crypto/openssh/readconf.c
2802
options->stdin_null = -1;
crypto/openssh/readconf.c
2803
options->fork_after_authentication = -1;
crypto/openssh/readconf.c
2804
options->proxy_use_fdpass = -1;
crypto/openssh/readconf.c
2805
options->ignored_unknown = NULL;
crypto/openssh/readconf.c
2806
options->num_canonical_domains = 0;
crypto/openssh/readconf.c
2807
options->num_permitted_cnames = 0;
crypto/openssh/readconf.c
2808
options->canonicalize_max_dots = -1;
crypto/openssh/readconf.c
2809
options->canonicalize_fallback_local = -1;
crypto/openssh/readconf.c
2810
options->canonicalize_hostname = -1;
crypto/openssh/readconf.c
2811
options->revoked_host_keys = NULL;
crypto/openssh/readconf.c
2812
options->num_revoked_host_keys = 0;
crypto/openssh/readconf.c
2813
options->fingerprint_hash = -1;
crypto/openssh/readconf.c
2814
options->update_hostkeys = -1;
crypto/openssh/readconf.c
2815
options->hostbased_accepted_algos = NULL;
crypto/openssh/readconf.c
2816
options->pubkey_accepted_algos = NULL;
crypto/openssh/readconf.c
2817
options->known_hosts_command = NULL;
crypto/openssh/readconf.c
2818
options->required_rsa_size = -1;
crypto/openssh/readconf.c
2819
options->warn_weak_crypto = -1;
crypto/openssh/readconf.c
2820
options->enable_escape_commandline = -1;
crypto/openssh/readconf.c
2821
options->obscure_keystroke_timing_interval = -1;
crypto/openssh/readconf.c
2822
options->tag = NULL;
crypto/openssh/readconf.c
2823
options->channel_timeouts = NULL;
crypto/openssh/readconf.c
2824
options->num_channel_timeouts = 0;
crypto/openssh/readconf.c
2825
options->version_addendum = NULL;
crypto/openssh/readconf.c
2833
fill_default_options_for_canonicalization(Options *options)
crypto/openssh/readconf.c
2835
if (options->canonicalize_max_dots == -1)
crypto/openssh/readconf.c
2836
options->canonicalize_max_dots = 1;
crypto/openssh/readconf.c
2837
if (options->canonicalize_fallback_local == -1)
crypto/openssh/readconf.c
2838
options->canonicalize_fallback_local = 1;
crypto/openssh/readconf.c
2839
if (options->canonicalize_hostname == -1)
crypto/openssh/readconf.c
2840
options->canonicalize_hostname = SSH_CANONICALISE_NO;
crypto/openssh/readconf.c
2848
fill_default_options(Options * options)
crypto/openssh/readconf.c
2854
if (options->forward_agent == -1)
crypto/openssh/readconf.c
2855
options->forward_agent = 0;
crypto/openssh/readconf.c
2856
if (options->forward_x11 == -1)
crypto/openssh/readconf.c
2857
options->forward_x11 = 0;
crypto/openssh/readconf.c
2858
if (options->forward_x11_trusted == -1)
crypto/openssh/readconf.c
2859
options->forward_x11_trusted = 0;
crypto/openssh/readconf.c
2860
if (options->forward_x11_timeout == -1)
crypto/openssh/readconf.c
2861
options->forward_x11_timeout = 1200;
crypto/openssh/readconf.c
2866
if (options->exit_on_forward_failure == -1)
crypto/openssh/readconf.c
2867
options->exit_on_forward_failure =
crypto/openssh/readconf.c
2868
options->stdio_forward_host != NULL ? 1 : 0;
crypto/openssh/readconf.c
2869
if (options->clear_forwardings == -1)
crypto/openssh/readconf.c
2870
options->clear_forwardings =
crypto/openssh/readconf.c
2871
options->stdio_forward_host != NULL ? 1 : 0;
crypto/openssh/readconf.c
2872
if (options->clear_forwardings == 1)
crypto/openssh/readconf.c
2873
clear_forwardings(options);
crypto/openssh/readconf.c
2875
if (options->xauth_location == NULL)
crypto/openssh/readconf.c
2876
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/readconf.c
2877
if (options->fwd_opts.gateway_ports == -1)
crypto/openssh/readconf.c
2878
options->fwd_opts.gateway_ports = 0;
crypto/openssh/readconf.c
2879
if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1)
crypto/openssh/readconf.c
2880
options->fwd_opts.streamlocal_bind_mask = 0177;
crypto/openssh/readconf.c
2881
if (options->fwd_opts.streamlocal_bind_unlink == -1)
crypto/openssh/readconf.c
2882
options->fwd_opts.streamlocal_bind_unlink = 0;
crypto/openssh/readconf.c
2883
if (options->pubkey_authentication == -1)
crypto/openssh/readconf.c
2884
options->pubkey_authentication = SSH_PUBKEY_AUTH_ALL;
crypto/openssh/readconf.c
2885
if (options->gss_authentication == -1)
crypto/openssh/readconf.c
2886
options->gss_authentication = 0;
crypto/openssh/readconf.c
2887
if (options->gss_deleg_creds == -1)
crypto/openssh/readconf.c
2888
options->gss_deleg_creds = 0;
crypto/openssh/readconf.c
2889
if (options->password_authentication == -1)
crypto/openssh/readconf.c
2890
options->password_authentication = 1;
crypto/openssh/readconf.c
2891
if (options->kbd_interactive_authentication == -1)
crypto/openssh/readconf.c
2892
options->kbd_interactive_authentication = 1;
crypto/openssh/readconf.c
2893
if (options->hostbased_authentication == -1)
crypto/openssh/readconf.c
2894
options->hostbased_authentication = 0;
crypto/openssh/readconf.c
2895
if (options->batch_mode == -1)
crypto/openssh/readconf.c
2896
options->batch_mode = 0;
crypto/openssh/readconf.c
2897
if (options->check_host_ip == -1)
crypto/openssh/readconf.c
2898
options->check_host_ip = 0;
crypto/openssh/readconf.c
2899
if (options->strict_host_key_checking == -1)
crypto/openssh/readconf.c
2900
options->strict_host_key_checking = SSH_STRICT_HOSTKEY_ASK;
crypto/openssh/readconf.c
2901
if (options->compression == -1)
crypto/openssh/readconf.c
2902
options->compression = 0;
crypto/openssh/readconf.c
2903
if (options->tcp_keep_alive == -1)
crypto/openssh/readconf.c
2904
options->tcp_keep_alive = 1;
crypto/openssh/readconf.c
2905
if (options->port == -1)
crypto/openssh/readconf.c
2906
options->port = 0; /* Filled in ssh_connect. */
crypto/openssh/readconf.c
2907
if (options->address_family == -1)
crypto/openssh/readconf.c
2908
options->address_family = AF_UNSPEC;
crypto/openssh/readconf.c
2909
if (options->connection_attempts == -1)
crypto/openssh/readconf.c
2910
options->connection_attempts = 1;
crypto/openssh/readconf.c
2911
if (options->number_of_password_prompts == -1)
crypto/openssh/readconf.c
2912
options->number_of_password_prompts = 3;
crypto/openssh/readconf.c
2914
if (options->add_keys_to_agent == -1) {
crypto/openssh/readconf.c
2915
options->add_keys_to_agent = 0;
crypto/openssh/readconf.c
2916
options->add_keys_to_agent_lifespan = 0;
crypto/openssh/readconf.c
2918
if (options->num_identity_files == 0) {
crypto/openssh/readconf.c
2919
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_RSA, 0);
crypto/openssh/readconf.c
2921
add_identity_file(options, "~/", _PATH_SSH_CLIENT_ID_ECDSA, 0);
crypto/openssh/readconf.c
2922
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2925
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2927
add_identity_file(options, "~/",
crypto/openssh/readconf.c
2930
if (options->escape_char == -1)
crypto/openssh/readconf.c
2931
options->escape_char = '~';
crypto/openssh/readconf.c
2932
if (options->num_system_hostfiles == 0) {
crypto/openssh/readconf.c
2933
options->system_hostfiles[options->num_system_hostfiles++] =
crypto/openssh/readconf.c
2935
options->system_hostfiles[options->num_system_hostfiles++] =
crypto/openssh/readconf.c
2938
if (options->update_hostkeys == -1) {
crypto/openssh/readconf.c
2939
if (options->verify_host_key_dns <= 0 &&
crypto/openssh/readconf.c
2940
(options->num_user_hostfiles == 0 ||
crypto/openssh/readconf.c
2941
(options->num_user_hostfiles == 1 && strcmp(options->
crypto/openssh/readconf.c
2943
options->update_hostkeys = SSH_UPDATE_HOSTKEYS_YES;
crypto/openssh/readconf.c
2945
options->update_hostkeys = SSH_UPDATE_HOSTKEYS_NO;
crypto/openssh/readconf.c
2947
if (options->num_user_hostfiles == 0) {
crypto/openssh/readconf.c
2948
options->user_hostfiles[options->num_user_hostfiles++] =
crypto/openssh/readconf.c
2950
options->user_hostfiles[options->num_user_hostfiles++] =
crypto/openssh/readconf.c
2953
if (options->log_level == SYSLOG_LEVEL_NOT_SET)
crypto/openssh/readconf.c
2954
options->log_level = SYSLOG_LEVEL_INFO;
crypto/openssh/readconf.c
2955
if (options->log_facility == SYSLOG_FACILITY_NOT_SET)
crypto/openssh/readconf.c
2956
options->log_facility = SYSLOG_FACILITY_USER;
crypto/openssh/readconf.c
2957
if (options->no_host_authentication_for_localhost == - 1)
crypto/openssh/readconf.c
2958
options->no_host_authentication_for_localhost = 0;
crypto/openssh/readconf.c
2959
if (options->identities_only == -1)
crypto/openssh/readconf.c
2960
options->identities_only = 0;
crypto/openssh/readconf.c
2961
if (options->enable_ssh_keysign == -1)
crypto/openssh/readconf.c
2962
options->enable_ssh_keysign = 0;
crypto/openssh/readconf.c
2963
if (options->rekey_limit == -1)
crypto/openssh/readconf.c
2964
options->rekey_limit = 0;
crypto/openssh/readconf.c
2965
if (options->rekey_interval == -1)
crypto/openssh/readconf.c
2966
options->rekey_interval = 0;
crypto/openssh/readconf.c
2967
if (options->verify_host_key_dns == -1)
crypto/openssh/readconf.c
2968
options->verify_host_key_dns = 0;
crypto/openssh/readconf.c
2969
if (options->server_alive_interval == -1)
crypto/openssh/readconf.c
2970
options->server_alive_interval = 0;
crypto/openssh/readconf.c
2971
if (options->server_alive_count_max == -1)
crypto/openssh/readconf.c
2972
options->server_alive_count_max = 3;
crypto/openssh/readconf.c
2973
if (options->control_master == -1)
crypto/openssh/readconf.c
2974
options->control_master = 0;
crypto/openssh/readconf.c
2975
if (options->control_persist == -1) {
crypto/openssh/readconf.c
2976
options->control_persist = 0;
crypto/openssh/readconf.c
2977
options->control_persist_timeout = 0;
crypto/openssh/readconf.c
2979
if (options->hash_known_hosts == -1)
crypto/openssh/readconf.c
2980
options->hash_known_hosts = 0;
crypto/openssh/readconf.c
2981
if (options->tun_open == -1)
crypto/openssh/readconf.c
2982
options->tun_open = SSH_TUNMODE_NO;
crypto/openssh/readconf.c
2983
if (options->tun_local == -1)
crypto/openssh/readconf.c
2984
options->tun_local = SSH_TUNID_ANY;
crypto/openssh/readconf.c
2985
if (options->tun_remote == -1)
crypto/openssh/readconf.c
2986
options->tun_remote = SSH_TUNID_ANY;
crypto/openssh/readconf.c
2987
if (options->permit_local_command == -1)
crypto/openssh/readconf.c
2988
options->permit_local_command = 0;
crypto/openssh/readconf.c
2989
if (options->visual_host_key == -1)
crypto/openssh/readconf.c
2990
options->visual_host_key = 0;
crypto/openssh/readconf.c
2991
if (options->ip_qos_interactive == -1)
crypto/openssh/readconf.c
2992
options->ip_qos_interactive = IPTOS_DSCP_EF;
crypto/openssh/readconf.c
2993
if (options->ip_qos_bulk == -1)
crypto/openssh/readconf.c
2994
options->ip_qos_bulk = IPTOS_DSCP_CS0;
crypto/openssh/readconf.c
2995
if (options->request_tty == -1)
crypto/openssh/readconf.c
2996
options->request_tty = REQUEST_TTY_AUTO;
crypto/openssh/readconf.c
2997
if (options->session_type == -1)
crypto/openssh/readconf.c
2998
options->session_type = SESSION_TYPE_DEFAULT;
crypto/openssh/readconf.c
2999
if (options->stdin_null == -1)
crypto/openssh/readconf.c
3000
options->stdin_null = 0;
crypto/openssh/readconf.c
3001
if (options->fork_after_authentication == -1)
crypto/openssh/readconf.c
3002
options->fork_after_authentication = 0;
crypto/openssh/readconf.c
3003
if (options->proxy_use_fdpass == -1)
crypto/openssh/readconf.c
3004
options->proxy_use_fdpass = 0;
crypto/openssh/readconf.c
3005
if (options->canonicalize_max_dots == -1)
crypto/openssh/readconf.c
3006
options->canonicalize_max_dots = 1;
crypto/openssh/readconf.c
3007
if (options->canonicalize_fallback_local == -1)
crypto/openssh/readconf.c
3008
options->canonicalize_fallback_local = 1;
crypto/openssh/readconf.c
3009
if (options->canonicalize_hostname == -1)
crypto/openssh/readconf.c
3010
options->canonicalize_hostname = SSH_CANONICALISE_NO;
crypto/openssh/readconf.c
3011
if (options->fingerprint_hash == -1)
crypto/openssh/readconf.c
3012
options->fingerprint_hash = SSH_FP_HASH_DEFAULT;
crypto/openssh/readconf.c
3014
if (options->sk_provider == NULL)
crypto/openssh/readconf.c
3015
options->sk_provider = xstrdup("internal");
crypto/openssh/readconf.c
3017
if (options->sk_provider == NULL)
crypto/openssh/readconf.c
3018
options->sk_provider = xstrdup("$SSH_SK_PROVIDER");
crypto/openssh/readconf.c
3020
if (options->required_rsa_size == -1)
crypto/openssh/readconf.c
3021
options->required_rsa_size = SSH_RSA_MINIMUM_MODULUS_SIZE;
crypto/openssh/readconf.c
3022
if (options->warn_weak_crypto == -1)
crypto/openssh/readconf.c
3023
options->warn_weak_crypto = 1;
crypto/openssh/readconf.c
3024
if (options->enable_escape_commandline == -1)
crypto/openssh/readconf.c
3025
options->enable_escape_commandline = 0;
crypto/openssh/readconf.c
3026
if (options->obscure_keystroke_timing_interval == -1) {
crypto/openssh/readconf.c
3027
options->obscure_keystroke_timing_interval =
crypto/openssh/readconf.c
3045
if ((r = kex_assemble_names(&options->what, \
crypto/openssh/readconf.c
3051
options->kex_algorithms_set = options->kex_algorithms != NULL;
crypto/openssh/readconf.c
3069
if (options->nv == 1 && \
crypto/openssh/readconf.c
3070
strcasecmp(options->v[0], none) == 0) { \
crypto/openssh/readconf.c
3071
free(options->v[0]); \
crypto/openssh/readconf.c
3072
free(options->v); \
crypto/openssh/readconf.c
3073
options->v = NULL; \
crypto/openssh/readconf.c
3074
options->nv = 0; \
crypto/openssh/readconf.c
3077
CLEAR_ON_NONE(options->local_command);
crypto/openssh/readconf.c
3078
CLEAR_ON_NONE(options->remote_command);
crypto/openssh/readconf.c
3079
CLEAR_ON_NONE(options->proxy_command);
crypto/openssh/readconf.c
3080
CLEAR_ON_NONE(options->control_path);
crypto/openssh/readconf.c
3081
CLEAR_ON_NONE(options->pkcs11_provider);
crypto/openssh/readconf.c
3082
CLEAR_ON_NONE(options->sk_provider);
crypto/openssh/readconf.c
3083
CLEAR_ON_NONE(options->known_hosts_command);
crypto/openssh/readconf.c
3088
if (options->jump_host != NULL &&
crypto/openssh/readconf.c
3089
strcmp(options->jump_host, "none") == 0 &&
crypto/openssh/readconf.c
3090
options->jump_port == 0 && options->jump_user == NULL) {
crypto/openssh/readconf.c
3091
free(options->jump_host);
crypto/openssh/readconf.c
3092
options->jump_host = NULL;
crypto/openssh/readconf.c
3094
if (options->num_permitted_cnames == 1 &&
crypto/openssh/readconf.c
3095
!config_has_permitted_cnames(options)) {
crypto/openssh/readconf.c
3097
free(options->permitted_cnames[0].source_list);
crypto/openssh/readconf.c
3098
free(options->permitted_cnames[0].target_list);
crypto/openssh/readconf.c
3099
memset(options->permitted_cnames, '\0',
crypto/openssh/readconf.c
3100
sizeof(*options->permitted_cnames));
crypto/openssh/readconf.c
3101
options->num_permitted_cnames = 0;
crypto/openssh/readconf.c
369
add_local_forward(Options *options, const struct Forward *newfwd)
crypto/openssh/readconf.c
375
for (i = 0; i < options->num_local_forwards; i++) {
crypto/openssh/readconf.c
376
if (forward_equals(newfwd, options->local_forwards + i))
crypto/openssh/readconf.c
379
options->local_forwards = xreallocarray(options->local_forwards,
crypto/openssh/readconf.c
380
options->num_local_forwards + 1,
crypto/openssh/readconf.c
381
sizeof(*options->local_forwards));
crypto/openssh/readconf.c
382
fwd = &options->local_forwards[options->num_local_forwards++];
crypto/openssh/readconf.c
398
add_remote_forward(Options *options, const struct Forward *newfwd)
crypto/openssh/readconf.c
404
for (i = 0; i < options->num_remote_forwards; i++) {
crypto/openssh/readconf.c
405
if (forward_equals(newfwd, options->remote_forwards + i))
crypto/openssh/readconf.c
408
options->remote_forwards = xreallocarray(options->remote_forwards,
crypto/openssh/readconf.c
409
options->num_remote_forwards + 1,
crypto/openssh/readconf.c
410
sizeof(*options->remote_forwards));
crypto/openssh/readconf.c
411
fwd = &options->remote_forwards[options->num_remote_forwards++];
crypto/openssh/readconf.c
424
clear_forwardings(Options *options)
crypto/openssh/readconf.c
428
for (i = 0; i < options->num_local_forwards; i++) {
crypto/openssh/readconf.c
429
free(options->local_forwards[i].listen_host);
crypto/openssh/readconf.c
430
free(options->local_forwards[i].listen_path);
crypto/openssh/readconf.c
431
free(options->local_forwards[i].connect_host);
crypto/openssh/readconf.c
432
free(options->local_forwards[i].connect_path);
crypto/openssh/readconf.c
434
if (options->num_local_forwards > 0) {
crypto/openssh/readconf.c
435
free(options->local_forwards);
crypto/openssh/readconf.c
436
options->local_forwards = NULL;
crypto/openssh/readconf.c
438
options->num_local_forwards = 0;
crypto/openssh/readconf.c
439
for (i = 0; i < options->num_remote_forwards; i++) {
crypto/openssh/readconf.c
440
free(options->remote_forwards[i].listen_host);
crypto/openssh/readconf.c
441
free(options->remote_forwards[i].listen_path);
crypto/openssh/readconf.c
442
free(options->remote_forwards[i].connect_host);
crypto/openssh/readconf.c
443
free(options->remote_forwards[i].connect_path);
crypto/openssh/readconf.c
445
if (options->num_remote_forwards > 0) {
crypto/openssh/readconf.c
446
free(options->remote_forwards);
crypto/openssh/readconf.c
447
options->remote_forwards = NULL;
crypto/openssh/readconf.c
449
options->num_remote_forwards = 0;
crypto/openssh/readconf.c
450
options->tun_open = SSH_TUNMODE_NO;
crypto/openssh/readconf.c
454
add_certificate_file(Options *options, const char *path, int userprovided)
crypto/openssh/readconf.c
458
if (options->num_certificate_files >= SSH_MAX_CERTIFICATE_FILES)
crypto/openssh/readconf.c
463
for (i = 0; i < options->num_certificate_files; i++) {
crypto/openssh/readconf.c
464
if (options->certificate_file_userprovided[i] == userprovided &&
crypto/openssh/readconf.c
465
strcmp(options->certificate_files[i], path) == 0) {
crypto/openssh/readconf.c
471
options->certificate_file_userprovided[options->num_certificate_files] =
crypto/openssh/readconf.c
473
options->certificate_files[options->num_certificate_files++] =
crypto/openssh/readconf.c
478
add_identity_file(Options *options, const char *dir, const char *filename,
crypto/openssh/readconf.c
484
if (options->num_identity_files >= SSH_MAX_IDENTITY_FILES)
crypto/openssh/readconf.c
494
for (i = 0; i < options->num_identity_files; i++) {
crypto/openssh/readconf.c
495
if (options->identity_file_userprovided[i] == userprovided &&
crypto/openssh/readconf.c
496
strcmp(options->identity_files[i], path) == 0) {
crypto/openssh/readconf.c
503
options->identity_file_userprovided[options->num_identity_files] =
crypto/openssh/readconf.c
505
options->identity_files[options->num_identity_files++] = path;
crypto/openssh/readconf.c
644
expand_match_exec_or_include_path(const char *path, Options *options,
crypto/openssh/readconf.c
653
port = options->port <= 0 ? default_ssh_port() : options->port;
crypto/openssh/readconf.c
654
ruser = options->user == NULL ? pw->pw_name : options->user;
crypto/openssh/readconf.c
656
host = xstrdup(options->hostname);
crypto/openssh/readconf.c
657
} else if (options->hostname != NULL) {
crypto/openssh/readconf.c
659
host = percent_expand(options->hostname,
crypto/openssh/readconf.c
666
jmphost = option_clear_or_none(options->jump_host) ?
crypto/openssh/readconf.c
667
"" : options->jump_host;
crypto/openssh/readconf.c
675
keyalias = options->host_key_alias ? options->host_key_alias : host;
crypto/openssh/readconf.c
700
match_cfg_line(Options *options, const char *full_line, int *acp, char ***avp,
crypto/openssh/readconf.c
713
ruser = options->user == NULL ? pw->pw_name : options->user;
crypto/openssh/readconf.c
715
host = xstrdup(options->hostname);
crypto/openssh/readconf.c
716
} else if (options->hostname != NULL) {
crypto/openssh/readconf.c
718
host = percent_expand(options->hostname,
crypto/openssh/readconf.c
843
criteria = xstrdup(options->tag == NULL ? "" :
crypto/openssh/readconf.c
844
options->tag);
crypto/openssh/readconf.c
859
if (options->session_type == SESSION_TYPE_SUBSYSTEM)
crypto/openssh/readconf.c
861
else if (options->session_type == SESSION_TYPE_NONE)
crypto/openssh/readconf.c
873
options, pw, host_arg, original_host,
crypto/openssh/readconf.c
927
rm_env(Options *options, const char *arg, const char *filename, int linenum)
crypto/openssh/readconf.c
929
u_int i, j, onum_send_env = options->num_send_env;
crypto/openssh/readconf.c
932
for (i = 0; i < options->num_send_env; ) {
crypto/openssh/readconf.c
933
if (!match_pattern(options->send_env[i], arg + 1)) {
crypto/openssh/readconf.c
938
filename, linenum, options->send_env[i]);
crypto/openssh/readconf.c
939
free(options->send_env[i]);
crypto/openssh/readconf.c
940
options->send_env[i] = NULL;
crypto/openssh/readconf.c
941
for (j = i; j < options->num_send_env - 1; j++) {
crypto/openssh/readconf.c
942
options->send_env[j] = options->send_env[j + 1];
crypto/openssh/readconf.c
943
options->send_env[j + 1] = NULL;
crypto/openssh/readconf.c
945
options->num_send_env--;
crypto/openssh/readconf.c
948
if (onum_send_env != options->num_send_env) {
crypto/openssh/readconf.c
949
options->send_env = xrecallocarray(options->send_env,
crypto/openssh/readconf.c
950
onum_send_env, options->num_send_env,
crypto/openssh/readconf.c
951
sizeof(*options->send_env));
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
215
check_options(struct sk_option **options)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
219
if (options == NULL)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
221
for (i = 0; options[i] != NULL; i++) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
223
options[i]->name);
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
224
if (options[i]->required) {
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
235
struct sk_option **options, struct sk_enroll_response **enroll_response)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
247
if (check_options(options) != 0)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
483
uint8_t flags, const char *pin, struct sk_option **options,
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
496
if (check_options(options) != 0)
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
538
sk_load_resident_keys(const char *pin, struct sk_option **options,
crypto/openssh/servconf.c
100
#define SSHCONF_UNSUPPORTED_STRING(var, conf, flags) options->var = NULL;
crypto/openssh/servconf.c
104
#define init_hostkeyfile(options) \
crypto/openssh/servconf.c
105
options->host_key_files = 0; \
crypto/openssh/servconf.c
106
options->num_host_key_files = 0; \
crypto/openssh/servconf.c
107
options->host_key_file_userprovided = NULL;
crypto/openssh/servconf.c
108
#define init_ipqos(options) \
crypto/openssh/servconf.c
109
options->ip_qos_interactive = -1; \
crypto/openssh/servconf.c
110
options->ip_qos_bulk = -1;
crypto/openssh/servconf.c
1105
process_server_config_line_depth(ServerOptions *options, char *line,
crypto/openssh/servconf.c
111
#define init_listenaddress(options) \
crypto/openssh/servconf.c
112
options->queued_listen_addrs = NULL; \
crypto/openssh/servconf.c
113
options->num_queued_listens = 0; \
crypto/openssh/servconf.c
114
options->listen_addrs = NULL; \
crypto/openssh/servconf.c
115
options->num_listen_addrs = 0;
crypto/openssh/servconf.c
116
#define init_logfacility(options) \
crypto/openssh/servconf.c
117
options->log_facility = SYSLOG_FACILITY_NOT_SET;
crypto/openssh/servconf.c
118
#define init_loglevel(options) \
crypto/openssh/servconf.c
1183
intptr = &options->use_pam;
crypto/openssh/servconf.c
1186
charptr = &options->pam_service_name;
crypto/openssh/servconf.c
119
options->log_level = SYSLOG_LEVEL_NOT_SET;
crypto/openssh/servconf.c
120
#define init_port(options) \
crypto/openssh/servconf.c
1202
if (options->ports_from_cmdline) {
crypto/openssh/servconf.c
1206
if (options->num_ports >= MAX_PORTS)
crypto/openssh/servconf.c
121
options->num_ports = 0; \
crypto/openssh/servconf.c
1213
options->ports[options->num_ports++] = a2port(arg);
crypto/openssh/servconf.c
1214
if (options->ports[options->num_ports-1] <= 0)
crypto/openssh/servconf.c
122
options->ports_from_cmdline = 0;
crypto/openssh/servconf.c
1220
intptr = &options->login_grace_time;
crypto/openssh/servconf.c
123
#define init_gatewayports(options) \
crypto/openssh/servconf.c
124
options->fwd_opts.gateway_ports = -1;
crypto/openssh/servconf.c
125
#define init_streamlocalbindmask(options) \
crypto/openssh/servconf.c
126
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1;
crypto/openssh/servconf.c
1267
queue_listen_addr(options, p, arg2, port);
crypto/openssh/servconf.c
127
#define init_streamlocalbindunlink(options) \
crypto/openssh/servconf.c
1272
intptr = &options->address_family;
crypto/openssh/servconf.c
128
options->fwd_opts.streamlocal_bind_unlink = -1;
crypto/openssh/servconf.c
129
#define init_maxstartups(options) \
crypto/openssh/servconf.c
130
options->max_startups_begin = -1; \
crypto/openssh/servconf.c
1300
options, arg, 1);
crypto/openssh/servconf.c
1305
charptr = &options->host_key_agent;
crypto/openssh/servconf.c
131
options->max_startups_rate = -1; \
crypto/openssh/servconf.c
132
options->max_startups = -1;
crypto/openssh/servconf.c
1321
servconf_add_hostcert(filename, linenum, options, arg);
crypto/openssh/servconf.c
1325
charptr = &options->pid_file;
crypto/openssh/servconf.c
133
#define init_permituserenv(options) \
crypto/openssh/servconf.c
134
options->permit_user_env = -1; \
crypto/openssh/servconf.c
1340
charptr = &options->moduli_file;
crypto/openssh/servconf.c
1344
intptr = &options->permit_root_login;
crypto/openssh/servconf.c
1349
intptr = &options->ignore_rhosts;
crypto/openssh/servconf.c
135
options->permit_user_env_allowlist = NULL;
crypto/openssh/servconf.c
1354
intptr = &options->ignore_user_known_hosts;
crypto/openssh/servconf.c
136
#define init_persourcenetblocksize(options) \
crypto/openssh/servconf.c
1360
intptr = &options->hostbased_authentication;
crypto/openssh/servconf.c
1364
intptr = &options->hostbased_uses_name_from_packet_only;
crypto/openssh/servconf.c
1368
charptr = &options->hostbased_accepted_algos;
crypto/openssh/servconf.c
137
options->per_source_masklen_ipv4 = -1; \
crypto/openssh/servconf.c
138
options->per_source_masklen_ipv6 = -1;
crypto/openssh/servconf.c
1385
charptr = &options->hostkeyalgorithms;
crypto/openssh/servconf.c
139
#define init_persourcepenalties(options) \
crypto/openssh/servconf.c
1390
charptr = &options->ca_sign_algorithms;
crypto/openssh/servconf.c
1395
intptr = &options->pubkey_authentication;
crypto/openssh/servconf.c
140
options->per_source_penalty_exempt = NULL; \
crypto/openssh/servconf.c
1400
charptr = &options->pubkey_accepted_algos;
crypto/openssh/servconf.c
1405
intptr = &options->pubkey_auth_options;
crypto/openssh/servconf.c
141
options->per_source_penalty.enabled = -1; \
crypto/openssh/servconf.c
142
options->per_source_penalty.max_sources4 = -1; \
crypto/openssh/servconf.c
1426
intptr = &options->kerberos_authentication;
crypto/openssh/servconf.c
143
options->per_source_penalty.max_sources6 = -1; \
crypto/openssh/servconf.c
1430
intptr = &options->kerberos_or_local_passwd;
crypto/openssh/servconf.c
1434
intptr = &options->kerberos_ticket_cleanup;
crypto/openssh/servconf.c
1438
intptr = &options->kerberos_get_afs_token;
crypto/openssh/servconf.c
144
options->per_source_penalty.overflow_mode = -1; \
crypto/openssh/servconf.c
1445
intptr = &options->gss_authentication;
crypto/openssh/servconf.c
1449
intptr = &options->gss_cleanup_creds;
crypto/openssh/servconf.c
145
options->per_source_penalty.overflow_mode6 = -1; \
crypto/openssh/servconf.c
1453
intptr = &options->gss_deleg_creds;
crypto/openssh/servconf.c
1457
intptr = &options->gss_strict_acceptor;
crypto/openssh/servconf.c
146
options->per_source_penalty.penalty_crash = -1.0; \
crypto/openssh/servconf.c
1462
intptr = &options->password_authentication;
crypto/openssh/servconf.c
1466
intptr = &options->kbd_interactive_authentication;
crypto/openssh/servconf.c
147
options->per_source_penalty.penalty_authfail = -1.0; \
crypto/openssh/servconf.c
1470
intptr = &options->print_motd;
crypto/openssh/servconf.c
1475
intptr = &options->print_lastlog;
crypto/openssh/servconf.c
148
options->per_source_penalty.penalty_invaliduser = -1.0; \
crypto/openssh/servconf.c
1480
intptr = &options->x11_forwarding;
crypto/openssh/servconf.c
1484
intptr = &options->x11_display_offset;
crypto/openssh/servconf.c
149
options->per_source_penalty.penalty_noauth = -1.0; \
crypto/openssh/servconf.c
1495
intptr = &options->x11_use_localhost;
crypto/openssh/servconf.c
1499
charptr = &options->xauth_location;
crypto/openssh/servconf.c
150
options->per_source_penalty.penalty_grace = -1.0; \
crypto/openssh/servconf.c
1503
intptr = &options->permit_tty;
crypto/openssh/servconf.c
1507
intptr = &options->permit_user_rc;
crypto/openssh/servconf.c
151
options->per_source_penalty.penalty_refuseconnection = -1.0; \
crypto/openssh/servconf.c
1511
intptr = &options->strict_modes;
crypto/openssh/servconf.c
1515
intptr = &options->tcp_keep_alive;
crypto/openssh/servconf.c
1519
intptr = &options->permit_empty_passwd;
crypto/openssh/servconf.c
152
options->per_source_penalty.penalty_max = -1.0; \
crypto/openssh/servconf.c
1523
intptr = &options->permit_user_env;
crypto/openssh/servconf.c
1524
charptr = &options->permit_user_env_allowlist;
crypto/openssh/servconf.c
153
options->per_source_penalty.penalty_min = -1.0;
crypto/openssh/servconf.c
154
#define init_rekeylimit(options) \
crypto/openssh/servconf.c
1549
intptr = &options->compression;
crypto/openssh/servconf.c
155
options->rekey_limit = -1; \
crypto/openssh/servconf.c
156
options->rekey_interval = -1;
crypto/openssh/servconf.c
1569
if (*activep && options->rekey_limit == -1)
crypto/openssh/servconf.c
157
#define init_subsystem(options) \
crypto/openssh/servconf.c
1570
options->rekey_limit = val64;
crypto/openssh/servconf.c
1576
intptr = &options->rekey_interval;
crypto/openssh/servconf.c
158
options->num_subsystems = 0; \
crypto/openssh/servconf.c
1582
intptr = &options->fwd_opts.gateway_ports;
crypto/openssh/servconf.c
1587
intptr = &options->use_dns;
crypto/openssh/servconf.c
159
options->subsystem_name = NULL; \
crypto/openssh/servconf.c
1591
log_facility_ptr = &options->log_facility;
crypto/openssh/servconf.c
160
options->subsystem_command = NULL; \
crypto/openssh/servconf.c
1602
log_level_ptr = &options->log_level;
crypto/openssh/servconf.c
161
options->subsystem_args = NULL;
crypto/openssh/servconf.c
1613
found = options->num_log_verbose == 0;
crypto/openssh/servconf.c
162
#define init_timingsecret(options) \
crypto/openssh/servconf.c
163
options->timing_secret = 0;
crypto/openssh/servconf.c
1637
options->log_verbose = strs;
crypto/openssh/servconf.c
1638
options->num_log_verbose = nstrs;
crypto/openssh/servconf.c
1645
intptr = &options->allow_tcp_forwarding;
crypto/openssh/servconf.c
1650
intptr = &options->allow_streamlocal_forwarding;
crypto/openssh/servconf.c
1655
intptr = &options->allow_agent_forwarding;
crypto/openssh/servconf.c
1659
intptr = &options->disable_forwarding;
crypto/openssh/servconf.c
1663
chararrayptr = &options->allow_users;
crypto/openssh/servconf.c
1664
uintptr = &options->num_allow_users;
crypto/openssh/servconf.c
1685
chararrayptr = &options->deny_users;
crypto/openssh/servconf.c
1686
uintptr = &options->num_deny_users;
crypto/openssh/servconf.c
1690
chararrayptr = &options->allow_groups;
crypto/openssh/servconf.c
1691
uintptr = &options->num_allow_groups;
crypto/openssh/servconf.c
1711
chararrayptr = &options->deny_groups;
crypto/openssh/servconf.c
1712
uintptr = &options->num_deny_groups;
crypto/openssh/servconf.c
1724
if (options->ciphers == NULL)
crypto/openssh/servconf.c
1725
options->ciphers = xstrdup(arg);
crypto/openssh/servconf.c
1737
if (options->macs == NULL)
crypto/openssh/servconf.c
1738
options->macs = xstrdup(arg);
crypto/openssh/servconf.c
1751
if (options->kex_algorithms == NULL)
crypto/openssh/servconf.c
1752
options->kex_algorithms = xstrdup(arg);
crypto/openssh/servconf.c
1765
for (i = 0; i < options->num_subsystems; i++) {
crypto/openssh/servconf.c
1766
if (strcmp(arg, options->subsystem_name[i]) == 0) {
crypto/openssh/servconf.c
1777
options->subsystem_name = xrecallocarray(
crypto/openssh/servconf.c
1778
options->subsystem_name, options->num_subsystems,
crypto/openssh/servconf.c
1779
options->num_subsystems + 1,
crypto/openssh/servconf.c
1780
sizeof(*options->subsystem_name));
crypto/openssh/servconf.c
1781
options->subsystem_command = xrecallocarray(
crypto/openssh/servconf.c
1782
options->subsystem_command, options->num_subsystems,
crypto/openssh/servconf.c
1783
options->num_subsystems + 1,
crypto/openssh/servconf.c
1784
sizeof(*options->subsystem_command));
crypto/openssh/servconf.c
1785
options->subsystem_args = xrecallocarray(
crypto/openssh/servconf.c
1786
options->subsystem_args, options->num_subsystems,
crypto/openssh/servconf.c
1787
options->num_subsystems + 1,
crypto/openssh/servconf.c
1788
sizeof(*options->subsystem_args));
crypto/openssh/servconf.c
1789
options->subsystem_name[options->num_subsystems] = xstrdup(arg);
crypto/openssh/servconf.c
1790
options->subsystem_command[options->num_subsystems] =
crypto/openssh/servconf.c
1795
xasprintf(&options->subsystem_args[options->num_subsystems],
crypto/openssh/servconf.c
1800
options->num_subsystems++;
crypto/openssh/servconf.c
1824
if (*activep && options->max_startups == -1) {
crypto/openssh/servconf.c
1825
options->max_startups_begin = value;
crypto/openssh/servconf.c
1826
options->max_startups_rate = value2;
crypto/openssh/servconf.c
1827
options->max_startups = value3;
crypto/openssh/servconf.c
1848
if (*activep && options->per_source_masklen_ipv4 == -1) {
crypto/openssh/servconf.c
1849
options->per_source_masklen_ipv4 = value;
crypto/openssh/servconf.c
1851
options->per_source_masklen_ipv6 = value2;
crypto/openssh/servconf.c
1867
if (*activep && options->per_source_max_startups == -1)
crypto/openssh/servconf.c
1868
options->per_source_max_startups = value;
crypto/openssh/servconf.c
1872
charptr = &options->per_source_penalty_exempt;
crypto/openssh/servconf.c
1904
options->per_source_penalty.enabled == -1)
crypto/openssh/servconf.c
1905
options->per_source_penalty.enabled = value2;
crypto/openssh/servconf.c
1908
doubleptr = &options->per_source_penalty.penalty_crash;
crypto/openssh/servconf.c
1910
doubleptr = &options->per_source_penalty.penalty_authfail;
crypto/openssh/servconf.c
1912
doubleptr = &options->per_source_penalty.penalty_invaliduser;
crypto/openssh/servconf.c
1914
doubleptr = &options->per_source_penalty.penalty_noauth;
crypto/openssh/servconf.c
1916
doubleptr = &options->per_source_penalty.penalty_grace;
crypto/openssh/servconf.c
1918
doubleptr = &options->per_source_penalty.penalty_refuseconnection;
crypto/openssh/servconf.c
1920
doubleptr = &options->per_source_penalty.penalty_max;
crypto/openssh/servconf.c
1922
doubleptr = &options->per_source_penalty.penalty_min;
crypto/openssh/servconf.c
1924
intptr = &options->per_source_penalty.max_sources4;
crypto/openssh/servconf.c
1929
intptr = &options->per_source_penalty.max_sources6;
crypto/openssh/servconf.c
1934
intptr = &options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
1937
intptr = &options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
1940
intptr = &options->per_source_penalty.overflow_mode6;
crypto/openssh/servconf.c
1943
intptr = &options->per_source_penalty.overflow_mode6;
crypto/openssh/servconf.c
1957
options->per_source_penalty.enabled = 1;
crypto/openssh/servconf.c
1962
options->per_source_penalty.enabled = 1;
crypto/openssh/servconf.c
1976
intptr = &options->max_authtries;
crypto/openssh/servconf.c
1980
intptr = &options->max_sessions;
crypto/openssh/servconf.c
1984
charptr = &options->banner;
crypto/openssh/servconf.c
1994
uintptr = &options->num_authkeys_files;
crypto/openssh/servconf.c
1995
chararrayptr = &options->authorized_keys_files;
crypto/openssh/servconf.c
2031
charptr = &options->authorized_principals_file;
crypto/openssh/servconf.c
2045
intptr = &options->client_alive_interval;
crypto/openssh/servconf.c
2049
intptr = &options->client_alive_count_max;
crypto/openssh/servconf.c
2062
&options->accept_env, &options->num_accept_env,
crypto/openssh/servconf.c
2072
found = options->num_setenv == 0;
crypto/openssh/servconf.c
2090
options->setenv = strs;
crypto/openssh/servconf.c
2091
options->num_setenv = nstrs;
crypto/openssh/servconf.c
2098
intptr = &options->permit_tun;
crypto/openssh/servconf.c
2146
parse_server_config_depth(options,
crypto/openssh/servconf.c
2193
parse_server_config_depth(options,
crypto/openssh/servconf.c
2232
uintptr = &options->num_permitted_listens;
crypto/openssh/servconf.c
2233
chararrayptr = &options->permitted_listens;
crypto/openssh/servconf.c
2235
uintptr = &options->num_permitted_opens;
crypto/openssh/servconf.c
2236
chararrayptr = &options->permitted_opens;
crypto/openssh/servconf.c
2294
if (*activep && options->adm_forced_command == NULL)
crypto/openssh/servconf.c
2295
options->adm_forced_command = xstrdup(str + len);
crypto/openssh/servconf.c
2300
charptr = &options->chroot_directory;
crypto/openssh/servconf.c
2311
charptr = &options->trusted_user_ca_keys;
crypto/openssh/servconf.c
2315
uintptr = &options->num_revoked_keys_files;
crypto/openssh/servconf.c
2316
chararrayptr = &options->revoked_keys_files;
crypto/openssh/servconf.c
2320
charptr = &options->sk_provider;
crypto/openssh/servconf.c
2360
if (*activep && options->ip_qos_interactive == -1) {
crypto/openssh/servconf.c
2361
options->ip_qos_interactive = value;
crypto/openssh/servconf.c
2362
options->ip_qos_bulk = value2;
crypto/openssh/servconf.c
2379
if (*activep && options->version_addendum == NULL) {
crypto/openssh/servconf.c
2381
options->version_addendum = xstrdup("");
crypto/openssh/servconf.c
2383
options->version_addendum = xstrdup(str + len);
crypto/openssh/servconf.c
2389
charptr = &options->authorized_keys_command;
crypto/openssh/servconf.c
2402
charptr = &options->authorized_keys_command_user;
crypto/openssh/servconf.c
2414
charptr = &options->authorized_principals_command;
crypto/openssh/servconf.c
2418
charptr = &options->authorized_principals_command_user;
crypto/openssh/servconf.c
2422
found = options->num_auth_methods == 0;
crypto/openssh/servconf.c
2447
options->auth_methods = strs;
crypto/openssh/servconf.c
2448
options->num_auth_methods = nstrs;
crypto/openssh/servconf.c
2465
options->fwd_opts.streamlocal_bind_mask = (mode_t)value;
crypto/openssh/servconf.c
2469
intptr = &options->fwd_opts.streamlocal_bind_unlink;
crypto/openssh/servconf.c
2481
options->fingerprint_hash = value;
crypto/openssh/servconf.c
2485
intptr = &options->expose_userauth_info;
crypto/openssh/servconf.c
249
ServerOptions *options, const char *path, int userprovided)
crypto/openssh/servconf.c
2493
charptr = &options->routing_domain;
crypto/openssh/servconf.c
2507
intptr = &options->required_rsa_size;
crypto/openssh/servconf.c
2511
found = options->num_channel_timeouts == 0;
crypto/openssh/servconf.c
2534
options->channel_timeouts = strs;
crypto/openssh/servconf.c
2535
options->num_channel_timeouts = nstrs;
crypto/openssh/servconf.c
2542
intptr = &options->unused_connection_timeout;
crypto/openssh/servconf.c
2553
charptr = &options->sshd_session_path;
crypto/openssh/servconf.c
2557
charptr = &options->sshd_auth_path;
crypto/openssh/servconf.c
2561
intptr = &options->refuse_connection;
crypto/openssh/servconf.c
2566
intptr = &options->use_blocklist;
crypto/openssh/servconf.c
258
&options->host_key_files, &options->host_key_file_userprovided,
crypto/openssh/servconf.c
259
&options->num_host_key_files, apath, userprovided);
crypto/openssh/servconf.c
2600
process_server_config_line(ServerOptions *options, char *line,
crypto/openssh/servconf.c
2606
return process_server_config_line_depth(options, line, filename,
crypto/openssh/servconf.c
265
ServerOptions *options, const char *path)
crypto/openssh/servconf.c
2650
parse_server_match_config(ServerOptions *options,
crypto/openssh/servconf.c
2658
copy_set_server_options(options, &mo, 0);
crypto/openssh/servconf.c
270
&options->host_cert_files, &options->num_host_cert_files, apath);
crypto/openssh/servconf.c
275
fill_default_server_options(ServerOptions *options)
crypto/openssh/servconf.c
280
if (options->var == -1) \
crypto/openssh/servconf.c
281
options->var = def;
crypto/openssh/servconf.c
2816
serialise_hostkeyfile(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2821
if ((r = sshbuf_put_u32(buf, options->num_host_key_files)) != 0) {
crypto/openssh/servconf.c
2825
for (i = 0; i < options->num_host_key_files; i++) {
crypto/openssh/servconf.c
2827
options->host_key_file_userprovided[i])) != 0 ||
crypto/openssh/servconf.c
2829
options->host_key_files[i])) != 0) {
crypto/openssh/servconf.c
283
if (options->var == -1) \
crypto/openssh/servconf.c
2838
serialise_ipqos(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
284
options->var = def;
crypto/openssh/servconf.c
2842
if ((r = serialise_s32(buf, options->ip_qos_interactive)) != 0 ||
crypto/openssh/servconf.c
2843
(r = serialise_s32(buf, options->ip_qos_bulk)) != 0) {
crypto/openssh/servconf.c
2852
serialise_listenaddress(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2858
if ((r = sshbuf_put_u32(buf, options->num_queued_listens)) != 0) {
crypto/openssh/servconf.c
2862
for (i = 0; i < options->num_queued_listens; i++) {
crypto/openssh/servconf.c
2864
options->queued_listen_addrs + i;
crypto/openssh/servconf.c
2877
serialise_logfacility(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2881
if ((r = serialise_s32(buf, (int)options->log_facility)) != 0) {
crypto/openssh/servconf.c
2890
serialise_loglevel(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2894
if ((r = serialise_s32(buf, (int)options->log_level)) != 0) {
crypto/openssh/servconf.c
290
#define SSHCONF_UNSUPPORTED_INT(var, conf, flags) options->var = 0;
crypto/openssh/servconf.c
2903
serialise_port(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2908
if ((r = sshbuf_put_u32(buf, options->num_ports)) != 0) {
crypto/openssh/servconf.c
2912
for (i = 0; i < options->num_ports; i++) {
crypto/openssh/servconf.c
2913
if ((r = serialise_s32(buf, options->ports[i])) != 0) {
crypto/openssh/servconf.c
2922
serialise_gatewayports(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2926
if ((r = serialise_s32(buf, options->fwd_opts.gateway_ports)) != 0) {
crypto/openssh/servconf.c
293
free(options->var); \
crypto/openssh/servconf.c
2934
serialise_streamlocalbindmask(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2939
options->fwd_opts.streamlocal_bind_mask)) != 0) {
crypto/openssh/servconf.c
294
options->var = NULL; \
crypto/openssh/servconf.c
2947
serialise_streamlocalbindunlink(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2952
(options->fwd_opts.streamlocal_bind_unlink != 0))) != 0) {
crypto/openssh/servconf.c
2960
serialise_maxstartups(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2964
if ((r = serialise_s32(buf, options->max_startups_begin)) != 0 ||
crypto/openssh/servconf.c
2965
(r = serialise_s32(buf, options->max_startups_rate)) != 0 ||
crypto/openssh/servconf.c
2966
(r = serialise_s32(buf, options->max_startups)) != 0) {
crypto/openssh/servconf.c
2975
serialise_permituserenv(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2979
if ((r = serialise_s32(buf, options->permit_user_env)) != 0 ||
crypto/openssh/servconf.c
2981
options->permit_user_env_allowlist)) != 0) {
crypto/openssh/servconf.c
2990
serialise_persourcenetblocksize(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2994
if ((r = serialise_s32(buf, options->per_source_masklen_ipv4)) != 0 ||
crypto/openssh/servconf.c
2995
(r = serialise_s32(buf, options->per_source_masklen_ipv6)) != 0) {
crypto/openssh/servconf.c
3004
serialise_persourcepenalties(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3006
const struct per_source_penalty *psp = &options->per_source_penalty;
crypto/openssh/servconf.c
3030
serialise_rekeylimit(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3034
if ((r = serialise_s64(buf, options->rekey_limit)) != 0 ||
crypto/openssh/servconf.c
3035
(r = serialise_s32(buf, options->rekey_interval)) != 0) {
crypto/openssh/servconf.c
3044
serialise_subsystem(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3049
if ((r = sshbuf_put_u32(buf, options->num_subsystems)) != 0) {
crypto/openssh/servconf.c
3053
for (i = 0; i < options->num_subsystems; i++) {
crypto/openssh/servconf.c
3055
options->subsystem_name[i])) != 0 ||
crypto/openssh/servconf.c
3057
options->subsystem_command[i])) != 0 ||
crypto/openssh/servconf.c
3059
options->subsystem_args[i])) != 0) {
crypto/openssh/servconf.c
3068
serialise_timingsecret(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3072
if ((r = sshbuf_put_u64(buf, options->timing_secret)) != 0) {
crypto/openssh/servconf.c
3081
serialise_server_options(const ServerOptions *options, struct sshbuf **bufp)
crypto/openssh/servconf.c
3096
if ((r = serialise_s32(buf, options->var)) != 0) { \
crypto/openssh/servconf.c
3101
if ((r = serialise_s32(buf, options->var)) != 0) { \
crypto/openssh/servconf.c
3106
if ((r = serialise_nullable_string(buf, options->var)) != 0) { \
crypto/openssh/servconf.c
3111
if ((r = serialise_nullable_string_array(buf, options->var, \
crypto/openssh/servconf.c
3112
options->nvar)) != 0) { \
crypto/openssh/servconf.c
3117
if ((r = serialise_##funcsuffix(options, buf)) != 0) \
crypto/openssh/servconf.c
3120
if ((r = serialise_##funcsuffix(options, buf)) != 0) \
crypto/openssh/servconf.c
314
if (options->pam_service_name == NULL)
crypto/openssh/servconf.c
315
options->pam_service_name = xstrdup(SSHD_PAM_SERVICE);
crypto/openssh/servconf.c
318
if (options->num_host_key_files == 0) {
crypto/openssh/servconf.c
320
servconf_add_hostkey(defaultkey, 0, options,
crypto/openssh/servconf.c
323
servconf_add_hostkey(defaultkey, 0, options,
crypto/openssh/servconf.c
326
servconf_add_hostkey(defaultkey, 0, options,
crypto/openssh/servconf.c
328
servconf_add_hostkey("[default]", 0, options,
crypto/openssh/servconf.c
331
if (options->num_host_key_files == 0)
crypto/openssh/servconf.c
3312
deserialise_hostkeyfile(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3333
options->num_host_key_files = n;
crypto/openssh/servconf.c
3334
options->host_key_file_userprovided = userprovided;
crypto/openssh/servconf.c
3335
options->host_key_files = files;
crypto/openssh/servconf.c
334
if (options->num_ports == 0)
crypto/openssh/servconf.c
3340
deserialise_ipqos(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3344
if ((r = deserialise_s32(buf, &options->ip_qos_interactive)) != 0 ||
crypto/openssh/servconf.c
3345
(r = deserialise_s32(buf, &options->ip_qos_bulk)) != 0) {
crypto/openssh/servconf.c
335
options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
crypto/openssh/servconf.c
3354
deserialise_listenaddress(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
336
if (options->listen_addrs == NULL)
crypto/openssh/servconf.c
337
add_listen_addr(options, NULL, NULL, 0);
crypto/openssh/servconf.c
3374
options->num_queued_listens = n;
crypto/openssh/servconf.c
3375
options->queued_listen_addrs = qla;
crypto/openssh/servconf.c
338
if (options->pid_file == NULL)
crypto/openssh/servconf.c
3380
deserialise_logfacility(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
339
options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE);
crypto/openssh/servconf.c
3393
options->log_facility = (SyslogFacility)tmp;
crypto/openssh/servconf.c
3399
deserialise_loglevel(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
340
if (options->moduli_file == NULL)
crypto/openssh/servconf.c
341
options->moduli_file = xstrdup(_PATH_DH_MODULI);
crypto/openssh/servconf.c
3412
options->log_level = (LogLevel)tmp;
crypto/openssh/servconf.c
3418
deserialise_port(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
342
if (options->xauth_location == NULL)
crypto/openssh/servconf.c
3429
options->num_ports = n;
crypto/openssh/servconf.c
343
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/servconf.c
3430
memset(options->ports, 0, sizeof(options->ports));
crypto/openssh/servconf.c
3431
for (i = 0; i < options->num_ports; i++) {
crypto/openssh/servconf.c
3432
if ((r = deserialise_s32(buf, options->ports + i)) != 0) {
crypto/openssh/servconf.c
344
if (options->log_facility == SYSLOG_FACILITY_NOT_SET)
crypto/openssh/servconf.c
3441
deserialise_gatewayports(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3445
if ((r = deserialise_s32(buf, &options->fwd_opts.gateway_ports)) != 0) {
crypto/openssh/servconf.c
345
options->log_facility = SYSLOG_FACILITY_AUTH;
crypto/openssh/servconf.c
3453
deserialise_streamlocalbindmask(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3458
&options->fwd_opts.streamlocal_bind_mask)) != 0) {
crypto/openssh/servconf.c
346
if (options->log_level == SYSLOG_LEVEL_NOT_SET)
crypto/openssh/servconf.c
3466
deserialise_streamlocalbindunlink(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
347
options->log_level = SYSLOG_LEVEL_INFO;
crypto/openssh/servconf.c
3479
options->fwd_opts.streamlocal_bind_unlink = tmp;
crypto/openssh/servconf.c
348
if (options->permit_user_env == -1) {
crypto/openssh/servconf.c
3484
deserialise_maxstartups(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3488
if ((r = deserialise_s32(buf, &options->max_startups_begin)) != 0 ||
crypto/openssh/servconf.c
3489
(r = deserialise_s32(buf, &options->max_startups_rate)) != 0 ||
crypto/openssh/servconf.c
349
options->permit_user_env = 0;
crypto/openssh/servconf.c
3490
(r = deserialise_s32(buf, &options->max_startups)) != 0) {
crypto/openssh/servconf.c
3499
deserialise_permituserenv(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
350
options->permit_user_env_allowlist = NULL;
crypto/openssh/servconf.c
3503
if ((r = deserialise_s32(buf, &options->permit_user_env)) != 0 ||
crypto/openssh/servconf.c
3505
&options->permit_user_env_allowlist)) != 0) {
crypto/openssh/servconf.c
3513
deserialise_persourcenetblocksize(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3518
&options->per_source_masklen_ipv4)) != 0 ||
crypto/openssh/servconf.c
352
if (options->rekey_limit == -1)
crypto/openssh/servconf.c
3520
&options->per_source_masklen_ipv6)) != 0) {
crypto/openssh/servconf.c
3529
deserialise_persourcepenalties(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
353
options->rekey_limit = 0;
crypto/openssh/servconf.c
3531
struct per_source_penalty *psp = &options->per_source_penalty;
crypto/openssh/servconf.c
354
if (options->rekey_interval == -1)
crypto/openssh/servconf.c
355
options->rekey_interval = 0;
crypto/openssh/servconf.c
3556
deserialise_rekeylimit(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
356
if (options->fwd_opts.gateway_ports == -1)
crypto/openssh/servconf.c
3560
if ((r = deserialise_s64(buf, &options->rekey_limit)) != 0 ||
crypto/openssh/servconf.c
3561
(r = deserialise_s32(buf, &options->rekey_interval)) != 0) {
crypto/openssh/servconf.c
357
options->fwd_opts.gateway_ports = 0;
crypto/openssh/servconf.c
3570
deserialise_subsystem(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
358
if (options->max_startups == -1)
crypto/openssh/servconf.c
359
options->max_startups = 100;
crypto/openssh/servconf.c
3594
options->num_subsystems = n;
crypto/openssh/servconf.c
3595
options->subsystem_name = names;
crypto/openssh/servconf.c
3596
options->subsystem_command = commands;
crypto/openssh/servconf.c
3597
options->subsystem_args = args;
crypto/openssh/servconf.c
360
if (options->max_startups_rate == -1)
crypto/openssh/servconf.c
3602
deserialise_timingsecret(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3606
if ((r = sshbuf_get_u64(buf, &options->timing_secret)) != 0) {
crypto/openssh/servconf.c
361
options->max_startups_rate = 30; /* 30% */
crypto/openssh/servconf.c
3614
deserialise_server_options(struct sshbuf *buf, ServerOptions *options)
crypto/openssh/servconf.c
362
if (options->max_startups_begin == -1)
crypto/openssh/servconf.c
363
options->max_startups_begin = 10;
crypto/openssh/servconf.c
364
if (options->per_source_masklen_ipv4 == -1)
crypto/openssh/servconf.c
365
options->per_source_masklen_ipv4 = 32;
crypto/openssh/servconf.c
366
if (options->per_source_masklen_ipv6 == -1)
crypto/openssh/servconf.c
367
options->per_source_masklen_ipv6 = 128;
crypto/openssh/servconf.c
368
if (options->per_source_penalty.enabled == -1)
crypto/openssh/servconf.c
3687
free_server_options(options);
crypto/openssh/servconf.c
3688
*options = new_options;
crypto/openssh/servconf.c
369
options->per_source_penalty.enabled = 1;
crypto/openssh/servconf.c
3696
free_hostkeyfile(ServerOptions *options)
crypto/openssh/servconf.c
370
if (options->per_source_penalty.max_sources4 == -1)
crypto/openssh/servconf.c
3700
for (i = 0; i < options->num_host_key_files; i++)
crypto/openssh/servconf.c
3701
free(options->host_key_files[i]);
crypto/openssh/servconf.c
3702
free(options->host_key_files);
crypto/openssh/servconf.c
3703
free(options->host_key_file_userprovided);
crypto/openssh/servconf.c
3707
free_listenaddress(ServerOptions *options)
crypto/openssh/servconf.c
371
options->per_source_penalty.max_sources4 = 65536;
crypto/openssh/servconf.c
3711
free_queued_listen_addrs(options->queued_listen_addrs,
crypto/openssh/servconf.c
3712
options->num_queued_listens);
crypto/openssh/servconf.c
3714
for (i = 0; i < options->num_listen_addrs; i++) {
crypto/openssh/servconf.c
3715
free(options->listen_addrs[i].rdomain);
crypto/openssh/servconf.c
3716
if (options->listen_addrs[i].addrs != NULL)
crypto/openssh/servconf.c
3717
freeaddrinfo(options->listen_addrs[i].addrs);
crypto/openssh/servconf.c
3719
free(options->listen_addrs);
crypto/openssh/servconf.c
372
if (options->per_source_penalty.max_sources6 == -1)
crypto/openssh/servconf.c
3723
free_permituserenv(ServerOptions *options)
crypto/openssh/servconf.c
3725
free(options->permit_user_env_allowlist);
crypto/openssh/servconf.c
3729
free_subsystem(ServerOptions *options)
crypto/openssh/servconf.c
373
options->per_source_penalty.max_sources6 = 65536;
crypto/openssh/servconf.c
3733
for (i = 0; i < options->num_subsystems; i++) {
crypto/openssh/servconf.c
3734
free(options->subsystem_name[i]);
crypto/openssh/servconf.c
3735
free(options->subsystem_command[i]);
crypto/openssh/servconf.c
3736
free(options->subsystem_args[i]);
crypto/openssh/servconf.c
3738
free(options->subsystem_name);
crypto/openssh/servconf.c
3739
free(options->subsystem_command);
crypto/openssh/servconf.c
374
if (options->per_source_penalty.overflow_mode == -1)
crypto/openssh/servconf.c
3740
free(options->subsystem_args);
crypto/openssh/servconf.c
3744
free_server_options(ServerOptions *options)
crypto/openssh/servconf.c
3748
#define SSHCONF_STRING(var, conf, flags, cp) free(options->var);
crypto/openssh/servconf.c
375
options->per_source_penalty.overflow_mode = PER_SOURCE_PENALTY_OVERFLOW_PERMISSIVE;
crypto/openssh/servconf.c
3750
free_string_array(options->var, options->nvar);
crypto/openssh/servconf.c
3752
free_##funcsuffix(options);
crypto/openssh/servconf.c
3754
free_##funcsuffix(options);
crypto/openssh/servconf.c
3756
#define SSHCONF_UNSUPPORTED_INT(var, conf, flags) options->var = 0;
crypto/openssh/servconf.c
3759
free(options->var); \
crypto/openssh/servconf.c
376
if (options->per_source_penalty.overflow_mode6 == -1)
crypto/openssh/servconf.c
3760
options->var = NULL; \
crypto/openssh/servconf.c
3764
#define free_ipqos(options)
crypto/openssh/servconf.c
3765
#define free_logfacility(options)
crypto/openssh/servconf.c
3766
#define free_loglevel(options)
crypto/openssh/servconf.c
3767
#define free_port(options)
crypto/openssh/servconf.c
3768
#define free_gatewayports(options)
crypto/openssh/servconf.c
3769
#define free_streamlocalbindmask(options)
crypto/openssh/servconf.c
377
options->per_source_penalty.overflow_mode6 = options->per_source_penalty.overflow_mode;
crypto/openssh/servconf.c
3770
#define free_streamlocalbindunlink(options)
crypto/openssh/servconf.c
3771
#define free_maxstartups(options)
crypto/openssh/servconf.c
3772
#define free_persourcenetblocksize(options)
crypto/openssh/servconf.c
3773
#define free_persourcepenalties(options)
crypto/openssh/servconf.c
3774
#define free_rekeylimit(options)
crypto/openssh/servconf.c
3775
#define free_timingsecret(options)
crypto/openssh/servconf.c
378
if (options->per_source_penalty.penalty_crash < 0.0)
crypto/openssh/servconf.c
379
options->per_source_penalty.penalty_crash = 90.0;
crypto/openssh/servconf.c
380
if (options->per_source_penalty.penalty_grace < 0.0)
crypto/openssh/servconf.c
3803
initialize_server_options(options);
crypto/openssh/servconf.c
381
options->per_source_penalty.penalty_grace = 10.0;
crypto/openssh/servconf.c
382
if (options->per_source_penalty.penalty_authfail < 0.0)
crypto/openssh/servconf.c
383
options->per_source_penalty.penalty_authfail = 5.0;
crypto/openssh/servconf.c
384
if (options->per_source_penalty.penalty_invaliduser < 0.0)
crypto/openssh/servconf.c
385
options->per_source_penalty.penalty_invaliduser = 5.0;
crypto/openssh/servconf.c
386
if (options->per_source_penalty.penalty_noauth < 0.0)
crypto/openssh/servconf.c
387
options->per_source_penalty.penalty_noauth = 1.0;
crypto/openssh/servconf.c
388
if (options->per_source_penalty.penalty_refuseconnection < 0.0)
crypto/openssh/servconf.c
389
options->per_source_penalty.penalty_refuseconnection = 10.0;
crypto/openssh/servconf.c
390
if (options->per_source_penalty.penalty_min < 0.0)
crypto/openssh/servconf.c
391
options->per_source_penalty.penalty_min = 15.0;
crypto/openssh/servconf.c
392
if (options->per_source_penalty.penalty_max < 0.0)
crypto/openssh/servconf.c
393
options->per_source_penalty.penalty_max = 600.0;
crypto/openssh/servconf.c
394
if (options->num_authkeys_files == 0) {
crypto/openssh/servconf.c
396
&options->authorized_keys_files,
crypto/openssh/servconf.c
397
&options->num_authkeys_files,
crypto/openssh/servconf.c
3993
parse_server_config_depth(ServerOptions *options, const char *filename,
crypto/openssh/servconf.c
400
&options->authorized_keys_files,
crypto/openssh/servconf.c
401
&options->num_authkeys_files,
crypto/openssh/servconf.c
4010
if (process_server_config_line_depth(options, cp,
crypto/openssh/servconf.c
4022
parse_server_config(ServerOptions *options, const char *filename,
crypto/openssh/servconf.c
4027
parse_server_config_depth(options, filename, conf, includes,
crypto/openssh/servconf.c
4030
process_queued_listen_addrs(options);
crypto/openssh/servconf.c
404
if (options->ip_qos_interactive == -1)
crypto/openssh/servconf.c
405
options->ip_qos_interactive = IPTOS_DSCP_EF;
crypto/openssh/servconf.c
406
if (options->ip_qos_bulk == -1)
crypto/openssh/servconf.c
407
options->ip_qos_bulk = IPTOS_DSCP_CS0;
crypto/openssh/servconf.c
408
if (options->version_addendum == NULL)
crypto/openssh/servconf.c
409
options->version_addendum = xstrdup(SSH_VERSION_FREEBSD);
crypto/openssh/servconf.c
410
if (options->fwd_opts.streamlocal_bind_mask == (mode_t)-1)
crypto/openssh/servconf.c
411
options->fwd_opts.streamlocal_bind_mask = 0177;
crypto/openssh/servconf.c
412
if (options->fwd_opts.streamlocal_bind_unlink == -1)
crypto/openssh/servconf.c
413
options->fwd_opts.streamlocal_bind_unlink = 0;
crypto/openssh/servconf.c
414
if (options->sk_provider == NULL)
crypto/openssh/servconf.c
415
options->sk_provider = xstrdup("internal");
crypto/openssh/servconf.c
416
if (options->sshd_session_path == NULL)
crypto/openssh/servconf.c
417
options->sshd_session_path = xstrdup(_PATH_SSHD_SESSION);
crypto/openssh/servconf.c
418
if (options->sshd_auth_path == NULL)
crypto/openssh/servconf.c
419
options->sshd_auth_path = xstrdup(_PATH_SSHD_AUTH);
crypto/openssh/servconf.c
421
assemble_algorithms(options);
crypto/openssh/servconf.c
432
if (options->nv == 1 && \
crypto/openssh/servconf.c
433
strcasecmp(options->v[0], none) == 0) { \
crypto/openssh/servconf.c
434
free(options->v[0]); \
crypto/openssh/servconf.c
435
free(options->v); \
crypto/openssh/servconf.c
436
options->v = NULL; \
crypto/openssh/servconf.c
437
options->nv = 0; \
crypto/openssh/servconf.c
440
CLEAR_ON_NONE(options->pid_file);
crypto/openssh/servconf.c
441
CLEAR_ON_NONE(options->xauth_location);
crypto/openssh/servconf.c
442
CLEAR_ON_NONE(options->banner);
crypto/openssh/servconf.c
443
CLEAR_ON_NONE(options->trusted_user_ca_keys);
crypto/openssh/servconf.c
444
CLEAR_ON_NONE(options->sk_provider);
crypto/openssh/servconf.c
445
CLEAR_ON_NONE(options->authorized_principals_file);
crypto/openssh/servconf.c
446
CLEAR_ON_NONE(options->adm_forced_command);
crypto/openssh/servconf.c
447
CLEAR_ON_NONE(options->chroot_directory);
crypto/openssh/servconf.c
448
CLEAR_ON_NONE(options->routing_domain);
crypto/openssh/servconf.c
449
CLEAR_ON_NONE(options->host_key_agent);
crypto/openssh/servconf.c
450
CLEAR_ON_NONE(options->per_source_penalty_exempt);
crypto/openssh/servconf.c
452
for (i = 0; i < options->num_host_key_files; i++)
crypto/openssh/servconf.c
453
CLEAR_ON_NONE(options->host_key_files[i]);
crypto/openssh/servconf.c
454
for (i = 0; i < options->num_host_cert_files; i++)
crypto/openssh/servconf.c
455
CLEAR_ON_NONE(options->host_cert_files[i]);
crypto/openssh/servconf.c
608
add_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
614
add_one_listen_addr(options, addr, rdomain, port);
crypto/openssh/servconf.c
616
for (i = 0; i < options->num_ports; i++) {
crypto/openssh/servconf.c
617
add_one_listen_addr(options, addr, rdomain,
crypto/openssh/servconf.c
618
options->ports[i]);
crypto/openssh/servconf.c
624
add_one_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
633
for (i = 0; i < options->num_listen_addrs; i++) {
crypto/openssh/servconf.c
634
if (rdomain == NULL && options->listen_addrs[i].rdomain == NULL)
crypto/openssh/servconf.c
636
if (rdomain == NULL || options->listen_addrs[i].rdomain == NULL)
crypto/openssh/servconf.c
638
if (strcmp(rdomain, options->listen_addrs[i].rdomain) == 0)
crypto/openssh/servconf.c
641
if (i >= options->num_listen_addrs) {
crypto/openssh/servconf.c
645
options->listen_addrs = xrecallocarray(options->listen_addrs,
crypto/openssh/servconf.c
646
options->num_listen_addrs, options->num_listen_addrs + 1,
crypto/openssh/servconf.c
647
sizeof(*options->listen_addrs));
crypto/openssh/servconf.c
648
i = options->num_listen_addrs++;
crypto/openssh/servconf.c
650
options->listen_addrs[i].rdomain = xstrdup(rdomain);
crypto/openssh/servconf.c
655
hints.ai_family = options->address_family;
crypto/openssh/servconf.c
665
ai->ai_next = options->listen_addrs[i].addrs;
crypto/openssh/servconf.c
666
options->listen_addrs[i].addrs = aitop;
crypto/openssh/servconf.c
710
queue_listen_addr(ServerOptions *options, const char *addr,
crypto/openssh/servconf.c
715
options->queued_listen_addrs = xrecallocarray(
crypto/openssh/servconf.c
716
options->queued_listen_addrs,
crypto/openssh/servconf.c
717
options->num_queued_listens, options->num_queued_listens + 1,
crypto/openssh/servconf.c
718
sizeof(*options->queued_listen_addrs));
crypto/openssh/servconf.c
719
qla = &options->queued_listen_addrs[options->num_queued_listens++];
crypto/openssh/servconf.c
729
process_queued_listen_addrs(ServerOptions *options)
crypto/openssh/servconf.c
734
if (options->num_ports == 0)
crypto/openssh/servconf.c
735
options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
crypto/openssh/servconf.c
736
if (options->address_family == -1)
crypto/openssh/servconf.c
737
options->address_family = AF_UNSPEC;
crypto/openssh/servconf.c
739
for (i = 0; i < options->num_queued_listens; i++) {
crypto/openssh/servconf.c
740
qla = &options->queued_listen_addrs[i];
crypto/openssh/servconf.c
741
add_listen_addr(options, qla->addr, qla->rdomain, qla->port);
crypto/openssh/servconf.c
745
free(options->queued_listen_addrs);
crypto/openssh/servconf.c
746
options->queued_listen_addrs = NULL;
crypto/openssh/servconf.c
747
options->num_queued_listens = 0;
crypto/openssh/servconf.c
76
static void parse_server_config_depth(ServerOptions *options,
crypto/openssh/servconf.c
85
initialize_server_options(ServerOptions *options)
crypto/openssh/servconf.c
87
memset(options, 0, sizeof(*options));
crypto/openssh/servconf.c
88
#define SSHCONF_INT(var, conf, flags, ms, def, cp) options->var = -1;
crypto/openssh/servconf.c
89
#define SSHCONF_INTFLAG(var, conf, flags, def, cp) options->var = -1;
crypto/openssh/servconf.c
90
#define SSHCONF_STRING(var, conf, flags, cp) options->var = NULL;
crypto/openssh/servconf.c
92
options->nvar = 0; \
crypto/openssh/servconf.c
93
options->var = NULL;
crypto/openssh/servconf.c
95
init_##funcsuffix(options)
crypto/openssh/servconf.c
97
init_##funcsuffix(options)
crypto/openssh/servconf.c
99
#define SSHCONF_UNSUPPORTED_INT(var, conf, flags) options->var = 0;
crypto/openssh/serverloop.c
118
if (options.client_alive_count_max > 0 &&
crypto/openssh/serverloop.c
120
options.client_alive_count_max) {
crypto/openssh/serverloop.c
171
if (options.rekey_interval > 0 && !ssh_packet_is_rekeying(ssh)) {
crypto/openssh/serverloop.c
180
if (options.unused_connection_timeout != 0) {
crypto/openssh/serverloop.c
185
options.unused_connection_timeout;
crypto/openssh/serverloop.c
199
if (options.client_alive_interval) {
crypto/openssh/serverloop.c
203
ptimeout_deadline_sec(&timeout, options.client_alive_interval);
crypto/openssh/serverloop.c
243
now >= last_client_time + options.client_alive_interval) {
crypto/openssh/serverloop.c
446
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) != 0 &&
crypto/openssh/serverloop.c
448
!options.disable_forwarding) {
crypto/openssh/serverloop.c
491
if ((options.allow_streamlocal_forwarding & FORWARD_LOCAL) != 0 &&
crypto/openssh/serverloop.c
493
!options.disable_forwarding) {
crypto/openssh/serverloop.c
526
if ((options.permit_tun & mode) == 0 || options.disable_forwarding) {
crypto/openssh/serverloop.c
785
(options.allow_tcp_forwarding & FORWARD_REMOTE) == 0 ||
crypto/openssh/serverloop.c
787
options.disable_forwarding ||
crypto/openssh/serverloop.c
794
&allocated_listen_port, &options.fwd_opts);
crypto/openssh/serverloop.c
80
extern ServerOptions options;
crypto/openssh/serverloop.c
819
if ((options.allow_streamlocal_forwarding & FORWARD_REMOTE) == 0
crypto/openssh/serverloop.c
821
options.disable_forwarding) {
crypto/openssh/serverloop.c
828
&fwd, NULL, &options.fwd_opts);
crypto/openssh/session.c
1063
options.permit_user_env_allowlist);
crypto/openssh/session.c
1077
if (options.permit_user_env) {
crypto/openssh/session.c
1084
if (options.permit_user_env_allowlist == NULL ||
crypto/openssh/session.c
1086
options.permit_user_env_allowlist, 0) == 1)
crypto/openssh/session.c
1095
if (options.permit_user_env) {
crypto/openssh/session.c
1099
options.permit_user_env_allowlist);
crypto/openssh/session.c
1107
if (options.use_pam) {
crypto/openssh/session.c
1128
for (i = 0; i < options.num_setenv; i++) {
crypto/openssh/session.c
1129
cp = xstrdup(options.setenv[i]);
crypto/openssh/session.c
1132
fatal("Invalid config SetEnv: %s", options.setenv[i]);
crypto/openssh/session.c
1188
if (!s->is_subsystem && options.adm_forced_command == NULL &&
crypto/openssh/session.c
1189
auth_opts->permit_user_rc && options.permit_user_rc &&
crypto/openssh/session.c
1218
} else if (do_xauth && options.xauth_location != NULL) {
crypto/openssh/session.c
1223
options.xauth_location, s->auth_display);
crypto/openssh/session.c
1226
options.xauth_location, s->auth_display,
crypto/openssh/session.c
1229
if (xasprintf(&cmd, "%s -q -", options.xauth_location) == -1)
crypto/openssh/session.c
1364
if (!in_chroot && options.chroot_directory != NULL &&
crypto/openssh/session.c
1365
strcasecmp(options.chroot_directory, "none") != 0) {
crypto/openssh/session.c
1366
tmp = tilde_expand_filename(options.chroot_directory,
crypto/openssh/session.c
1376
free(options.chroot_directory);
crypto/openssh/session.c
1377
options.chroot_directory = NULL;
crypto/openssh/session.c
139
extern ServerOptions options;
crypto/openssh/session.c
1407
} else if (options.chroot_directory != NULL &&
crypto/openssh/session.c
1408
strcasecmp(options.chroot_directory, "none") != 0) {
crypto/openssh/session.c
1521
if (!options.use_pam)
crypto/openssh/session.c
1534
if (options.use_pam && !is_pam_session_open()) {
crypto/openssh/session.c
1581
if (options.kerberos_get_afs_token && k_hasafs() &&
crypto/openssh/session.c
1698
if (id >= options.max_sessions ||
crypto/openssh/session.c
1701
id, options.max_sessions, sessions_nalloc);
crypto/openssh/session.c
1721
if (sessions_nalloc >= options.max_sessions)
crypto/openssh/session.c
1724
sessions_nalloc, options.max_sessions);
crypto/openssh/session.c
1739
sessions_first_unused, options.max_sessions,
crypto/openssh/session.c
1880
if (!auth_opts->permit_pty_flag || !options.permit_tty) {
crypto/openssh/session.c
1939
for (i = 0; i < options.num_subsystems; i++) {
crypto/openssh/session.c
1940
if (strcmp(s->subsys, options.subsystem_name[i]) != 0)
crypto/openssh/session.c
1943
prog = options.subsystem_command[i];
crypto/openssh/session.c
1944
cmd = options.subsystem_args[i];
crypto/openssh/session.c
1956
options.subsystem_name[i]);
crypto/openssh/session.c
2071
for (i = 0; i < options.num_accept_env; i++) {
crypto/openssh/session.c
2072
if (match_pattern(name, options.accept_env[i])) {
crypto/openssh/session.c
2165
!options.allow_agent_forwarding ||
crypto/openssh/session.c
2166
options.disable_forwarding) {
crypto/openssh/session.c
243
if (!options.expose_userauth_info || info == NULL)
crypto/openssh/session.c
2562
if (!options.x11_forwarding || options.disable_forwarding) {
crypto/openssh/session.c
2566
if (options.xauth_location == NULL ||
crypto/openssh/session.c
2567
(stat(options.xauth_location, &st) == -1)) {
crypto/openssh/session.c
2575
if (x11_create_display_inet(ssh, options.x11_display_offset,
crypto/openssh/session.c
2576
options.x11_use_localhost, s->single_connection,
crypto/openssh/session.c
2594
if (options.x11_use_localhost) {
crypto/openssh/session.c
2652
if (options.use_pam) {
crypto/openssh/session.c
2662
if (options.kerberos_ticket_cleanup &&
crypto/openssh/session.c
2668
if (options.gss_cleanup_creds)
crypto/openssh/session.c
279
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) != 0) {
crypto/openssh/session.c
294
if ((options.allow_tcp_forwarding & FORWARD_REMOTE) != 0) {
crypto/openssh/session.c
323
options.disable_forwarding) {
crypto/openssh/session.c
327
if ((options.allow_tcp_forwarding & FORWARD_LOCAL) == 0)
crypto/openssh/session.c
331
if ((options.allow_tcp_forwarding & FORWARD_REMOTE) == 0)
crypto/openssh/session.c
637
if (options.adm_forced_command) {
crypto/openssh/session.c
639
command = options.adm_forced_command;
crypto/openssh/session.c
747
if (options.print_motd) {
crypto/openssh/session.c
873
options.permit_user_env_allowlist);
crypto/openssh/sk-api.h
89
struct sk_option **options, struct sk_enroll_response **enroll_response);
crypto/openssh/sk-api.h
94
uint8_t flags, const char *pin, struct sk_option **options,
crypto/openssh/sk-api.h
98
int sk_load_resident_keys(const char *pin, struct sk_option **options,
crypto/openssh/sk-usbhid.c
1123
check_sign_load_resident_options(struct sk_option **options, char **devicep)
crypto/openssh/sk-usbhid.c
1127
if (options == NULL)
crypto/openssh/sk-usbhid.c
1129
for (i = 0; options[i] != NULL; i++) {
crypto/openssh/sk-usbhid.c
1130
if (strcmp(options[i]->name, "device") == 0) {
crypto/openssh/sk-usbhid.c
1131
if ((*devicep = strdup(options[i]->value)) == NULL) {
crypto/openssh/sk-usbhid.c
1138
options[i]->name);
crypto/openssh/sk-usbhid.c
1139
if (options[i]->required) {
crypto/openssh/sk-usbhid.c
1152
uint8_t flags, const char *pin, struct sk_option **options,
crypto/openssh/sk-usbhid.c
1169
if (check_sign_load_resident_options(options, &device) != 0)
crypto/openssh/sk-usbhid.c
124
struct sk_option **options, struct sk_enroll_response **enroll_response);
crypto/openssh/sk-usbhid.c
129
uint8_t flags, const char *pin, struct sk_option **options,
crypto/openssh/sk-usbhid.c
133
int sk_load_resident_keys(const char *pin, struct sk_option **options,
crypto/openssh/sk-usbhid.c
1432
sk_load_resident_keys(const char *pin, struct sk_option **options,
crypto/openssh/sk-usbhid.c
1446
if (check_sign_load_resident_options(options, &device) != 0)
crypto/openssh/sk-usbhid.c
739
check_enroll_options(struct sk_option **options, char **devicep,
crypto/openssh/sk-usbhid.c
744
if (options == NULL)
crypto/openssh/sk-usbhid.c
746
for (i = 0; options[i] != NULL; i++) {
crypto/openssh/sk-usbhid.c
747
if (strcmp(options[i]->name, "device") == 0) {
crypto/openssh/sk-usbhid.c
748
if ((*devicep = strdup(options[i]->value)) == NULL) {
crypto/openssh/sk-usbhid.c
753
} else if (strcmp(options[i]->name, "user") == 0) {
crypto/openssh/sk-usbhid.c
754
if (strlcpy(user_id, options[i]->value, user_id_len) >=
crypto/openssh/sk-usbhid.c
763
options[i]->name);
crypto/openssh/sk-usbhid.c
764
if (options[i]->required) {
crypto/openssh/sk-usbhid.c
835
struct sk_option **options, struct sk_enroll_response **enroll_response)
crypto/openssh/sk-usbhid.c
857
if (check_enroll_options(options, &device, user_id,
crypto/openssh/ssh-keygen.c
2035
struct sshbuf *options, *option = NULL;
crypto/openssh/ssh-keygen.c
2038
if ((options = sshbuf_fromb(optbuf)) == NULL)
crypto/openssh/ssh-keygen.c
2040
while (sshbuf_len(options) != 0) {
crypto/openssh/ssh-keygen.c
2043
if ((r = sshbuf_get_cstring(options, &name, NULL)) != 0 ||
crypto/openssh/ssh-keygen.c
2044
(r = sshbuf_froms(options, &option)) != 0)
crypto/openssh/ssh-keygen.c
2078
sshbuf_free(options);
crypto/openssh/ssh-keysign.c
179
Options options;
crypto/openssh/ssh-keysign.c
221
initialize_options(&options);
crypto/openssh/ssh-keysign.c
223
&options, 0, NULL);
crypto/openssh/ssh-keysign.c
224
(void)fill_default_options(&options);
crypto/openssh/ssh-keysign.c
225
if (options.enable_ssh_keysign != 1)
crypto/openssh/ssh-keysign.c
288
if ((fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/ssh.c
1009
add_local_forward(&options, &fwd);
crypto/openssh/ssh.c
1020
options.compression = 1;
crypto/openssh/ssh.c
1026
if (options.session_type != -1 &&
crypto/openssh/ssh.c
1027
options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1029
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
1030
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
1033
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
1037
if (process_config_line(&options, pw,
crypto/openssh/ssh.c
1044
if (options.session_type != -1 &&
crypto/openssh/ssh.c
1045
options.session_type != SESSION_TYPE_SUBSYSTEM)
crypto/openssh/ssh.c
1047
options.session_type = SESSION_TYPE_SUBSYSTEM;
crypto/openssh/ssh.c
1050
free(options.control_path);
crypto/openssh/ssh.c
1051
options.control_path = xstrdup(optarg);
crypto/openssh/ssh.c
1054
options.bind_address = optarg;
crypto/openssh/ssh.c
1057
options.bind_interface = optarg;
crypto/openssh/ssh.c
1081
if (options.user == NULL) {
crypto/openssh/ssh.c
1082
options.user = tuser;
crypto/openssh/ssh.c
1087
if (options.port == -1 && tport != -1)
crypto/openssh/ssh.c
1088
options.port = tport;
crypto/openssh/ssh.c
1096
if (options.user == NULL) {
crypto/openssh/ssh.c
1097
options.user = p;
crypto/openssh/ssh.c
1123
if (options.user != NULL && !ssh_valid_ruser(options.user))
crypto/openssh/ssh.c
1128
options.host_arg = xstrdup(host);
crypto/openssh/ssh.c
1141
if (options.session_type == SESSION_TYPE_SUBSYSTEM) {
crypto/openssh/ssh.c
1166
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/ssh.c
1167
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/ssh.c
1168
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/ssh.c
1169
SYSLOG_FACILITY_USER : options.log_facility,
crypto/openssh/ssh.c
1183
process_config_files(options.host_arg, pw, 0, &want_final_pass);
crypto/openssh/ssh.c
1188
fill_default_options_for_canonicalization(&options);
crypto/openssh/ssh.c
1191
if (options.hostname != NULL) {
crypto/openssh/ssh.c
1193
cp = percent_expand(options.hostname,
crypto/openssh/ssh.c
1197
free(options.hostname);
crypto/openssh/ssh.c
1198
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1209
if (options.canonicalize_hostname != SSH_CANONICALISE_NO || was_addr)
crypto/openssh/ssh.c
1210
addrs = resolve_canonicalize(&host, options.port);
crypto/openssh/ssh.c
1225
direct = option_clear_or_none(options.proxy_command) &&
crypto/openssh/ssh.c
1226
option_clear_or_none(options.jump_host);
crypto/openssh/ssh.c
1227
if (addrs == NULL && config_has_permitted_cnames(&options) && (direct ||
crypto/openssh/ssh.c
1228
options.canonicalize_hostname == SSH_CANONICALISE_ALWAYS)) {
crypto/openssh/ssh.c
1229
if ((addrs = resolve_host(host, options.port,
crypto/openssh/ssh.c
1242
if (options.canonicalize_hostname != 0 && !want_final_pass) {
crypto/openssh/ssh.c
1250
free(options.hostname);
crypto/openssh/ssh.c
1251
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1252
process_config_files(options.host_arg, pw, 1, NULL);
crypto/openssh/ssh.c
1258
if (addrs != NULL && options.port > 0)
crypto/openssh/ssh.c
1259
set_addrinfo_port(addrs, options.port);
crypto/openssh/ssh.c
1263
if (fill_default_options(&options) != 0)
crypto/openssh/ssh.c
1266
if (options.user == NULL) {
crypto/openssh/ssh.c
1268
options.user = xstrdup(pw->pw_name);
crypto/openssh/ssh.c
1274
if (options.jump_host != NULL) {
crypto/openssh/ssh.c
1276
const char *jumpuser = options.jump_user, *sshbin = argv0;
crypto/openssh/ssh.c
1277
int port = options.port, jumpport = options.jump_port;
crypto/openssh/ssh.c
1284
jumpuser = options.user;
crypto/openssh/ssh.c
1285
if (strcmp(options.jump_host, host) == 0 && port == jumpport &&
crypto/openssh/ssh.c
1286
strcmp(options.user, jumpuser) == 0)
crypto/openssh/ssh.c
1287
fatal("jumphost loop via %s", options.jump_host);
crypto/openssh/ssh.c
1297
if (options.proxy_command != NULL &&
crypto/openssh/ssh.c
1298
strcasecmp(options.proxy_command, "none") != 0)
crypto/openssh/ssh.c
1301
options.proxy_use_fdpass = 0;
crypto/openssh/ssh.c
1302
snprintf(port_s, sizeof(port_s), "%d", options.jump_port);
crypto/openssh/ssh.c
1303
xasprintf(&options.proxy_command,
crypto/openssh/ssh.c
1307
options.jump_user == NULL ? "" : " -l ",
crypto/openssh/ssh.c
1308
options.jump_user == NULL ? "" : options.jump_user,
crypto/openssh/ssh.c
131
Options options;
crypto/openssh/ssh.c
1310
options.jump_port <= 0 ? "" : " -p ",
crypto/openssh/ssh.c
1311
options.jump_port <= 0 ? "" : port_s,
crypto/openssh/ssh.c
1313
options.jump_extra == NULL ? "" : " -J ",
crypto/openssh/ssh.c
1314
options.jump_extra == NULL ? "" : options.jump_extra,
crypto/openssh/ssh.c
1322
options.jump_host);
crypto/openssh/ssh.c
1324
options.proxy_command);
crypto/openssh/ssh.c
1327
if (options.port == 0)
crypto/openssh/ssh.c
1328
options.port = default_ssh_port();
crypto/openssh/ssh.c
1329
channel_set_af(ssh, options.address_family);
crypto/openssh/ssh.c
1330
ssh_packet_set_qos(ssh, options.ip_qos_interactive,
crypto/openssh/ssh.c
1331
options.ip_qos_bulk);
crypto/openssh/ssh.c
1334
if (options.host_key_alias != NULL)
crypto/openssh/ssh.c
1335
lowercase(options.host_key_alias);
crypto/openssh/ssh.c
1336
if (options.proxy_command != NULL &&
crypto/openssh/ssh.c
1337
strcmp(options.proxy_command, "-") == 0 &&
crypto/openssh/ssh.c
1338
options.proxy_use_fdpass)
crypto/openssh/ssh.c
1340
if (options.update_hostkeys == SSH_UPDATE_HOSTKEYS_ASK) {
crypto/openssh/ssh.c
1341
if (options.control_persist && options.control_path != NULL) {
crypto/openssh/ssh.c
1344
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1346
options.remote_command != NULL ||
crypto/openssh/ssh.c
1347
options.request_tty == REQUEST_TTY_NO) {
crypto/openssh/ssh.c
1350
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1351
} else if (options.log_level < SYSLOG_LEVEL_INFO) {
crypto/openssh/ssh.c
1353
options.update_hostkeys = 0;
crypto/openssh/ssh.c
1356
if (options.connection_attempts <= 0)
crypto/openssh/ssh.c
1359
if (sshbuf_len(command) != 0 && options.remote_command != NULL)
crypto/openssh/ssh.c
1363
if (options.fork_after_authentication && sshbuf_len(command) == 0 &&
crypto/openssh/ssh.c
1364
options.remote_command == NULL &&
crypto/openssh/ssh.c
1365
options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1370
log_init(argv0, options.log_level, options.log_facility, !use_syslog);
crypto/openssh/ssh.c
1371
for (j = 0; j < options.num_log_verbose; j++) {
crypto/openssh/ssh.c
1372
if (strcasecmp(options.log_verbose[j], "none") == 0)
crypto/openssh/ssh.c
1374
log_verbose_add(options.log_verbose[j]);
crypto/openssh/ssh.c
1377
if (options.request_tty == REQUEST_TTY_YES ||
crypto/openssh/ssh.c
1378
options.request_tty == REQUEST_TTY_FORCE)
crypto/openssh/ssh.c
1382
if (sshbuf_len(command) == 0 && options.remote_command == NULL)
crypto/openssh/ssh.c
1383
tty_flag = options.request_tty != REQUEST_TTY_NO;
crypto/openssh/ssh.c
1386
if (options.request_tty == REQUEST_TTY_NO ||
crypto/openssh/ssh.c
1388
options.session_type == SESSION_TYPE_NONE)
crypto/openssh/ssh.c
1391
if ((!isatty(fileno(stdin)) || options.stdin_null) &&
crypto/openssh/ssh.c
1392
options.request_tty != REQUEST_TTY_FORCE) {
crypto/openssh/ssh.c
1406
xasprintf(&cinfo->portstr, "%d", options.port);
crypto/openssh/ssh.c
1409
cinfo->keyalias = xstrdup(options.host_key_alias ?
crypto/openssh/ssh.c
1410
options.host_key_alias : options.host_arg);
crypto/openssh/ssh.c
1411
cinfo->host_arg = xstrdup(options.host_arg);
crypto/openssh/ssh.c
1415
cinfo->jmphost = xstrdup(options.jump_host == NULL ?
crypto/openssh/ssh.c
1416
"" : options.jump_host);
crypto/openssh/ssh.c
1424
if ((p = percent_dollar_expand(options.user,
crypto/openssh/ssh.c
1428
user_expanded = strcmp(p, options.user) != 0;
crypto/openssh/ssh.c
1429
free(options.user);
crypto/openssh/ssh.c
1430
options.user = p;
crypto/openssh/ssh.c
1440
!ssh_valid_ruser(options.user))
crypto/openssh/ssh.c
1444
cinfo->remuser = xstrdup(options.user);
crypto/openssh/ssh.c
1455
hints.ai_family = options.address_family;
crypto/openssh/ssh.c
1473
if (options.remote_command != NULL) {
crypto/openssh/ssh.c
1474
debug3("expanding RemoteCommand: %s", options.remote_command);
crypto/openssh/ssh.c
1475
cp = options.remote_command;
crypto/openssh/ssh.c
1476
options.remote_command = default_client_percent_expand(cp,
crypto/openssh/ssh.c
1478
debug3("expanded RemoteCommand: %s", options.remote_command);
crypto/openssh/ssh.c
1480
if ((r = sshbuf_put(command, options.remote_command,
crypto/openssh/ssh.c
1481
strlen(options.remote_command))) != 0)
crypto/openssh/ssh.c
1485
if (options.control_path != NULL) {
crypto/openssh/ssh.c
1486
cp = tilde_expand_filename(options.control_path, getuid());
crypto/openssh/ssh.c
1487
free(options.control_path);
crypto/openssh/ssh.c
1488
options.control_path = default_client_percent_dollar_expand(cp,
crypto/openssh/ssh.c
1493
if (options.identity_agent != NULL) {
crypto/openssh/ssh.c
1494
p = tilde_expand_filename(options.identity_agent, getuid());
crypto/openssh/ssh.c
1497
free(options.identity_agent);
crypto/openssh/ssh.c
1498
options.identity_agent = cp;
crypto/openssh/ssh.c
1501
for (j = 0; j < options.num_revoked_host_keys; j++) {
crypto/openssh/ssh.c
1502
p = tilde_expand_filename(options.revoked_host_keys[j],
crypto/openssh/ssh.c
1506
free(options.revoked_host_keys[j]);
crypto/openssh/ssh.c
1507
options.revoked_host_keys[j] = cp;
crypto/openssh/ssh.c
1510
if (options.forward_agent_sock_path != NULL) {
crypto/openssh/ssh.c
1511
p = tilde_expand_filename(options.forward_agent_sock_path,
crypto/openssh/ssh.c
1515
free(options.forward_agent_sock_path);
crypto/openssh/ssh.c
1516
options.forward_agent_sock_path = cp;
crypto/openssh/ssh.c
1517
if (stat(options.forward_agent_sock_path, &st) != 0) {
crypto/openssh/ssh.c
1519
options.forward_agent_sock_path, strerror(errno));
crypto/openssh/ssh.c
1520
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
1525
if (options.version_addendum != NULL) {
crypto/openssh/ssh.c
1527
options.version_addendum, cinfo);
crypto/openssh/ssh.c
1528
free(options.version_addendum);
crypto/openssh/ssh.c
1529
options.version_addendum = cp;
crypto/openssh/ssh.c
1532
if (options.num_system_hostfiles > 0 &&
crypto/openssh/ssh.c
1533
strcasecmp(options.system_hostfiles[0], "none") == 0) {
crypto/openssh/ssh.c
1534
if (options.num_system_hostfiles > 1)
crypto/openssh/ssh.c
1537
free(options.system_hostfiles[0]);
crypto/openssh/ssh.c
1538
options.system_hostfiles[0] = NULL;
crypto/openssh/ssh.c
1539
options.num_system_hostfiles = 0;
crypto/openssh/ssh.c
1542
if (options.num_user_hostfiles > 0 &&
crypto/openssh/ssh.c
1543
strcasecmp(options.user_hostfiles[0], "none") == 0) {
crypto/openssh/ssh.c
1544
if (options.num_user_hostfiles > 1)
crypto/openssh/ssh.c
1547
free(options.user_hostfiles[0]);
crypto/openssh/ssh.c
1548
options.user_hostfiles[0] = NULL;
crypto/openssh/ssh.c
1549
options.num_user_hostfiles = 0;
crypto/openssh/ssh.c
1551
for (j = 0; j < options.num_user_hostfiles; j++) {
crypto/openssh/ssh.c
1552
if (options.user_hostfiles[j] == NULL)
crypto/openssh/ssh.c
1554
cp = tilde_expand_filename(options.user_hostfiles[j], getuid());
crypto/openssh/ssh.c
1556
if (strcmp(options.user_hostfiles[j], p) != 0)
crypto/openssh/ssh.c
1558
"'%s'", options.user_hostfiles[j], p);
crypto/openssh/ssh.c
1559
free(options.user_hostfiles[j]);
crypto/openssh/ssh.c
1561
options.user_hostfiles[j] = p;
crypto/openssh/ssh.c
1564
for (j = 0; j < options.num_setenv; j++) {
crypto/openssh/ssh.c
1565
char *name = options.setenv[j], *value;
crypto/openssh/ssh.c
1581
free(options.setenv[j]);
crypto/openssh/ssh.c
1583
options.setenv[j] = p;
crypto/openssh/ssh.c
1586
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/ssh.c
1587
if (options.local_forwards[i].listen_path != NULL) {
crypto/openssh/ssh.c
1588
cp = options.local_forwards[i].listen_path;
crypto/openssh/ssh.c
1589
p = options.local_forwards[i].listen_path =
crypto/openssh/ssh.c
1596
if (options.local_forwards[i].connect_path != NULL) {
crypto/openssh/ssh.c
1597
cp = options.local_forwards[i].connect_path;
crypto/openssh/ssh.c
1598
p = options.local_forwards[i].connect_path =
crypto/openssh/ssh.c
1607
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/ssh.c
1608
if (options.remote_forwards[i].listen_path != NULL) {
crypto/openssh/ssh.c
1609
cp = options.remote_forwards[i].listen_path;
crypto/openssh/ssh.c
1610
p = options.remote_forwards[i].listen_path =
crypto/openssh/ssh.c
1617
if (options.remote_forwards[i].connect_path != NULL) {
crypto/openssh/ssh.c
1618
cp = options.remote_forwards[i].connect_path;
crypto/openssh/ssh.c
1619
p = options.remote_forwards[i].connect_path =
crypto/openssh/ssh.c
1629
dump_client_config(&options, host);
crypto/openssh/ssh.c
1634
if (options.sk_provider != NULL && *options.sk_provider == '$' &&
crypto/openssh/ssh.c
1635
strlen(options.sk_provider) > 1) {
crypto/openssh/ssh.c
1636
if ((cp = getenv(options.sk_provider + 1)) == NULL) {
crypto/openssh/ssh.c
1638
"disabling", options.sk_provider);
crypto/openssh/ssh.c
1639
free(options.sk_provider);
crypto/openssh/ssh.c
1640
options.sk_provider = NULL;
crypto/openssh/ssh.c
1643
options.sk_provider, cp);
crypto/openssh/ssh.c
1644
free(options.sk_provider);
crypto/openssh/ssh.c
1645
options.sk_provider = xstrdup(cp);
crypto/openssh/ssh.c
1649
if (muxclient_command != 0 && options.control_path == NULL)
crypto/openssh/ssh.c
1651
if (options.control_path != NULL) {
crypto/openssh/ssh.c
1653
if ((sock = muxclient(options.control_path)) >= 0) {
crypto/openssh/ssh.c
1665
if (addrs == NULL && options.proxy_command == NULL) {
crypto/openssh/ssh.c
1666
debug2("resolving \"%s\" port %d", host, options.port);
crypto/openssh/ssh.c
1667
if ((addrs = resolve_host(host, options.port, 1,
crypto/openssh/ssh.c
1672
if (options.connection_timeout >= INT_MAX/1000)
crypto/openssh/ssh.c
1675
timeout_ms = options.connection_timeout * 1000;
crypto/openssh/ssh.c
1679
for (j = 0; j < options.num_channel_timeouts; j++) {
crypto/openssh/ssh.c
1681
options.channel_timeouts[j]);
crypto/openssh/ssh.c
1682
if (parse_pattern_interval(options.channel_timeouts[j],
crypto/openssh/ssh.c
1685
options.channel_timeouts[j]);
crypto/openssh/ssh.c
1692
if (ssh_connect(ssh, host, options.host_arg, addrs, &hostaddr,
crypto/openssh/ssh.c
1693
options.port, options.connection_attempts,
crypto/openssh/ssh.c
1694
&timeout_ms, options.tcp_keep_alive) != 0)
crypto/openssh/ssh.c
1698
ssh_packet_set_timeout(ssh, options.server_alive_interval,
crypto/openssh/ssh.c
1699
options.server_alive_count_max);
crypto/openssh/ssh.c
1711
if (options.hostbased_authentication) {
crypto/openssh/ssh.c
1740
if (options.hostbased_authentication == 1) {
crypto/openssh/ssh.c
1759
if (options.identity_agent &&
crypto/openssh/ssh.c
1760
strcmp(options.identity_agent, SSH_AUTHSOCKET_ENV_NAME) != 0) {
crypto/openssh/ssh.c
1761
if (strcmp(options.identity_agent, "none") == 0) {
crypto/openssh/ssh.c
1764
cp = options.identity_agent;
crypto/openssh/ssh.c
1782
if (options.forward_agent && options.forward_agent_sock_path != NULL) {
crypto/openssh/ssh.c
1783
cp = options.forward_agent_sock_path;
crypto/openssh/ssh.c
1791
options.forward_agent = 0;
crypto/openssh/ssh.c
1799
tilde_expand_paths(options.system_hostfiles,
crypto/openssh/ssh.c
1800
options.num_system_hostfiles);
crypto/openssh/ssh.c
1801
tilde_expand_paths(options.user_hostfiles, options.num_user_hostfiles);
crypto/openssh/ssh.c
1806
ssh_login(ssh, &sensitive_data, host, &hostaddr, options.port,
crypto/openssh/ssh.c
1821
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/ssh.c
1822
free(options.identity_files[i]);
crypto/openssh/ssh.c
1823
options.identity_files[i] = NULL;
crypto/openssh/ssh.c
1824
if (options.identity_keys[i]) {
crypto/openssh/ssh.c
1825
sshkey_free(options.identity_keys[i]);
crypto/openssh/ssh.c
1826
options.identity_keys[i] = NULL;
crypto/openssh/ssh.c
1829
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/ssh.c
1830
free(options.certificate_files[i]);
crypto/openssh/ssh.c
1831
options.certificate_files[i] = NULL;
crypto/openssh/ssh.c
1835
(void)pkcs11_del_provider(options.pkcs11_provider);
crypto/openssh/ssh.c
1847
if (options.control_path != NULL && muxserver_sock != -1)
crypto/openssh/ssh.c
1848
unlink(options.control_path);
crypto/openssh/ssh.c
1879
options.stdin_null = ostdin_null_flag;
crypto/openssh/ssh.c
1880
options.request_tty = orequest_tty;
crypto/openssh/ssh.c
1882
options.fork_after_authentication = ofork_after_authentication;
crypto/openssh/ssh.c
1883
options.session_type = osession_type;
crypto/openssh/ssh.c
1886
options.control_master = SSHCTL_MASTER_NO;
crypto/openssh/ssh.c
1887
(void)muxclient(options.control_path);
crypto/openssh/ssh.c
1894
setproctitle("%s [mux]", options.control_path);
crypto/openssh/ssh.c
1904
options.fork_after_authentication = 0;
crypto/openssh/ssh.c
1918
if (options.fork_after_authentication)
crypto/openssh/ssh.c
1970
if (options.exit_on_forward_failure) {
crypto/openssh/ssh.c
2008
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2022
if (options.stdio_forward_host == NULL)
crypto/openssh/ssh.c
2025
debug3_f("%s:%d", options.stdio_forward_host,
crypto/openssh/ssh.c
2026
options.stdio_forward_port);
crypto/openssh/ssh.c
2031
if ((c = channel_connect_stdio_fwd(ssh, options.stdio_forward_host,
crypto/openssh/ssh.c
2032
options.stdio_forward_port, in, out,
crypto/openssh/ssh.c
2082
options.permitted_remote_opens,
crypto/openssh/ssh.c
2083
options.num_permitted_remote_opens);
crypto/openssh/ssh.c
2085
if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2088
for (i = 0; i < options.num_local_forwards; i++) {
crypto/openssh/ssh.c
2091
(options.local_forwards[i].listen_path != NULL) ?
crypto/openssh/ssh.c
2092
options.local_forwards[i].listen_path :
crypto/openssh/ssh.c
2093
(options.local_forwards[i].listen_host == NULL) ?
crypto/openssh/ssh.c
2094
(options.fwd_opts.gateway_ports ? "*" : "LOCALHOST") :
crypto/openssh/ssh.c
2095
options.local_forwards[i].listen_host,
crypto/openssh/ssh.c
2096
options.local_forwards[i].listen_port,
crypto/openssh/ssh.c
2097
(options.local_forwards[i].connect_path != NULL) ?
crypto/openssh/ssh.c
2098
options.local_forwards[i].connect_path :
crypto/openssh/ssh.c
2099
options.local_forwards[i].connect_host,
crypto/openssh/ssh.c
2100
options.local_forwards[i].connect_port);
crypto/openssh/ssh.c
2102
&options.local_forwards[i], &options.fwd_opts);
crypto/openssh/ssh.c
2104
if (i > 0 && success != i && options.exit_on_forward_failure)
crypto/openssh/ssh.c
2110
for (i = 0; i < options.num_remote_forwards; i++) {
crypto/openssh/ssh.c
2113
(options.remote_forwards[i].listen_path != NULL) ?
crypto/openssh/ssh.c
2114
options.remote_forwards[i].listen_path :
crypto/openssh/ssh.c
2115
(options.remote_forwards[i].listen_host == NULL) ?
crypto/openssh/ssh.c
2116
"LOCALHOST" : options.remote_forwards[i].listen_host,
crypto/openssh/ssh.c
2117
options.remote_forwards[i].listen_port,
crypto/openssh/ssh.c
2118
(options.remote_forwards[i].connect_path != NULL) ?
crypto/openssh/ssh.c
2119
options.remote_forwards[i].connect_path :
crypto/openssh/ssh.c
2120
options.remote_forwards[i].connect_host,
crypto/openssh/ssh.c
2121
options.remote_forwards[i].connect_port);
crypto/openssh/ssh.c
2122
if ((options.remote_forwards[i].handle =
crypto/openssh/ssh.c
2124
&options.remote_forwards[i])) >= 0) {
crypto/openssh/ssh.c
2127
&options.remote_forwards[i]);
crypto/openssh/ssh.c
2129
} else if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2136
if (options.tun_open != SSH_TUNMODE_NO) {
crypto/openssh/ssh.c
2138
options.tun_open, options.tun_local,
crypto/openssh/ssh.c
2139
options.tun_remote, ssh_tun_confirm, NULL)) != NULL)
crypto/openssh/ssh.c
2141
else if (options.exit_on_forward_failure)
crypto/openssh/ssh.c
2157
if (options.forward_agent) {
crypto/openssh/ssh.c
2160
options.forward_agent = 0;
crypto/openssh/ssh.c
2178
if (display == NULL && options.forward_x11)
crypto/openssh/ssh.c
2180
if (options.forward_x11 && client_x11_get_proto(ssh, display,
crypto/openssh/ssh.c
2181
options.xauth_location, options.forward_x11_trusted,
crypto/openssh/ssh.c
2182
options.forward_x11_timeout, &proto, &data) == 0) {
crypto/openssh/ssh.c
2193
if (options.forward_agent)
crypto/openssh/ssh.c
2196
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/ssh.c
2197
options.num_setenv)) == NULL || *term == '\0')
crypto/openssh/ssh.c
2200
options.session_type == SESSION_TYPE_SUBSYSTEM, term,
crypto/openssh/ssh.c
2211
if (options.stdin_null) {
crypto/openssh/ssh.c
2237
if (options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
2251
if (!options.control_persist)
crypto/openssh/ssh.c
2256
if (options.local_command != NULL) {
crypto/openssh/ssh.c
2257
debug3("expanding LocalCommand: %s", options.local_command);
crypto/openssh/ssh.c
2258
cp = options.local_command;
crypto/openssh/ssh.c
2259
options.local_command = percent_expand(cp,
crypto/openssh/ssh.c
2263
debug3("expanded LocalCommand: %s", options.local_command);
crypto/openssh/ssh.c
2280
if (options.control_persist && muxserver_sock != -1) {
crypto/openssh/ssh.c
2281
ostdin_null_flag = options.stdin_null;
crypto/openssh/ssh.c
2282
osession_type = options.session_type;
crypto/openssh/ssh.c
2283
orequest_tty = options.request_tty;
crypto/openssh/ssh.c
2285
ofork_after_authentication = options.fork_after_authentication;
crypto/openssh/ssh.c
2286
options.stdin_null = 1;
crypto/openssh/ssh.c
2287
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
2290
options.stdio_forward_host != NULL))
crypto/openssh/ssh.c
2292
options.fork_after_authentication = 1;
crypto/openssh/ssh.c
2298
if (options.control_persist && muxserver_sock == -1)
crypto/openssh/ssh.c
2301
if (options.session_type != SESSION_TYPE_NONE)
crypto/openssh/ssh.c
2305
if (options.control_master == SSHCTL_MASTER_NO &&
crypto/openssh/ssh.c
2317
if (options.local_command != NULL &&
crypto/openssh/ssh.c
2318
options.permit_local_command)
crypto/openssh/ssh.c
2319
ssh_local_cmd(options.local_command);
crypto/openssh/ssh.c
2334
if (options.fork_after_authentication) {
crypto/openssh/ssh.c
2335
if (options.exit_on_forward_failure &&
crypto/openssh/ssh.c
2336
options.num_remote_forwards > 0) {
crypto/openssh/ssh.c
2344
options.escape_char : SSH_ESCAPECHAR_NONE, id);
crypto/openssh/ssh.c
2378
if (options.pkcs11_provider != NULL &&
crypto/openssh/ssh.c
2379
options.num_identity_files < SSH_MAX_IDENTITY_FILES &&
crypto/openssh/ssh.c
2380
(pkcs11_init(!options.batch_mode) == 0) &&
crypto/openssh/ssh.c
2381
(nkeys = pkcs11_add_provider(options.pkcs11_provider, NULL,
crypto/openssh/ssh.c
2397
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/ssh.c
2399
strcasecmp(options.identity_files[i], "none") == 0) {
crypto/openssh/ssh.c
2400
free(options.identity_files[i]);
crypto/openssh/ssh.c
2401
options.identity_files[i] = NULL;
crypto/openssh/ssh.c
2404
cp = tilde_expand_filename(options.identity_files[i], getuid());
crypto/openssh/ssh.c
2411
free(options.identity_files[i]);
crypto/openssh/ssh.c
2415
options.identity_file_userprovided[i];
crypto/openssh/ssh.c
2423
if (options.num_certificate_files != 0)
crypto/openssh/ssh.c
2444
options.identity_file_userprovided[i];
crypto/openssh/ssh.c
2448
if (options.num_certificate_files > SSH_MAX_CERTIFICATE_FILES)
crypto/openssh/ssh.c
2450
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/ssh.c
2451
cp = tilde_expand_filename(options.certificate_files[i],
crypto/openssh/ssh.c
2458
free(options.certificate_files[i]);
crypto/openssh/ssh.c
2459
options.certificate_files[i] = NULL;
crypto/openssh/ssh.c
2474
options.certificate_file_userprovided[i];
crypto/openssh/ssh.c
2478
options.num_identity_files = n_ids;
crypto/openssh/ssh.c
2479
memcpy(options.identity_files, identity_files, sizeof(identity_files));
crypto/openssh/ssh.c
2480
memcpy(options.identity_keys, identity_keys, sizeof(identity_keys));
crypto/openssh/ssh.c
2481
memcpy(options.identity_file_userprovided,
crypto/openssh/ssh.c
2484
options.num_certificate_files = n_certs;
crypto/openssh/ssh.c
2485
memcpy(options.certificate_files,
crypto/openssh/ssh.c
2487
memcpy(options.certificates, certificates, sizeof(certificates));
crypto/openssh/ssh.c
2488
memcpy(options.certificate_file_userprovided,
crypto/openssh/ssh.c
257
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
258
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
303
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
304
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
334
hints.ai_family = options.address_family == -1 ?
crypto/openssh/ssh.c
335
AF_UNSPEC : options.address_family;
crypto/openssh/ssh.c
380
if (*cname == '\0' || !config_has_permitted_cnames(&options) ||
crypto/openssh/ssh.c
383
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
crypto/openssh/ssh.c
390
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
crypto/openssh/ssh.c
393
for (i = 0; i < options.num_permitted_cnames; i++) {
crypto/openssh/ssh.c
394
rule = options.permitted_cnames + i;
crypto/openssh/ssh.c
447
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
crypto/openssh/ssh.c
454
direct = option_clear_or_none(options.proxy_command) &&
crypto/openssh/ssh.c
455
option_clear_or_none(options.jump_host);
crypto/openssh/ssh.c
457
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
crypto/openssh/ssh.c
477
if (ndots > options.canonicalize_max_dots) {
crypto/openssh/ssh.c
479
*hostp, options.canonicalize_max_dots);
crypto/openssh/ssh.c
483
for (i = 0; i < options.num_canonical_domains; i++) {
crypto/openssh/ssh.c
484
if (strcasecmp(options.canonical_domains[i], "none") == 0)
crypto/openssh/ssh.c
487
options.canonical_domains[i]);
crypto/openssh/ssh.c
507
if (!options.canonicalize_fallback_local)
crypto/openssh/ssh.c
528
options.required_rsa_size)) != 0) {
crypto/openssh/ssh.c
535
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/ssh.c
575
&options,
crypto/openssh/ssh.c
585
&options, SSHCONF_CHECKPERM | SSHCONF_USERCONF |
crypto/openssh/ssh.c
590
host, host_name, cmd, &options,
crypto/openssh/ssh.c
686
initialize_options(&options);
crypto/openssh/ssh.c
713
options.address_family = AF_INET;
crypto/openssh/ssh.c
716
options.address_family = AF_INET6;
crypto/openssh/ssh.c
719
options.stdin_null = 1;
crypto/openssh/ssh.c
722
options.fork_after_authentication = 1;
crypto/openssh/ssh.c
723
options.stdin_null = 1;
crypto/openssh/ssh.c
726
options.forward_x11 = 0;
crypto/openssh/ssh.c
729
options.forward_x11 = 1;
crypto/openssh/ssh.c
741
options.forward_x11 = 1;
crypto/openssh/ssh.c
742
options.forward_x11_trusted = 1;
crypto/openssh/ssh.c
745
options.fwd_opts.gateway_ports = 1;
crypto/openssh/ssh.c
748
if (options.stdio_forward_host != NULL)
crypto/openssh/ssh.c
773
if (options.tag == NULL)
crypto/openssh/ssh.c
774
options.tag = xstrdup(optarg);
crypto/openssh/ssh.c
829
options.forward_agent = 0;
crypto/openssh/ssh.c
832
options.forward_agent = 1;
crypto/openssh/ssh.c
835
options.gss_deleg_creds = 0;
crypto/openssh/ssh.c
838
options.gss_authentication = 1;
crypto/openssh/ssh.c
839
options.gss_deleg_creds = 1;
crypto/openssh/ssh.c
848
add_identity_file(&options, NULL, p, 1);
crypto/openssh/ssh.c
853
free(options.pkcs11_provider);
crypto/openssh/ssh.c
854
options.pkcs11_provider = xstrdup(optarg);
crypto/openssh/ssh.c
860
if (options.jump_host != NULL) {
crypto/openssh/ssh.c
865
if (options.proxy_command != NULL)
crypto/openssh/ssh.c
867
if (parse_jump(optarg, &options, 1, 1) == -1)
crypto/openssh/ssh.c
872
if (options.request_tty == REQUEST_TTY_YES)
crypto/openssh/ssh.c
873
options.request_tty = REQUEST_TTY_FORCE;
crypto/openssh/ssh.c
875
options.request_tty = REQUEST_TTY_YES;
crypto/openssh/ssh.c
880
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/ssh.c
882
if (options.log_level < SYSLOG_LEVEL_DEBUG3) {
crypto/openssh/ssh.c
884
options.log_level++;
crypto/openssh/ssh.c
894
if (options.tun_open == -1)
crypto/openssh/ssh.c
895
options.tun_open = SSH_TUNMODE_DEFAULT;
crypto/openssh/ssh.c
896
options.tun_local = a2tun(optarg, &options.tun_remote);
crypto/openssh/ssh.c
897
if (options.tun_local == SSH_TUNID_ERR) {
crypto/openssh/ssh.c
904
if (options.stdio_forward_host != NULL)
crypto/openssh/ssh.c
909
options.stdio_forward_host =
crypto/openssh/ssh.c
912
options.stdio_forward_port = fwd.listen_port;
crypto/openssh/ssh.c
920
options.request_tty = REQUEST_TTY_NO;
crypto/openssh/ssh.c
921
options.session_type = SESSION_TYPE_NONE;
crypto/openssh/ssh.c
924
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/ssh.c
930
options.escape_char = (u_char) optarg[1] & 31;
crypto/openssh/ssh.c
932
options.escape_char = (u_char) optarg[0];
crypto/openssh/ssh.c
934
options.escape_char = SSH_ESCAPECHAR_NONE;
crypto/openssh/ssh.c
948
free(options.ciphers);
crypto/openssh/ssh.c
949
options.ciphers = xstrdup(optarg);
crypto/openssh/ssh.c
953
free(options.macs);
crypto/openssh/ssh.c
954
options.macs = xstrdup(optarg);
crypto/openssh/ssh.c
962
if (options.control_master == SSHCTL_MASTER_YES)
crypto/openssh/ssh.c
963
options.control_master = SSHCTL_MASTER_ASK;
crypto/openssh/ssh.c
965
options.control_master = SSHCTL_MASTER_YES;
crypto/openssh/ssh.c
968
if (options.port == -1) {
crypto/openssh/ssh.c
969
options.port = a2port(optarg);
crypto/openssh/ssh.c
970
if (options.port <= 0) {
crypto/openssh/ssh.c
978
if (options.user == NULL) {
crypto/openssh/ssh.c
979
options.user = xstrdup(optarg);
crypto/openssh/ssh.c
986
add_local_forward(&options, &fwd);
crypto/openssh/ssh.c
998
add_remote_forward(&options, &fwd);
crypto/openssh/sshconnect.c
1024
if (options.no_host_authentication_for_localhost == 1 && local &&
crypto/openssh/sshconnect.c
1025
options.host_key_alias == NULL) {
crypto/openssh/sshconnect.c
1028
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1054
if (options.check_host_ip && (local ||
crypto/openssh/sshconnect.c
1055
strcmp(hostname, ip) == 0 || options.proxy_command != NULL))
crypto/openssh/sshconnect.c
1056
options.check_host_ip = 0;
crypto/openssh/sshconnect.c
1069
if (!want_cert && options.check_host_ip) {
crypto/openssh/sshconnect.c
1132
options.host_key_alias == NULL ?
crypto/openssh/sshconnect.c
1133
hostname : options.host_key_alias,
crypto/openssh/sshconnect.c
1134
options.ca_sign_algorithms, &fail_reason) != 0) {
crypto/openssh/sshconnect.c
1142
if (options.update_hostkeys != 0) {
crypto/openssh/sshconnect.c
1143
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1149
if (options.update_hostkeys != 0 &&
crypto/openssh/sshconnect.c
1155
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1159
if (options.update_hostkeys != 0 && host_found->note) {
crypto/openssh/sshconnect.c
1160
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1164
if (options.check_host_ip && ip_status == HOST_NEW) {
crypto/openssh/sshconnect.c
1170
host_key, options.hash_known_hosts))
crypto/openssh/sshconnect.c
1179
} else if (options.visual_host_key) {
crypto/openssh/sshconnect.c
1181
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1183
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1193
if (options.host_key_alias == NULL && port != 0 &&
crypto/openssh/sshconnect.c
1208
if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
1218
} else if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
122
const char *keyalias = options.host_key_alias ?
crypto/openssh/sshconnect.c
123
options.host_key_alias : host_arg;
crypto/openssh/sshconnect.c
1232
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1234
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1239
if (options.visual_host_key)
crypto/openssh/sshconnect.c
1241
if (options.verify_host_key_dns) {
crypto/openssh/sshconnect.c
1270
if (options.check_host_ip && ip_status == HOST_NEW) {
crypto/openssh/sshconnect.c
1273
if (options.hash_known_hosts) {
crypto/openssh/sshconnect.c
1276
host, host_key, options.hash_known_hosts) &&
crypto/openssh/sshconnect.c
1278
host_key, options.hash_known_hosts);
crypto/openssh/sshconnect.c
1283
options.hash_known_hosts);
crypto/openssh/sshconnect.c
1287
host_key, options.hash_known_hosts);
crypto/openssh/sshconnect.c
1310
if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
132
"r", options.user,
crypto/openssh/sshconnect.c
1332
if (options.check_host_ip && host_ip_differ) {
crypto/openssh/sshconnect.c
1367
if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
1380
if (options.password_authentication) {
crypto/openssh/sshconnect.c
1383
options.password_authentication = 0;
crypto/openssh/sshconnect.c
1386
if (options.kbd_interactive_authentication) {
crypto/openssh/sshconnect.c
1389
options.kbd_interactive_authentication = 0;
crypto/openssh/sshconnect.c
1392
if (options.forward_agent) {
crypto/openssh/sshconnect.c
1395
options.forward_agent = 0;
crypto/openssh/sshconnect.c
1398
if (options.forward_x11) {
crypto/openssh/sshconnect.c
1401
options.forward_x11 = 0;
crypto/openssh/sshconnect.c
1404
if (options.num_local_forwards > 0 ||
crypto/openssh/sshconnect.c
1405
options.num_remote_forwards > 0) {
crypto/openssh/sshconnect.c
1408
options.num_local_forwards =
crypto/openssh/sshconnect.c
1409
options.num_remote_forwards = 0;
crypto/openssh/sshconnect.c
1412
if (options.tun_open != SSH_TUNMODE_NO) {
crypto/openssh/sshconnect.c
1415
options.tun_open = SSH_TUNMODE_NO;
crypto/openssh/sshconnect.c
1418
if (options.update_hostkeys != 0) {
crypto/openssh/sshconnect.c
1421
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1423
if (options.exit_on_forward_failure && cancelled_forwarding)
crypto/openssh/sshconnect.c
1440
if (options.check_host_ip && host_status != HOST_CHANGED &&
crypto/openssh/sshconnect.c
1453
if (options.strict_host_key_checking ==
crypto/openssh/sshconnect.c
1459
} else if (options.strict_host_key_checking !=
crypto/openssh/sshconnect.c
1469
if (!hostkey_trusted && options.update_hostkeys) {
crypto/openssh/sshconnect.c
1472
options.update_hostkeys = 0;
crypto/openssh/sshconnect.c
1519
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/sshconnect.c
1527
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) {
crypto/openssh/sshconnect.c
1557
for (i = 0; i < options.num_revoked_host_keys; i++) {
crypto/openssh/sshconnect.c
1559
options.revoked_host_keys[i]);
crypto/openssh/sshconnect.c
1566
options.revoked_host_keys[i]);
crypto/openssh/sshconnect.c
1572
fp, options.revoked_host_keys[i]);
crypto/openssh/sshconnect.c
1578
if (options.verify_host_key_dns) {
crypto/openssh/sshconnect.c
158
command_string = expand_proxy_command(proxy_command, options.user,
crypto/openssh/sshconnect.c
1589
if (options.verify_host_key_dns == 1 &&
crypto/openssh/sshconnect.c
1606
r = check_host_key(host, cinfo, hostaddr, options.port, host_key,
crypto/openssh/sshconnect.c
1607
RDRW, 0, options.user_hostfiles, options.num_user_hostfiles,
crypto/openssh/sshconnect.c
1608
options.system_hostfiles, options.num_system_hostfiles,
crypto/openssh/sshconnect.c
1609
options.known_hosts_command);
crypto/openssh/sshconnect.c
1648
server_user = options.user ? options.user : local_user;
crypto/openssh/sshconnect.c
1656
options.version_addendum)) != 0)
crypto/openssh/sshconnect.c
1671
if (!options.kex_algorithms_set && ssh->kex != NULL &&
crypto/openssh/sshconnect.c
1672
ssh->kex->name != NULL && options.warn_weak_crypto &&
crypto/openssh/sshconnect.c
1702
options.fingerprint_hash, SSH_FP_DEFAULT);
crypto/openssh/sshconnect.c
1704
options.fingerprint_hash, SSH_FP_RANDOMART);
crypto/openssh/sshconnect.c
1713
if (options.visual_host_key)
crypto/openssh/sshconnect.c
1727
fp = sshkey_fingerprint(host_key, options.fingerprint_hash,
crypto/openssh/sshconnect.c
1756
if (!options.permit_local_command ||
crypto/openssh/sshconnect.c
1792
if (options.add_keys_to_agent == 0)
crypto/openssh/sshconnect.c
1800
if (options.add_keys_to_agent == 2 &&
crypto/openssh/sshconnect.c
1807
skprovider = options.sk_provider;
crypto/openssh/sshconnect.c
1810
options.add_keys_to_agent_lifespan,
crypto/openssh/sshconnect.c
1811
(options.add_keys_to_agent == 3), skprovider, NULL, 0)) == 0)
crypto/openssh/sshconnect.c
183
if (!debug_flag && options.control_path != NULL &&
crypto/openssh/sshconnect.c
184
options.control_persist && stdfd_devnull(0, 0, 1) == -1)
crypto/openssh/sshconnect.c
241
command_string = expand_proxy_command(proxy_command, options.user,
crypto/openssh/sshconnect.c
266
if (!debug_flag && options.control_path != NULL &&
crypto/openssh/sshconnect.c
267
options.control_persist && stdfd_devnull(0, 0, 1) == -1)
crypto/openssh/sshconnect.c
340
strcmp(ifa->ifa_name, options.bind_interface) != 0)
crypto/openssh/sshconnect.c
399
if (options.ip_qos_interactive != INT_MAX)
crypto/openssh/sshconnect.c
400
set_sock_tos(sock, options.ip_qos_interactive);
crypto/openssh/sshconnect.c
403
if (options.bind_address == NULL && options.bind_interface == NULL)
crypto/openssh/sshconnect.c
406
if (options.bind_address != NULL) {
crypto/openssh/sshconnect.c
412
if ((r = getaddrinfo(options.bind_address, NULL,
crypto/openssh/sshconnect.c
414
error("getaddrinfo: %s: %s", options.bind_address,
crypto/openssh/sshconnect.c
424
} else if (options.bind_interface != NULL) {
crypto/openssh/sshconnect.c
427
error("getifaddrs: %s: %s", options.bind_interface,
crypto/openssh/sshconnect.c
432
if (check_ifaddrs(options.bind_interface, ai->ai_family,
crypto/openssh/sshconnect.c
435
options.bind_interface);
crypto/openssh/sshconnect.c
523
if (options.address_family != AF_UNSPEC &&
crypto/openssh/sshconnect.c
524
ai->ai_family != options.address_family) {
crypto/openssh/sshconnect.c
590
if (options.proxy_command == NULL) {
crypto/openssh/sshconnect.c
593
} else if (strcmp(options.proxy_command, "-") == 0) {
crypto/openssh/sshconnect.c
604
} else if (options.proxy_use_fdpass) {
crypto/openssh/sshconnect.c
606
options.proxy_command);
crypto/openssh/sshconnect.c
609
options.proxy_command);
crypto/openssh/sshconnect.c
621
if (options.batch_mode)
crypto/openssh/sshconnect.c
67
extern Options options;
crypto/openssh/sshconnect.c
686
if (options.proxy_command == NULL) {
crypto/openssh/sshconnect.c
704
if (options.host_key_alias != NULL) {
crypto/openssh/sshconnect.c
705
*hostfile_hostname = xstrdup(options.host_key_alias);
crypto/openssh/sshconnect.c
767
const char *hostkeyalgs = options.hostkeyalgorithms;
crypto/openssh/sshconnect.c
925
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/sshconnect2.c
1042
const char *host = options.host_key_alias ? options.host_key_alias :
crypto/openssh/sshconnect2.c
1046
if (authctxt->attempt_passwd++ >= options.number_of_password_prompts)
crypto/openssh/sshconnect2.c
1092
host = options.host_key_alias ? options.host_key_alias : authctxt->host;
crypto/openssh/sshconnect2.c
1177
options.pubkey_accepted_algos, NULL);
crypto/openssh/sshconnect2.c
1194
oallowed = allowed = xstrdup(options.pubkey_accepted_algos);
crypto/openssh/sshconnect2.c
1254
options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL)
crypto/openssh/sshconnect2.c
1256
notifier = notify_start(options.batch_mode,
crypto/openssh/sshconnect2.c
1262
alg, options.sk_provider, pin, compat)) != 0) {
crypto/openssh/sshconnect2.c
1332
(options.pubkey_authentication & SSH_PUBKEY_AUTH_HBOUND) != 0) {
crypto/openssh/sshconnect2.c
1337
if ((fp = sshkey_fingerprint(id->key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
134
for (i = 0; i < options.num_user_hostfiles; i++)
crypto/openssh/sshconnect2.c
135
load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0);
crypto/openssh/sshconnect2.c
136
for (i = 0; i < options.num_system_hostfiles; i++) {
crypto/openssh/sshconnect2.c
138
options.system_hostfiles[i], 0);
crypto/openssh/sshconnect2.c
140
if (options.known_hosts_command != NULL) {
crypto/openssh/sshconnect2.c
141
load_hostkeys_command(hostkeys, options.known_hosts_command,
crypto/openssh/sshconnect2.c
151
best = first_alg(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1545
for (i = 0; i <= options.number_of_password_prompts; i++) {
crypto/openssh/sshconnect2.c
1561
if (options.batch_mode) {
crypto/openssh/sshconnect2.c
157
ret = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1581
options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1589
options.required_rsa_size)) != 0) {
crypto/openssh/sshconnect2.c
1637
return key_type_allowed(key, options.pubkey_accepted_algos);
crypto/openssh/sshconnect2.c
165
oavail = avail = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1696
for (i = 0; i < options.num_identity_files; i++) {
crypto/openssh/sshconnect2.c
1697
key = options.identity_keys[i];
crypto/openssh/sshconnect2.c
1701
"certificate", options.identity_files[i]);
crypto/openssh/sshconnect2.c
1704
if (key && sshkey_is_sk(key) && options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1707
options.identity_files[i]);
crypto/openssh/sshconnect2.c
1710
options.identity_keys[i] = NULL;
crypto/openssh/sshconnect2.c
1714
id->filename = xstrdup(options.identity_files[i]);
crypto/openssh/sshconnect2.c
1715
id->userprovided = options.identity_file_userprovided[i];
crypto/openssh/sshconnect2.c
1719
for (i = 0; i < options.num_certificate_files; i++) {
crypto/openssh/sshconnect2.c
1720
key = options.certificates[i];
crypto/openssh/sshconnect2.c
1724
"certificate", options.identity_files[i]);
crypto/openssh/sshconnect2.c
1727
if (key && sshkey_is_sk(key) && options.sk_provider == NULL) {
crypto/openssh/sshconnect2.c
1731
options.identity_files[i]);
crypto/openssh/sshconnect2.c
1737
id->filename = xstrdup(options.certificate_files[i]);
crypto/openssh/sshconnect2.c
1738
id->userprovided = options.certificate_file_userprovided[i];
crypto/openssh/sshconnect2.c
1745
options.required_rsa_size)) != 0) {
crypto/openssh/sshconnect2.c
1764
if (!found && !options.identities_only) {
crypto/openssh/sshconnect2.c
1797
if (!found && options.identities_only) {
crypto/openssh/sshconnect2.c
1924
if (authctxt->attempt_kbdint++ >= options.number_of_password_prompts)
crypto/openssh/sshconnect2.c
1939
(r = sshpkt_put_cstring(ssh, options.kbd_interactive_devices ?
crypto/openssh/sshconnect2.c
1940
options.kbd_interactive_devices : "")) != 0 ||
crypto/openssh/sshconnect2.c
2000
authctxt->server_user, options.host_key_alias ?
crypto/openssh/sshconnect2.c
2001
options.host_key_alias : authctxt->host, prompt) == -1)
crypto/openssh/sshconnect2.c
2155
authctxt->oktypes = xstrdup(options.hostbased_accepted_algos);
crypto/openssh/sshconnect2.c
2200
if ((fp = sshkey_fingerprint(private, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
230
if (options.rekey_limit || options.rekey_interval)
crypto/openssh/sshconnect2.c
231
ssh_packet_set_rekey_limits(ssh, options.rekey_limit,
crypto/openssh/sshconnect2.c
232
options.rekey_interval);
crypto/openssh/sshconnect2.c
2328
authlist = options.preferred_authentications;
crypto/openssh/sshconnect2.c
2334
preferred = options.preferred_authentications;
crypto/openssh/sshconnect2.c
239
if (options.hostkeyalgorithms == NULL ||
crypto/openssh/sshconnect2.c
240
options.hostkeyalgorithms[0] == '-' ||
crypto/openssh/sshconnect2.c
241
options.hostkeyalgorithms[0] == '+')
crypto/openssh/sshconnect2.c
246
if ((r = kex_assemble_names(&options.hostkeyalgorithms,
crypto/openssh/sshconnect2.c
257
options.kex_algorithms, options.ciphers, options.macs,
crypto/openssh/sshconnect2.c
258
compression_alg_list(options.compression),
crypto/openssh/sshconnect2.c
259
hkalgs ? hkalgs : options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
394
&options.gss_authentication,
crypto/openssh/sshconnect2.c
400
&options.hostbased_authentication,
crypto/openssh/sshconnect2.c
405
&options.pubkey_authentication,
crypto/openssh/sshconnect2.c
410
&options.kbd_interactive_authentication,
crypto/openssh/sshconnect2.c
411
&options.batch_mode},
crypto/openssh/sshconnect2.c
415
&options.password_authentication,
crypto/openssh/sshconnect2.c
416
&options.batch_mode},
crypto/openssh/sshconnect2.c
432
if (options.preferred_authentications == NULL)
crypto/openssh/sshconnect2.c
433
options.preferred_authentications = authmethods_get();
crypto/openssh/sshconnect2.c
582
if (len > 0 && options.log_level >= SYSLOG_LEVEL_INFO)
crypto/openssh/sshconnect2.c
664
fp = sshkey_fingerprint(id->key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
732
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/sshconnect2.c
79
extern Options options;
crypto/openssh/sshconnect2.c
834
status = ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds,
crypto/openssh/sshconnect2.c
96
options.required_rsa_size)) != 0)
crypto/openssh/sshconnect2.c
98
if (!key_type_allowed(hostkey, options.hostkeyalgorithms)) {
crypto/openssh/sshconnect2.c
991
(void)ssh_gssapi_init_ctx(gssctxt, options.gss_deleg_creds,
crypto/openssh/sshd-auth.c
109
ServerOptions options;
crypto/openssh/sshd-auth.c
223
if (match_pattern_list(s, options.hostkeyalgorithms, 0) != 1) {
crypto/openssh/sshd-auth.c
241
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-auth.c
293
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-auth.c
341
if (ind < 0 || (u_int)ind >= options.num_host_key_files)
crypto/openssh/sshd-auth.c
351
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-auth.c
479
initialize_server_options(&options);
crypto/openssh/sshd-auth.c
500
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/sshd-auth.c
501
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3)
crypto/openssh/sshd-auth.c
502
options.log_level++;
crypto/openssh/sshd-auth.c
569
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/sshd-auth.c
570
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/sshd-auth.c
571
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/sshd-auth.c
572
SYSLOG_FACILITY_AUTH : options.log_facility, 1);
crypto/openssh/sshd-auth.c
618
recv_privsep_state(ssh, &options, &timing_secret);
crypto/openssh/sshd-auth.c
619
options.timing_secret = timing_secret; /* XXX eliminate from unpriv */
crypto/openssh/sshd-auth.c
620
ssh_packet_set_qos(ssh, options.ip_qos_interactive,
crypto/openssh/sshd-auth.c
621
options.ip_qos_bulk);
crypto/openssh/sshd-auth.c
624
log_init(__progname, options.log_level, options.log_facility, 1);
crypto/openssh/sshd-auth.c
632
if (privsep_chroot || options.kerberos_authentication)
crypto/openssh/sshd-auth.c
643
if (options.moduli_file != NULL)
crypto/openssh/sshd-auth.c
644
dh_set_moduli_file(options.moduli_file);
crypto/openssh/sshd-auth.c
647
if (options.host_key_agent) {
crypto/openssh/sshd-auth.c
648
if (strcmp(options.host_key_agent, SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/sshd-auth.c
650
options.host_key_agent, 1);
crypto/openssh/sshd-auth.c
655
options.host_key_agent);
crypto/openssh/sshd-auth.c
658
if (options.num_host_key_files != num_hostkeys) {
crypto/openssh/sshd-auth.c
660
options.num_host_key_files, num_hostkeys);
crypto/openssh/sshd-auth.c
663
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-auth.c
677
log_init(__progname, options.log_level, options.log_facility, 1);
crypto/openssh/sshd-auth.c
679
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/sshd-auth.c
680
log_verbose_add(options.log_verbose[i]);
crypto/openssh/sshd-auth.c
705
channel_set_af(ssh, options.address_family);
crypto/openssh/sshd-auth.c
755
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-auth.c
760
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-auth.c
776
if (options.rekey_limit || options.rekey_interval)
crypto/openssh/sshd-auth.c
777
ssh_packet_set_rekey_limits(ssh, options.rekey_limit,
crypto/openssh/sshd-auth.c
778
options.rekey_interval);
crypto/openssh/sshd-auth.c
780
if (options.compression == COMP_NONE)
crypto/openssh/sshd-auth.c
784
kex_proposal_populate_entries(ssh, myproposal, options.kex_algorithms,
crypto/openssh/sshd-auth.c
785
options.ciphers, options.macs, compression, hkalgs);
crypto/openssh/sshd-auth.c
790
options.version_addendum)) != 0) {
crypto/openssh/sshd-auth.c
802
kex_set_server_sig_algs(ssh, options.pubkey_accepted_algos);
crypto/openssh/sshd-session.c
1007
if (privsep_chroot || options.kerberos_authentication)
crypto/openssh/sshd-session.c
1032
if (options.authorized_keys_command_user == NULL &&
crypto/openssh/sshd-session.c
1033
(options.authorized_keys_command != NULL &&
crypto/openssh/sshd-session.c
1034
strcasecmp(options.authorized_keys_command, "none") != 0))
crypto/openssh/sshd-session.c
1037
if (options.authorized_principals_command_user == NULL &&
crypto/openssh/sshd-session.c
1038
(options.authorized_principals_command != NULL &&
crypto/openssh/sshd-session.c
1039
strcasecmp(options.authorized_principals_command, "none") != 0))
crypto/openssh/sshd-session.c
1049
if (options.num_auth_methods != 0) {
crypto/openssh/sshd-session.c
1050
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/sshd-session.c
1051
if (auth2_methods_valid(options.auth_methods[i],
crypto/openssh/sshd-session.c
1055
if (i >= options.num_auth_methods)
crypto/openssh/sshd-session.c
1061
if (options.moduli_file != NULL)
crypto/openssh/sshd-session.c
1062
dh_set_moduli_file(options.moduli_file);
crypto/openssh/sshd-session.c
1065
if (options.host_key_agent) {
crypto/openssh/sshd-session.c
1066
if (strcmp(options.host_key_agent, SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/sshd-session.c
1068
options.host_key_agent, 1);
crypto/openssh/sshd-session.c
1073
options.host_key_agent);
crypto/openssh/sshd-session.c
1076
if (options.num_host_key_files != sensitive_data.num_hostkeys) {
crypto/openssh/sshd-session.c
1078
options.num_host_key_files, sensitive_data.num_hostkeys);
crypto/openssh/sshd-session.c
1081
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
1098
log_init(__progname, options.log_level,
crypto/openssh/sshd-session.c
1099
options.log_facility, log_stderr);
crypto/openssh/sshd-session.c
1100
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/sshd-session.c
1101
log_verbose_add(options.log_verbose[i]);
crypto/openssh/sshd-session.c
1104
log_init(__progname, options.log_level, options.log_facility, log_stderr);
crypto/openssh/sshd-session.c
113
ServerOptions options;
crypto/openssh/sshd-session.c
1163
ssh_packet_set_qos(ssh, options.ip_qos_interactive,
crypto/openssh/sshd-session.c
1164
options.ip_qos_bulk);
crypto/openssh/sshd-session.c
1170
channel_set_af(ssh, options.address_family);
crypto/openssh/sshd-session.c
1175
if (options.tcp_keep_alive && ssh_packet_connection_is_on_socket(ssh) &&
crypto/openssh/sshd-session.c
1186
auth_get_canonical_hostname(ssh, options.use_dns);
crypto/openssh/sshd-session.c
1220
if (!debug_flag && options.login_grace_time > 0) {
crypto/openssh/sshd-session.c
1224
itv.it_value.tv_sec = options.login_grace_time;
crypto/openssh/sshd-session.c
1272
if (options.routing_domain != NULL)
crypto/openssh/sshd-session.c
1273
set_process_rdomain(ssh, options.routing_domain);
crypto/openssh/sshd-session.c
1280
if (options.gss_authentication) {
crypto/openssh/sshd-session.c
1287
if (options.use_pam) {
crypto/openssh/sshd-session.c
1300
ssh_packet_set_timeout(ssh, options.client_alive_interval,
crypto/openssh/sshd-session.c
1301
options.client_alive_count_max);
crypto/openssh/sshd-session.c
1317
if (options.use_pam)
crypto/openssh/sshd-session.c
1339
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-session.c
1344
data, dlen, alg, options.sk_provider, NULL,
crypto/openssh/sshd-session.c
233
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
253
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
277
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
364
saved_argv[0] = options.sshd_auth_path;
crypto/openssh/sshd-session.c
365
execv(options.sshd_auth_path, saved_argv);
crypto/openssh/sshd-session.c
368
options.sshd_auth_path, strerror(errno));
crypto/openssh/sshd-session.c
436
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
485
if (ind < 0 || (u_int)ind >= options.num_host_key_files)
crypto/openssh/sshd-session.c
493
if (ind < 0 || (u_int)ind >= options.num_host_key_files)
crypto/openssh/sshd-session.c
503
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
540
for (i = nkeys = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd-session.c
545
fp = sshkey_fingerprint(key, options.fingerprint_hash,
crypto/openssh/sshd-session.c
828
initialize_server_options(&options);
crypto/openssh/sshd-session.c
835
options.address_family = AF_INET;
crypto/openssh/sshd-session.c
838
options.address_family = AF_INET6;
crypto/openssh/sshd-session.c
845
&options, optarg);
crypto/openssh/sshd-session.c
850
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/sshd-session.c
851
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3)
crypto/openssh/sshd-session.c
852
options.log_level++;
crypto/openssh/sshd-session.c
876
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/sshd-session.c
882
options.ports_from_cmdline = 1;
crypto/openssh/sshd-session.c
883
if (options.num_ports >= MAX_PORTS) {
crypto/openssh/sshd-session.c
887
options.ports[options.num_ports++] = a2port(optarg);
crypto/openssh/sshd-session.c
888
if (options.ports[options.num_ports-1] <= 0) {
crypto/openssh/sshd-session.c
894
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd-session.c
904
&options, optarg, 1);
crypto/openssh/sshd-session.c
926
if (process_server_config_line(&options, line,
crypto/openssh/sshd-session.c
982
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/sshd-session.c
983
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/sshd-session.c
984
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/sshd-session.c
985
SYSLOG_FACILITY_AUTH : options.log_facility,
crypto/openssh/sshd-session.c
993
parse_server_config(&options, "rexec", cfg, &includes, NULL, 1);
crypto/openssh/sshd-session.c
995
fill_default_server_options(&options);
crypto/openssh/sshd-session.c
996
options.timing_secret = timing_secret;
crypto/openssh/sshd-session.c
999
log_init(__progname, options.log_level, options.log_facility,
crypto/openssh/sshd.c
1002
options.max_startups_begin, options.max_startups);
crypto/openssh/sshd.c
1022
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
1045
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
1088
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
110
ServerOptions options;
crypto/openssh/sshd.c
1261
options.log_level,
crypto/openssh/sshd.c
1262
options.log_facility,
crypto/openssh/sshd.c
1310
options.timing_secret = PEEK_U64(hash);
crypto/openssh/sshd.c
1341
parse_server_match_config(&options, &includes, connection_info);
crypto/openssh/sshd.c
1342
dump_config(&options);
crypto/openssh/sshd.c
1400
initialize_server_options(&options);
crypto/openssh/sshd.c
1408
options.address_family = AF_INET;
crypto/openssh/sshd.c
1411
options.address_family = AF_INET6;
crypto/openssh/sshd.c
1418
&options, optarg);
crypto/openssh/sshd.c
1423
options.log_level = SYSLOG_LEVEL_DEBUG1;
crypto/openssh/sshd.c
1424
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3)
crypto/openssh/sshd.c
1425
options.log_level++;
crypto/openssh/sshd.c
1452
options.log_level = SYSLOG_LEVEL_QUIET;
crypto/openssh/sshd.c
1458
options.ports_from_cmdline = 1;
crypto/openssh/sshd.c
1459
if (options.num_ports >= MAX_PORTS) {
crypto/openssh/sshd.c
1463
options.ports[options.num_ports++] = a2port(optarg);
crypto/openssh/sshd.c
1464
if (options.ports[options.num_ports-1] <= 0) {
crypto/openssh/sshd.c
1470
if ((options.login_grace_time = convtime(optarg)) == -1) {
crypto/openssh/sshd.c
1480
&options, optarg, 1);
crypto/openssh/sshd.c
1503
if (process_server_config_line(&options, line,
crypto/openssh/sshd.c
1550
options.log_level == SYSLOG_LEVEL_NOT_SET ?
crypto/openssh/sshd.c
1551
SYSLOG_LEVEL_INFO : options.log_level,
crypto/openssh/sshd.c
1552
options.log_facility == SYSLOG_FACILITY_NOT_SET ?
crypto/openssh/sshd.c
1553
SYSLOG_FACILITY_AUTH : options.log_facility,
crypto/openssh/sshd.c
1589
parse_server_config(&options, config_file_name, cfg,
crypto/openssh/sshd.c
1593
fill_default_server_options(&options);
crypto/openssh/sshd.c
1596
if (options.authorized_keys_command_user == NULL &&
crypto/openssh/sshd.c
1597
(options.authorized_keys_command != NULL &&
crypto/openssh/sshd.c
1598
strcasecmp(options.authorized_keys_command, "none") != 0))
crypto/openssh/sshd.c
1601
if (options.authorized_principals_command_user == NULL &&
crypto/openssh/sshd.c
1602
(options.authorized_principals_command != NULL &&
crypto/openssh/sshd.c
1603
strcasecmp(options.authorized_principals_command, "none") != 0))
crypto/openssh/sshd.c
1613
if (options.num_auth_methods != 0) {
crypto/openssh/sshd.c
1614
for (i = 0; i < options.num_auth_methods; i++) {
crypto/openssh/sshd.c
1615
if (auth2_methods_valid(options.auth_methods[i],
crypto/openssh/sshd.c
1619
if (i >= options.num_auth_methods)
crypto/openssh/sshd.c
1634
sensitive_data.host_keys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1636
sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1639
if (options.host_key_agent) {
crypto/openssh/sshd.c
1640
if (strcmp(options.host_key_agent, SSH_AUTHSOCKET_ENV_NAME))
crypto/openssh/sshd.c
1642
options.host_key_agent, 1);
crypto/openssh/sshd.c
1647
options.host_key_agent);
crypto/openssh/sshd.c
1650
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd.c
1651
int ll = options.host_key_file_userprovided[i] ?
crypto/openssh/sshd.c
1654
if (options.host_key_files[i] == NULL)
crypto/openssh/sshd.c
1656
if ((r = sshkey_load_private(options.host_key_files[i], "",
crypto/openssh/sshd.c
1660
options.host_key_files[i]);
crypto/openssh/sshd.c
1664
options.host_key_files[i]);
crypto/openssh/sshd.c
1670
options.host_key_files[i]);
crypto/openssh/sshd.c
1674
if ((r = sshkey_load_public(options.host_key_files[i],
crypto/openssh/sshd.c
1677
options.host_key_files[i]);
crypto/openssh/sshd.c
1681
"private key", options.host_key_files[i]);
crypto/openssh/sshd.c
1689
options.host_key_files[i]);
crypto/openssh/sshd.c
1692
options.required_rsa_size)) != 0) {
crypto/openssh/sshd.c
1693
error_fr(r, "Host key %s", options.host_key_files[i]);
crypto/openssh/sshd.c
1703
options.host_key_files[i]);
crypto/openssh/sshd.c
1710
options.host_key_files[i]);
crypto/openssh/sshd.c
1727
if ((fp = sshkey_fingerprint(pubkey, options.fingerprint_hash,
crypto/openssh/sshd.c
1744
sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
crypto/openssh/sshd.c
1746
for (i = 0; i < options.num_host_key_files; i++)
crypto/openssh/sshd.c
1749
for (i = 0; i < options.num_host_cert_files; i++) {
crypto/openssh/sshd.c
1750
if (options.host_cert_files[i] == NULL)
crypto/openssh/sshd.c
1752
if ((r = sshkey_load_public(options.host_cert_files[i],
crypto/openssh/sshd.c
1755
options.host_cert_files[i]);
crypto/openssh/sshd.c
1760
options.host_cert_files[i]);
crypto/openssh/sshd.c
1765
for (j = 0; j < options.num_host_key_files; j++) {
crypto/openssh/sshd.c
1772
if (j >= options.num_host_key_files) {
crypto/openssh/sshd.c
1774
options.host_cert_files[i]);
crypto/openssh/sshd.c
1785
options.kerberos_authentication);
crypto/openssh/sshd.c
1836
rexec_argv[0] = options.sshd_session_path;
crypto/openssh/sshd.c
1848
if (stat(options.sshd_auth_path, &sb) != 0 ||
crypto/openssh/sshd.c
1851
options.sshd_auth_path);
crypto/openssh/sshd.c
1863
log_init(__progname, options.log_level,
crypto/openssh/sshd.c
1864
options.log_facility, log_stderr);
crypto/openssh/sshd.c
1865
for (i = 0; i < options.num_log_verbose; i++)
crypto/openssh/sshd.c
1866
log_verbose_add(options.log_verbose[i]);
crypto/openssh/sshd.c
1882
log_init(__progname, options.log_level, options.log_facility, log_stderr);
crypto/openssh/sshd.c
1923
if (options.pid_file != NULL && !debug_flag) {
crypto/openssh/sshd.c
1924
FILE *f = fopen(options.pid_file, "w");
crypto/openssh/sshd.c
1928
options.pid_file, strerror(errno));
crypto/openssh/sshd.c
1978
if ((_res.options & RES_INIT) == 0) {
crypto/openssh/sshd.c
230
children = xcalloc(options.max_startups, sizeof(*children));
crypto/openssh/sshd.c
231
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
248
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
259
" slots full", options.max_startups);
crypto/openssh/sshd.c
282
if (++children_active > options.max_startups)
crypto/openssh/sshd.c
336
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
464
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
478
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
495
for (i = 0; i < options.max_startups; i++) {
crypto/openssh/sshd.c
532
if (options.pid_file != NULL)
crypto/openssh/sshd.c
533
unlink(options.pid_file);
crypto/openssh/sshd.c
578
if (startups < options.max_startups_begin)
crypto/openssh/sshd.c
580
if (startups >= options.max_startups)
crypto/openssh/sshd.c
582
if (options.max_startups_rate == 100)
crypto/openssh/sshd.c
585
p = 100 - options.max_startups_rate;
crypto/openssh/sshd.c
586
p *= startups - options.max_startups_begin;
crypto/openssh/sshd.c
587
p /= options.max_startups - options.max_startups_begin;
crypto/openssh/sshd.c
588
p += options.max_startups_rate;
crypto/openssh/sshd.c
658
if (options.version_addendum != NULL &&
crypto/openssh/sshd.c
659
*options.version_addendum != '\0')
crypto/openssh/sshd.c
662
options.version_addendum, SSH_OPENSSL_VERSION);
crypto/openssh/sshd.c
688
for (i = 0; i < options.num_host_key_files; i++) {
crypto/openssh/sshd.c
756
(r = sshbuf_put_u64(m, options.timing_secret)) != 0 ||
crypto/openssh/sshd.c
906
srclimit_init(options.max_startups,
crypto/openssh/sshd.c
907
options.per_source_max_startups,
crypto/openssh/sshd.c
908
options.per_source_masklen_ipv4,
crypto/openssh/sshd.c
909
options.per_source_masklen_ipv6,
crypto/openssh/sshd.c
910
&options.per_source_penalty,
crypto/openssh/sshd.c
911
options.per_source_penalty_exempt);
crypto/openssh/sshd.c
913
for (i = 0; i < options.num_listen_addrs; i++) {
crypto/openssh/sshd.c
914
listen_on_addrs(&options.listen_addrs[i]);
crypto/openssh/sshd.c
915
freeaddrinfo(options.listen_addrs[i].addrs);
crypto/openssh/sshd.c
916
free(options.listen_addrs[i].rdomain);
crypto/openssh/sshd.c
917
memset(&options.listen_addrs[i], 0,
crypto/openssh/sshd.c
918
sizeof(options.listen_addrs[i]));
crypto/openssh/sshd.c
920
free(options.listen_addrs);
crypto/openssh/sshd.c
921
options.listen_addrs = NULL;
crypto/openssh/sshd.c
922
options.num_listen_addrs = 0;
crypto/openssh/sshd.c
956
startup_pollfd = xcalloc(options.max_startups, sizeof(int));
crypto/openssh/sshd.c
974
pfd = xcalloc(num_listen_socks + options.max_startups,
crypto/openssh/sshd.c
987
if (options.pid_file != NULL)
crypto/openssh/sshd.c
988
unlink(options.pid_file);
crypto/openssh/sshlogin.c
100
if (!options.print_lastlog)
crypto/openssh/sshlogin.c
67
extern ServerOptions options;
crypto/openssl/apps/include/opt.h
436
int opt_string(const char *name, const char **options);
crypto/openssl/apps/lib/opt.c
526
int opt_string(const char *name, const char **options)
crypto/openssl/apps/lib/opt.c
530
for (p = options; *p != NULL; p++)
crypto/openssl/apps/lib/opt.c
534
for (p = options; *p != NULL; p++)
crypto/openssl/apps/lib/s_socket.c
165
options |= BIO_SOCK_NODELAY;
crypto/openssl/apps/lib/s_socket.c
167
options |= BIO_SOCK_TFO;
crypto/openssl/apps/lib/s_socket.c
170
if (doconn && !BIO_connect(*sock, BIO_ADDRINFO_address(ai), options)) {
crypto/openssl/apps/lib/s_socket.c
86
int options = 0;
crypto/openssl/apps/list.c
1783
unsigned int options : 1;
crypto/openssl/apps/pkcs12.c
1003
if (options & INFO)
crypto/openssl/apps/pkcs12.c
1006
if (options & INFO) {
crypto/openssl/apps/pkcs12.c
1021
options, pempass, enc)) {
crypto/openssl/apps/pkcs12.c
1035
const char *pass, int passlen, int options,
crypto/openssl/apps/pkcs12.c
1042
pass, passlen, options, pempass, enc))
crypto/openssl/apps/pkcs12.c
1049
const char *pass, int passlen, int options,
crypto/openssl/apps/pkcs12.c
1063
if (options & INFO)
crypto/openssl/apps/pkcs12.c
1065
if (options & NOKEYS)
crypto/openssl/apps/pkcs12.c
1077
if (options & INFO) {
crypto/openssl/apps/pkcs12.c
1086
if (options & NOKEYS)
crypto/openssl/apps/pkcs12.c
1102
if (options & INFO)
crypto/openssl/apps/pkcs12.c
1104
if (options & NOCERTS)
crypto/openssl/apps/pkcs12.c
1107
if (options & CACERTS)
crypto/openssl/apps/pkcs12.c
1109
} else if (options & CLCERTS)
crypto/openssl/apps/pkcs12.c
1122
if (options & INFO)
crypto/openssl/apps/pkcs12.c
1132
if (options & INFO)
crypto/openssl/apps/pkcs12.c
1136
pass, passlen, options, pempass, enc);
crypto/openssl/apps/pkcs12.c
209
int export_pkcs12 = 0, options = 0, chain = 0, twopass = 0, keytype = 0;
crypto/openssl/apps/pkcs12.c
248
options |= NOKEYS;
crypto/openssl/apps/pkcs12.c
257
options |= NOCERTS;
crypto/openssl/apps/pkcs12.c
260
options |= CLCERTS;
crypto/openssl/apps/pkcs12.c
263
options |= CACERTS;
crypto/openssl/apps/pkcs12.c
266
options |= (NOKEYS | NOCERTS);
crypto/openssl/apps/pkcs12.c
271
options |= NOKEYS;
crypto/openssl/apps/pkcs12.c
274
options |= INFO;
crypto/openssl/apps/pkcs12.c
43
const char *pass, int passlen, int options,
crypto/openssl/apps/pkcs12.c
432
if ((options & INFO) != 0)
crypto/openssl/apps/pkcs12.c
436
if ((options & CLCERTS) != 0)
crypto/openssl/apps/pkcs12.c
438
if ((options & CACERTS) != 0)
crypto/openssl/apps/pkcs12.c
46
const char *pass, int passlen, int options,
crypto/openssl/apps/pkcs12.c
50
int options, char *pempass, const EVP_CIPHER *enc);
crypto/openssl/apps/pkcs12.c
588
if ((options & (NOCERTS | NOKEYS)) == (NOCERTS | NOKEYS)) {
crypto/openssl/apps/pkcs12.c
593
if ((options & NOCERTS) != 0) {
crypto/openssl/apps/pkcs12.c
598
if (!(options & NOKEYS)) {
crypto/openssl/apps/pkcs12.c
607
if (!(options & NOCERTS)) {
crypto/openssl/apps/pkcs12.c
819
if ((options & INFO) && PKCS12_mac_present(p12)) {
crypto/openssl/apps/pkcs12.c
941
if (!dump_certs_keys_p12(out, p12, cpass, -1, options, passout, enc)) {
crypto/openssl/apps/pkcs12.c
986
int passlen, int options, char *pempass,
crypto/openssl/apps/version.c
119
seed = options = cflags = version = date = platform
crypto/openssl/apps/version.c
140
if (options) {
crypto/openssl/apps/version.c
63
int cflags = 0, version = 0, date = 0, options = 0, platform = 0, dir = 0;
crypto/openssl/apps/version.c
99
dirty = options = 1;
crypto/openssl/crypto/bio/bio_sock2.c
101
if (!BIO_socket_nbio(sock, (options & BIO_SOCK_NONBLOCK) != 0))
crypto/openssl/crypto/bio/bio_sock2.c
104
if (options & BIO_SOCK_KEEPALIVE) {
crypto/openssl/crypto/bio/bio_sock2.c
115
if (options & BIO_SOCK_NODELAY) {
crypto/openssl/crypto/bio/bio_sock2.c
125
if (options & BIO_SOCK_TFO) {
crypto/openssl/crypto/bio/bio_sock2.c
219
int BIO_bind(int sock, const BIO_ADDR *addr, int options)
crypto/openssl/crypto/bio/bio_sock2.c
235
if (options & BIO_SOCK_REUSEADDR) {
crypto/openssl/crypto/bio/bio_sock2.c
295
int BIO_listen(int sock, const BIO_ADDR *addr, int options)
crypto/openssl/crypto/bio/bio_sock2.c
316
if (!BIO_socket_nbio(sock, (options & BIO_SOCK_NONBLOCK) != 0))
crypto/openssl/crypto/bio/bio_sock2.c
319
if (options & BIO_SOCK_KEEPALIVE) {
crypto/openssl/crypto/bio/bio_sock2.c
330
if (options & BIO_SOCK_NODELAY) {
crypto/openssl/crypto/bio/bio_sock2.c
348
on = options & BIO_SOCK_V6_ONLY ? 1 : 0;
crypto/openssl/crypto/bio/bio_sock2.c
360
if (!BIO_bind(sock, addr, options))
crypto/openssl/crypto/bio/bio_sock2.c
375
if ((options & BIO_SOCK_TFO) && socktype != SOCK_DGRAM) {
crypto/openssl/crypto/bio/bio_sock2.c
42
int BIO_socket(int domain, int socktype, int protocol, int options)
crypto/openssl/crypto/bio/bio_sock2.c
429
int BIO_accept_ex(int accept_sock, BIO_ADDR *addr_, int options)
crypto/openssl/crypto/bio/bio_sock2.c
448
if (!BIO_socket_nbio(accepted_sock, (options & BIO_SOCK_NONBLOCK) != 0)) {
crypto/openssl/crypto/bio/bio_sock2.c
92
int BIO_connect(int sock, const BIO_ADDR *addr, int options)
crypto/openssl/include/internal/recordmethod.h
138
const OSSL_PARAM *options,
crypto/openssl/include/internal/recordmethod.h
287
int (*set_options)(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options);
crypto/openssl/include/openssl/bio.h
913
int BIO_socket(int domain, int socktype, int protocol, int options);
crypto/openssl/include/openssl/bio.h
914
int BIO_connect(int sock, const BIO_ADDR *addr, int options);
crypto/openssl/include/openssl/bio.h
915
int BIO_bind(int sock, const BIO_ADDR *addr, int options);
crypto/openssl/include/openssl/bio.h
916
int BIO_listen(int sock, const BIO_ADDR *addr, int options);
crypto/openssl/include/openssl/bio.h
917
int BIO_accept_ex(int accept_sock, BIO_ADDR *addr, int options);
crypto/openssl/ssl/d1_lib.c
220
else if (s->options & SSL_OP_CISCO_ANYCONNECT)
crypto/openssl/ssl/quic/quic_impl.c
1057
uint64_t ossl_quic_set_options(SSL *ssl, uint64_t options)
crypto/openssl/ssl/quic/quic_impl.c
1059
return quic_mask_or_options(ssl, 0, options);
crypto/openssl/ssl/quic/quic_impl.c
1063
uint64_t ossl_quic_clear_options(SSL *ssl, uint64_t options)
crypto/openssl/ssl/quic/quic_impl.c
1065
return quic_mask_or_options(ssl, options, 0);
crypto/openssl/ssl/quic/quic_impl.c
4537
qc->default_ssl_options = qc->obj.ssl.ctx->options & OSSL_QUIC_PERMITTED_OPTIONS;
crypto/openssl/ssl/quic/quic_impl.c
4729
qc->default_ssl_options = ql->obj.ssl.ctx->options & OSSL_QUIC_PERMITTED_OPTIONS;
crypto/openssl/ssl/quic/quic_impl.c
625
sc->options &= OSSL_QUIC_PERMITTED_OPTIONS_CONN;
crypto/openssl/ssl/quic/quic_impl.c
653
qc->default_ssl_options = qc->obj.ssl.ctx->options & OSSL_QUIC_PERMITTED_OPTIONS;
crypto/openssl/ssl/quic/quic_port.c
504
tls_conn->options &= OSSL_QUIC_PERMITTED_OPTIONS_CONN;
crypto/openssl/ssl/quic/quic_tls.c
109
const OSSL_PARAM *settings, const OSSL_PARAM *options,
crypto/openssl/ssl/quic/quic_tls.c
496
static int quic_set_options(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options)
crypto/openssl/ssl/record/methods/dtls_meth.c
641
const OSSL_PARAM *settings, const OSSL_PARAM *options,
crypto/openssl/ssl/record/methods/dtls_meth.c
650
options, fns, cbarg, retrl);
crypto/openssl/ssl/record/methods/ktls_meth.c
334
if (rl->direction == OSSL_RECORD_DIRECTION_WRITE && (rl->options & SSL_OP_ENABLE_KTLS_TX_ZEROCOPY_SENDFILE) != 0)
crypto/openssl/ssl/record/methods/ktls_meth.c
409
const OSSL_PARAM *settings, const OSSL_PARAM *options,
crypto/openssl/ssl/record/methods/ktls_meth.c
418
options, fns, cbarg, retrl);
crypto/openssl/ssl/record/methods/recmethod_local.h
238
uint64_t options;
crypto/openssl/ssl/record/methods/recmethod_local.h
443
const OSSL_PARAM *settings, const OSSL_PARAM *options,
crypto/openssl/ssl/record/methods/recmethod_local.h
468
int tls_set_options(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options);
crypto/openssl/ssl/record/methods/tls_common.c
115
if (rl->options & SSL_OP_NO_COMPRESSION)
crypto/openssl/ssl/record/methods/tls_common.c
1183
if ((rl->options & SSL_OP_CLEANSE_PLAINTEXT) != 0)
crypto/openssl/ssl/record/methods/tls_common.c
1202
int tls_set_options(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options)
crypto/openssl/ssl/record/methods/tls_common.c
1206
p = OSSL_PARAM_locate_const(options, OSSL_LIBSSL_RECORD_LAYER_PARAM_OPTIONS);
crypto/openssl/ssl/record/methods/tls_common.c
1207
if (p != NULL && !OSSL_PARAM_get_uint64(p, &rl->options)) {
crypto/openssl/ssl/record/methods/tls_common.c
1212
p = OSSL_PARAM_locate_const(options, OSSL_LIBSSL_RECORD_LAYER_PARAM_MODE);
crypto/openssl/ssl/record/methods/tls_common.c
1219
p = OSSL_PARAM_locate_const(options,
crypto/openssl/ssl/record/methods/tls_common.c
1226
p = OSSL_PARAM_locate_const(options,
crypto/openssl/ssl/record/methods/tls_common.c
1232
p = OSSL_PARAM_locate_const(options,
crypto/openssl/ssl/record/methods/tls_common.c
1247
p = OSSL_PARAM_locate_const(options,
crypto/openssl/ssl/record/methods/tls_common.c
1263
const OSSL_PARAM *options,
crypto/openssl/ssl/record/methods/tls_common.c
1373
if (!tls_set_options(rl, options)) {
crypto/openssl/ssl/record/methods/tls_common.c
1378
if ((rl->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) == 0
crypto/openssl/ssl/record/methods/tls_common.c
1407
const OSSL_PARAM *settings, const OSSL_PARAM *options,
crypto/openssl/ssl/record/methods/tls_common.c
1416
options, fns, cbarg, retrl);
crypto/openssl/ssl/record/methods/tls_common.c
177
if ((rl->options & SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS) == 0)
crypto/openssl/ssl/record/methods/tls_common.c
282
if ((rl->options & SSL_OP_CLEANSE_PLAINTEXT) != 0)
crypto/openssl/ssl/record/rec_layer_d1.c
63
if (rl->s->options & SSL_OP_CLEANSE_PLAINTEXT)
crypto/openssl/ssl/record/rec_layer_s3.c
1201
&& (s->options & SSL_OP_ENABLE_KTLS) != 0
crypto/openssl/ssl/record/rec_layer_s3.c
1253
OSSL_PARAM options[5], *opts = options;
crypto/openssl/ssl/record/rec_layer_s3.c
1290
&s->options);
crypto/openssl/ssl/record/rec_layer_s3.c
1427
options, rlayer_dispatch_tmp, s,
crypto/openssl/ssl/record/rec_layer_s3.c
512
} else if ((s->options & SSL_OP_IGNORE_UNEXPECTED_EOF) != 0) {
crypto/openssl/ssl/s3_lib.c
4751
} else if (s->options & SSL_OP_CIPHER_SERVER_PREFERENCE) {
crypto/openssl/ssl/s3_lib.c
4758
if (s->options & SSL_OP_PRIORITIZE_CHACHA && sk_SSL_CIPHER_num(clnt) > 0) {
crypto/openssl/ssl/ssl_conf.c
1159
cctx->poptions = &sc->options;
crypto/openssl/ssl/ssl_conf.c
1183
cctx->poptions = &ctx->options;
crypto/openssl/ssl/ssl_lib.c
1894
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
1906
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
crypto/openssl/ssl/ssl_lib.c
2866
if ((sc->options & SSL_OP_NO_RENEGOTIATION) != 0) {
crypto/openssl/ssl/ssl_lib.c
2976
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
2985
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
crypto/openssl/ssl/ssl_lib.c
4157
ret->options |= SSL_OP_NO_TICKET;
crypto/openssl/ssl/ssl_lib.c
4213
ret->options |= SSL_OP_NO_COMPRESSION | SSL_OP_ENABLE_MIDDLEBOX_COMPAT;
crypto/openssl/ssl/ssl_lib.c
4748
&& (s->options & SSL_OP_NO_ANTI_REPLAY) == 0)
crypto/openssl/ssl/ssl_lib.c
4750
|| (s->options & SSL_OP_NO_TICKET) != 0))
crypto/openssl/ssl/ssl_lib.c
5181
retsc->options = sc->options;
crypto/openssl/ssl/ssl_lib.c
6231
return ctx->options;
crypto/openssl/ssl/ssl_lib.c
6246
return sc->options;
crypto/openssl/ssl/ssl_lib.c
6251
return ctx->options |= op;
crypto/openssl/ssl/ssl_lib.c
6257
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
6268
sc->options |= op;
crypto/openssl/ssl/ssl_lib.c
6271
&sc->options);
crypto/openssl/ssl/ssl_lib.c
6275
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
crypto/openssl/ssl/ssl_lib.c
6276
sc->rlayer.wrlmethod->set_options(sc->rlayer.wrl, options);
crypto/openssl/ssl/ssl_lib.c
6278
return sc->options;
crypto/openssl/ssl/ssl_lib.c
6283
return ctx->options &= ~op;
crypto/openssl/ssl/ssl_lib.c
6289
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
6299
sc->options &= ~op;
crypto/openssl/ssl/ssl_lib.c
6302
&sc->options);
crypto/openssl/ssl/ssl_lib.c
6306
sc->rlayer.rrlmethod->set_options(sc->rlayer.rrl, options);
crypto/openssl/ssl/ssl_lib.c
6307
sc->rlayer.wrlmethod->set_options(sc->rlayer.wrl, options);
crypto/openssl/ssl/ssl_lib.c
6309
return sc->options;
crypto/openssl/ssl/ssl_lib.c
753
s->options = ctx->options;
crypto/openssl/ssl/ssl_local.h
1591
uint64_t options;
crypto/openssl/ssl/ssl_local.h
922
uint64_t options;
crypto/openssl/ssl/statem/extensions.c
1753
if ((sc->options & SSL_OP_NO_RX_CERTIFICATE_COMPRESSION) != 0)
crypto/openssl/ssl/statem/extensions.c
1823
if ((sc->options & SSL_OP_NO_TX_CERTIFICATE_COMPRESSION) != 0)
crypto/openssl/ssl/statem/extensions.c
890
if (!(s->options & SSL_OP_LEGACY_SERVER_CONNECT)
crypto/openssl/ssl/statem/extensions.c
891
&& !(s->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)
crypto/openssl/ssl/statem/extensions.c
903
&& !(s->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)
crypto/openssl/ssl/statem/extensions_clnt.c
1812
if (!(s->options & SSL_OP_NO_ENCRYPT_THEN_MAC)
crypto/openssl/ssl/statem/extensions_clnt.c
1827
if (s->options & SSL_OP_NO_EXTENDED_MASTER_SECRET)
crypto/openssl/ssl/statem/extensions_clnt.c
520
if (s->options & SSL_OP_NO_ENCRYPT_THEN_MAC)
crypto/openssl/ssl/statem/extensions_clnt.c
558
if (s->options & SSL_OP_NO_EXTENDED_MASTER_SECRET)
crypto/openssl/ssl/statem/extensions_clnt.c
618
int nodhe = s->options & SSL_OP_ALLOW_NO_DHE_KEX;
crypto/openssl/ssl/statem/extensions_clnt.c
996
if ((s->options & SSL_OP_TLSEXT_PADDING) == 0)
crypto/openssl/ssl/statem/extensions_srvr.c
1254
if (s->options & SSL_OP_NO_EXTENDED_MASTER_SECRET)
crypto/openssl/ssl/statem/extensions_srvr.c
1436
if ((s->options & SSL_OP_NO_TICKET) != 0
crypto/openssl/ssl/statem/extensions_srvr.c
1438
&& (s->options & SSL_OP_NO_ANTI_REPLAY) == 0))
crypto/openssl/ssl/statem/extensions_srvr.c
1460
&& (s->options & SSL_OP_NO_ANTI_REPLAY) == 0
crypto/openssl/ssl/statem/extensions_srvr.c
558
if (!(s->options & SSL_OP_NO_ENCRYPT_THEN_MAC))
crypto/openssl/ssl/statem/extensions_srvr.c
586
&& (s->options & SSL_OP_ALLOW_NO_DHE_KEX) != 0)
crypto/openssl/ssl/statem/extensions_srvr.c
591
&& (s->options & SSL_OP_PREFER_NO_DHE_KEX) != 0) {
crypto/openssl/ssl/statem/extensions_srvr.c
921
if (s->options & SSL_OP_CIPHER_SERVER_PREFERENCE) {
crypto/openssl/ssl/statem/statem_clnt.c
1272
&& (s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0) {
crypto/openssl/ssl/statem/statem_clnt.c
1816
&& (s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) == 0)) {
crypto/openssl/ssl/statem/statem_clnt.c
3790
|| (s->options & SSL_OP_NO_TX_CERTIFICATE_COMPRESSION) != 0)
crypto/openssl/ssl/statem/statem_clnt.c
3850
|| (s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0)
crypto/openssl/ssl/statem/statem_clnt.c
3940
|| (sc->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0)
crypto/openssl/ssl/statem/statem_clnt.c
4046
if ((s->options & SSL_OP_NO_RENEGOTIATION)) {
crypto/openssl/ssl/statem/statem_clnt.c
478
else if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0
crypto/openssl/ssl/statem/statem_clnt.c
580
if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0)
crypto/openssl/ssl/statem/statem_clnt.c
599
if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0
crypto/openssl/ssl/statem/statem_clnt.c
814
if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) == 0) {
crypto/openssl/ssl/statem/statem_lib.c
1835
if (s->options & SSL_OP_NO_COMPRESSION)
crypto/openssl/ssl/statem/statem_lib.c
1938
if ((s->options & method->mask) != 0)
crypto/openssl/ssl/statem/statem_lib.c
2795
if ((ca_sk != NULL) && !(s->options & SSL_OP_DISABLE_TLSEXT_CA_NAMES)) {
crypto/openssl/ssl/statem/statem_lib.c
639
|| (s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0)
crypto/openssl/ssl/statem/statem_srvr.c
1056
|| (s->options & SSL_OP_NO_TX_CERTIFICATE_COMPRESSION) != 0)
crypto/openssl/ssl/statem/statem_srvr.c
1064
|| (s->options & SSL_OP_NO_TX_CERTIFICATE_COMPRESSION) != 0)
crypto/openssl/ssl/statem/statem_srvr.c
1500
#define RENEG_OPTIONS_OK(options) \
crypto/openssl/ssl/statem/statem_srvr.c
1501
((options & SSL_OP_NO_RENEGOTIATION) == 0 \
crypto/openssl/ssl/statem/statem_srvr.c
1502
&& (options & SSL_OP_ALLOW_CLIENT_RENEGOTIATION) != 0)
crypto/openssl/ssl/statem/statem_srvr.c
1517
if (!RENEG_OPTIONS_OK(s->options)
crypto/openssl/ssl/statem/statem_srvr.c
1519
&& (s->options
crypto/openssl/ssl/statem/statem_srvr.c
1898
if (clienthello->isv2 || (s->new_session && (s->options & SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION))) {
crypto/openssl/ssl/statem/statem_srvr.c
1976
if (s->options & SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
crypto/openssl/ssl/statem/statem_srvr.c
3068
if ((s->options & SSL_OP_TLS_ROLLBACK_BUG) != 0)
crypto/openssl/ssl/statem/statem_srvr.c
4317
&& ((s->options & SSL_OP_NO_TICKET) != 0
crypto/openssl/ssl/statem/statem_srvr.c
4319
&& (s->options & SSL_OP_NO_ANTI_REPLAY) == 0))) {
crypto/openssl/ssl/statem/statem_srvr.c
504
if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0
crypto/openssl/ssl/statem/statem_srvr.c
927
if ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) == 0
crypto/openssl/ssl/statem/statem_srvr.c
964
|| ((s->options & SSL_OP_ENABLE_MIDDLEBOX_COMPAT) != 0
crypto/openssl/ssl/t1_lib.c
1036
if (s->options & SSL_OP_CIPHER_SERVER_PREFERENCE) {
crypto/openssl/ssl/t1_lib.c
2970
if ((s->options & SSL_OP_NO_TICKET))
crypto/openssl/ssl/t1_lib.c
3544
if (s->options & SSL_OP_CIPHER_SERVER_PREFERENCE || is_suiteb) {
crypto/openssl/test/asn1_stable_parse_test.c
24
static const OPTIONS options[] = {
crypto/openssl/test/asn1_stable_parse_test.c
30
return options;
crypto/openssl/test/bio_prefix_text.c
264
opt_init(argc, argv, options);
crypto/openssl/test/bio_prefix_text.c
50
static const OPTIONS options[] = {
crypto/openssl/test/bioprinttest.c
270
static const OPTIONS options[] = {
crypto/openssl/test/bioprinttest.c
275
return options;
crypto/openssl/test/endecode_test.c
1326
static const OPTIONS options[] = {
crypto/openssl/test/endecode_test.c
1340
return options;
crypto/openssl/test/evp_extra_test.c
6254
static const OPTIONS options[] = {
crypto/openssl/test/evp_extra_test.c
6261
return options;
crypto/openssl/test/ml_dsa_test.c
555
static const OPTIONS options[] = {
crypto/openssl/test/ml_dsa_test.c
561
return options;
crypto/openssl/test/ml_kem_evp_extra_test.c
38
static const OPTIONS options[] = {
crypto/openssl/test/ml_kem_evp_extra_test.c
43
return options;
crypto/openssl/test/pkcs12_api_test.c
243
static const OPTIONS options[] = {
crypto/openssl/test/pkcs12_api_test.c
253
return options;
crypto/openssl/test/pkcs12_format_test.c
1048
static const OPTIONS options[] = {
crypto/openssl/test/pkcs12_format_test.c
1055
return options;
crypto/openssl/test/slh_dsa_test.c
635
static const OPTIONS options[] = {
crypto/openssl/test/slh_dsa_test.c
641
return options;
crypto/openssl/test/testutil.h
187
static const OPTIONS options[] = { \
crypto/openssl/test/testutil.h
191
return options; \
crypto/openssl/test/threadstest.c
1375
static const OPTIONS options[] = {
crypto/openssl/test/threadstest.c
1382
return options;
include/resolv.h
151
u_long options; /*%< option flags - see below. */
lib/libbe/be.c
391
be_destroy_internal(libbe_handle_t *lbh, const char *name, int options,
lib/libbe/be.c
404
force = options & BE_DESTROY_FORCE;
lib/libbe/be.c
444
options &= ~BE_DESTROY_WANTORIGIN;
lib/libbe/be.c
474
(options & BE_DESTROY_AUTOORIGIN) != 0)
lib/libbe/be.c
483
if ((options & BE_DESTROY_WANTORIGIN) != 0 &&
lib/libbe/be.c
486
(options & BE_DESTROY_ORIGIN) != 0)
lib/libbe/be.c
498
if ((options & BE_DESTROY_AUTOORIGIN) != 0 && *origin != '\0' &&
lib/libbe/be.c
500
options |= BE_DESTROY_ORIGIN;
lib/libbe/be.c
512
if ((options & BE_DESTROY_ORIGIN) == 0)
lib/libbe/be.c
529
options & ~BE_DESTROY_ORIGIN, true));
lib/libbe/be.c
533
be_destroy(libbe_handle_t *lbh, const char *name, int options)
lib/libbe/be.c
542
if ((options & BE_DESTROY_WANTORIGIN) == BE_DESTROY_WANTORIGIN)
lib/libbe/be.c
544
return (be_destroy_internal(lbh, name, options, false));
lib/libc/gen/fts-compat.c
118
__fts_open_44bsd(char * const *argv, int options,
lib/libc/gen/fts-compat.c
129
if (options & ~FTS_OPTIONMASK) {
lib/libc/gen/fts-compat.c
139
sp->fts_options = options;
lib/libc/gen/fts-compat11.c
107
freebsd11_fts_open(char * const *argv, int options,
lib/libc/gen/fts-compat11.c
117
if (options & ~FTS_OPTIONMASK) {
lib/libc/gen/fts-compat11.c
133
sp->fts_options = options;
lib/libc/gen/fts.c
228
fts_open(char * const *argv, int options,
lib/libc/gen/fts.c
235
if (options & ~FTS_OPTIONMASK) {
lib/libc/gen/fts.c
251
sp->fts_options = options;
lib/libc/gen/fts.c
258
fts_open_b(char * const *argv, int options,
lib/libc/gen/fts.c
262
fts_open_b(char * const *argv, int options, fts_block compar)
lib/libc/gen/fts.c
270
return (fts_open(argv, options, NULL));
lib/libc/gen/fts.c
279
if (options & ~FTS_OPTIONMASK) {
lib/libc/gen/fts.c
305
sp->fts_options = options | FTS_COMPAR_B;
lib/libc/net/getaddrinfo.c
1748
res_options = statp->options & (RES_RECURSE | RES_DEFNAMES |
lib/libc/net/getaddrinfo.c
2334
if ((res->options & RES_INIT) == 0 && res_ninit(res) == -1) {
lib/libc/net/getaddrinfo.c
2753
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2760
(res->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U)
lib/libc/net/getaddrinfo.c
2764
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2777
if ((res->options & (RES_USE_EDNS0|RES_USE_DNSSEC))
lib/libc/net/getaddrinfo.c
2781
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2809
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2820
if (res->options & RES_DEBUG)
lib/libc/net/getaddrinfo.c
2924
if ((!dots && (res->options & RES_DEFNAMES)) ||
lib/libc/net/getaddrinfo.c
2925
(dots && !trailing_dot && (res->options & RES_DNSRCH))) {
lib/libc/net/getaddrinfo.c
2978
if (!(res->options & RES_DNSRCH))
lib/libc/net/getaddrinfo.c
2999
if ((dots || !searched || !(res->options & RES_NOTLDQUERY)) &&
lib/libc/net/getaddrinfo.c
3037
if (res->options & RES_DEBUG)
lib/libc/net/gethostbydns.c
108
if (res->options & RES_DEBUG) {
lib/libc/net/gethostbydns.c
339
if (statp->options & RES_USE_INET6) {
lib/libc/net/gethostbydns.c
425
if (statp->options & RES_USE_INET6)
lib/libc/net/gethostbydns.c
662
old_options = statp->options;
lib/libc/net/gethostbydns.c
663
statp->options &= ~RES_DNSRCH;
lib/libc/net/gethostbydns.c
664
statp->options |= RES_DEFNAMES;
lib/libc/net/gethostbydns.c
674
statp->options = old_options;
lib/libc/net/gethostbydns.c
679
statp->options = old_options;
lib/libc/net/gethostbydns.c
700
if (af == AF_INET && (statp->options & RES_USE_INET6)) {
lib/libc/net/gethostbydns.c
765
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1)
lib/libc/net/gethostbydns.c
768
statp->options |= RES_STAYOPEN | RES_USEVC;
lib/libc/net/gethostbydns.c
777
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
252
statp->options & RES_USE_INET6) {
lib/libc/net/gethostbyht.c
316
statp->options & RES_USE_INET6) {
lib/libc/net/gethostbynis.c
106
if (statp->options & RES_USE_INET6) {
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
490
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/gethostnamadr.c
494
if (statp->options & RES_USE_INET6) {
lib/libc/net/gethostnamadr.c
514
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/gethostnamadr.c
609
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
284
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
335
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
343
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
391
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1) {
lib/libc/net/getnetbydns.c
416
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
423
if (statp->options & RES_DEBUG)
lib/libc/net/getnetbydns.c
450
if ((statp->options & RES_INIT) == 0 && res_ninit(statp) == -1)
lib/libc/net/getnetbydns.c
453
statp->options |= RES_STAYOPEN | RES_USEVC;
lib/libc/net/getnetbydns.c
462
statp->options &= ~(RES_STAYOPEN | RES_USEVC);
lib/libc/net/hesiod.c
354
if ((_res.options & RES_INIT) == 0 && res_init() == -1)
lib/libc/net/name6.c
221
u_long options;
lib/libc/net/name6.c
273
if ((statp->options & RES_INIT) == 0) {
lib/libc/net/name6.c
280
options = statp->options;
lib/libc/net/name6.c
281
statp->options &= ~RES_USE_INET6;
lib/libc/net/name6.c
310
statp->options = options;
lib/libc/net/name6.c
319
u_long options;
lib/libc/net/name6.c
368
if ((statp->options & RES_INIT) == 0) {
lib/libc/net/name6.c
375
options = statp->options;
lib/libc/net/name6.c
376
statp->options &= ~RES_USE_INET6;
lib/libc/net/name6.c
382
statp->options = options;
lib/libc/regex/grot/main.c
159
try(f[0], f[1], f[2], f[3], f[4], options('c', f[1]));
lib/libc/regex/grot/main.c
162
options('c', f[1]) &~ REG_EXTENDED);
lib/libc/regex/grot/main.c
244
if (options('e', f1)®_STARTEND) {
lib/libc/regex/grot/main.c
250
err = regexec(&re, f2copy, NSUBS, subs, options('e', f1));
lib/libc/regex/grot/main.c
47
copts = options('c', optarg);
lib/libc/regex/grot/main.c
50
eopts = options('e', optarg);
lib/libc/resolv/res_data.c
103
if (!(statp->options & RES_INIT))
lib/libc/resolv/res_data.c
104
statp->options = RES_DEFAULT;
lib/libc/resolv/res_data.c
122
if ((statp->options & RES_INIT) == 0U && res_init() == -1)
lib/libc/resolv/res_data.c
139
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
151
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
166
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
193
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
207
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
224
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
239
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
255
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_data.c
268
if ((statp->options & RES_INIT) == 0U && res_init() == -1) {
lib/libc/resolv/res_debug.c
134
if (statp->options & mask)
lib/libc/resolv/res_findzonecut.c
92
if ((statp->options & RES_DEBUG) != 0U) res_dprintf x; \
lib/libc/resolv/res_init.c
175
statp->options = RES_DEFAULT;
lib/libc/resolv/res_init.c
252
if (statp->options & RES_DEBUG) {
lib/libc/resolv/res_init.c
262
statp->options |= RES_NOALIASES;
lib/libc/resolv/res_init.c
265
statp->options |= RES_INIT;
lib/libc/resolv/res_init.c
676
res_setoptions(res_state statp, const char *options, const char *source)
lib/libc/resolv/res_init.c
678
const char *cp = options, *sp, *ep;
lib/libc/resolv/res_init.c
684
if (statp->options & RES_DEBUG) {
lib/libc/resolv/res_init.c
686
options, source);
lib/libc/resolv/res_init.c
711
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
720
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
730
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
737
if (!(statp->options & RES_DEBUG)) {
lib/libc/resolv/res_init.c
739
options, source);
lib/libc/resolv/res_init.c
742
statp->options |= RES_DEBUG;
lib/libc/resolv/res_init.c
747
statp->options &= ~RES_DEBUG;
lib/libc/resolv/res_init.c
749
statp->options &= ~RES_ROTATE;
lib/libc/resolv/res_init.c
752
statp->options |= RES_NOTLDQUERY;
lib/libc/resolv/res_init.c
754
statp->options |= RES_USE_INET6;
lib/libc/resolv/res_init.c
756
statp->options |= RES_INSECURE1;
lib/libc/resolv/res_init.c
758
statp->options |= RES_INSECURE2;
lib/libc/resolv/res_init.c
760
statp->options |= RES_BLAST;
lib/libc/resolv/res_init.c
762
statp->options |= RES_ROTATE;
lib/libc/resolv/res_init.c
764
statp->options |= RES_USEVC;
lib/libc/resolv/res_init.c
766
statp->options |= RES_NOCHECKNAME;
lib/libc/resolv/res_init.c
773
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_init.c
780
statp->options |= RES_USE_EDNS0;
lib/libc/resolv/res_init.c
784
statp->options |= RES_USE_DNAME;
lib/libc/resolv/res_init.c
800
statp->options |= RES_NO_NIBBLE2;
lib/libc/resolv/res_init.c
802
statp->options &= ~RES_NO_NIBBLE2;
lib/libc/resolv/res_init.c
868
statp->options &= ~RES_INIT;
lib/libc/resolv/res_mkquery.c
104
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_mkquery.c
118
hp->rd = (statp->options & RES_RECURSE) != 0U;
lib/libc/resolv/res_mkquery.c
209
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_mkquery.c
230
if (statp->options & RES_USE_DNSSEC) {
lib/libc/resolv/res_mkquery.c
232
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_mkquery.c
266
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_query.c
118
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
126
(statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC|RES_NSID))) {
lib/libc/resolv/res_query.c
128
if (n > 0 && (statp->options & RES_NSID) != 0U) {
lib/libc/resolv/res_query.c
137
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
148
if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U &&
lib/libc/resolv/res_query.c
151
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
157
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
166
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
266
if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
lib/libc/resolv/res_query.c
267
(dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) {
lib/libc/resolv/res_query.c
345
if ((statp->options & RES_DNSRCH) == 0U)
lib/libc/resolv/res_query.c
366
if ((dots || !searched || (statp->options & RES_NOTLDQUERY) == 0U) &&
lib/libc/resolv/res_query.c
408
if (statp->options & RES_DEBUG)
lib/libc/resolv/res_query.c
446
if (statp->options & RES_NOALIASES)
lib/libc/resolv/res_send.c
1008
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1014
if (!(statp->options & RES_INSECURE1) &&
lib/libc/resolv/res_send.c
1021
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1028
if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) {
lib/libc/resolv/res_send.c
1034
DprintQ(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1043
if (!(statp->options & RES_INSECURE2) &&
lib/libc/resolv/res_send.c
1051
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
1060
DprintQ(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1068
if (!(statp->options & RES_IGNTC) && anhp->tc) {
lib/libc/resolv/res_send.c
1073
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
1095
if ((statp->options & RES_DEBUG) != 0U) {
lib/libc/resolv/res_send.c
1113
if ((statp->options & RES_DEBUG) != 0U)
lib/libc/resolv/res_send.c
311
DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY),
lib/libc/resolv/res_send.c
313
v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
lib/libc/resolv/res_send.c
383
if ((statp->options & RES_ROTATE) != 0U &&
lib/libc/resolv/res_send.c
384
(statp->options & RES_BLAST) == 0U) {
lib/libc/resolv/res_send.c
456
Dprint(((statp->options & RES_DEBUG) &&
lib/libc/resolv/res_send.c
490
Dprint((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
495
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
505
if ((v_circuit && (statp->options & RES_USEVC) == 0U) ||
lib/libc/resolv/res_send.c
506
(statp->options & RES_STAYOPEN) == 0U) {
lib/libc/resolv/res_send.c
743
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
754
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
797
DprintQ((statp->options & RES_DEBUG) ||
lib/libc/resolv/res_send.c
884
if (!(statp->options & RES_INSECURE1) &&
lib/libc/resolv/res_send.c
892
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_send.c
897
if (statp->options & RES_INSECURE1) {
lib/libc/resolv/res_send.c
958
Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));
lib/libc/resolv/res_send.c
995
Dprint(statp->options & RES_DEBUG,
lib/libc/resolv/res_state.c
116
statp->options = RES_TIMEOUT; /* Motorola, et al. */
lib/libc/resolv/res_state.c
73
if ((statp->options & RES_INIT) == 0) {
lib/libc/resolv/res_state.c
91
statp->options &= ~RES_INIT;
lib/libc/resolv/res_update.c
86
if ((statp->options & RES_DEBUG) != 0U) res_dprintf x; \
lib/libc/stdlib/getopt_long.c
184
parse_long_options(char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
349
getopt_internal(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
356
if (options == NULL)
lib/libc/stdlib/getopt_long.c
372
if (*options == '-')
lib/libc/stdlib/getopt_long.c
374
else if (posixly_correct || *options == '+')
lib/libc/stdlib/getopt_long.c
376
if (*options == '+' || *options == '-')
lib/libc/stdlib/getopt_long.c
377
options++;
lib/libc/stdlib/getopt_long.c
407
(place[1] == '\0' && strchr(options, '-') == NULL)) {
lib/libc/stdlib/getopt_long.c
481
} else if (*place != ':' && strchr(options, *place) != NULL)
lib/libc/stdlib/getopt_long.c
484
optchar = parse_long_options(nargv, options, long_options,
lib/libc/stdlib/getopt_long.c
494
(oli = strchr(options, optchar)) == NULL) {
lib/libc/stdlib/getopt_long.c
530
optchar = parse_long_options(nargv, options, long_options,
lib/libc/stdlib/getopt_long.c
567
getopt(int nargc, char * const *nargv, const char *options)
lib/libc/stdlib/getopt_long.c
578
return (getopt_internal(nargc, nargv, options, NULL, NULL, 0));
lib/libc/stdlib/getopt_long.c
587
getopt_long(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
591
return (getopt_internal(nargc, nargv, options, long_options, idx,
lib/libc/stdlib/getopt_long.c
600
getopt_long_only(int nargc, char * const *nargv, const char *options,
lib/libc/stdlib/getopt_long.c
604
return (getopt_internal(nargc, nargv, options, long_options, idx,
lib/libc/stdlib/getopt_long.c
72
#define PRINT_ERROR ((opterr) && (*options != ':'))
lib/libc/stdlib/getopt_long.c
80
#define BADARG ((*options == ':') ? (int)':' : (int)'?')
lib/libc/sys/pdwait.c
16
pdwait(int fd, int *status, int options, struct __wrusage *ru,
lib/libc/sys/pdwait.c
19
return (INTERPOS_SYS(pdwait, fd, status, options, ru, infop));
lib/libc/sys/wait3.c
44
__wait3(int *istat, int options, struct rusage *rup)
lib/libc/sys/wait3.c
46
return (INTERPOS_SYS(wait4, WAIT_ANY, istat, options, rup));
lib/libc/sys/wait4.c
38
wait4(pid_t pid, int *status, int options, struct rusage *ru)
lib/libc/sys/wait4.c
40
return (INTERPOS_SYS(wait4, pid, status, options, ru));
lib/libc/sys/wait6.c
39
wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru,
lib/libc/sys/wait6.c
42
return (INTERPOS_SYS(wait6, idtype, id, status, options, ru, infop));
lib/libc/sys/waitpid.c
44
__waitpid(pid_t pid, int *istat, int options)
lib/libc/sys/waitpid.c
46
return (INTERPOS_SYS(wait4, pid, istat, options, NULL));
lib/libc/tests/nss/gethostby_test.c
954
if (statp == NULL || ((statp->options & RES_INIT) == 0 &&
lib/libc/tests/nss/gethostby_test.c
962
statp->options |= RES_USE_INET6;
lib/libc/tests/nss/gethostby_test.c
964
statp->options &= ~RES_USE_INET6;
lib/libfetch/http.c
1231
char *options = NULL;
lib/libfetch/http.c
1240
if (asprintf(&options, "%s%s%s%s",
lib/libfetch/http.c
1271
cnonce, noncecount, options);
lib/libfetch/http.c
1276
c->nonce, url->doc, digest, options);
lib/libfetch/http.c
1278
if (options)
lib/libfetch/http.c
1279
free(options);
lib/libifconfig/libifconfig_media.c
149
options[4];
lib/libifconfig/libifconfig_media.c
350
const char **options;
lib/libifconfig/libifconfig_media.c
362
for (size_t i = 0; ttos->options[i].desc != NULL; ++i) {
lib/libifconfig/libifconfig_media.c
363
if (ttos->options[i].alias)
lib/libifconfig/libifconfig_media.c
365
for (desc = ttos->options[i].desc;
lib/libifconfig/libifconfig_media.c
376
options = calloc(n + 1, sizeof(*options));
lib/libifconfig/libifconfig_media.c
377
if (options == NULL)
lib/libifconfig/libifconfig_media.c
380
options[n] = NULL;
lib/libifconfig/libifconfig_media.c
382
for (size_t i = 0; ttos->options[i].desc != NULL; ++i) {
lib/libifconfig/libifconfig_media.c
383
if (ttos->options[i].alias)
lib/libifconfig/libifconfig_media.c
385
for (desc = ttos->options[i].desc;
lib/libifconfig/libifconfig_media.c
388
options[n] = desc->ifmt_string;
lib/libifconfig/libifconfig_media.c
393
return (options);
lib/libifconfig/libifconfig_media.c
399
ifmedia_t *options;
lib/libifconfig/libifconfig_media.c
412
options = calloc(nopts, sizeof(*options));
lib/libifconfig/libifconfig_media.c
413
if (options == NULL)
lib/libifconfig/libifconfig_media.c
415
(void)memset(options, INVALID_IFMEDIA, nopts * sizeof(ifmedia_t));
lib/libifconfig/libifconfig_media.c
417
for (size_t i = 0; ttos->options[i].desc != NULL; ++i) {
lib/libifconfig/libifconfig_media.c
418
desc = ttos->options[i].desc;
lib/libifconfig/libifconfig_media.c
422
options[j] = opt->ifmt_word;
lib/libifconfig/libifconfig_media.c
425
return (options);
lib/libpam/modules/pam_exec/pam_exec.c
115
struct pe_opts *options)
lib/libpam/modules/pam_exec/pam_exec.c
126
memset(options, 0, sizeof(*options));
lib/libpam/modules/pam_exec/pam_exec.c
133
options->capture_stdout = 1;
lib/libpam/modules/pam_exec/pam_exec.c
135
options->capture_stderr = 1;
lib/libpam/modules/pam_exec/pam_exec.c
137
options->return_prog_exit_status = 1;
lib/libpam/modules/pam_exec/pam_exec.c
139
options->expose_authtok = 1;
lib/libpam/modules/pam_exec/pam_exec.c
141
options->use_first_pass = 1;
lib/libpam/modules/pam_exec/pam_exec.c
162
struct pe_opts *options)
lib/libpam/modules/pam_exec/pam_exec.c
204
if (options->return_prog_exit_status)
lib/libpam/modules/pam_exec/pam_exec.c
234
if (options->return_prog_exit_status) {
lib/libpam/modules/pam_exec/pam_exec.c
247
if (options->expose_authtok) {
lib/libpam/modules/pam_exec/pam_exec.c
256
if (options->use_first_pass ||
lib/libpam/modules/pam_exec/pam_exec.c
281
if (options->capture_stdout) {
lib/libpam/modules/pam_exec/pam_exec.c
296
if (options->capture_stderr) {
lib/libpam/modules/pam_exec/pam_exec.c
349
if (options->capture_stdout) {
lib/libpam/modules/pam_exec/pam_exec.c
355
if (options->capture_stderr) {
lib/libpam/modules/pam_exec/pam_exec.c
361
if (options->expose_authtok) {
lib/libpam/modules/pam_exec/pam_exec.c
389
if (options->expose_authtok && authtok_size > 0 &&
lib/libpam/modules/pam_exec/pam_exec.c
431
if (options->return_prog_exit_status) {
lib/libpam/modules/pam_exec/pam_exec.c
467
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
469
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
473
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
508
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
510
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
514
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
548
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
550
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
554
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
588
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
590
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
594
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
625
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
627
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
631
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
662
struct pe_opts options;
lib/libpam/modules/pam_exec/pam_exec.c
664
ret = parse_options(__func__, &argc, &argv, &options);
lib/libpam/modules/pam_exec/pam_exec.c
668
ret = _pam_exec(pamh, __func__, flags, argc, argv, &options);
lib/librpcsec_gss/rpcsec_gss.c
125
rpc_gss_options_ret_t options;
lib/librpcsec_gss/rpcsec_gss.c
150
options_ret = &options;
lib/librpcsec_gss/rpcsec_gss.c
491
rpc_gss_options_ret_t options;
lib/librpcsec_gss/rpcsec_gss.c
503
memset(&options, 0, sizeof(options));
lib/librpcsec_gss/rpcsec_gss.c
504
return (rpc_gss_init(auth, &options));
lib/libsys/_libsys.h
487
int __sys_wait4(int pid, int * status, int options, struct rusage * rusage);
lib/libsys/_libsys.h
821
int __sys_wait6(idtype_t idtype, id_t id, int * status, int options, struct __wrusage * wrusage, struct __siginfo * info);
lib/libsys/_libsys.h
888
int __sys_pdwait(int fd, int * status, int options, struct __wrusage * wrusage, struct __siginfo * info);
lib/libsysdecode/flags.c
832
sysdecode_wait4_options(FILE *fp, int options, int *rem)
lib/libsysdecode/flags.c
838
if (options == 0) {
lib/libsysdecode/flags.c
849
opt6 = options & (WEXITED | WTRAPPED);
lib/libsysdecode/flags.c
850
options &= ~opt6;
lib/libsysdecode/flags.c
851
printed = print_mask_int(fp, wait6opt, options, rem);
lib/libsysdecode/flags.c
858
sysdecode_wait6_options(FILE *fp, int options, int *rem)
lib/libsysdecode/flags.c
861
return (print_mask_int(fp, wait6opt, options, rem));
lib/libtacplus/taclib.c
820
int options;
lib/libtacplus/taclib.c
864
options = 0;
lib/libtacplus/taclib.c
867
options |= TAC_SRVR_SINGLE_CONNECT;
lib/libtacplus/taclib.c
871
options, (const char *const *)(fields + i)) == -1) {
lib/libthr/thread/thr_syscalls.c
556
__thr_wait4(pid_t pid, int *status, int options, struct rusage *rusage)
lib/libthr/thread/thr_syscalls.c
563
ret = __sys_wait4(pid, status, options, rusage);
lib/libthr/thread/thr_syscalls.c
574
__thr_wait6(idtype_t idtype, id_t id, int *status, int options,
lib/libthr/thread/thr_syscalls.c
582
ret = __sys_wait6(idtype, id, status, options, ru, infop);
lib/libthr/thread/thr_syscalls.c
588
__thr_pdwait(int fd, int *status, int options, struct __wrusage *ru,
lib/libthr/thread/thr_syscalls.c
596
ret = __sys_pdwait(fd, status, options, ru, infop);
lib/libutil/mntopts.c
49
getmntopts(const char *options, const struct mntopt *m0, int *flagp,
lib/libutil/mntopts.c
58
if ((optbuf = strdup(options)) == NULL)
libexec/flua/modules/lposix.c
457
int options, status;
libexec/flua/modules/lposix.c
461
options = luaL_optinteger(L, 2, 0);
libexec/flua/modules/lposix.c
464
pid = waitpid(pid, &status, options);
libexec/tftpd/tests/functional.c
1041
char options[] = OPTION_STR("windowsize", "2");
libexec/tftpd/tests/functional.c
1051
recv_oack(options, sizeof(options) - 1);
libexec/tftpd/tests/functional.c
1168
char options[] = OPTION_STR("windowsize", "4");
libexec/tftpd/tests/functional.c
1182
recv_oack(options, sizeof(options) - 1);
libexec/tftpd/tests/functional.c
184
#define SEND_RRQ_OPT(filename, mode, options) \
libexec/tftpd/tests/functional.c
185
SEND_STR("\0\001" filename "\0" mode "\000" options)
libexec/tftpd/tests/functional.c
198
#define SEND_WRQ_OPT(filename, mode, options) \
libexec/tftpd/tests/functional.c
199
SEND_STR("\0\002" filename "\0" mode "\000" options)
libexec/tftpd/tests/functional.c
656
char options[] = OPTION_STR("windowsize", "2");
libexec/tftpd/tests/functional.c
667
recv_oack(options, sizeof(options) - 1);
libexec/tftpd/tests/functional.c
760
char options[] = OPTION_STR("windowsize", "4");
libexec/tftpd/tests/functional.c
774
recv_oack(options, sizeof(options) - 1);
libexec/tftpd/tests/functional.c
92
recv_oack(const char *options, size_t options_len)
libexec/tftpd/tests/functional.c
95
RECV(hdr, options, options_len);
libexec/tftpd/tftp-io.c
293
for (i = 0; options[i].o_type != NULL; i++) {
libexec/tftpd/tftp-io.c
294
if (options[i].o_reply != NULL) {
libexec/tftpd/tftp-io.c
295
n = snprintf(bp, size, "%s%c%s", options[i].o_type,
libexec/tftpd/tftp-io.c
296
0, options[i].o_reply);
libexec/tftpd/tftp-options.c
104
if (options[opt].o_reply != NULL &&
libexec/tftpd/tftp-options.c
105
options[opt].o_reply != options[opt].o_request)
libexec/tftpd/tftp-options.c
106
free(options[opt].o_reply);
libexec/tftpd/tftp-options.c
107
options[opt].o_reply = str;
libexec/tftpd/tftp-options.c
115
if (options[opt].o_reply != NULL &&
libexec/tftpd/tftp-options.c
116
options[opt].o_reply != options[opt].o_request)
libexec/tftpd/tftp-options.c
117
free(options[opt].o_reply);
libexec/tftpd/tftp-options.c
118
options[opt].o_reply = options[opt].o_request;
libexec/tftpd/tftp-options.c
143
if (options[OPT_TSIZE].o_request == NULL)
libexec/tftpd/tftp-options.c
159
if (options[OPT_TIMEOUT].o_request == NULL)
libexec/tftpd/tftp-options.c
162
to = atoi(options[OPT_TIMEOUT].o_request);
libexec/tftpd/tftp-options.c
180
options[OPT_TIMEOUT].o_reply);
libexec/tftpd/tftp-options.c
189
if (options[OPT_ROLLOVER].o_request == NULL)
libexec/tftpd/tftp-options.c
192
if (strcmp(options[OPT_ROLLOVER].o_request, "0") != 0
libexec/tftpd/tftp-options.c
193
&& strcmp(options[OPT_ROLLOVER].o_request, "1") != 0) {
libexec/tftpd/tftp-options.c
198
options[OPT_ROLLOVER].o_request);
libexec/tftpd/tftp-options.c
209
options[OPT_ROLLOVER].o_reply);
libexec/tftpd/tftp-options.c
220
if (options[OPT_BLKSIZE].o_request == NULL)
libexec/tftpd/tftp-options.c
232
int size = atoi(options[OPT_BLKSIZE].o_request);
libexec/tftpd/tftp-options.c
271
options[OPT_BLKSIZE].o_reply);
libexec/tftpd/tftp-options.c
288
if (options[OPT_BLKSIZE2].o_request == NULL)
libexec/tftpd/tftp-options.c
299
size = atoi(options[OPT_BLKSIZE2].o_request);
libexec/tftpd/tftp-options.c
325
options[OPT_BLKSIZE2].o_reply);
libexec/tftpd/tftp-options.c
335
if (options[OPT_WINDOWSIZE].o_request == NULL)
libexec/tftpd/tftp-options.c
338
size = atoi(options[OPT_WINDOWSIZE].o_request);
libexec/tftpd/tftp-options.c
360
options[OPT_WINDOWSIZE].o_reply);
libexec/tftpd/tftp-options.c
378
for (i = 0; options[i].o_type != NULL; i++) {
libexec/tftpd/tftp-options.c
379
if (options[i].rfc == 0 && !options_extra_enabled)
libexec/tftpd/tftp-options.c
382
option = options[i].o_type;
libexec/tftpd/tftp-options.c
384
value = options[i].o_request;
libexec/tftpd/tftp-options.c
386
value = options[i].o_reply;
libexec/tftpd/tftp-options.c
442
for (i = 0; options[i].o_type != NULL; i++) {
libexec/tftpd/tftp-options.c
443
if (strcmp(option, options[i].o_type) == 0) {
libexec/tftpd/tftp-options.c
446
if (!options_extra_enabled && !options[i].rfc) {
libexec/tftpd/tftp-options.c
453
if (options[i].o_handler)
libexec/tftpd/tftp-options.c
455
(options[i].o_handler)(peer);
libexec/tftpd/tftp-options.c
459
if (options[i].o_type == NULL)
libexec/tftpd/tftp-options.c
51
struct options options[] = {
libexec/tftpd/tftp-options.c
81
if (options[opt].o_request != NULL &&
libexec/tftpd/tftp-options.c
82
options[opt].o_request != options[opt].o_reply)
libexec/tftpd/tftp-options.c
83
free(options[opt].o_request);
libexec/tftpd/tftp-options.c
84
options[opt].o_request = str;
libexec/tftpd/tftp-options.h
55
extern struct options options[];
libexec/tftpd/tftp-transfer.c
217
if (options[OPT_ROLLOVER].o_request == NULL) {
libexec/tftpd/tftp-transfer.c
225
*block = atoi(options[OPT_ROLLOVER].o_request);
libexec/tftpd/tftp-transfer.c
291
if (options[OPT_ROLLOVER].o_request == NULL) {
libexec/tftpd/tftp-transfer.c
299
*block = atoi(options[OPT_ROLLOVER].o_request);
sbin/camcontrol/camcontrol.c
9549
int options = 0;
sbin/camcontrol/camcontrol.c
9566
options |= RSO_OPTIONS_OC;
sbin/camcontrol/camcontrol.c
9576
options |= RSO_RCTD;
sbin/camcontrol/camcontrol.c
9582
options |= RSO_OPTIONS_OC_SA;
sbin/camcontrol/camcontrol.c
9584
options &= ~RSO_OPTIONS_OC;
sbin/camcontrol/camcontrol.c
9605
/*options*/ options,
sbin/camcontrol/camcontrol.c
9634
if (((options & RSO_OPTIONS_MASK) == RSO_OPTIONS_ALL)
sbin/camcontrol/camcontrol.c
9638
} else if (((options & RSO_OPTIONS_MASK) != RSO_OPTIONS_ALL)
sbin/ccdconfig/ccdconfig.c
103
++options;
sbin/ccdconfig/ccdconfig.c
116
++options;
sbin/ccdconfig/ccdconfig.c
121
++options;
sbin/ccdconfig/ccdconfig.c
135
if (options > 1)
sbin/ccdconfig/ccdconfig.c
92
int ch, options = 0, action = CCD_CONFIG;
sbin/ccdconfig/ccdconfig.c
98
++options;
sbin/devd/parse.y
76
: OPTIONS BEGINBLOCK options ENDBLOCK SEMICOLON
sbin/devd/parse.y
79
options
sbin/devd/parse.y
81
| options option
sbin/dhclient/clparse.c
669
parse_option_decl(cfile, lease->options);
sbin/dhclient/clparse.c
684
parse_option_decl(FILE *cfile, struct option_data *options)
sbin/dhclient/clparse.c
877
options[option->code].data = malloc(hunkix + nul_term);
sbin/dhclient/clparse.c
878
if (!options[option->code].data)
sbin/dhclient/clparse.c
880
memcpy(options[option->code].data, hunkbuf, hunkix + nul_term);
sbin/dhclient/clparse.c
881
options[option->code].len = hunkix;
sbin/dhclient/dhclient.c
1035
const char *name = packet->options[DHO_DHCP_MESSAGE_TYPE].len ?
sbin/dhclient/dhclient.c
1054
if (!packet->options[ip->client->config->
sbin/dhclient/dhclient.c
1080
if (!packet->options[DHO_DHCP_MESSAGE_TYPE].len)
sbin/dhclient/dhclient.c
1172
if (packet->options[i].len) {
sbin/dhclient/dhclient.c
1182
lease->options[i].data =
sbin/dhclient/dhclient.c
1183
malloc(packet->options[i].len + 1);
sbin/dhclient/dhclient.c
1184
if (!lease->options[i].data) {
sbin/dhclient/dhclient.c
1189
memcpy(lease->options[i].data,
sbin/dhclient/dhclient.c
1190
packet->options[i].data,
sbin/dhclient/dhclient.c
1191
packet->options[i].len);
sbin/dhclient/dhclient.c
1192
lease->options[i].len =
sbin/dhclient/dhclient.c
1193
packet->options[i].len;
sbin/dhclient/dhclient.c
1194
lease->options[i].data[lease->options[i].len] =
sbin/dhclient/dhclient.c
1218
if ((!packet->options[DHO_DHCP_OPTION_OVERLOAD].len ||
sbin/dhclient/dhclient.c
1219
!(packet->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 2)) &&
sbin/dhclient/dhclient.c
1251
if ((!packet->options[DHO_DHCP_OPTION_OVERLOAD].len ||
sbin/dhclient/dhclient.c
1252
!(packet->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 1)) &&
sbin/dhclient/dhclient.c
1670
struct tree_cache *options[256];
sbin/dhclient/dhclient.c
1675
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1680
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1681
options[i]->value = &discover;
sbin/dhclient/dhclient.c
1682
options[i]->len = sizeof(discover);
sbin/dhclient/dhclient.c
1683
options[i]->buf_size = sizeof(discover);
sbin/dhclient/dhclient.c
1684
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1688
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1689
options[i]->value = ip->client->config->requested_options;
sbin/dhclient/dhclient.c
1690
options[i]->len = ip->client->config->requested_option_count;
sbin/dhclient/dhclient.c
1691
options[i]->buf_size =
sbin/dhclient/dhclient.c
1693
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1699
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1700
options[i]->value = lease->address.iabuf;
sbin/dhclient/dhclient.c
1701
options[i]->len = lease->address.len;
sbin/dhclient/dhclient.c
1702
options[i]->buf_size = lease->address.len;
sbin/dhclient/dhclient.c
1703
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1709
if (!options[i] &&
sbin/dhclient/dhclient.c
1711
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1712
options[i]->value =
sbin/dhclient/dhclient.c
1714
options[i]->len =
sbin/dhclient/dhclient.c
1716
options[i]->buf_size =
sbin/dhclient/dhclient.c
1718
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1722
if (!options[DHO_HOST_NAME]) {
sbin/dhclient/dhclient.c
1730
options[DHO_HOST_NAME] = &option_elements[DHO_HOST_NAME];
sbin/dhclient/dhclient.c
1731
options[DHO_HOST_NAME]->value = hostname;
sbin/dhclient/dhclient.c
1732
options[DHO_HOST_NAME]->len = len;
sbin/dhclient/dhclient.c
1733
options[DHO_HOST_NAME]->buf_size = len;
sbin/dhclient/dhclient.c
1734
options[DHO_HOST_NAME]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1740
if (!options[DHO_DHCP_CLIENT_IDENTIFIER]) {
sbin/dhclient/dhclient.c
1745
options[DHO_DHCP_CLIENT_IDENTIFIER] = &option_elements[DHO_DHCP_CLIENT_IDENTIFIER];
sbin/dhclient/dhclient.c
1746
options[DHO_DHCP_CLIENT_IDENTIFIER]->value = client_ident;
sbin/dhclient/dhclient.c
1747
options[DHO_DHCP_CLIENT_IDENTIFIER]->len = hwlen+1;
sbin/dhclient/dhclient.c
1748
options[DHO_DHCP_CLIENT_IDENTIFIER]->buf_size = hwlen+1;
sbin/dhclient/dhclient.c
1749
options[DHO_DHCP_CLIENT_IDENTIFIER]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1754
options, 0, 0, 0, NULL, 0);
sbin/dhclient/dhclient.c
1783
struct tree_cache *options[256];
sbin/dhclient/dhclient.c
1787
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1792
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1793
options[i]->value = &request;
sbin/dhclient/dhclient.c
1794
options[i]->len = sizeof(request);
sbin/dhclient/dhclient.c
1795
options[i]->buf_size = sizeof(request);
sbin/dhclient/dhclient.c
1796
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1800
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1801
options[i]->value = ip->client->config->requested_options;
sbin/dhclient/dhclient.c
1802
options[i]->len = ip->client->config->requested_option_count;
sbin/dhclient/dhclient.c
1803
options[i]->buf_size =
sbin/dhclient/dhclient.c
1805
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1812
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1813
options[i]->value = lease->options[i].data;
sbin/dhclient/dhclient.c
1814
options[i]->len = lease->options[i].len;
sbin/dhclient/dhclient.c
1815
options[i]->buf_size = lease->options[i].len;
sbin/dhclient/dhclient.c
1816
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1822
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1823
options[i]->value = lease->address.iabuf;
sbin/dhclient/dhclient.c
1824
options[i]->len = lease->address.len;
sbin/dhclient/dhclient.c
1825
options[i]->buf_size = lease->address.len;
sbin/dhclient/dhclient.c
1826
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1832
if (!options[i] &&
sbin/dhclient/dhclient.c
1834
options[i] = &option_elements[i];
sbin/dhclient/dhclient.c
1835
options[i]->value =
sbin/dhclient/dhclient.c
1837
options[i]->len =
sbin/dhclient/dhclient.c
1839
options[i]->buf_size =
sbin/dhclient/dhclient.c
1841
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1845
if (!options[DHO_HOST_NAME]) {
sbin/dhclient/dhclient.c
1853
options[DHO_HOST_NAME] = &option_elements[DHO_HOST_NAME];
sbin/dhclient/dhclient.c
1854
options[DHO_HOST_NAME]->value = hostname;
sbin/dhclient/dhclient.c
1855
options[DHO_HOST_NAME]->len = len;
sbin/dhclient/dhclient.c
1856
options[DHO_HOST_NAME]->buf_size = len;
sbin/dhclient/dhclient.c
1857
options[DHO_HOST_NAME]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1863
if (!options[DHO_DHCP_CLIENT_IDENTIFIER]) {
sbin/dhclient/dhclient.c
1868
options[DHO_DHCP_CLIENT_IDENTIFIER] = &option_elements[DHO_DHCP_CLIENT_IDENTIFIER];
sbin/dhclient/dhclient.c
1869
options[DHO_DHCP_CLIENT_IDENTIFIER]->value = client_ident;
sbin/dhclient/dhclient.c
1870
options[DHO_DHCP_CLIENT_IDENTIFIER]->len = hwlen+1;
sbin/dhclient/dhclient.c
1871
options[DHO_DHCP_CLIENT_IDENTIFIER]->buf_size = hwlen+1;
sbin/dhclient/dhclient.c
1872
options[DHO_DHCP_CLIENT_IDENTIFIER]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1877
options, 0, 0, 0, NULL, 0);
sbin/dhclient/dhclient.c
1915
struct tree_cache *options[256], message_type_tree;
sbin/dhclient/dhclient.c
1921
memset(options, 0, sizeof(options));
sbin/dhclient/dhclient.c
1926
options[i] = &message_type_tree;
sbin/dhclient/dhclient.c
1927
options[i]->value = &decline;
sbin/dhclient/dhclient.c
1928
options[i]->len = sizeof(decline);
sbin/dhclient/dhclient.c
1929
options[i]->buf_size = sizeof(decline);
sbin/dhclient/dhclient.c
1930
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1934
options[i] = &server_id_tree;
sbin/dhclient/dhclient.c
1935
options[i]->value = lease->options[i].data;
sbin/dhclient/dhclient.c
1936
options[i]->len = lease->options[i].len;
sbin/dhclient/dhclient.c
1937
options[i]->buf_size = lease->options[i].len;
sbin/dhclient/dhclient.c
1938
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1942
options[i] = &requested_address_tree;
sbin/dhclient/dhclient.c
1943
options[i]->value = lease->address.iabuf;
sbin/dhclient/dhclient.c
1944
options[i]->len = lease->address.len;
sbin/dhclient/dhclient.c
1945
options[i]->buf_size = lease->address.len;
sbin/dhclient/dhclient.c
1946
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1951
options[i] = &client_id_tree;
sbin/dhclient/dhclient.c
1952
options[i]->value = ip->client->config->send_options[i].data;
sbin/dhclient/dhclient.c
1953
options[i]->len = ip->client->config->send_options[i].len;
sbin/dhclient/dhclient.c
1954
options[i]->buf_size = ip->client->config->send_options[i].len;
sbin/dhclient/dhclient.c
1955
options[i]->timeout = 0xFFFFFFFF;
sbin/dhclient/dhclient.c
1961
options, 0, 0, 0, NULL, 0);
sbin/dhclient/dhclient.c
1996
if (lease->options[i].len)
sbin/dhclient/dhclient.c
1997
free(lease->options[i].data);
sbin/dhclient/dhclient.c
2081
if (lease->options[i].len)
sbin/dhclient/dhclient.c
2084
pretty_print_option(i, lease->options[i].data,
sbin/dhclient/dhclient.c
2085
lease->options[i].len, 1, 1));
sbin/dhclient/dhclient.c
2183
dp = lease->options[DHO_SUBNET_MASK].data;
sbin/dhclient/dhclient.c
2184
len = lease->options[DHO_SUBNET_MASK].len;
sbin/dhclient/dhclient.c
2195
if (!lease->options[DHO_BROADCAST_ADDRESS].len) {
sbin/dhclient/dhclient.c
2214
if (lease->options[i].len) {
sbin/dhclient/dhclient.c
2218
dp = lease->options[i].data;
sbin/dhclient/dhclient.c
2219
len = lease->options[i].len;
sbin/dhclient/dhclient.c
2231
lease->options[i].len;
sbin/dhclient/dhclient.c
2246
lease->options[i].data,
sbin/dhclient/dhclient.c
2247
lease->options[i].len);
sbin/dhclient/dhclient.c
2259
lease->options[i].len;
sbin/dhclient/dhclient.c
2267
lease->options[i].data,
sbin/dhclient/dhclient.c
2268
lease->options[i].len);
sbin/dhclient/dhclient.c
2269
for (dp = dbuf + lease->options[i].len;
sbin/dhclient/dhclient.c
2287
} else if (lease->options[i].len) {
sbin/dhclient/dhclient.c
2288
len = lease->options[i].len;
sbin/dhclient/dhclient.c
2289
dp = lease->options[i].data;
sbin/dhclient/dhclient.c
2327
hdr.len += sizeof(lease->options[i].len);
sbin/dhclient/dhclient.c
2328
hdr.len += lease->options[i].len;
sbin/dhclient/dhclient.c
2347
errs += buf_add(buf, &lease->options[i].len,
sbin/dhclient/dhclient.c
2348
sizeof(lease->options[i].len));
sbin/dhclient/dhclient.c
2349
errs += buf_add(buf, lease->options[i].data,
sbin/dhclient/dhclient.c
2350
lease->options[i].len);
sbin/dhclient/dhclient.c
2576
opbuf = pretty_print_option(option, l->options[option].data,
sbin/dhclient/dhclient.c
2577
l->options[option].len, 0, 0);
sbin/dhclient/dhclient.c
2579
sbuf = option_as_string(option, l->options[option].data,
sbin/dhclient/dhclient.c
2580
l->options[option].len);
sbin/dhclient/dhclient.c
2623
l->options[option].len = 0;
sbin/dhclient/dhclient.c
2624
free(l->options[option].data);
sbin/dhclient/dhclient.c
2633
l->options[option].len = 0;
sbin/dhclient/dhclient.c
2634
free(l->options[option].data);
sbin/dhclient/dhclient.c
2688
return (check_classless_option(l->options[option].data,
sbin/dhclient/dhclient.c
2689
l->options[option].len));
sbin/dhclient/dhclient.c
732
if (!picked->options[DHO_DHCP_MESSAGE_TYPE].len) {
sbin/dhclient/dhclient.c
806
else if (ip->client->new->options[DHO_DHCP_LEASE_TIME].len >= 4)
sbin/dhclient/dhclient.c
808
ip->client->new->options[DHO_DHCP_LEASE_TIME].data);
sbin/dhclient/dhclient.c
829
else if (ip->client->new->options[DHO_DHCP_RENEWAL_TIME].len >= 4)
sbin/dhclient/dhclient.c
831
ip->client->new->options[DHO_DHCP_RENEWAL_TIME].data);
sbin/dhclient/dhclient.c
843
else if (ip->client->new->options[DHO_DHCP_REBINDING_TIME].len >= 4)
sbin/dhclient/dhclient.c
845
ip->client->new->options[DHO_DHCP_REBINDING_TIME].data);
sbin/dhclient/dhclient.c
868
opt = &ip->client->new->options[DHO_INTERFACE_MTU];
sbin/dhclient/dhclient.c
881
opt = &ip->client->active->options[DHO_INTERFACE_MTU];
sbin/dhclient/dhclient.c
953
dp = ip->client->active->options[DHO_DHCP_SERVER_IDENTIFIER].data;
sbin/dhclient/dhclient.c
954
len = ip->client->active->options[DHO_DHCP_SERVER_IDENTIFIER].len;
sbin/dhclient/dhcp.h
74
unsigned char options[DHCP_OPTION_LEN];
sbin/dhclient/dhcpd.h
114
struct option_data options[256];
sbin/dhclient/dhcpd.h
133
struct option_data options[256];
sbin/dhclient/options.c
169
if (!packet->options[code].data) {
sbin/dhclient/options.c
179
packet->options[code].len = len;
sbin/dhclient/options.c
180
packet->options[code].data = t;
sbin/dhclient/options.c
187
t = calloc(1, len + packet->options[code].len + 1);
sbin/dhclient/options.c
191
memcpy(t, packet->options[code].data,
sbin/dhclient/options.c
192
packet->options[code].len);
sbin/dhclient/options.c
193
memcpy(t + packet->options[code].len,
sbin/dhclient/options.c
195
packet->options[code].len += len;
sbin/dhclient/options.c
196
t[packet->options[code].len] = 0;
sbin/dhclient/options.c
197
free(packet->options[code].data);
sbin/dhclient/options.c
198
packet->options[code].data = t;
sbin/dhclient/options.c
219
if (packet->options[DHO_DOMAIN_SEARCH].data == NULL)
sbin/dhclient/options.c
222
option = &packet->options[DHO_DOMAIN_SEARCH];
sbin/dhclient/options.c
382
int mms, struct tree_cache **options,
sbin/dhclient/options.c
402
inpacket->options[DHO_DHCP_MAX_MESSAGE_SIZE].data &&
sbin/dhclient/options.c
403
(inpacket->options[DHO_DHCP_MAX_MESSAGE_SIZE].len >=
sbin/dhclient/options.c
406
inpacket->options[DHO_DHCP_MAX_MESSAGE_SIZE].data);
sbin/dhclient/options.c
431
inpacket->options[DHO_DHCP_PARAMETER_REQUEST_LIST].data) {
sbin/dhclient/options.c
433
inpacket->options[DHO_DHCP_PARAMETER_REQUEST_LIST].len;
sbin/dhclient/options.c
438
inpacket->options[DHO_DHCP_PARAMETER_REQUEST_LIST].data,
sbin/dhclient/options.c
461
options, priority_list, priority_len, main_buffer_size,
sbin/dhclient/options.c
466
memcpy(outpacket->options, DHCP_OPTIONS_COOKIE, 4);
sbin/dhclient/options.c
475
memcpy(&outpacket->options[mainbufix],
sbin/dhclient/options.c
479
outpacket->options[mainbufix++] = DHO_END;
sbin/dhclient/options.c
482
outpacket->options[mainbufix++] = DHO_DHCP_OPTION_OVERLOAD;
sbin/dhclient/options.c
483
outpacket->options[mainbufix++] = 1;
sbin/dhclient/options.c
486
outpacket->options[mainbufix++] = 3;
sbin/dhclient/options.c
488
outpacket->options[mainbufix++] = 1;
sbin/dhclient/options.c
490
memcpy(&outpacket->options[mainbufix],
sbin/dhclient/options.c
527
store_options(unsigned char *buffer, int buflen, struct tree_cache **options,
sbin/dhclient/options.c
552
if (!options[code]) {
sbin/dhclient/options.c
565
length = options[code]->len;
sbin/dhclient/options.c
615
options[code]->value + ix, incr - 1);
sbin/dhclient/options.c
619
options[code]->value + ix, incr);
sbin/dhclient/options.c
71
memset(packet->options, 0, sizeof(packet->options));
sbin/dhclient/options.c
74
if (memcmp(packet->raw->options, DHCP_OPTIONS_COOKIE, 4)) {
sbin/dhclient/options.c
83
parse_option_buffer(packet, &packet->raw->options[4],
sbin/dhclient/options.c
890
tp.options[DHO_DHCP_MESSAGE_TYPE].data)
sbin/dhclient/options.c
891
tp.packet_type = tp.options[DHO_DHCP_MESSAGE_TYPE].data[0];
sbin/dhclient/options.c
899
free(tp.options[i].data);
sbin/dhclient/options.c
91
packet->options[DHO_DHCP_OPTION_OVERLOAD].data) {
sbin/dhclient/options.c
92
if (packet->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 1)
sbin/dhclient/options.c
96
if (packet->options[DHO_DHCP_OPTION_OVERLOAD].data[0] & 2)
sbin/dhclient/privsep.c
193
lease.options[i].data = NULL;
sbin/dhclient/privsep.c
194
lease.options[i].len = optlen;
sbin/dhclient/privsep.c
199
lease.options[i].data =
sbin/dhclient/privsep.c
201
if (lease.options[i].data == NULL)
sbin/dhclient/privsep.c
203
buf_read(fd, lease.options[i].data, optlen);
sbin/dhclient/privsep.c
215
if (lease.options[i].len > 0)
sbin/dhclient/privsep.c
216
free(lease.options[i].data);
sbin/dhclient/tables.c
440
dhcp_universe.options[i] = &dhcp_options[i];
sbin/dhclient/tests/option-domain-search.c
115
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
140
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
164
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
189
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
20
p.options[DHO_DOMAIN_SEARCH] = option;
sbin/dhclient/tests/option-domain-search.c
214
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
238
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
26
if (p.options[DHO_DOMAIN_SEARCH].len != 0 ||
sbin/dhclient/tests/option-domain-search.c
262
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
27
p.options[DHO_DOMAIN_SEARCH].data != NULL)
sbin/dhclient/tests/option-domain-search.c
289
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
41
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
66
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tests/option-domain-search.c
90
option = &p.options[DHO_DOMAIN_SEARCH];
sbin/dhclient/tree.h
60
struct option *options[256];
sbin/etherswitchcfg/etherswitchcfg.c
269
int options;
sbin/etherswitchcfg/etherswitchcfg.c
280
options = get_media_options(IFM_TYPE(ifm_ulist[0]), argv[1]);
sbin/etherswitchcfg/etherswitchcfg.c
281
if (options == -1)
sbin/etherswitchcfg/etherswitchcfg.c
283
if (options & IFM_HDX) {
sbin/etherswitchcfg/etherswitchcfg.c
285
options &= ~IFM_HDX;
sbin/etherswitchcfg/etherswitchcfg.c
287
p.es_ifr.ifr_media |= options;
sbin/etherswitchcfg/ifmedia.c
291
int options;
sbin/etherswitchcfg/ifmedia.c
295
options = get_media_options(IFM_TYPE(ifmr->ifm_ulist[0]), val);
sbin/etherswitchcfg/ifmedia.c
300
ifr.ifr_media &= ~options;
sbin/etherswitchcfg/ifmedia.c
302
if (options & IFM_HDX) {
sbin/etherswitchcfg/ifmedia.c
304
options &= ~IFM_HDX;
sbin/etherswitchcfg/ifmedia.c
306
ifr.ifr_media |= options;
sbin/etherswitchcfg/ifmedia.c
409
} options[4];
sbin/etherswitchcfg/ifmedia.c
550
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/etherswitchcfg/ifmedia.c
551
option = lookup_media_word(ttos->options[i].desc, optptr);
sbin/etherswitchcfg/ifmedia.c
678
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/etherswitchcfg/ifmedia.c
679
if (ttos->options[i].alias)
sbin/etherswitchcfg/ifmedia.c
681
for (desc = ttos->options[i].desc;
sbin/etherswitchcfg/ifmedia.c
731
for (i = 0; ttos->options[i].desc != NULL; i++) {
sbin/etherswitchcfg/ifmedia.c
732
if (ttos->options[i].alias)
sbin/etherswitchcfg/ifmedia.c
734
for (desc = ttos->options[i].desc;
sbin/fsck/fsck.c
142
catopt(&options, globopt);
sbin/fsck/fsck.c
148
catopt(&options, globopt);
sbin/fsck/fsck.c
334
if (options)
sbin/fsck/fsck.c
335
catopt(&optbuf, options);
sbin/fsck/fsck.c
435
return e->options;
sbin/fsck/fsck.c
453
catopt(&e->options, newoptions);
sbin/fsck/fsck.c
467
e->options = estrdup(opts);
sbin/fsck/fsck.c
64
char *options;
sbin/fsck/fsck.c
68
static char *options = NULL;
sbin/ifconfig/ifconfig.c
161
char options[1024];
sbin/ifconfig/ifconfig.c
165
options[0] = '\0';
sbin/ifconfig/ifconfig.c
167
strlcat(options, p->opt_usage, sizeof(options));
sbin/ifconfig/ifconfig.c
168
strlcat(options, " ", sizeof(options));
sbin/ifconfig/ifconfig.c
183
options, options, options);
sbin/ifconfig/ifconfig.c
470
char options[1024];
sbin/ifconfig/ifconfig.c
478
strlcpy(options, "G:adDf:j:klmnuv", sizeof(options));
sbin/ifconfig/ifconfig.c
480
strlcat(options, p->opt, sizeof(options));
sbin/ifconfig/ifconfig.c
481
while ((c = getopt(argc, argv, options)) != -1) {
sbin/ifconfig/ifmedia.c
235
ifmedia_t options;
sbin/ifconfig/ifmedia.c
239
options = get_media_options(ifmr->ifm_ulist[0], val);
sbin/ifconfig/ifmedia.c
242
ifmr->ifm_current &= ~options;
sbin/ifconfig/ifmedia.c
244
if (options & IFM_HDX) {
sbin/ifconfig/ifmedia.c
246
options &= ~IFM_HDX;
sbin/ifconfig/ifmedia.c
248
ifmr->ifm_current |= options;
sbin/ifconfig/ifmedia.c
326
ifmedia_t *options;
sbin/ifconfig/ifmedia.c
361
options = ifconfig_media_lookup_options(media, optnames, nopts);
sbin/ifconfig/ifmedia.c
362
if (options == NULL)
sbin/ifconfig/ifmedia.c
366
if (options[i] == INVALID_IFMEDIA)
sbin/ifconfig/ifmedia.c
368
rval |= options[i];
sbin/ifconfig/ifmedia.c
370
free(options);
sbin/ifconfig/ifmedia.c
379
const char *val, **options;
sbin/ifconfig/ifmedia.c
406
options = ifconfig_media_get_options(media);
sbin/ifconfig/ifmedia.c
407
if (options != NULL && options[0] != NULL) {
sbin/ifconfig/ifmedia.c
408
printf(" <%s", options[0]);
sbin/ifconfig/ifmedia.c
409
for (size_t i = 1; options[i] != NULL; ++i)
sbin/ifconfig/ifmedia.c
410
printf(",%s", options[i]);
sbin/ifconfig/ifmedia.c
413
free(options);
sbin/ifconfig/ifmedia.c
422
const char *val, **options;
sbin/ifconfig/ifmedia.c
447
options = ifconfig_media_get_options(media);
sbin/ifconfig/ifmedia.c
448
if (options != NULL && options[0] != NULL) {
sbin/ifconfig/ifmedia.c
449
printf(" mediaopt %s", options[0]);
sbin/ifconfig/ifmedia.c
450
for (size_t i = 1; options[i] != NULL; ++i)
sbin/ifconfig/ifmedia.c
451
printf(",%s", options[i]);
sbin/ifconfig/ifmedia.c
453
free(options);
sbin/ipf/ipfstat/ipfstat.c
190
char *options;
sbin/ipf/ipfstat/ipfstat.c
206
options = "46aACdfghIilnostvD:m:M:N:O:P:RS:T:";
sbin/ipf/ipfstat/ipfstat.c
208
options = "4aACdfghIilnostvD:m:M:N:O:P:RS:T:";
sbin/ipf/ipfstat/ipfstat.c
226
while ((c = getopt(argc, argv, options)) != -1) {
sbin/ipf/ipfstat/ipfstat.c
278
while ((c = getopt(argc, argv, options)) != -1)
sbin/ipf/ipmon/ipmon.c
1472
logopts(int turnon, char *options)
sbin/ipf/ipmon/ipmon.c
1477
for (s = options; *s; s++)
sbin/ipf/ipmon/ipmon_y.y
777
build_doing(char *target, char *options)
sbin/ipf/ipmon/ipmon_y.y
798
strarray[0] = options;
sbin/ipf/ipsend/ipsend.c
278
olen = buildopts(optarg, options, (IP_HL(ip) - 5) << 2);
sbin/ipf/ipsend/ipsend.c
29
char options[68];
sbin/ipf/ipsend/ipsend.c
352
bcopy(options, p + sizeof(*ip), olen);
sbin/ipf/ipsend/iptest.c
28
char options[68];
sbin/mount/mount.c
211
char *cp, *ep, *options;
sbin/mount/mount.c
215
options = NULL;
sbin/mount/mount.c
250
options = catopt(options, optarg);
sbin/mount/mount.c
260
options = catopt(options, "ro");
sbin/mount/mount.c
276
options = catopt(options, "noro");
sbin/mount/mount.c
291
options = catopt(options, "noro");
sbin/mount/mount.c
319
options = update_options(options, fs->fs_mntops,
sbin/mount/mount.c
322
fs->fs_file, init_flags, options,
sbin/mount/mount.c
386
options = update_options(options, fs->fs_mntops,
sbin/mount/mount.c
390
options = update_options(options, NULL,
sbin/mount/mount.c
394
mntbuf->f_mntonname, init_flags, options, 0);
sbin/mount/mount.c
405
init_flags, options, fs->fs_mntops);
sbin/mount/mount.c
434
argv[0], argv[1], init_flags, options, NULL);
sbin/mount/mount.c
541
const char *options, const char *mntopts)
sbin/mount/mount.c
564
optbuf = catopt(strdup(mntopts), options);
sbin/mount/mount.c
730
mangle(char *options, struct cpa *a)
sbin/mount/mount.c
734
for (s = options; (p = strsep(&s, ",")) != NULL;)
sbin/nvmecontrol/modules/wdc/wdc.c
89
.ctx_size = sizeof(struct options),
sbin/nvmecontrol/passthru.c
281
.ctx_size = sizeof(struct options),
sbin/nvmecontrol/passthru.c
290
.ctx_size = sizeof(struct options),
sbin/pfctl/parse.y
299
struct node_state_opt *options;
sbin/pfctl/parse.y
3273
filter_opts.keep.options = $1.options;
sbin/pfctl/parse.y
4753
$$.options = NULL;
sbin/pfctl/parse.y
4757
$$.options = $3;
sbin/pfctl/parse.y
4761
$$.options = $3;
sbin/pfctl/parse.y
4765
$$.options = $3;
sbin/pfctl/parse.y
546
struct node_state_opt *options;
sbin/ping/main.c
201
if (!(options & F_HOSTNAME) && seenint != 0)
sbin/ping/main.c
65
u_int options;
sbin/ping/main.h
53
extern u_int options;
sbin/ping/ping.c
1024
if ((options & F_TIME) || timing) {
sbin/ping/ping.c
1034
if (options & F_TIME) {
sbin/ping/ping.c
1060
if (options & F_HDRINCL) {
sbin/ping/ping.c
1077
if (options & F_FLOOD && errno == ENOBUFS) {
sbin/ping/ping.c
1089
if (!(options & F_QUIET) && options & F_DOT) {
sbin/ping/ping.c
1135
if (options & F_VERBOSE)
sbin/ping/ping.c
1146
if (options & F_VERBOSE)
sbin/ping/ping.c
1206
if (options & F_QUIET)
sbin/ping/ping.c
1209
if (options & F_WAITTIME && triptime > waittime) {
sbin/ping/ping.c
1214
if (options & F_DOT) {
sbin/ping/ping.c
1225
if (options & F_AUDIBLE) {
sbin/ping/ping.c
1229
if (options & F_MASK) {
sbin/ping/ping.c
1234
if (options & F_TIME) {
sbin/ping/ping.c
1297
if (options & F_VERBOSE)
sbin/ping/ping.c
1308
if (options & F_VERBOSE)
sbin/ping/ping.c
1320
if (options & F_VERBOSE)
sbin/ping/ping.c
1330
if (((options & F_VERBOSE) && uid == 0) ||
sbin/ping/ping.c
1331
(!(options & F_QUIET2) &&
sbin/ping/ping.c
1391
&& !(options & F_DOT)) {
sbin/ping/ping.c
1426
if (!(options & F_DOT)) {
sbin/ping/ping.c
1612
if (!(options & F_HOSTNAME))
sbin/ping/ping.c
1664
if (!(options & F_QUIET)) {
sbin/ping/ping.c
270
options |= F_DOT;
sbin/ping/ping.c
280
options |= F_MISSED;
sbin/ping/ping.c
283
options |= F_AUDIBLE;
sbin/ping/ping.c
286
options |= F_IP_VLAN_PCP;
sbin/ping/ping.c
301
options |= F_HDRINCL;
sbin/ping/ping.c
305
options |= F_SO_DEBUG;
sbin/ping/ping.c
312
options |= F_FLOOD;
sbin/ping/ping.c
313
options |= F_DOT;
sbin/ping/ping.c
328
options |= F_SWEEP;
sbin/ping/ping.c
342
options |= F_SWEEP;
sbin/ping/ping.c
345
options |= F_HOSTNAME;
sbin/ping/ping.c
359
options |= F_SWEEP;
sbin/ping/ping.c
366
options |= F_MIF;
sbin/ping/ping.c
373
options |= F_INTERVAL;
sbin/ping/ping.c
381
options |= F_NOLOOP;
sbin/ping/ping.c
399
options |= F_MASK;
sbin/ping/ping.c
403
options |= F_TIME;
sbin/ping/ping.c
415
options |= F_TTL;
sbin/ping/ping.c
418
options &= ~F_HOSTNAME;
sbin/ping/ping.c
421
options |= F_ONCE;
sbin/ping/ping.c
426
options |= F_POLICY;
sbin/ping/ping.c
437
options |= F_PINGFILLED;
sbin/ping/ping.c
441
options |= F_QUIET2;
sbin/ping/ping.c
444
options |= F_QUIET;
sbin/ping/ping.c
447
options |= F_RROUTE;
sbin/ping/ping.c
450
options |= F_SO_DONTROUTE;
sbin/ping/ping.c
474
options |= F_MTTL;
sbin/ping/ping.c
495
options |= F_VERBOSE;
sbin/ping/ping.c
502
options |= F_WAITTIME;
sbin/ping/ping.c
506
options |= F_HDRINCL;
sbin/ping/ping.c
521
switch (options & (F_MASK|F_TIME)) {
sbin/ping/ping.c
527
if (!(options & F_QUIET))
sbin/ping/ping.c
534
if (!(options & F_QUIET))
sbin/ping/ping.c
542
if (options & F_RROUTE)
sbin/ping/ping.c
550
if (options & F_PINGFILLED) {
sbin/ping/ping.c
614
if (options & F_FLOOD && options & F_INTERVAL)
sbin/ping/ping.c
617
if (options & F_FLOOD && IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
sbin/ping/ping.c
620
if (options & (F_MIF | F_NOLOOP | F_MTTL)
sbin/ping/ping.c
628
if ((options & (F_PINGFILLED | F_SWEEP)) == 0)
sbin/ping/ping.c
635
if (options & F_SO_DEBUG) {
sbin/ping/ping.c
641
if (options & F_SO_DONTROUTE)
sbin/ping/ping.c
644
if (options & F_IP_VLAN_PCP) {
sbin/ping/ping.c
650
if (options & F_POLICY) {
sbin/ping/ping.c
677
if (options & F_HDRINCL) {
sbin/ping/ping.c
681
if (!(options & (F_TTL | F_MTTL))) {
sbin/ping/ping.c
720
if (options & F_RROUTE) {
sbin/ping/ping.c
736
if (options & F_TTL) {
sbin/ping/ping.c
742
if (options & F_NOLOOP) {
sbin/ping/ping.c
748
if (options & F_MTTL) {
sbin/ping/ping.c
754
if (options & F_MIF) {
sbin/ping/ping.c
792
if (options & F_SWEEP && !sweepmax)
sbin/ping/ping.c
881
if (options & F_FLOOD) {
sbin/ping/ping.c
945
if ((options & F_ONCE && nreceived) ||
sbin/ping/ping.c
949
if (n == 0 || (options & F_FLOOD)) {
sbin/ping/ping.c
985
if (options & F_MISSED) {
sbin/ping/ping6.c
1142
if (options & F_FLOOD) {
sbin/ping/ping6.c
1201
if ((options & F_VERBOSE) != 0) {
sbin/ping/ping6.c
1214
if (((options & F_ONCE) != 0 && nreceived > 0) ||
sbin/ping/ping6.c
1218
if (n == 0 || (options & F_FLOOD)) {
sbin/ping/ping6.c
1245
if (options & F_MISSED) {
sbin/ping/ping6.c
1283
if (options & F_FQDN)
sbin/ping/ping6.c
1285
else if (options & F_FQDNOLD)
sbin/ping/ping6.c
1287
else if (options & F_NODEADDR)
sbin/ping/ping6.c
1289
else if (options & F_SUPTYPES)
sbin/ping/ping6.c
1316
if (options & F_FQDN) {
sbin/ping/ping6.c
1333
} else if (options & F_FQDNOLD) {
sbin/ping/ping6.c
1348
} else if (options & F_NODEADDR) {
sbin/ping/ping6.c
1365
} else if (options & F_SUPTYPES) {
sbin/ping/ping6.c
1424
if (!(options & F_QUIET) && options & F_DOT) {
sbin/ping/ping6.c
1561
if (options & F_VERBOSE)
sbin/ping/ping6.c
1568
if (options & F_VERBOSE)
sbin/ping/ping6.c
1574
(options & F_VERBOSE) != 0)
sbin/ping/ping6.c
1616
if (options & F_QUIET)
sbin/ping/ping6.c
1619
if (options & F_WAITTIME && triptime > waittime) {
sbin/ping/ping6.c
1624
if (options & F_DOT) {
sbin/ping/ping6.c
1628
if (options & F_AUDIBLE) {
sbin/ping/ping6.c
1635
if ((options & F_VERBOSE) != 0) {
sbin/ping/ping6.c
1674
if (options & F_QUIET)
sbin/ping/ping6.c
1741
if (options & F_VERBOSE) {
sbin/ping/ping6.c
1813
if (!(options & F_VERBOSE))
sbin/ping/ping6.c
1819
if (!(options & F_DOT)) {
sbin/ping/ping6.c
1821
if (options & F_VERBOSE)
sbin/ping/ping6.c
2050
if (options & F_VERBOSE) {
sbin/ping/ping6.c
2104
if (options & F_VERBOSE) {
sbin/ping/ping6.c
2238
if ((options & F_VERBOSE) != 0) {
sbin/ping/ping6.c
2423
if (options & F_VERBOSE) {
sbin/ping/ping6.c
2494
if (options & F_VERBOSE) {
sbin/ping/ping6.c
2544
if (!(options & F_HOSTNAME))
sbin/ping/ping6.c
2664
if (!(options & F_QUIET)) {
sbin/ping/ping6.c
323
options |= F_DOT;
sbin/ping/ping6.c
336
options &= ~F_NOUSERDATA;
sbin/ping/ping6.c
337
options |= F_NODEADDR;
sbin/ping/ping6.c
403
options |= F_DONTFRAG;
sbin/ping/ping6.c
406
options |= F_SO_DEBUG;
sbin/ping/ping6.c
413
options |= F_FLOOD;
sbin/ping/ping6.c
414
options |= F_DOT;
sbin/ping/ping6.c
421
options |= F_HOSTNAME;
sbin/ping/ping6.c
433
options |= F_INTERFACE;
sbin/ping/ping6.c
456
options |= F_INTERVAL;
sbin/ping/ping6.c
476
options &= ~F_HOSTNAME;
sbin/ping/ping6.c
479
options |= F_NIGROUP;
sbin/ping/ping6.c
483
options |= F_ONCE;
sbin/ping/ping6.c
486
options |= F_PINGFILLED;
sbin/ping/ping6.c
491
options |= F_QUIET;
sbin/ping/ping6.c
494
options |= F_AUDIBLE;
sbin/ping/ping6.c
497
options |= F_MISSED;
sbin/ping/ping6.c
518
options |= F_SRCADDR;
sbin/ping/ping6.c
531
options &= ~F_NOUSERDATA;
sbin/ping/ping6.c
532
options |= F_SUPTYPES;
sbin/ping/ping6.c
535
options |= F_VERBOSE;
sbin/ping/ping6.c
538
options &= ~F_NOUSERDATA;
sbin/ping/ping6.c
539
options |= F_FQDN;
sbin/ping/ping6.c
542
options &= ~F_NOUSERDATA;
sbin/ping/ping6.c
543
options |= F_FQDNOLD;
sbin/ping/ping6.c
550
options |= F_WAITTIME;
sbin/ping/ping6.c
582
options |= F_POLICY;
sbin/ping/ping6.c
594
options |= F_AUTHHDR;
sbin/ping/ping6.c
597
options |= F_ENCRYPT;
sbin/ping/ping6.c
629
if (options & F_NIGROUP) {
sbin/ping/ping6.c
668
if ((options & F_SRCADDR) != 0) {
sbin/ping/ping6.c
694
if (res->ai_next && (options & F_VERBOSE))
sbin/ping/ping6.c
709
if ((options & F_VERBOSE) != 0) {
sbin/ping/ping6.c
743
if ((options & F_FLOOD) && (options & F_INTERVAL))
sbin/ping/ping6.c
746
if ((options & F_NOUSERDATA) == 0) {
sbin/ping/ping6.c
753
if (options & F_VERBOSE)
sbin/ping/ping6.c
766
if (!(options & F_PINGFILLED))
sbin/ping/ping6.c
773
if (options & F_DONTFRAG)
sbin/ping/ping6.c
779
if (options & F_SO_DEBUG) {
sbin/ping/ping6.c
810
if (options & F_POLICY) {
sbin/ping/ping6.c
817
if (options & F_AUTHHDR) {
sbin/ping/ping6.c
835
if (options & F_ENCRYPT) {
sbin/ping/ping6.c
850
if (!(options & F_VERBOSE)) {
sbin/ping/ping6.c
852
if ((options & F_FQDN) || (options & F_FQDNOLD) ||
sbin/ping/ping6.c
853
(options & F_NODEADDR) || (options & F_SUPTYPES))
sbin/ping/ping6.c
867
if ((options & F_VERBOSE) != 0) {
sbin/ping/ping6.c
987
if (!(options & F_SRCADDR)) {
sbin/routed/rtquery/rtquery.c
121
char *p, *options, *value, delim;
sbin/routed/rtquery/rtquery.c
176
options = optarg;
sbin/routed/rtquery/rtquery.c
177
while (*options != '\0') {
sbin/routed/rtquery/rtquery.c
195
switch (getsubopt(&options,traceopts,&value)) {
share/examples/libifconfig/status.c
419
const char **options;
share/examples/libifconfig/status.c
422
options = ifconfig_media_get_options(ifmr->ifm_active);
share/examples/libifconfig/status.c
423
if (options != NULL && options[0] != NULL) {
share/examples/libifconfig/status.c
424
printf(" <%s", options[0]);
share/examples/libifconfig/status.c
425
for (size_t i = 1; options[i] != NULL; ++i)
share/examples/libifconfig/status.c
426
printf(",%s", options[i]);
share/examples/libifconfig/status.c
431
free(options);
share/examples/libifconfig/status.c
443
const char **options;
share/examples/libifconfig/status.c
447
options = ifconfig_media_get_options(ifmr->ifm_ulist[i]);
share/examples/libifconfig/status.c
448
if (options != NULL && options[0] != NULL) {
share/examples/libifconfig/status.c
449
printf(" mediaopt %s", options[0]);
share/examples/libifconfig/status.c
450
for (size_t i = 1; options[i] != NULL; ++i)
share/examples/libifconfig/status.c
451
printf(",%s", options[i]);
share/examples/libifconfig/status.c
456
free(options);
share/examples/ppi/ppilcd.c
26
static void hd44780_prepare(char *devname, char *options);
share/examples/ppi/ppilcd.c
318
hd44780_prepare(char *devname, char *options)
share/examples/ppi/ppilcd.c
320
char *cp = options;
share/examples/ppi/ppilcd.c
50
void (* l_prepare)(char *name, char *options);
stand/common/boot.c
322
char lbuf[KENV_MVALLEN], *cp, *ep, *dev, *fstyp, *options;
stand/common/boot.c
381
options = strdup(ep);
stand/common/boot.c
389
setenv("vfs.root.mountfrom.options", options, 0);
stand/common/boot.c
391
free(options);
stand/libofw/openfirm.c
105
options = OF_finddevice("/options");
stand/libofw/openfirm.c
106
if (OF_getprop(options, "real-mode?", mode, sizeof(mode)) > 0 &&
stand/libofw/openfirm.c
84
phandle_t options;
sys/amd64/linux/linux_proto.h
308
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/amd64/linux/linux_proto.h
892
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/amd64/linux/linux_systrace_args.c
1877
iarg[a++] = p->options; /* l_int */
sys/amd64/linux/linux_systrace_args.c
550
iarg[a++] = p->options; /* l_int */
sys/amd64/linux32/linux32_proto.h
362
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/amd64/linux32/linux32_proto.h
55
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/amd64/linux32/linux32_proto.h
961
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/amd64/linux32/linux32_systrace_args.c
1995
iarg[a++] = p->options; /* int */
sys/amd64/linux32/linux32_systrace_args.c
66
iarg[a++] = p->options; /* l_int */
sys/amd64/linux32/linux32_systrace_args.c
765
iarg[a++] = p->options; /* l_int */
sys/arm64/linux/linux_proto.h
415
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/arm64/linux/linux_proto.h
966
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/arm64/linux/linux_systrace_args.c
1953
iarg[a++] = p->options; /* l_int */
sys/arm64/linux/linux_systrace_args.c
769
iarg[a++] = p->options; /* l_int */
sys/cam/ctl/ctl.c
10003
(value = dnvlist_get_string(lun->be_lun->options, "rpm", NULL)) != NULL)
sys/cam/ctl/ctl.c
10009
(value = dnvlist_get_string(lun->be_lun->options, "formfactor", NULL)) != NULL)
sys/cam/ctl/ctl.c
10054
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
10230
if (lun == NULL || (val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
10241
} else if ((val = dnvlist_get_string(lun->be_lun->options, "product",
sys/cam/ctl/ctl.c
10271
if (lun == NULL || (val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
3152
while ((name = nvlist_next(lun->be_lun->options, &type,
sys/cam/ctl/ctl.c
3158
lun->be_lun->options, name, NULL);
sys/cam/ctl/ctl.c
3407
while ((name = nvlist_next(port->options, &type,
sys/cam/ctl/ctl.c
3412
value = dnvlist_get_string(port->options,
sys/cam/ctl/ctl.c
4152
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4156
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4186
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4262
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4275
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4288
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4301
value = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
4481
scsiname = dnvlist_get_string(be_lun->options, "scsiname", NULL);
sys/cam/ctl/ctl.c
4486
eui = dnvlist_get_string(be_lun->options, "eui", NULL);
sys/cam/ctl/ctl.c
4490
naa = dnvlist_get_string(be_lun->options, "naa", NULL);
sys/cam/ctl/ctl.c
4494
uuid = dnvlist_get_string(be_lun->options, "uuid", NULL);
sys/cam/ctl/ctl.c
4506
if ((vendor = dnvlist_get_string(be_lun->options, "vendor", NULL)) == NULL) {
sys/cam/ctl/ctl.c
4615
value = dnvlist_get_string(be_lun->options, "removable", NULL);
sys/cam/ctl/ctl.c
5753
val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
6717
if ((value = dnvlist_get_string(lun->be_lun->options, "temperature",
sys/cam/ctl/ctl.c
6728
if ((value = dnvlist_get_string(lun->be_lun->options, "reftemperature",
sys/cam/ctl/ctl.c
6870
if ((value = dnvlist_get_string(lun->be_lun->options, "temperature",
sys/cam/ctl/ctl.c
7182
oii = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
7188
otii = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
7435
switch (cdb->options & RSO_OPTIONS_MASK) {
sys/cam/ctl/ctl.c
7501
switch (cdb->options & RSO_OPTIONS_MASK) {
sys/cam/ctl/ctl.c
7593
if (cdb->options & RST_REPD)
sys/cam/ctl/ctl.c
9934
val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
9940
val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl.c
9959
val = dnvlist_get_string(lun->be_lun->options,
sys/cam/ctl/ctl_backend.h
165
nvlist_t *options; /* passed to CTL */
sys/cam/ctl/ctl_backend_block.c
2277
value = dnvlist_get_string(cbe_lun->options, "pblocksize", NULL);
sys/cam/ctl/ctl_backend_block.c
2280
value = dnvlist_get_string(cbe_lun->options, "pblockoffset", NULL);
sys/cam/ctl/ctl_backend_block.c
2291
value = dnvlist_get_string(cbe_lun->options, "ublocksize", NULL);
sys/cam/ctl/ctl_backend_block.c
2294
value = dnvlist_get_string(cbe_lun->options, "ublockoffset", NULL);
sys/cam/ctl/ctl_backend_block.c
2443
value = dnvlist_get_string(cbe_lun->options, "pblocksize", NULL);
sys/cam/ctl/ctl_backend_block.c
2446
value = dnvlist_get_string(cbe_lun->options, "pblockoffset", NULL);
sys/cam/ctl/ctl_backend_block.c
2457
value = dnvlist_get_string(cbe_lun->options, "ublocksize", NULL);
sys/cam/ctl/ctl_backend_block.c
2460
value = dnvlist_get_string(cbe_lun->options, "ublockoffset", NULL);
sys/cam/ctl/ctl_backend_block.c
2485
value = dnvlist_get_string(cbe_lun->options, "unmap", NULL);
sys/cam/ctl/ctl_backend_block.c
2546
value = dnvlist_get_string(cbe_lun->options, "file", NULL);
sys/cam/ctl/ctl_backend_block.c
2556
value = dnvlist_get_string(cbe_lun->options, "readonly", NULL);
sys/cam/ctl/ctl_backend_block.c
2615
value = dnvlist_get_string(cbe_lun->options, "serseq", NULL);
sys/cam/ctl/ctl_backend_block.c
2653
cbe_lun->options = nvlist_clone(req->args_nvl);
sys/cam/ctl/ctl_backend_block.c
2661
value = dnvlist_get_string(cbe_lun->options, "ha_role", NULL);
sys/cam/ctl/ctl_backend_block.c
2694
value = dnvlist_get_string(cbe_lun->options, "num_threads", NULL);
sys/cam/ctl/ctl_backend_block.c
2823
nvlist_destroy(cbe_lun->options);
sys/cam/ctl/ctl_backend_block.c
2937
nvlist_destroy(cbe_lun->options);
sys/cam/ctl/ctl_backend_block.c
2938
cbe_lun->options = nvlist_clone(req->args_nvl);
sys/cam/ctl/ctl_backend_block.c
2942
value = dnvlist_get_string(cbe_lun->options, "ha_role", NULL);
sys/cam/ctl/ctl_backend_block.c
3017
nvlist_destroy(be_lun->cbe_lun.options);
sys/cam/ctl/ctl_backend_ramdisk.c
1139
cbe_lun->options = nvlist_clone(req->args_nvl);
sys/cam/ctl/ctl_backend_ramdisk.c
1149
value = dnvlist_get_string(cbe_lun->options, "ha_role", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1157
value = dnvlist_get_string(cbe_lun->options, "pblocksize", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1206
value = dnvlist_get_string(cbe_lun->options, "capacity", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1218
value = dnvlist_get_string(cbe_lun->options, "unmap", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1221
value = dnvlist_get_string(cbe_lun->options, "readonly", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1228
value = dnvlist_get_string(cbe_lun->options, "serseq", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1326
nvlist_destroy(cbe_lun->options);
sys/cam/ctl/ctl_backend_ramdisk.c
1367
nvlist_destroy(cbe_lun->options);
sys/cam/ctl/ctl_backend_ramdisk.c
1368
cbe_lun->options = nvlist_clone(req->args_nvl);
sys/cam/ctl/ctl_backend_ramdisk.c
1372
value = dnvlist_get_string(cbe_lun->options, "ha_role", NULL);
sys/cam/ctl/ctl_backend_ramdisk.c
1422
nvlist_destroy(be_lun->cbe_lun.options);
sys/cam/ctl/ctl_frontend.c
200
if (port->options == NULL)
sys/cam/ctl/ctl_frontend.c
201
port->options = nvlist_create(0);
sys/cam/ctl/ctl_frontend.c
240
nvlist_destroy(port->options);
sys/cam/ctl/ctl_frontend.c
333
value = dnvlist_get_string(port->options, "ha_shared", NULL);
sys/cam/ctl/ctl_frontend.h
240
nvlist_t *options; /* passed to CTL */
sys/cam/ctl/ctl_frontend_iscsi.c
2205
port->options = nvlist_clone(req->args_nvl);
sys/cam/ctl/ctl_tpc.c
1734
value = dnvlist_get_string(lun->be_lun->options, "insecure_tpc", NULL);
sys/cam/ctl/ctl_tpc.c
1888
value = dnvlist_get_string(lun->be_lun->options, "insecure_tpc", NULL);
sys/cam/scsi/scsi_all.c
9273
uint8_t tag_action, int options, int req_opcode,
sys/cam/scsi/scsi_all.c
9285
scsi_cmd->options = options;
sys/cam/scsi/scsi_all.h
1508
uint8_t options;
sys/cam/scsi/scsi_all.h
1576
uint8_t options;
sys/cam/scsi/scsi_all.h
4403
uint8_t tag_action, int options,
sys/compat/freebsd32/freebsd32_misc.c
236
error = kern_wait(td, uap->pid, &status, uap->options, rup);
sys/compat/freebsd32/freebsd32_misc.c
265
&status, uap->options, wrup, sip);
sys/compat/freebsd32/freebsd32_misc.c
296
error = kern_pdwait(td, uap->fd, &status, uap->options, wrup, sip);
sys/compat/freebsd32/freebsd32_proto.h
42
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/compat/freebsd32/freebsd32_proto.h
575
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/compat/freebsd32/freebsd32_proto.h
705
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/compat/freebsd32/freebsd32_systrace_args.c
2841
iarg[a++] = p->options; /* int */
sys/compat/freebsd32/freebsd32_systrace_args.c
3444
iarg[a++] = p->options; /* int */
sys/compat/freebsd32/freebsd32_systrace_args.c
74
iarg[a++] = p->options; /* int */
sys/compat/linux/linux_misc.c
2457
linux_to_bsd_waitopts(int options, int *bsdopts)
sys/compat/linux/linux_misc.c
2460
if (options & LINUX_WNOHANG)
sys/compat/linux/linux_misc.c
2462
if (options & LINUX_WUNTRACED)
sys/compat/linux/linux_misc.c
2464
if (options & LINUX_WEXITED)
sys/compat/linux/linux_misc.c
2466
if (options & LINUX_WCONTINUED)
sys/compat/linux/linux_misc.c
2468
if (options & LINUX_WNOWAIT)
sys/compat/linux/linux_misc.c
2471
if (options & __WCLONE)
sys/compat/linux/linux_misc.c
721
int options, void *rup, l_siginfo_t *infop)
sys/compat/linux/linux_misc.c
728
error = kern_wait6(td, idtype, id, &status, options,
sys/compat/linux/linux_misc.c
769
.options = args->options,
sys/compat/linux/linux_misc.c
781
int options, id, idtype;
sys/compat/linux/linux_misc.c
783
if (args->options & ~(LINUX_WUNTRACED | LINUX_WNOHANG |
sys/compat/linux/linux_misc.c
791
options = 0;
sys/compat/linux/linux_misc.c
792
linux_to_bsd_waitopts(args->options, &options);
sys/compat/linux/linux_misc.c
798
options |= WEXITED | WTRAPPED;
sys/compat/linux/linux_misc.c
817
return (linux_common_wait(td, idtype, id, args->status, options,
sys/compat/linux/linux_misc.c
825
int error, options;
sys/compat/linux/linux_misc.c
829
if (args->options & ~(LINUX_WNOHANG | LINUX_WNOWAIT | LINUX_WEXITED |
sys/compat/linux/linux_misc.c
833
options = 0;
sys/compat/linux/linux_misc.c
834
linux_to_bsd_waitopts(args->options, &options);
sys/compat/linux/linux_misc.c
863
error = linux_common_wait(td, idtype, id, NULL, options,
sys/compat/linux/linux_misc.h
174
void linux_to_bsd_waitopts(int options, int *bsdopts);
sys/compat/linuxkpi/common/include/linux/backlight.h
57
int options;
sys/compat/linuxkpi/common/src/linux_cmdline.c
36
const char *options;
sys/compat/linuxkpi/common/src/linux_cmdline.c
58
options = kern_getenv(tunable);
sys/compat/linuxkpi/common/src/linux_cmdline.c
59
if (options == NULL)
sys/compat/linuxkpi/common/src/linux_cmdline.c
60
options = kern_getenv("kern.vt.fb.default_mode");
sys/compat/linuxkpi/common/src/linux_cmdline.c
62
return (options);
sys/dev/aac/aac.c
1686
u_int32_t code, major, minor, options = 0, atu_size = 0;
sys/dev/aac/aac.c
1749
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/aac/aac.c
1751
sc->supported_options = options;
sys/dev/aac/aac.c
1753
if ((options & AAC_SUPPORTED_4GB_WINDOW) != 0 &&
sys/dev/aac/aac.c
1756
if (options & AAC_SUPPORTED_NONDASD)
sys/dev/aac/aac.c
1758
if ((options & AAC_SUPPORTED_SGMAP_HOST64) != 0
sys/dev/aac/aac.c
1764
if ((options & AAC_SUPPORTED_NEW_COMM)
sys/dev/aac/aac.c
1767
if (options & AAC_SUPPORTED_64BIT_ARRAYSIZE)
sys/dev/aac/aac.c
1815
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/aac/aac.c
1816
sc->aac_max_fib_size = (options & 0xFFFF);
sys/dev/aac/aac.c
1817
sc->aac_max_sectors = (options >> 16) << 1;
sys/dev/aac/aac.c
1818
options = AAC_GET_MAILBOX(sc, 2);
sys/dev/aac/aac.c
1819
sc->aac_sg_tablesize = (options >> 16);
sys/dev/aac/aac.c
1820
options = AAC_GET_MAILBOX(sc, 3);
sys/dev/aac/aac.c
1821
sc->aac_max_fibs = (options & 0xFFFF);
sys/dev/aacraid/aacraid.c
1536
u_int32_t options = 0, atu_size = 0, status, waitCount;
sys/dev/aacraid/aacraid.c
1612
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/aacraid/aacraid.c
1614
sc->supported_options = options;
sys/dev/aacraid/aacraid.c
1617
if ((options & AAC_SUPPORTED_4GB_WINDOW) != 0 &&
sys/dev/aacraid/aacraid.c
1620
if (options & AAC_SUPPORTED_NONDASD)
sys/dev/aacraid/aacraid.c
1622
if ((options & AAC_SUPPORTED_SGMAP_HOST64) != 0
sys/dev/aacraid/aacraid.c
1630
if (options & AAC_SUPPORTED_NEW_COMM_TYPE2)
sys/dev/aacraid/aacraid.c
1632
else if (options & AAC_SUPPORTED_NEW_COMM_TYPE1)
sys/dev/aacraid/aacraid.c
1634
else if ((options & AAC_SUPPORTED_NEW_COMM_TYPE3) ||
sys/dev/aacraid/aacraid.c
1635
(options & AAC_SUPPORTED_NEW_COMM_TYPE4))
sys/dev/aacraid/aacraid.c
1638
if (options & AAC_SUPPORTED_64BIT_ARRAYSIZE)
sys/dev/aacraid/aacraid.c
1696
options = AAC_GET_MAILBOX(sc, 1);
sys/dev/aacraid/aacraid.c
1697
sc->aac_max_fib_size = (options & 0xFFFF);
sys/dev/aacraid/aacraid.c
1698
sc->aac_max_sectors = (options >> 16) << 1;
sys/dev/aacraid/aacraid.c
1699
options = AAC_GET_MAILBOX(sc, 2);
sys/dev/aacraid/aacraid.c
1700
sc->aac_sg_tablesize = (options >> 16);
sys/dev/aacraid/aacraid.c
1701
options = AAC_GET_MAILBOX(sc, 3);
sys/dev/aacraid/aacraid.c
1702
sc->aac_max_fibs = ((options >> 16) & 0xFFFF);
sys/dev/aacraid/aacraid.c
1704
sc->aac_max_fibs = (options & 0xFFFF);
sys/dev/aacraid/aacraid.c
1705
options = AAC_GET_MAILBOX(sc, 4);
sys/dev/aacraid/aacraid.c
1706
sc->aac_max_aif = (options & 0xFFFF);
sys/dev/aacraid/aacraid.c
1707
options = AAC_GET_MAILBOX(sc, 5);
sys/dev/aacraid/aacraid.c
1708
sc->aac_max_msix =(sc->flags & AAC_FLAGS_NEW_COMM_TYPE2) ? options : 0;
sys/dev/aic7xxx/aic79xx.c
3102
int options;
sys/dev/aic7xxx/aic79xx.c
3108
options = 0;
sys/dev/aic7xxx/aic79xx.c
3111
options++;
sys/dev/aic7xxx/aic79xx.c
3114
printf("%s", options ? "|DT" : "(DT");
sys/dev/aic7xxx/aic79xx.c
3115
options++;
sys/dev/aic7xxx/aic79xx.c
3118
printf("%s", options ? "|IU" : "(IU");
sys/dev/aic7xxx/aic79xx.c
3119
options++;
sys/dev/aic7xxx/aic79xx.c
3122
printf("%s", options ? "|RTI" : "(RTI");
sys/dev/aic7xxx/aic79xx.c
3123
options++;
sys/dev/aic7xxx/aic79xx.c
3126
printf("%s", options ? "|QAS" : "(QAS");
sys/dev/aic7xxx/aic79xx.c
3127
options++;
sys/dev/aic7xxx/aic79xx.c
3129
if (options != 0)
sys/dev/bhnd/nvram/bhnd_nvram_data.c
106
bhnd_nvram_plist *props, bhnd_nvram_plist *options, void *outp,
sys/dev/bhnd/nvram/bhnd_nvram_data.c
109
return (cls->op_serialize(cls, props, options, outp, olen));
sys/dev/bhnd/nvram/bhnd_nvram_data.h
96
bhnd_nvram_plist *props, bhnd_nvram_plist *options,
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
369
bhnd_nvram_plist *options, void *outp, size_t *olen)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
412
if (options != NULL &&
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
413
bhnd_nvram_plist_contains(options, BCM_NVRAM_ENCODE_OPT_VERSION))
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
415
error = bhnd_nvram_plist_get_uint8(options,
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
144
bhnd_nvram_plist *options, void *outp, size_t *olen)
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
345
bhnd_nvram_plist *options, void *outp, size_t *olen)
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
610
bhnd_nvram_plist *options, void *outp, size_t *olen)
sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c
239
bhnd_nvram_plist *options, void *outp, size_t *olen)
sys/dev/bhnd/nvram/bhnd_nvram_datavar.h
197
_macro(_cname, options) \
sys/dev/bhnd/nvram/bhnd_nvram_datavar.h
66
bhnd_nvram_plist *options, void *outp,
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1018
bhnd_nvram_plist *options;
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1026
options = NULL;
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1030
error = bhnd_nvram_store_export(sc, path, &cls, &props, &options,
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1036
error = bhnd_nvram_data_serialize(cls, props, options, NULL, &olen);
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1051
error = bhnd_nvram_data_serialize(cls, props, options, outp, &olen);
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1060
bhnd_nvram_plist_release(options);
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1069
if (options != NULL)
sys/dev/bhnd/nvram/bhnd_nvram_store.c
1070
bhnd_nvram_plist_release(options);
sys/dev/bhnd/nvram/bhnd_nvram_store.c
821
bhnd_nvram_plist **options, uint32_t flags)
sys/dev/bhnd/nvram/bhnd_nvram_store.c
834
if (options != NULL)
sys/dev/bhnd/nvram/bhnd_nvram_store.c
835
*options = NULL;
sys/dev/bhnd/nvram/bhnd_nvram_store.c
916
if (options != NULL)
sys/dev/bhnd/nvram/bhnd_nvram_store.c
917
*options = bhnd_nvram_plist_retain(sc->data_opts);
sys/dev/bhnd/nvram/bhnd_nvram_store.c
985
if (options != NULL && *options != NULL)
sys/dev/bhnd/nvram/bhnd_nvram_store.c
986
bhnd_nvram_plist_release(*options);
sys/dev/bhnd/nvram/bhnd_nvram_store.h
75
bhnd_nvram_plist **props, bhnd_nvram_plist **options,
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
16681
uint8_t options;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
17761
uint8_t options;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
72820
uint8_t options;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
74088
uint8_t options;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
98509
uint8_t options;
sys/dev/bxe/bxe_elink.c
9142
uint8_t options[ELINK_SFP_EEPROM_OPTIONS_SIZE];
sys/dev/bxe/bxe_elink.c
9148
options) != 0) {
sys/dev/bxe/bxe_elink.c
9153
if ((options[0] & ELINK_SFP_EEPROM_OPTIONS_LINEAR_RX_OUT_MASK))
sys/dev/cxgbe/crypto/t6_kern_tls.c
155
uint64_t options;
sys/dev/cxgbe/crypto/t6_kern_tls.c
168
options = F_TCAM_BYPASS | V_ULP_MODE(ULP_MODE_NONE);
sys/dev/cxgbe/crypto/t6_kern_tls.c
169
options |= V_SMAC_SEL(vi->smt_idx) | V_TX_CHAN(vi->pi->tx_chan);
sys/dev/cxgbe/crypto/t6_kern_tls.c
170
options |= F_NON_OFFLOAD;
sys/dev/cxgbe/crypto/t6_kern_tls.c
171
cpl->opt0 = htobe64(options);
sys/dev/cxgbe/crypto/t6_kern_tls.c
173
options = V_TX_QUEUE(TX_MODQ(vi->pi->tx_chan));
sys/dev/cxgbe/crypto/t6_kern_tls.c
175
options |= F_TSTAMPS_EN;
sys/dev/cxgbe/crypto/t6_kern_tls.c
176
cpl->opt2 = htobe32(options);
sys/dev/cxgbe/crypto/t6_kern_tls.c
186
uint64_t options;
sys/dev/cxgbe/crypto/t6_kern_tls.c
203
options = F_TCAM_BYPASS | V_ULP_MODE(ULP_MODE_NONE);
sys/dev/cxgbe/crypto/t6_kern_tls.c
204
options |= V_SMAC_SEL(vi->smt_idx) | V_TX_CHAN(vi->pi->tx_chan);
sys/dev/cxgbe/crypto/t6_kern_tls.c
205
options |= F_NON_OFFLOAD;
sys/dev/cxgbe/crypto/t6_kern_tls.c
206
cpl->opt0 = htobe64(options);
sys/dev/cxgbe/crypto/t6_kern_tls.c
208
options = V_TX_QUEUE(TX_MODQ(vi->pi->tx_chan));
sys/dev/cxgbe/crypto/t6_kern_tls.c
210
options |= F_TSTAMPS_EN;
sys/dev/cxgbe/crypto/t6_kern_tls.c
211
cpl->opt2 = htobe32(options);
sys/dev/cxgbe/cudbg/fastlz_api.c
112
int write_chunk_header(struct cudbg_buffer *_outbuf, int id, int options,
sys/dev/cxgbe/cudbg/fastlz_api.c
121
buffer[2] = options & 255;
sys/dev/cxgbe/cudbg/fastlz_api.c
122
buffer[3] = (unsigned char)(options >> 8);
sys/dev/dpaa2/dpaa2_mac.h
90
uint64_t options;
sys/dev/dpaa2/dpaa2_mcp.h
366
uint32_t options;
sys/dev/dpaa2/dpaa2_mcp.h
423
uint32_t options;
sys/dev/dpaa2/dpaa2_ni.c
1244
queue_cfg.options =
sys/dev/dpaa2/dpaa2_ni.c
1394
queue_cfg.options =
sys/dev/dpaa2/dpaa2_ni.c
1464
queue_cfg.options =
sys/dev/dpaa2/dpaa2_ni.c
1941
buf_layout.options =
sys/dev/dpaa2/dpaa2_ni.c
1954
buf_layout.options =
sys/dev/dpaa2/dpaa2_ni.c
2012
buf_layout.options =
sys/dev/dpaa2/dpaa2_ni.c
2078
link_cfg.options |= DPAA2_NI_LINK_OPT_PAUSE;
sys/dev/dpaa2/dpaa2_ni.c
2079
link_cfg.options &= ~DPAA2_NI_LINK_OPT_ASYM_PAUSE;
sys/dev/dpaa2/dpaa2_ni.c
2088
sc->link_options = link_cfg.options;
sys/dev/dpaa2/dpaa2_ni.c
2117
!(sc->attr.options & DPNI_OPT_HAS_KEY_MASKING)) {
sys/dev/dpaa2/dpaa2_ni.c
2354
mac_link.options =
sys/dev/dpaa2/dpaa2_ni.c
3557
(int)ls.options, NI_LINK_STATE_OPTIONS_BITS);
sys/dev/dpaa2/dpaa2_ni.c
785
"wriop_version=%#x\n", sc->attr.options, sc->attr.num.queues,
sys/dev/dpaa2/dpaa2_ni.h
201
uint32_t options;
sys/dev/dpaa2/dpaa2_ni.h
287
uint8_t options;
sys/dev/dpaa2/dpaa2_ni.h
314
uint16_t options;
sys/dev/dpaa2/dpaa2_ni.h
356
uint64_t options;
sys/dev/dpaa2/dpaa2_ni.h
372
uint64_t options;
sys/dev/dpaa2/dpaa2_rc.c
1161
uint32_t options;
sys/dev/dpaa2/dpaa2_rc.c
1190
attr->options = resp->options;
sys/dev/dpaa2/dpaa2_rc.c
1219
uint16_t options;
sys/dev/dpaa2/dpaa2_rc.c
1235
args->options = bl->options;
sys/dev/dpaa2/dpaa2_rc.c
1342
uint64_t options;
sys/dev/dpaa2/dpaa2_rc.c
1353
args->options = cfg->options;
sys/dev/dpaa2/dpaa2_rc.c
1367
uint64_t options;
sys/dev/dpaa2/dpaa2_rc.c
1381
cfg->options = resp->options;
sys/dev/dpaa2/dpaa2_rc.c
1398
uint64_t options;
sys/dev/dpaa2/dpaa2_rc.c
1413
state->options = resp->options;
sys/dev/dpaa2/dpaa2_rc.c
1432
uint8_t options;
sys/dev/dpaa2/dpaa2_rc.c
1448
args->options |= tbl->discard_on_miss ? 1U : 0U;
sys/dev/dpaa2/dpaa2_rc.c
1449
args->options |= tbl->keep_entries ? 2U : 0U;
sys/dev/dpaa2/dpaa2_rc.c
1588
uint8_t options;
sys/dev/dpaa2/dpaa2_rc.c
1611
args->options = cfg->options;
sys/dev/dpaa2/dpaa2_rc.c
2421
uint64_t options;
sys/dev/dpaa2/dpaa2_rc.c
2437
args->options = state->options;
sys/dev/dpaa2/dpaa2_rc.c
2648
uint32_t portal_id, uint32_t options, uint32_t *dpmcp_id)
sys/dev/dpaa2/dpaa2_rc.c
2652
uint32_t options;
sys/dev/dpaa2/dpaa2_rc.c
2666
args->options = options;
sys/dev/dpaa2/dpaa2_rc.c
857
uint32_t options;
sys/dev/dpaa2/dpaa2_rc.c
871
attr->options = pattr->options;
sys/dev/drm2/ttm/ttm_page_alloc.c
107
struct ttm_pool_opts options;
sys/dev/drm2/ttm/ttm_page_alloc.c
232
m->options.max_size = val;
sys/dev/drm2/ttm/ttm_page_alloc.c
234
m->options.small = val;
sys/dev/drm2/ttm/ttm_page_alloc.c
245
m->options.alloc_size = val;
sys/dev/drm2/ttm/ttm_page_alloc.c
257
val = m->options.max_size;
sys/dev/drm2/ttm/ttm_page_alloc.c
259
val = m->options.small;
sys/dev/drm2/ttm/ttm_page_alloc.c
261
val = m->options.alloc_size;
sys/dev/drm2/ttm/ttm_page_alloc.c
616
if (count < _manager->options.small
sys/dev/drm2/ttm/ttm_page_alloc.c
619
unsigned alloc_size = _manager->options.alloc_size;
sys/dev/drm2/ttm/ttm_page_alloc.c
714
if (pool->npages > _manager->options.max_size) {
sys/dev/drm2/ttm/ttm_page_alloc.c
715
npages = pool->npages - _manager->options.max_size;
sys/dev/drm2/ttm/ttm_page_alloc.c
821
_manager->options.max_size = max_pages;
sys/dev/drm2/ttm/ttm_page_alloc.c
822
_manager->options.small = SMALL_ALLOCATION;
sys/dev/drm2/ttm/ttm_page_alloc.c
823
_manager->options.alloc_size = NUM_PAGES_TO_ALLOC;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1069
_manager->options.max_size = max_pages;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1070
_manager->options.small = SMALL_ALLOCATION;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1071
_manager->options.alloc_size = NUM_PAGES_TO_ALLOC;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
172
struct ttm_pool_opts options;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
222
m->options.max_size = val;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
224
m->options.small = val;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
235
m->options.alloc_size = val;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
249
val = m->options.max_size;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
251
val = m->options.small;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
253
val = m->options.alloc_size;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
792
unsigned count = _manager->options.small;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
968
if (pool->npages_free > _manager->options.max_size) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
969
npages = pool->npages_free - _manager->options.max_size;
sys/dev/e1000/e1000_82575.h
77
} options;
sys/dev/fdc/fdc.c
1106
if (fd->options & FDOPT_NOERROR)
sys/dev/fdc/fdc.c
1211
oopts = fd->options;
sys/dev/fdc/fdc.c
1212
fd->options |= FDOPT_NOERRLOG | FDOPT_NORETRY;
sys/dev/fdc/fdc.c
1261
fd->options = oopts;
sys/dev/fdc/fdc.c
1351
oopts = fd->options;
sys/dev/fdc/fdc.c
1352
fd->options |= FDOPT_NOERRLOG | FDOPT_NORETRY;
sys/dev/fdc/fdc.c
1372
fd->options = oopts;
sys/dev/fdc/fdc.c
1429
fd->options &= ~(FDOPT_NORETRY | FDOPT_NOERRLOG | FDOPT_NOERROR);
sys/dev/fdc/fdc.c
1520
*(int *)data = fd->options;
sys/dev/fdc/fdc.c
1524
fd->options = *(int *)data;
sys/dev/fdc/fdc.c
2001
fd->options = 0;
sys/dev/fdc/fdc.c
254
int options; /* FDOPT_* */
sys/dev/fdc/fdc.c
776
(fdc->retry >= retries || (fd->options & FDOPT_NORETRY))) {
sys/dev/hpt27xx/hptintf.h
1648
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/hptmv/hptintf.h
899
int hpt_delete_array(DEVICEID id, DWORD options);
sys/dev/hptmv/ioctl.c
158
hpt_delete_array(_VBUS_ARG DEVICEID id, DWORD options)
sys/dev/hptmv/ioctl.c
161
BOOLEAN del_block0 = (options & DAF_KEEP_DATA_IF_POSSIBLE)?0:1;
sys/dev/hptnr/hptintf.h
1644
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/hptrr/hptintf.h
1366
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/ice/ice_common.c
1051
if (hw->fwlog_cfg.options & ICE_FWLOG_OPTION_REGISTER_ON_INIT) {
sys/dev/ice/ice_common.c
4087
if (!(tlv.options & ICE_LINK_OVERRIDE_STRICT_MODE) &&
sys/dev/ice/ice_common.c
4088
(tlv.options & ICE_LINK_OVERRIDE_EN))
sys/dev/ice/ice_common.c
6552
ldo->options = buf & ICE_LINK_OVERRIDE_OPT_M;
sys/dev/ice/ice_common.c
6675
struct ice_aqc_get_port_options_elem *options,
sys/dev/ice/ice_common.c
6695
status = ice_aq_send_cmd(hw, &desc, options,
sys/dev/ice/ice_common.c
6696
*option_count * sizeof(*options), NULL);
sys/dev/ice/ice_common.c
6726
options[i].pmd &= ICE_AQC_PORT_OPT_PMD_COUNT_M;
sys/dev/ice/ice_common.c
6727
options[i].max_lane_speed &= ICE_AQC_PORT_OPT_MAX_LANE_M;
sys/dev/ice/ice_common.c
6729
options[i].pmd, options[i].max_lane_speed);
sys/dev/ice/ice_common.h
272
struct ice_aqc_get_port_options_elem *options,
sys/dev/ice/ice_fw_logging.c
158
enabled = !!(cfg->options & option);
sys/dev/ice/ice_fw_logging.c
165
cfg->options |= option;
sys/dev/ice/ice_fw_logging.c
167
cfg->options &= ~option;
sys/dev/ice/ice_fw_logging.c
237
if (cfg->options & ICE_FWLOG_OPTION_IS_REGISTERED)
sys/dev/ice/ice_fw_logging.c
399
cfg->options |= ICE_FWLOG_OPTION_ARQ_ENA;
sys/dev/ice/ice_fwlog.c
145
u16 num_entries, u16 options, u16 log_resolution)
sys/dev/ice/ice_fwlog.c
173
if (options & ICE_FWLOG_OPTION_ARQ_ENA)
sys/dev/ice/ice_fwlog.c
175
if (options & ICE_FWLOG_OPTION_UART_ENA)
sys/dev/ice/ice_fwlog.c
224
ICE_AQC_FW_LOG_ID_MAX, cfg->options,
sys/dev/ice/ice_fwlog.c
294
status = ice_aq_fwlog_set(hw, entries, num_entries, cfg->options,
sys/dev/ice/ice_fwlog.c
339
hw->fwlog_cfg.options |= ICE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ice/ice_fwlog.c
359
hw->fwlog_cfg.options &= ~ICE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ice/ice_fwlog.c
408
cfg->options |= ICE_FWLOG_OPTION_ARQ_ENA;
sys/dev/ice/ice_fwlog.c
410
cfg->options |= ICE_FWLOG_OPTION_UART_ENA;
sys/dev/ice/ice_fwlog.c
412
cfg->options |= ICE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ice/ice_fwlog.h
72
u16 options;
sys/dev/ice/ice_lib.c
11177
struct ice_aqc_get_port_options_elem options[ICE_AQC_PORT_OPT_MAX] = {};
sys/dev/ice/ice_lib.c
11183
status = ice_aq_get_port_options(hw, options, &option_count,
sys/dev/ice/ice_lib.c
11198
*max_speed = options[active_idx].max_lane_speed;
sys/dev/ice/ice_lib.c
9830
device_printf(dev, "TLV: -options 0x%02x\n", tlv->options);
sys/dev/ice/ice_lib.c
9877
(!(tlv.options & ICE_LINK_OVERRIDE_STRICT_MODE)))
sys/dev/ice/ice_lib.c
9894
(tlv.options & ICE_LINK_OVERRIDE_EN))
sys/dev/ice/ice_type.h
701
u8 options;
sys/dev/ice/if_ice_iflib.c
2703
if (hw->fwlog_cfg.options & ICE_FWLOG_OPTION_IS_REGISTERED) {
sys/dev/ice/if_ice_iflib.c
3003
if (hw->fwlog_cfg.options & ICE_FWLOG_OPTION_IS_REGISTERED) {
sys/dev/irdma/irdma_cm.c
1554
union all_known_options *options;
sys/dev/irdma/irdma_cm.c
1560
options = (union all_known_options *)&optionsbuf[optionssize];
sys/dev/irdma/irdma_cm.c
1561
options->mss.optionnum = OPTION_NUM_MSS;
sys/dev/irdma/irdma_cm.c
1562
options->mss.len = sizeof(struct option_mss);
sys/dev/irdma/irdma_cm.c
1563
options->mss.mss = htons(cm_node->tcp_cntxt.mss);
sys/dev/irdma/irdma_cm.c
1566
options = (union all_known_options *)&optionsbuf[optionssize];
sys/dev/irdma/irdma_cm.c
1567
options->windowscale.optionnum = OPTION_NUM_WINDOW_SCALE;
sys/dev/irdma/irdma_cm.c
1568
options->windowscale.len = sizeof(struct option_windowscale);
sys/dev/irdma/irdma_cm.c
1569
options->windowscale.shiftcount = cm_node->tcp_cntxt.rcv_wscale;
sys/dev/irdma/irdma_cm.c
1571
options = (union all_known_options *)&optionsbuf[optionssize];
sys/dev/irdma/irdma_cm.c
1572
options->eol = OPTION_NUM_EOL;
sys/dev/irdma/irdma_cm.c
435
struct irdma_kmem_info *options,
sys/dev/irdma/irdma_cm.c
463
if (options)
sys/dev/irdma/irdma_cm.c
464
opts_len = (u32)options->size;
sys/dev/irdma/irdma_cm.c
516
memcpy(buf, options->addr, opts_len);
sys/dev/irdma/irdma_cm.c
546
struct irdma_kmem_info *options,
sys/dev/irdma/irdma_cm.c
573
if (options)
sys/dev/irdma/irdma_cm.c
574
opts_len = (u32)options->size;
sys/dev/irdma/irdma_cm.c
703
memcpy(buf, options->addr, opts_len);
sys/dev/irdma/irdma_cm.h
405
struct irdma_kmem_info *options,
sys/dev/isp/isp.c
1251
vp.vp_mod_ports[0].options = ICB2400_VPOPT_ENABLED |
sys/dev/isp/isp.c
1254
vp.vp_mod_ports[0].options |= ICB2400_VPOPT_INI_ENABLE;
sys/dev/isp/isp.c
1256
vp.vp_mod_ports[0].options |= ICB2400_VPOPT_TGT_DISABLE;
sys/dev/isp/isp.c
1260
vp.vp_mod_ports[0].options |= ICB2400_VPOPT_HARD_ADDRESS;
sys/dev/isp/isp_library.c
883
ISP_IOXPUT_8(isp, src->vp_mod_ports[i].options, &dst->vp_mod_ports[i].options);
sys/dev/isp/isp_library.c
911
ISP_IOXGET_8(isp, &src->vp_mod_ports[i].options, dst->vp_mod_ports[i].options);
sys/dev/isp/ispmbox.h
835
uint8_t options;
sys/dev/ixgbe/ixgbe_e610.c
3952
u16 num_entries, u16 options, u16 log_resolution)
sys/dev/ixgbe/ixgbe_e610.c
3978
if (options & IXGBE_FWLOG_OPTION_ARQ_ENA)
sys/dev/ixgbe/ixgbe_e610.c
3980
if (options & IXGBE_FWLOG_OPTION_UART_ENA)
sys/dev/ixgbe/ixgbe_e610.c
4030
IXGBE_ACI_FW_LOG_ID_MAX, cfg->options,
sys/dev/ixgbe/ixgbe_e610.c
4103
status = ixgbe_aci_fwlog_set(hw, entries, num_entries, cfg.options,
sys/dev/ixgbe/ixgbe_e610.c
4152
hw->fwlog_cfg.options |= IXGBE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ixgbe/ixgbe_e610.c
4174
hw->fwlog_cfg.options &= ~IXGBE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ixgbe/ixgbe_e610.c
4221
cfg->options |= IXGBE_FWLOG_OPTION_ARQ_ENA;
sys/dev/ixgbe/ixgbe_e610.c
4223
cfg->options |= IXGBE_FWLOG_OPTION_UART_ENA;
sys/dev/ixgbe/ixgbe_e610.c
4225
cfg->options |= IXGBE_FWLOG_OPTION_IS_REGISTERED;
sys/dev/ixgbe/ixgbe_fw_logging.c
135
if (cfg->options & IXGBE_FWLOG_OPTION_IS_REGISTERED)
sys/dev/ixgbe/ixgbe_fw_logging.c
427
cfg->options |= IXGBE_FWLOG_OPTION_ARQ_ENA;
sys/dev/ixgbe/ixgbe_fw_logging.c
61
enabled = !!(cfg->options & option);
sys/dev/ixgbe/ixgbe_fw_logging.c
68
cfg->options |= option;
sys/dev/ixgbe/ixgbe_fw_logging.c
70
cfg->options &= ~option;
sys/dev/ixgbe/ixgbe_type_e610.h
1900
u16 options;
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
870
port->options = nvlist_clone(req->args_nvl);
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
875
nvlist_destroy(port->options);
sys/dev/ocs_fc/ocs_fcp.h
432
options:8,
sys/dev/ocs_fc/ocs_fcp.h
552
hdr->options = 0;
sys/dev/ofw/ofw_console.c
84
phandle_t options;
sys/dev/ofw/ofw_console.c
97
if ((options = OF_finddevice("/options")) == -1 ||
sys/dev/ofw/ofw_console.c
98
OF_getprop(options, "output-device", output,
sys/dev/ppbus/ppb_1284.c
150
ppb_request_mode(int mode, int options)
sys/dev/ppbus/ppb_1284.c
154
if (options & PPB_EXTENSIBILITY_LINK) {
sys/dev/ppbus/ppb_1284.c
160
request_mode = (options & PPB_REQUEST_ID) ?
sys/dev/ppbus/ppb_1284.c
165
request_mode = (options & PPB_REQUEST_ID) ?
sys/dev/ppbus/ppb_1284.c
170
if (options & PPB_USE_RLE)
sys/dev/ppbus/ppb_1284.c
171
request_mode = (options & PPB_REQUEST_ID) ?
sys/dev/ppbus/ppb_1284.c
175
request_mode = (options & PPB_REQUEST_ID) ?
sys/dev/ppbus/ppb_1284.c
196
ppb_peripheral_negociate(device_t bus, int mode, int options)
sys/dev/ppbus/ppb_1284.c
205
request_mode = ppb_request_mode(mode, options);
sys/dev/ppbus/ppb_1284.c
654
ppb_1284_negociate(device_t bus, int mode, int options)
sys/dev/ppbus/ppb_1284.c
680
request_mode = ppb_request_mode(mode, options);
sys/dev/ppbus/ppb_1284.c
740
if (options & PPB_EXTENSIBILITY_LINK) {
sys/dev/qlxgbe/ql_hw.c
3892
init_nic->options = Q8_INIT_NIC_REG_DCBX_CHNG_AEN;
sys/dev/qlxgbe/ql_hw.c
3893
init_nic->options |= Q8_INIT_NIC_REG_SFP_CHNG_AEN;
sys/dev/qlxgbe/ql_hw.c
3894
init_nic->options |= Q8_INIT_NIC_REG_IDC_AEN;
sys/dev/qlxgbe/ql_hw.c
3935
stop_nic->options = Q8_STOP_NIC_DEREG_DCBX_CHNG_AEN;
sys/dev/qlxgbe/ql_hw.c
3936
stop_nic->options |= Q8_STOP_NIC_DEREG_SFP_CHNG_AEN;
sys/dev/qlxgbe/ql_hw.h
850
uint32_t options;
sys/dev/qlxgbe/ql_hw.h
870
uint32_t options;
sys/dev/safexcel/safexcel.c
1930
cdesc->control_data.options |= SAFEXCEL_OPTION_4_TOKEN_IV_CMD;
sys/dev/safexcel/safexcel.c
2043
cdesc->control_data.options = SAFEXCEL_OPTION_IP |
sys/dev/safexcel/safexcel_var.h
61
uint32_t options : 13;
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/dev/sym/sym_hipd.c
1037
u8 options; /* PPR options */
sys/dev/sym/sym_hipd.c
2735
tp->tinfo.user.options |= PPR_OPT_DT;
sys/dev/sym/sym_hipd.c
2814
tp->tinfo.goal.options = 0;
sys/dev/sym/sym_hipd.c
2818
if (tp->tinfo.goal.options & PPR_OPT_MASK)
sys/dev/sym/sym_hipd.c
2854
msgptr[msglen++] = tp->tinfo.goal.options & PPR_OPT_DT;
sys/dev/sym/sym_hipd.c
3275
tp->tinfo.current.options = 0;
sys/dev/sym/sym_hipd.c
3441
cts__spi.ppr_options = tp->tinfo.current.options;
sys/dev/sym/sym_hipd.c
3478
tp->tinfo.current.options = 0;
sys/dev/sym/sym_hipd.c
3500
tp->tinfo.goal.options = tp->tinfo.current.options = 0;
sys/dev/sym/sym_hipd.c
3522
tp->tinfo.goal.options = tp->tinfo.current.options = dt;
sys/dev/sym/sym_hipd.c
4727
if (tp->tinfo.current.options & PPR_OPT_MASK)
sys/dev/sym/sym_hipd.c
5169
tp->tinfo.current.options = 0;
sys/dev/sym/sym_hipd.c
5815
tp->tinfo.goal.options = 0;
sys/dev/sym/sym_hipd.c
5947
tp->tinfo.goal.options = 0;
sys/dev/sym/sym_hipd.c
7541
tp->tinfo.current.options != tp->tinfo.goal.options) {
sys/dev/sym/sym_hipd.c
7990
cts__spi->ppr_options = tip->options;
sys/dev/sym/sym_hipd.c
8117
tp->tinfo.current.options = tp->tinfo.goal.options = 0;
sys/dev/sym/sym_hipd.c
8145
tip->options = (cts__spi->ppr_options & PPR_OPT_DT);
sys/dev/sym/sym_hipd.c
8176
tip->options &= ~PPR_OPT_DT;
sys/dev/sym/sym_hipd.c
8183
if (tip->options & PPR_OPT_DT) {
sys/dev/xen/netback/netback_unit_tests.c
2303
uint32_t *options;
sys/dev/xen/netback/netback_unit_tests.c
2325
options = (uint32_t*)(tcp + 1);
sys/dev/xen/netback/netback_unit_tests.c
2326
options[0] = htonl(0x0101080a);
sys/dev/xen/netback/netback_unit_tests.c
2327
options[1] = htonl(0x000081df);
sys/dev/xen/netback/netback_unit_tests.c
2328
options[2] = htonl(0xce18207f);
sys/dev/xen/netback/netback_unit_tests.c
2329
data_payload = (uint8_t*)(&options[3]);
sys/fs/autofs/autofs_vfsops.c
59
char *from, *fspath, *options, *prefix;
sys/fs/autofs/autofs_vfsops.c
76
if (vfs_getopt(mp->mnt_optnew, "master_options", (void **)&options, NULL))
sys/fs/autofs/autofs_vfsops.c
87
strlcpy(amp->am_options, options, sizeof(amp->am_options));
sys/i386/linux/linux_proto.h
361
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/i386/linux/linux_proto.h
55
char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
sys/i386/linux/linux_proto.h
959
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/i386/linux/linux_systrace_args.c
2030
iarg[a++] = p->options; /* int */
sys/i386/linux/linux_systrace_args.c
66
iarg[a++] = p->options; /* l_int */
sys/i386/linux/linux_systrace_args.c
786
iarg[a++] = p->options; /* l_int */
sys/kern/kern_exit.c
1003
if ((options & WNOWAIT) != 0) {
sys/kern/kern_exit.c
1186
int *status, int options, struct __wrusage *wrusage, siginfo_t *siginfo,
sys/kern/kern_exit.c
1254
if ((options & WEXITED) == 0 && p->p_state == PRS_ZOMBIE) {
sys/kern/kern_exit.c
1268
((options & WLINUXCLONE) != 0)) {
sys/kern/kern_exit.c
1283
proc_reap(td, p, status, options);
sys/kern/kern_exit.c
1290
kern_wait(struct thread *td, pid_t pid, int *status, int options,
sys/kern/kern_exit.c
1323
options |= WEXITED | WTRAPPED;
sys/kern/kern_exit.c
1324
ret = kern_wait6(td, idtype, id, status, options, wrup, NULL);
sys/kern/kern_exit.c
1332
int *status, int options, int si_code)
sys/kern/kern_exit.c
1342
if ((options & WNOWAIT) == 0) {
sys/kern/kern_exit.c
1365
wait6_checkopt(int options)
sys/kern/kern_exit.c
1368
if ((options & ~(WUNTRACED | WNOHANG | WCONTINUED | WNOWAIT |
sys/kern/kern_exit.c
1370
return (EXTERROR(EINVAL, "Unknown options %#jx", options));
sys/kern/kern_exit.c
1371
if ((options & (WEXITED | WUNTRACED | WCONTINUED | WTRAPPED)) == 0) {
sys/kern/kern_exit.c
1379
"Cannot match processes %#jx", options));
sys/kern/kern_exit.c
1393
wait6_check_alive(struct thread *td, int options, struct proc *p, int *status,
sys/kern/kern_exit.c
1401
if ((options & WTRAPPED) != 0 && (p->p_flag & P_TRACED) != 0) {
sys/kern/kern_exit.c
1414
options, CLD_TRAPPED);
sys/kern/kern_exit.c
1419
if ((options & WUNTRACED) != 0 && (p->p_flag & P_STOPPED_SIG) != 0) {
sys/kern/kern_exit.c
1425
report_alive_proc(td, p, siginfo, status, options,
sys/kern/kern_exit.c
1431
if ((options & WCONTINUED) != 0 && (p->p_flag & P_CONTINUED) != 0) {
sys/kern/kern_exit.c
1432
report_alive_proc(td, p, siginfo, status, options,
sys/kern/kern_exit.c
1442
int options, struct __wrusage *wrusage, siginfo_t *siginfo)
sys/kern/kern_exit.c
1450
AUDIT_ARG_VALUE(options);
sys/kern/kern_exit.c
1461
error = wait6_checkopt(options);
sys/kern/kern_exit.c
1475
ret = proc_to_reap(td, p, idtype, id, status, options,
sys/kern/kern_exit.c
1499
if (wait6_check_alive(td, options, p, status, siginfo)) {
sys/kern/kern_exit.c
1521
ret = proc_to_reap(td, p, idtype, id, NULL, options,
sys/kern/kern_exit.c
1536
if ((options & WNOHANG) != 0) {
sys/kern/kern_exit.c
1556
int options, struct __wrusage *wrusage, siginfo_t *siginfo)
sys/kern/kern_exit.c
1564
AUDIT_ARG_VALUE(options);
sys/kern/kern_exit.c
1566
error = wait6_checkopt(options);
sys/kern/kern_exit.c
1591
if ((options & WEXITED) == 0 && p->p_state == PRS_ZOMBIE) {
sys/kern/kern_exit.c
1600
proc_reap(td, p, status, options);
sys/kern/kern_exit.c
1604
if (wait6_check_alive(td, options, p, status, siginfo))
sys/kern/kern_exit.c
1607
if ((options & WNOHANG) != 0) {
sys/kern/kern_exit.c
910
error = kern_wait(td, uap->pid, &status, uap->options, rup);
sys/kern/kern_exit.c
945
error = kern_wait6(td, idtype, id, &status, uap->options, wrup, sip);
sys/kern/kern_exit.c
972
error = kern_pdwait(td, uap->fd, &status, uap->options, wrup, sip);
sys/kern/kern_exit.c
989
proc_reap(struct thread *td, struct proc *p, int *status, int options)
sys/kern/systrace_args.c
2938
iarg[a++] = p->options; /* int */
sys/kern/systrace_args.c
3541
iarg[a++] = p->options; /* int */
sys/kern/systrace_args.c
71
iarg[a++] = p->options; /* int */
sys/kern/vfs_mount.c
322
vfs_buildopts(struct uio *auio, struct vfsoptlist **options)
sys/kern/vfs_mount.c
390
*options = opts;
sys/kern/vfs_mountroot.c
1124
parse_mountroot_options(struct mntarg *ma, const char *options)
sys/kern/vfs_mountroot.c
1131
if (options == NULL || options[0] == '\0')
sys/kern/vfs_mountroot.c
1134
p = opts = strdup(options, M_MOUNT);
sys/net/if_gif.c
574
u_int options;
sys/net/if_gif.c
632
options = sc->gif_options;
sys/net/if_gif.c
633
error = copyout(&options, ifr_data_get_ptr(ifr),
sys/net/if_gif.c
634
sizeof(options));
sys/net/if_gif.c
639
error = copyin(ifr_data_get_ptr(ifr), &options,
sys/net/if_gif.c
640
sizeof(options));
sys/net/if_gif.c
643
if (options & ~GIF_OPTMASK) {
sys/net/if_gif.c
647
if (sc->gif_options != options) {
sys/net/if_gif.c
651
error = in_gif_setopts(sc, options);
sys/net/if_gif.c
656
error = in6_gif_setopts(sc, options);
sys/net/if_gif.c
661
sc->gif_options = options;
sys/net/if_media.c
426
const struct ifmedia_description *options;
sys/net/if_media.c
514
for (desc = ttos->options; desc->ifmt_string != NULL; desc++) {
sys/net/if_media.h
427
#define IFM_MAKEWORD(type, subtype, options, instance) \
sys/net/if_media.h
428
((type) | (subtype) | (options) | ((instance) << IFM_ISHIFT))
sys/netinet/in_gif.c
179
in_gif_setopts(struct gif_softc *sc, u_int options)
sys/netinet/in_gif.c
184
MPASS(sc->gif_options != options);
sys/netinet/in_gif.c
186
if ((options & GIF_IGNORE_SOURCE) !=
sys/netinet/in_gif.c
190
sc->gif_options = options;
sys/netinet/ip_output.c
1385
struct mbuf *options;
sys/netinet/ip_output.c
1387
options = m_copym(inp->inp_options, 0,
sys/netinet/ip_output.c
1390
if (options != NULL) {
sys/netinet/ip_output.c
1392
mtod(options, char *),
sys/netinet/ip_output.c
1393
options->m_len);
sys/netinet/ip_output.c
1394
m_freem(options);
sys/netinet6/in6_gif.c
185
in6_gif_setopts(struct gif_softc *sc, u_int options)
sys/netinet6/in6_gif.c
190
MPASS(sc->gif_options != options);
sys/netinet6/in6_gif.c
192
if ((options & GIF_IGNORE_SOURCE) !=
sys/netinet6/in6_gif.c
196
sc->gif_options = options;
sys/netinet6/in6_gif.c
200
if ((options & GIF_NOCLAMP) !=
sys/netinet6/in6_gif.c
202
sc->gif_options = options;
sys/ofed/drivers/infiniband/core/cma_priv.h
85
u32 options;
sys/ofed/drivers/infiniband/core/ib_cma.c
3238
id_priv->options |= (1 << CMA_OPTION_AFONLY);
sys/ofed/drivers/infiniband/core/ib_cma.c
3631
if (!(id_priv->options & (1 << CMA_OPTION_AFONLY))) {
sys/rpc/rpcsec_gss/rpcsec_gss.c
1061
rpc_gss_options_ret_t options;
sys/rpc/rpcsec_gss/rpcsec_gss.c
1087
memset(&options, 0, sizeof(options));
sys/rpc/rpcsec_gss/rpcsec_gss.c
1088
return (rpc_gss_init(auth, &options));
sys/rpc/rpcsec_gss/rpcsec_gss.c
215
rpc_gss_options_ret_t options;
sys/rpc/rpcsec_gss/rpcsec_gss.c
264
memset(&options, 0, sizeof (options));
sys/rpc/rpcsec_gss/rpcsec_gss.c
265
(void) rpc_gss_init(gd->gd_auth, &options);
sys/rpc/rpcsec_gss/rpcsec_gss.c
358
rpc_gss_options_ret_t options;
sys/rpc/rpcsec_gss/rpcsec_gss.c
368
memset(&options, 0, sizeof (options));
sys/rpc/rpcsec_gss/rpcsec_gss.c
369
(void) rpc_gss_init(auth, &options);
sys/rpc/rpcsec_gss/rpcsec_gss.c
380
rpc_gss_options_ret_t options;
sys/rpc/rpcsec_gss/rpcsec_gss.c
388
options_ret = &options;
sys/sys/mount.h
1038
int vfs_buildopts(struct uio *auio, struct vfsoptlist **options);
sys/sys/proc.h
1208
void proc_reap(struct thread *td, struct proc *p, int *status, int options);
sys/sys/soundcard.h
1750
char options[128]; /* Reserved */
sys/sys/syscallsubr.h
214
int kern_jail_get(struct thread *td, struct uio *options, int flags);
sys/sys/syscallsubr.h
215
int kern_jail_set(struct thread *td, struct uio *options, int flags);
sys/sys/syscallsubr.h
303
int options, struct __wrusage *wrusage, siginfo_t *sip);
sys/sys/syscallsubr.h
408
int kern_wait(struct thread *td, pid_t pid, int *status, int options,
sys/sys/syscallsubr.h
411
int options, struct __wrusage *wrup, siginfo_t *sip);
sys/sys/sysproto.h
1587
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/sys/sysproto.h
1924
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/sys/sysproto.h
63
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
sys/tests/runtest/runtest.c
60
static const char options[] = "n:j:c:t:h";
sys/tests/runtest/runtest.c
63
while ((ch = getopt(argc, argv, options)) != -1) {
sys/vm/memguard.c
138
SYSCTL_INT(_vm_memguard, OID_AUTO, options, CTLFLAG_RWTUN,
sys/vm/vm_object.c
1991
int options)
sys/vm/vm_object.c
1998
(options & (OBJPR_CLEANONLY | OBJPR_NOTMAPPED)) == OBJPR_NOTMAPPED,
sys/vm/vm_object.c
2021
if ((options & OBJPR_VALIDONLY) != 0 && vm_page_none_valid(p))
sys/vm/vm_object.c
2038
if ((options & OBJPR_VALIDONLY) != 0 && vm_page_none_valid(p)) {
sys/vm/vm_object.c
2044
if ((options & OBJPR_NOTMAPPED) == 0 &&
sys/vm/vm_object.c
2047
if ((options & OBJPR_CLEANONLY) == 0) {
sys/vm/vm_object.c
2056
if ((options & OBJPR_CLEANONLY) != 0 &&
sys/vm/vm_object.c
2058
if ((options & OBJPR_NOTMAPPED) == 0 &&
sys/vm/vm_object.c
2067
if ((options & OBJPR_NOTMAPPED) == 0 &&
sys/vm/vm_object.h
377
vm_pindex_t end, int options);
sys/vm/vm_page.c
2816
u_long alignment, vm_paddr_t boundary, int options)
sys/vm/vm_page.c
2866
(options & VPSC_NORESERV) != 0) {
sys/vm/vm_page.c
2890
} else if ((options & VPSC_NOSUPER) != 0 &&
sys/vm/vm_page.c
3219
int error, i, min_reclaim, nruns, options, req_class;
sys/vm/vm_page.c
3284
for (options = VPSC_NORESERV;;) {
sys/vm/vm_page.c
3297
bounds[1], alignment, boundary, options))) {
sys/vm/vm_page.c
3336
if (options == VPSC_NORESERV)
sys/vm/vm_page.c
3337
options = VPSC_NOSUPER;
sys/vm/vm_page.c
3338
else if (options == VPSC_NOSUPER)
sys/vm/vm_page.c
3339
options = VPSC_ANY;
sys/vm/vm_page.c
3340
else if (options == VPSC_ANY) {
tests/sys/capsicum/procdesc.cc
26
static pid_t pdwait4_(int pd, int *status, int options, struct rusage *ru) {
tests/sys/capsicum/procdesc.cc
28
return pdwait4(pd, status, options, ru);
tests/sys/capsicum/procdesc.cc
36
return wait4(pid, status, options, ru);
tools/regression/gaithrstress/gaithrstress.c
105
if (_res.options & RES_INIT || res_init() == 0)
tools/regression/gaithrstress/gaithrstress.c
106
_res.options &= ~RES_DNSRCH;
tools/test/stress2/include/stress.h
32
extern void options(int, char **);
tools/test/stress2/lib/main.c
188
options(argc, argv);
tools/tools/netmap/nmreplay.c
1420
that contains all possible options.
tools/tools/netmap/nmreplay.c
1438
Currently implemented options:
tools/tools/netmap/nmreplay.c
1454
Currently implemented options
tools/tools/netmap/nmreplay.c
1476
Currently implemented options
tools/tools/netmap/pkt-gen.c
1079
if (t->g->options & OPT_UPDATE_CSUM) {
tools/tools/netmap/pkt-gen.c
1102
const char *payload = targ->g->options & OPT_INDIRECT ?
tools/tools/netmap/pkt-gen.c
1261
int size, struct targ *t, u_int count, int options)
tools/tools/netmap/pkt-gen.c
1270
if (options & (OPT_COPY | OPT_PREFETCH) ) {
tools/tools/netmap/pkt-gen.c
1291
if (options & OPT_RUBBISH) {
tools/tools/netmap/pkt-gen.c
1293
} else if (options & OPT_INDIRECT) {
tools/tools/netmap/pkt-gen.c
1304
if (options & OPT_DUMP)
tools/tools/netmap/pkt-gen.c
1317
} else if ((options & (OPT_COPY | OPT_MEMCPY)) || buf_changed) {
tools/tools/netmap/pkt-gen.c
1318
if (options & OPT_COPY)
tools/tools/netmap/pkt-gen.c
1323
} else if (options & OPT_PREFETCH) {
tools/tools/netmap/pkt-gen.c
1327
if (options & OPT_DUMP)
tools/tools/netmap/pkt-gen.c
1686
int options = targ->g->options;
tools/tools/netmap/pkt-gen.c
1829
limit, options);
tools/tools/netmap/pkt-gen.c
1979
int dump = targ->g->options & OPT_DUMP;
tools/tools/netmap/pkt-gen.c
2051
int options = targ->g->options | OPT_COPY;
tools/tools/netmap/pkt-gen.c
2170
if (options & OPT_DUMP) {
tools/tools/netmap/pkt-gen.c
2258
int dump = targ->g->options & OPT_DUMP;
tools/tools/netmap/pkt-gen.c
273
int options; /* testing */
tools/tools/netmap/pkt-gen.c
2749
if (!(g->options & OPT_PPS_STATS)) {
tools/tools/netmap/pkt-gen.c
3024
g.options |= atoi(optarg);
tools/tools/netmap/pkt-gen.c
3062
g.options |= OPT_INDIRECT; /* use indirect buffers */
tools/tools/netmap/pkt-gen.c
3119
g.options |= OPT_DUMP;
tools/tools/netmap/pkt-gen.c
3132
g.options |= OPT_RUBBISH;
tools/tools/netmap/pkt-gen.c
3135
g.options |= OPT_RANDOM_SRC;
tools/tools/netmap/pkt-gen.c
3138
g.options |= OPT_RANDOM_DST;
tools/tools/netmap/pkt-gen.c
3141
g.options |= OPT_PPS_STATS;
tools/tools/netmap/pkt-gen.c
3196
g.options |= extract_ip_range(&g.src_ip, g.af);
tools/tools/netmap/pkt-gen.c
3197
g.options |= extract_ip_range(&g.dst_ip, g.af);
tools/tools/netmap/pkt-gen.c
3340
if (g.options) {
tools/tools/netmap/pkt-gen.c
3342
g.options & OPT_PREFETCH ? " prefetch" : "",
tools/tools/netmap/pkt-gen.c
3343
g.options & OPT_ACCESS ? " access" : "",
tools/tools/netmap/pkt-gen.c
3344
g.options & OPT_MEMCPY ? " memcpy" : "",
tools/tools/netmap/pkt-gen.c
3345
g.options & OPT_INDIRECT ? " indirect" : "",
tools/tools/netmap/pkt-gen.c
3346
g.options & OPT_COPY ? " copy" : "",
tools/tools/netmap/pkt-gen.c
3347
g.options & OPT_RUBBISH ? " rubbish " : "");
tools/tools/netmap/pkt-gen.c
844
if (g->options & OPT_RANDOM_SRC) {
tools/tools/netmap/pkt-gen.c
873
if (g->options & OPT_RANDOM_DST) {
tools/tools/netmap/pkt-gen.c
932
if (g->options & OPT_RANDOM_SRC) {
tools/tools/netmap/pkt-gen.c
964
if (g->options & OPT_RANDOM_DST) {
usr.bin/ar/acpyacc.y
422
bsdar->options |= AR_V;
usr.bin/ar/acpyacc.y
424
bsdar->options &= ~AR_V;
usr.bin/ar/acpyacc.y
448
bsdar->options |= AR_V;
usr.bin/ar/acpyacc.y
450
bsdar->options &= ~AR_V;
usr.bin/ar/ar.c
150
bsdar->options |= AR_D;
usr.bin/ar/ar.c
151
bsdar->options |= AR_S;
usr.bin/ar/ar.c
175
bsdar->options |= AR_A;
usr.bin/ar/ar.c
179
bsdar->options |= AR_B;
usr.bin/ar/ar.c
182
bsdar->options |= AR_CC;
usr.bin/ar/ar.c
185
bsdar->options |= AR_C;
usr.bin/ar/ar.c
195
bsdar->options |= AR_TR;
usr.bin/ar/ar.c
210
bsdar->options |= AR_O;
usr.bin/ar/ar.c
222
bsdar->options |= AR_SS;
usr.bin/ar/ar.c
225
bsdar->options |= AR_S;
usr.bin/ar/ar.c
238
bsdar->options |= AR_U;
usr.bin/ar/ar.c
244
bsdar->options |= AR_V;
usr.bin/ar/ar.c
265
if (bsdar->options & AR_A && bsdar->options & AR_B)
usr.bin/ar/ar.c
269
if (bsdar->options & AR_J && bsdar->options & AR_Z)
usr.bin/ar/ar.c
272
if (bsdar->options & AR_S && bsdar->options & AR_SS)
usr.bin/ar/ar.c
275
if (bsdar->options & (AR_A | AR_B)) {
usr.bin/ar/ar.c
286
(bsdar->mode == '\0' && bsdar->options & AR_S))))
usr.bin/ar/ar.c
287
bsdar->options |= AR_D;
usr.bin/ar/ar.c
289
if (bsdar->options & AR_A)
usr.bin/ar/ar.c
291
if (bsdar->options & AR_B)
usr.bin/ar/ar.c
293
if (bsdar->options & AR_C)
usr.bin/ar/ar.c
295
if (bsdar->options & AR_CC)
usr.bin/ar/ar.c
301
if (bsdar->options & AR_O)
usr.bin/ar/ar.c
303
if (bsdar->options & AR_SS)
usr.bin/ar/ar.c
305
if (bsdar->options & AR_U)
usr.bin/ar/ar.c
320
bsdar->options & AR_S) {
usr.bin/ar/ar.h
85
int options; /* command line options */
usr.bin/ar/read.c
117
if (bsdar->options & AR_V) {
usr.bin/ar/read.c
147
if (bsdar->options & AR_V) {
usr.bin/ar/read.c
164
if (bsdar->options & AR_CC)
usr.bin/ar/read.c
166
if (bsdar->options & AR_U &&
usr.bin/ar/read.c
172
if (bsdar->options & AR_V)
usr.bin/ar/read.c
183
if (bsdar->options & AR_O)
usr.bin/ar/write.c
103
if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) {
usr.bin/ar/write.c
128
if (mtime != 0 && bsdar->options & AR_U && sb.st_mtime <= mtime)
usr.bin/ar/write.c
137
if (bsdar->options & AR_D) {
usr.bin/ar/write.c
209
if (bsdar->options & AR_B) {
usr.bin/ar/write.c
213
if (bsdar->options & AR_A) {
usr.bin/ar/write.c
372
if (!(bsdar->options & AR_C))
usr.bin/ar/write.c
415
if (bsdar->options & AR_A || bsdar->options & AR_B) {
usr.bin/ar/write.c
428
bsdar->options &= ~(AR_A | AR_B);
usr.bin/ar/write.c
437
if (bsdar->options & AR_TR) {
usr.bin/ar/write.c
457
if (bsdar->options & AR_V)
usr.bin/ar/write.c
494
if (bsdar->options & AR_V && nobj != NULL)
usr.bin/ar/write.c
595
if (!(bsdar->options & AR_SS) && obj->maddr != NULL)
usr.bin/ar/write.c
665
if ((bsdar->s_cnt != 0 && !(bsdar->options & AR_SS)) ||
usr.bin/ar/write.c
666
bsdar->options & AR_S) {
usr.bin/ar/write.c
674
if ((bsdar->options & AR_D) == 0)
usr.bin/at/at.c
739
const char *options = "q:f:t:rmvldbc"; /* default options for at */
usr.bin/at/at.c
762
options = "q:v";
usr.bin/at/at.c
766
options = "";
usr.bin/at/at.c
770
options = "f:q:mv";
usr.bin/at/at.c
776
while ((c=getopt(argc, argv, options)) != -1)
usr.bin/at/at.c
810
options = "";
usr.bin/at/at.c
824
options = "q:";
usr.bin/at/at.c
832
options = "f:q:mv";
usr.bin/at/at.c
837
options = "";
usr.bin/dtc/dtc.cc
116
const char *options = "@hqI:O:o:V:d:R:S:p:b:fi:svH:W:E:DP:";
usr.bin/dtc/dtc.cc
119
while ((ch = getopt(argc, argv, options)) != -1)
usr.bin/find/option.c
203
return ((OPTION *)bsearch(&tmp, options,
usr.bin/find/option.c
204
sizeof(options)/sizeof(OPTION), sizeof(OPTION), typecompare));
usr.bin/find/option.c
52
static OPTION const options[] = {
usr.bin/indent/indent.c
68
struct options opt;
usr.bin/indent/indent_globs.h
222
extern struct options opt;
usr.bin/mkuzip/mkuz_lzma.c
70
ulp->filters[0].options = &ulp->opt_lzma;
usr.bin/patch/patch.c
525
const char *options = "b::B:cCd:D:eEfF:i:lnNo:p:r:RstuvV:x:z:";
usr.bin/patch/patch.c
565
while ((ch = getopt_long(Argc, Argv, options, longopts, NULL)) != -1) {
usr.bin/posixmqcontrol/posixmqcontrol.c
366
const char *argv[], const struct Option **options)
usr.bin/posixmqcontrol/posixmqcontrol.c
369
const struct Option **cursor = options;
usr.bin/posixmqcontrol/posixmqcontrol.c
404
validate_options(const struct Option **options)
usr.bin/posixmqcontrol/posixmqcontrol.c
408
while (*options != NULL) {
usr.bin/posixmqcontrol/posixmqcontrol.c
409
const struct Option *option = options[0];
usr.bin/posixmqcontrol/posixmqcontrol.c
413
options++;
usr.bin/stat/stat.c
169
const char *statfmt, *options, *synopsis;
usr.bin/stat/stat.c
190
options = "fn";
usr.bin/stat/stat.c
196
options = "Ff:HhLlnqrst:x";
usr.bin/stat/stat.c
201
while ((ch = getopt(argc, argv, options)) != -1)
usr.bin/tftp/main.c
1037
options[OPT_BLKSIZE2].o_request);
usr.bin/tftp/main.c
1069
options[OPT_WINDOWSIZE].o_request);
usr.bin/tftp/main.c
916
options[OPT_ROLLOVER].o_request != NULL ? "enabled" : "disabled");
usr.bin/tftp/main.c
917
if (options[OPT_ROLLOVER].o_request != NULL)
usr.bin/tftp/main.c
919
options[OPT_ROLLOVER].o_request);
usr.bin/tftp/main.c
982
printf("Blocksize is now %s bytes.\n", options[OPT_BLKSIZE].o_request);
usr.bin/w/w.c
190
if (!(_res.options & RES_INIT))
usr.sbin/autofs/automount.c
100
mount_autofs(const char *from, const char *fspath, const char *options,
usr.sbin/autofs/automount.c
110
from, fspath, prefix, options);
usr.sbin/autofs/automount.c
127
__DECONST(void *, options), (size_t)-1);
usr.sbin/autofs/automount.c
143
mount_if_not_already(const struct node *n, const char *map, const char *options,
usr.sbin/autofs/automount.c
177
mount_autofs(from, mountpoint, options, prefix);
usr.sbin/autofs/automount.c
341
char *options = NULL;
usr.sbin/autofs/automount.c
365
options = concat(options, ',', optarg);
usr.sbin/autofs/automount.c
406
node_print(root, options);
usr.sbin/autofs/automountd.c
177
char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp;
usr.sbin/autofs/automountd.c
244
options = node_options(node);
usr.sbin/autofs/automountd.c
249
options = concat(options, ',', adr->adr_options);
usr.sbin/autofs/automountd.c
254
options = concat(cmdline_options, ',', options);
usr.sbin/autofs/automountd.c
260
nobrowse = pick_option("nobrowse", &options);
usr.sbin/autofs/automountd.c
312
options = concat(options, ',', "automounted");
usr.sbin/autofs/automountd.c
317
pick_option("nobrowse", &options);
usr.sbin/autofs/automountd.c
322
fstype = pick_option("fstype=", &options);
usr.sbin/autofs/automountd.c
336
retrycnt = pick_option("retrycnt=", &options);
usr.sbin/autofs/automountd.c
340
options = concat(options, ',', "retrycnt=1");
usr.sbin/autofs/automountd.c
342
options = concat(options, ',',
usr.sbin/autofs/automountd.c
347
f = auto_popen("mount", "-t", fstype, "-o", options,
usr.sbin/autofs/automountd.c
437
char *options = NULL;
usr.sbin/autofs/automountd.c
467
options = concat(options, ',', optarg);
usr.sbin/autofs/automountd.c
559
handle_request(&request, options, incomplete_hierarchy);
usr.sbin/autofs/common.c
1114
char *mountpoint = NULL, *map = NULL, *options = NULL;
usr.sbin/autofs/common.c
1127
node_new_map(root, mountpoint, options, map,
usr.sbin/autofs/common.c
1133
mountpoint = map = options = NULL;
usr.sbin/autofs/common.c
1141
} else if (options == NULL) {
usr.sbin/autofs/common.c
1145
options = checked_strdup(yytext + 1);
usr.sbin/autofs/common.c
178
node_new(struct node *parent, char *key, char *options, char *location,
usr.sbin/autofs/common.c
191
if (options != NULL)
usr.sbin/autofs/common.c
192
n->n_options = options;
usr.sbin/autofs/common.c
209
node_new_map(struct node *parent, char *key, char *options, char *map,
usr.sbin/autofs/common.c
222
if (options != NULL)
usr.sbin/autofs/common.c
223
n->n_options = options;
usr.sbin/autofs/common.c
594
char *options;
usr.sbin/autofs/common.c
599
options = concat(x, ',', n->n_options);
usr.sbin/autofs/common.c
602
return (node_options_x(n->n_parent, options));
usr.sbin/autofs/common.c
622
char *path, *options, *tmp;
usr.sbin/autofs/common.c
626
options = concat(cmdline_options, ',', tmp);
usr.sbin/autofs/common.c
644
options[0] != '\0' ? "-" : " ",
usr.sbin/autofs/common.c
646
options[0] != '\0' ? options : "",
usr.sbin/autofs/common.c
655
free(options);
usr.sbin/autofs/common.c
743
char *key = NULL, *options = NULL, *mountpoint = NULL,
usr.sbin/autofs/common.c
762
options != NULL) {
usr.sbin/autofs/common.c
772
key = options = NULL;
usr.sbin/autofs/common.c
780
key = options = NULL;
usr.sbin/autofs/common.c
785
if (options != NULL) {
usr.sbin/autofs/common.c
792
options = checked_strdup(yytext + 1);
usr.sbin/autofs/common.c
816
key = options = NULL;
usr.sbin/autofs/common.c
821
node = node_new(parent, key, options, NULL, map, lineno);
usr.sbin/autofs/common.c
822
key = options = NULL;
usr.sbin/autofs/common.h
74
struct node *node_new(struct node *parent, char *key, char *options,
usr.sbin/autofs/common.h
76
struct node *node_new_map(struct node *parent, char *key, char *options,
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
55
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
62
memcpy(all_opts, options, count * sizeof(struct option));
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1113
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1316
memcpy(cp, options, count * sizeof(struct option));
usr.sbin/bhyvectl/bhyvectl.h
47
struct option *bhyvectl_opts(const struct option *options, size_t count);
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
55
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
62
memcpy(all_opts, options, count * sizeof(struct option));
usr.sbin/bluetooth/bthidd/parser.y
119
'{' options '}'
usr.sbin/bluetooth/bthidd/parser.y
130
options: option ';'
usr.sbin/bluetooth/bthidd/parser.y
131
| options option ';'
usr.sbin/bluetooth/hcsecd/parser.y
100
options: option ';'
usr.sbin/bluetooth/hcsecd/parser.y
101
| options option ';'
usr.sbin/bluetooth/hcsecd/parser.y
86
'{' options '}'
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
312
getsubopt1(char **arg, const char *const *options, char **valp, char **optp)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
349
for (i = 0; *options != NULL; options++, i++)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
350
if (strcmp(*optp, *options) == 0)
usr.sbin/config/config.h
245
void options(void);
usr.sbin/config/main.cc
254
options(); /* make options .h files */
usr.sbin/ctld/ctld.hh
208
freebsd::nvlist_up options() const;
usr.sbin/ctld/ctld.hh
344
freebsd::nvlist_up options() const;
usr.sbin/ctld/iscsi.cc
262
freebsd::nvlist_up nvl = pg->options();
usr.sbin/ctld/kernel.cc
659
freebsd::nvlist_up nvl = options();
usr.sbin/ctld/kernel.cc
707
freebsd::nvlist_up nvl = options();
usr.sbin/ctld/nvmf.cc
147
freebsd::nvlist_up nvl = portal_group()->options();
usr.sbin/ctld/nvmf.cc
332
freebsd::nvlist_up nvl = pg->options();
usr.sbin/extattr/rmextattr.c
108
const char *options, *attrname;
usr.sbin/extattr/rmextattr.c
131
options = "fhqsx";
usr.sbin/extattr/rmextattr.c
135
options = "fhinq";
usr.sbin/extattr/rmextattr.c
139
options = "fhq";
usr.sbin/extattr/rmextattr.c
143
options = "fhq";
usr.sbin/extattr/rmextattr.c
149
while ((ch = getopt(argc, argv, options)) != -1) {
usr.sbin/i2c/i2c.c
315
write_offset(int fd, struct options i2c_opt, struct iiccmd *cmd)
usr.sbin/i2c/i2c.c
327
i2c_write(int fd, struct options i2c_opt, uint8_t *i2c_buf)
usr.sbin/i2c/i2c.c
395
i2c_read(int fd, struct options i2c_opt, uint8_t *i2c_buf)
usr.sbin/i2c/i2c.c
449
i2c_rdwr_transfer(int fd, struct options i2c_opt, uint8_t *i2c_buf)
usr.sbin/i2c/i2c.c
490
access_bus(int fd, struct options i2c_opt)
usr.sbin/i2c/i2c.c
545
command_bus(struct options i2c_opt, char *cmd)
usr.sbin/i2c/i2c.c
692
exec_bus(struct options i2c_opt, char *cmd)
usr.sbin/i2c/i2c.c
713
instruct_bus(struct options i2c_opt, int argc, char **argv)
usr.sbin/i2c/i2c.c
742
struct options i2c_opt;
usr.sbin/ifmcstat/ifmcstat.c
130
static const char *options = "i:f:v";
usr.sbin/ifmcstat/ifmcstat.c
137
while ((c = getopt(argc, argv, options)) != -1) {
usr.sbin/inetd/inetd.c
1258
if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) &&
usr.sbin/inetd/inetd.c
250
static int options;
usr.sbin/inetd/inetd.c
347
options |= SO_DEBUG;
usr.sbin/makefs/makefs.c
364
set_option(const option_t *options, const char *option, char *buf, size_t len)
usr.sbin/makefs/makefs.c
377
retval = set_option_var(options, var, val, buf, len);
usr.sbin/makefs/makefs.c
383
set_option_var(const option_t *options, const char *var, const char *val,
usr.sbin/makefs/makefs.c
391
*(type *)options[i].value = 1; \
usr.sbin/makefs/makefs.c
394
*(type *)options[i].value = (type)strsuftoll(options[i].desc, val, \
usr.sbin/makefs/makefs.c
395
options[i].minimum, options[i].maximum); break
usr.sbin/makefs/makefs.c
397
for (i = 0; options[i].name != NULL; i++) {
usr.sbin/makefs/makefs.c
399
if (options[i].letter != var[0])
usr.sbin/makefs/makefs.c
401
} else if (strcmp(options[i].name, var) != 0)
usr.sbin/makefs/makefs.c
403
switch (options[i].type) {
usr.sbin/makefs/makefs.c
405
*(bool *)options[i].value = 1;
usr.sbin/makefs/makefs.c
408
strlcpy((void *)options[i].value, val, (size_t)
usr.sbin/makefs/makefs.c
409
options[i].maximum);
usr.sbin/makefs/makefs.c
413
*(char **)options[i].value = s;
usr.sbin/makefs/makefs.c
429
warnx("Unknown type %d in option %s", options[i].type,
usr.sbin/makefs/msdos.c
157
msdos_opt->options.create_size = MAX(msdos_opt->options.create_size,
usr.sbin/makefs/msdos.c
160
msdos_opt->options.offset = fsopts->offset;
usr.sbin/makefs/msdos.c
161
if (msdos_opt->options.bytes_per_sector == 0) {
usr.sbin/makefs/msdos.c
164
msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
usr.sbin/makefs/msdos.c
166
fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
usr.sbin/makefs/msdos.c
167
} else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
usr.sbin/makefs/msdos.c
170
fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
usr.sbin/makefs/msdos.c
176
if (mkfs_msdos(image, NULL, &msdos_opt->options) == -1)
usr.sbin/makefs/msdos.c
70
struct msdos_options options;
usr.sbin/makefs/msdos.c
86
.value = &msdos_opt->options._name, \
usr.sbin/traceroute/traceroute.c
327
int options; /* socket options */
usr.sbin/traceroute/traceroute.c
584
options |= SO_DEBUG;
usr.sbin/traceroute/traceroute.c
649
options |= SO_DONTROUTE;
usr.sbin/traceroute/traceroute.c
802
if (options & SO_DEBUG)
usr.sbin/traceroute/traceroute.c
805
if (options & SO_DONTROUTE)
usr.sbin/traceroute/traceroute.c
846
if (options & SO_DEBUG)
usr.sbin/traceroute/traceroute.c
849
if (options & SO_DONTROUTE)
usr.sbin/traceroute6/traceroute6.c
337
static int options; /* socket options */
usr.sbin/traceroute6/traceroute6.c
415
options |= SO_DEBUG;
usr.sbin/traceroute6/traceroute6.c
512
options |= SO_DONTROUTE;
usr.sbin/traceroute6/traceroute6.c
723
if (options & SO_DEBUG)
usr.sbin/traceroute6/traceroute6.c
726
if (options & SO_DONTROUTE)
usr.sbin/traceroute6/traceroute6.c
770
if (options & SO_DEBUG)
usr.sbin/traceroute6/traceroute6.c
773
if (options & SO_DONTROUTE)
usr.sbin/usbconfig/usbconfig.c
136
static struct options options;
usr.sbin/usbconfig/usbconfig.c
313
reset_options(struct options *opt)
usr.sbin/usbconfig/usbconfig.c
321
flush_command(struct libusb20_backend *pbe, struct options *opt)
usr.sbin/usbconfig/usbconfig.c
560
struct options *opt = &options;
usr.sbin/virtual_oss/virtual_oss/ctl.c
486
data.options[VIRTUAL_OSS_OPTIONS_MAX - 1] = 0;
usr.sbin/virtual_oss/virtual_oss/ctl.c
487
voss_add_options(data.options);
usr.sbin/virtual_oss/virtual_oss/ctl.c
95
char options[VIRTUAL_OSS_OPTIONS_MAX];
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
100
if (options[0] != '\0')
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
101
errx(EX_SOFTWARE, "%s", options);
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
51
char options[VIRTUAL_OSS_OPTIONS_MAX] = {};
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
68
memcpy(options + offset, argv[x], tmp);
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
69
options[offset + tmp - 1] = ' ';
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
74
if (options[0] == 0) {
usr.sbin/virtual_oss/virtual_oss_cmd/command.c
97
if (ioctl(fd, VIRTUAL_OSS_ADD_OPTIONS, options) < 0)
usr.sbin/ypserv/yp_dnslookup.c
132
if (!(_res.options & RES_INIT) && res_init() == -1) {