Symbol: opts
crypto/heimdal/lib/krb5/get_in_tkt.c
146
KDCOptions opts,
crypto/heimdal/lib/krb5/get_in_tkt.c
164
a->req_body.kdc_options = opts;
crypto/heimdal/lib/krb5/get_in_tkt.c
386
KDCOptions opts;
crypto/heimdal/lib/krb5/get_in_tkt.c
393
opts = int2KDCOptions(options);
crypto/heimdal/lib/krb5/get_in_tkt.c
401
opts,
crypto/heimdal/lib/krb5/get_in_tkt.c
501
if (opts.request_anonymous)
crypto/heimdal/lib/krb5/init_creds_pw.c
614
KDCOptions opts,
crypto/heimdal/lib/krb5/init_creds_pw.c
626
a->req_body.kdc_options = opts;
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
102
opts.pszString = argv[++i];
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
105
opts.pszEndpoint = argv[++i];
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
108
opts.cMaxCalls = (unsigned int) atoi(argv[++i]);
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
111
opts.cMinCalls = (unsigned int) atoi(argv[++i]);
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
114
opts.fDontWait = (unsigned int) atoi(argv[++i]);
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
117
opts.bDontProtect = TRUE;
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
120
opts.bSecCallback = TRUE;
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
124
opts.bConsole = TRUE;
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
85
Opts& opts,
crypto/krb5/src/ccapi/common/win/OldCC/opts.cxx
98
opts.bShutdown = TRUE;
crypto/krb5/src/ccapi/common/win/OldCC/opts.hxx
48
void Parse(Opts& opts, int argc, char **argv);
crypto/krb5/src/ccapi/lib/win/ccapi_os_ipc.cxx
51
ParseOpts::Opts opts = { 0 };
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
112
ParseOpts::Opts opts = { 0 };
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
121
opts.cMinCalls = 1;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
122
opts.cMaxCalls = 20;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
123
opts.fDontWait = TRUE;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
131
PO.Parse(opts, argc, (char**)argv);
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
166
opts.bShutdown ? "shutting down" : "starting/running",
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
200
ParseOpts::Opts opts = { 0 };
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
204
opts.cMinCalls = 1;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
205
opts.cMaxCalls = 20;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
206
opts.fDontWait = TRUE;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
213
PO.Parse(opts, argc, (char**)argv);
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
229
rpcargs.opts = &opts;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
386
if (!rcvargs->opts->pszEndpoint) {
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
402
endpoint = rcvargs->opts->pszEndpoint;
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
414
rcvargs->opts->cMaxCalls,
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
416
rcvargs->opts->bDontProtect ? 0 : psd); // SD
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
439
rcvargs->opts->cMaxCalls,
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
440
rcvargs->opts->bSecCallback ?
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
445
status = RpcServerListen(rcvargs->opts->cMinCalls,
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
446
rcvargs->opts->cMaxCalls,
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
447
rcvargs->opts->fDontWait);
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
451
if (rcvargs->opts->fDontWait) {
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
462
if (endpoint && (endpoint != rcvargs->opts->pszEndpoint))
crypto/krb5/src/ccapi/server/win/ccs_os_server.cpp
62
ParseOpts::Opts* opts;
crypto/krb5/src/clients/kinit/kinit.c
196
add_preauth_opt(struct k_opts *opts, char *av)
crypto/krb5/src/clients/kinit/kinit.c
200
size_t newsize = (opts->num_pa_opts + 1) * sizeof(*opts->pa_opts);
crypto/krb5/src/clients/kinit/kinit.c
202
x = realloc(opts->pa_opts, newsize);
crypto/krb5/src/clients/kinit/kinit.c
205
opts->pa_opts = x;
crypto/krb5/src/clients/kinit/kinit.c
207
p = &opts->pa_opts[opts->num_pa_opts];
crypto/krb5/src/clients/kinit/kinit.c
217
opts->num_pa_opts++;
crypto/krb5/src/clients/kinit/kinit.c
222
parse_options(int argc, char **argv, struct k_opts *opts)
crypto/krb5/src/clients/kinit/kinit.c
233
{ "request-pac", 0, &opts->request_pac, 1 },
crypto/krb5/src/clients/kinit/kinit.c
234
{ "no-request-pac", 0, &opts->not_request_pac, 1 },
crypto/krb5/src/clients/kinit/kinit.c
244
opts->verbose = 1;
crypto/krb5/src/clients/kinit/kinit.c
248
ret = krb5_string_to_deltat(optarg, &opts->lifetime);
crypto/krb5/src/clients/kinit/kinit.c
249
if (ret || opts->lifetime == 0) {
crypto/krb5/src/clients/kinit/kinit.c
256
ret = krb5_string_to_deltat(optarg, &opts->rlife);
crypto/krb5/src/clients/kinit/kinit.c
257
if (ret || opts->rlife == 0) {
crypto/krb5/src/clients/kinit/kinit.c
263
opts->forwardable = 1;
crypto/krb5/src/clients/kinit/kinit.c
266
opts->not_forwardable = 1;
crypto/krb5/src/clients/kinit/kinit.c
269
opts->proxiable = 1;
crypto/krb5/src/clients/kinit/kinit.c
272
opts->not_proxiable = 1;
crypto/krb5/src/clients/kinit/kinit.c
275
opts->anonymous = 1;
crypto/krb5/src/clients/kinit/kinit.c
278
opts->addresses = 1;
crypto/krb5/src/clients/kinit/kinit.c
281
opts->no_addresses = 1;
crypto/krb5/src/clients/kinit/kinit.c
284
ret = krb5_string_to_deltat(optarg, &opts->starttime);
crypto/krb5/src/clients/kinit/kinit.c
285
if (ret || opts->starttime == 0) {
crypto/krb5/src/clients/kinit/kinit.c
295
opts->starttime = ts_delta(abs_starttime, time(NULL));
crypto/krb5/src/clients/kinit/kinit.c
300
opts->service_name = optarg;
crypto/krb5/src/clients/kinit/kinit.c
303
opts->action = INIT_KT;
crypto/krb5/src/clients/kinit/kinit.c
306
opts->use_client_keytab = 1;
crypto/krb5/src/clients/kinit/kinit.c
309
if (opts->keytab_name != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
313
opts->keytab_name = optarg;
crypto/krb5/src/clients/kinit/kinit.c
317
if (opts->armor_ccache != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
321
opts->armor_ccache = optarg;
crypto/krb5/src/clients/kinit/kinit.c
325
opts->action = RENEW;
crypto/krb5/src/clients/kinit/kinit.c
328
opts->action = VALIDATE;
crypto/krb5/src/clients/kinit/kinit.c
331
if (opts->k5_out_cache_name != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
335
opts->k5_out_cache_name = optarg;
crypto/krb5/src/clients/kinit/kinit.c
339
if (opts->k5_in_cache_name != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
343
opts->k5_in_cache_name = optarg;
crypto/krb5/src/clients/kinit/kinit.c
347
ret = add_preauth_opt(opts, optarg);
crypto/krb5/src/clients/kinit/kinit.c
354
opts->canonicalize = 1;
crypto/krb5/src/clients/kinit/kinit.c
357
opts->enterprise = 1;
crypto/krb5/src/clients/kinit/kinit.c
374
if (opts->forwardable && opts->not_forwardable) {
crypto/krb5/src/clients/kinit/kinit.c
378
if (opts->proxiable && opts->not_proxiable) {
crypto/krb5/src/clients/kinit/kinit.c
382
if (opts->request_pac && opts->not_request_pac) {
crypto/krb5/src/clients/kinit/kinit.c
387
if (opts->addresses && opts->no_addresses) {
crypto/krb5/src/clients/kinit/kinit.c
391
if (opts->keytab_name != NULL && opts->use_client_keytab == 1) {
crypto/krb5/src/clients/kinit/kinit.c
395
if ((opts->keytab_name != NULL || opts->use_client_keytab == 1) &&
crypto/krb5/src/clients/kinit/kinit.c
396
opts->action != INIT_KT) {
crypto/krb5/src/clients/kinit/kinit.c
397
opts->action = INIT_KT;
crypto/krb5/src/clients/kinit/kinit.c
409
opts->principal_name = (optind == argc - 1) ? argv[optind] : 0;
crypto/krb5/src/clients/kinit/kinit.c
410
return opts->principal_name;
crypto/krb5/src/clients/kinit/kinit.c
414
k5_begin(struct k_opts *opts, struct k5_data *k5)
crypto/krb5/src/clients/kinit/kinit.c
418
int flags = opts->enterprise ? KRB5_PRINCIPAL_PARSE_ENTERPRISE : 0;
crypto/krb5/src/clients/kinit/kinit.c
432
if (opts->k5_out_cache_name) {
crypto/krb5/src/clients/kinit/kinit.c
433
ret = krb5_cc_resolve(k5->ctx, opts->k5_out_cache_name, &k5->out_cc);
crypto/krb5/src/clients/kinit/kinit.c
436
opts->k5_out_cache_name);
crypto/krb5/src/clients/kinit/kinit.c
439
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
441
opts->k5_out_cache_name);
crypto/krb5/src/clients/kinit/kinit.c
457
if (opts->principal_name != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
459
ret = krb5_parse_name_flags(k5->ctx, opts->principal_name, flags,
crypto/krb5/src/clients/kinit/kinit.c
463
opts->principal_name);
crypto/krb5/src/clients/kinit/kinit.c
466
} else if (opts->anonymous) {
crypto/krb5/src/clients/kinit/kinit.c
484
} else if (opts->action == INIT_KT && opts->use_client_keytab) {
crypto/krb5/src/clients/kinit/kinit.c
499
} else if (opts->action == INIT_KT) {
crypto/krb5/src/clients/kinit/kinit.c
540
opts->principal_name);
crypto/krb5/src/clients/kinit/kinit.c
544
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
557
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
569
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
575
if (opts->k5_in_cache_name) {
crypto/krb5/src/clients/kinit/kinit.c
576
ret = krb5_cc_resolve(k5->ctx, opts->k5_in_cache_name, &k5->in_cc);
crypto/krb5/src/clients/kinit/kinit.c
579
opts->k5_in_cache_name);
crypto/krb5/src/clients/kinit/kinit.c
582
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
584
opts->k5_in_cache_name);
crypto/krb5/src/clients/kinit/kinit.c
593
if (opts->verbose)
crypto/krb5/src/clients/kinit/kinit.c
596
opts->principal_name = k5->name;
crypto/krb5/src/clients/kinit/kinit.c
639
k5_kinit(struct k_opts *opts, struct k5_data *k5)
crypto/krb5/src/clients/kinit/kinit.c
658
if (opts->lifetime)
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
660
if (opts->rlife)
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
662
if (opts->forwardable)
crypto/krb5/src/clients/kinit/kinit.c
664
if (opts->not_forwardable)
crypto/krb5/src/clients/kinit/kinit.c
666
if (opts->proxiable)
crypto/krb5/src/clients/kinit/kinit.c
668
if (opts->not_proxiable)
crypto/krb5/src/clients/kinit/kinit.c
670
if (opts->canonicalize)
crypto/krb5/src/clients/kinit/kinit.c
672
if (opts->anonymous)
crypto/krb5/src/clients/kinit/kinit.c
674
if (opts->addresses) {
crypto/krb5/src/clients/kinit/kinit.c
682
if (opts->no_addresses)
crypto/krb5/src/clients/kinit/kinit.c
684
if (opts->armor_ccache != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
686
opts->armor_ccache);
crypto/krb5/src/clients/kinit/kinit.c
688
if (opts->request_pac)
crypto/krb5/src/clients/kinit/kinit.c
690
if (opts->not_request_pac)
crypto/krb5/src/clients/kinit/kinit.c
694
if (opts->action == INIT_KT && opts->keytab_name != NULL) {
crypto/krb5/src/clients/kinit/kinit.c
696
if (strncmp(opts->keytab_name, "KDB:", 4) == 0) {
crypto/krb5/src/clients/kinit/kinit.c
708
ret = krb5_kt_resolve(k5->ctx, opts->keytab_name, &keytab);
crypto/krb5/src/clients/kinit/kinit.c
711
opts->keytab_name);
crypto/krb5/src/clients/kinit/kinit.c
714
if (opts->verbose)
crypto/krb5/src/clients/kinit/kinit.c
715
fprintf(stderr, _("Using keytab: %s\n"), opts->keytab_name);
crypto/krb5/src/clients/kinit/kinit.c
716
} else if (opts->action == INIT_KT && opts->use_client_keytab) {
crypto/krb5/src/clients/kinit/kinit.c
724
for (i = 0; i < opts->num_pa_opts; i++) {
crypto/krb5/src/clients/kinit/kinit.c
726
opts->pa_opts[i].attr,
crypto/krb5/src/clients/kinit/kinit.c
727
opts->pa_opts[i].value);
crypto/krb5/src/clients/kinit/kinit.c
730
opts->pa_opts[i].attr, opts->pa_opts[i].value);
crypto/krb5/src/clients/kinit/kinit.c
733
if (opts->verbose) {
crypto/krb5/src/clients/kinit/kinit.c
734
fprintf(stderr, _("PA Option %s = %s\n"), opts->pa_opts[i].attr,
crypto/krb5/src/clients/kinit/kinit.c
735
opts->pa_opts[i].value);
crypto/krb5/src/clients/kinit/kinit.c
748
switch (opts->action) {
crypto/krb5/src/clients/kinit/kinit.c
752
opts->starttime, opts->service_name,
crypto/krb5/src/clients/kinit/kinit.c
757
opts->starttime, opts->service_name,
crypto/krb5/src/clients/kinit/kinit.c
762
opts->service_name);
crypto/krb5/src/clients/kinit/kinit.c
766
opts->service_name);
crypto/krb5/src/clients/kinit/kinit.c
772
switch (opts->action) {
crypto/krb5/src/clients/kinit/kinit.c
797
if (opts->action != INIT_PW && opts->action != INIT_KT) {
crypto/krb5/src/clients/kinit/kinit.c
798
cprinc = opts->canonicalize ? my_creds.client : k5->me;
crypto/krb5/src/clients/kinit/kinit.c
806
if (opts->verbose)
crypto/krb5/src/clients/kinit/kinit.c
817
opts->k5_out_cache_name ? opts->k5_out_cache_name : "");
crypto/krb5/src/clients/kinit/kinit.c
821
if (opts->verbose)
crypto/krb5/src/clients/kinit/kinit.c
843
if (opts->pa_opts) {
crypto/krb5/src/clients/kinit/kinit.c
844
free(opts->pa_opts);
crypto/krb5/src/clients/kinit/kinit.c
845
opts->pa_opts = NULL;
crypto/krb5/src/clients/kinit/kinit.c
846
opts->num_pa_opts = 0;
crypto/krb5/src/clients/kinit/kinit.c
857
struct k_opts opts;
crypto/krb5/src/clients/kinit/kinit.c
872
memset(&opts, 0, sizeof(opts));
crypto/krb5/src/clients/kinit/kinit.c
873
opts.action = INIT_PW;
crypto/krb5/src/clients/kinit/kinit.c
879
parse_options(argc, argv, &opts);
crypto/krb5/src/clients/kinit/kinit.c
881
if (k5_begin(&opts, &k5))
crypto/krb5/src/clients/kinit/kinit.c
882
authed_k5 = k5_kinit(&opts, &k5);
crypto/krb5/src/clients/kinit/kinit.c
884
if (authed_k5 && opts.verbose)
crypto/krb5/src/clients/kpasswd/kpasswd.c
101
ret = krb5_get_init_creds_opt_set_fast_ccache(context, opts, ccache);
crypto/krb5/src/clients/kpasswd/kpasswd.c
124
krb5_get_init_creds_opt_set_tkt_life(opts, 5 * 60);
crypto/krb5/src/clients/kpasswd/kpasswd.c
125
krb5_get_init_creds_opt_set_renew_life(opts, 0);
crypto/krb5/src/clients/kpasswd/kpasswd.c
126
krb5_get_init_creds_opt_set_forwardable(opts, 0);
crypto/krb5/src/clients/kpasswd/kpasswd.c
127
krb5_get_init_creds_opt_set_proxiable(opts, 0);
crypto/krb5/src/clients/kpasswd/kpasswd.c
131
"kadmin/changepw", opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
140
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
148
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
156
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
167
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
173
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/clients/kpasswd/kpasswd.c
56
krb5_get_init_creds_opt *opts = NULL;
crypto/krb5/src/clients/kpasswd/kpasswd.c
75
ret = krb5_get_init_creds_opt_alloc(context, &opts);
crypto/krb5/src/include/krb5/certauth_plugin.h
123
krb5_const_principal princ, const void *opts,
crypto/krb5/src/kadmin/dbutil/tabdump.c
124
struct tdopts *opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
176
struct tdopts *opts = args->opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
179
if (opts->numeric)
crypto/krb5/src/kadmin/dbutil/tabdump.c
192
struct tdopts *opts = args->opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
194
if (!opts->numeric) {
crypto/krb5/src/kadmin/dbutil/tabdump.c
215
struct tdopts *opts = args->opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
217
if (!opts->numeric) {
crypto/krb5/src/kadmin/dbutil/tabdump.c
241
struct tdopts *opts = args->opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
243
if (data->length == 0 && !opts->emptyhex_empty) {
crypto/krb5/src/kadmin/dbutil/tabdump.c
395
struct tdopts *opts = args->opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
399
if (opts->numeric) {
crypto/krb5/src/kadmin/dbutil/tabdump.c
600
struct tdopts *opts)
crypto/krb5/src/kadmin/dbutil/tabdump.c
607
args->opts = opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
608
if (opts->fname != NULL && strcmp(opts->fname, "-") != 0) {
crypto/krb5/src/kadmin/dbutil/tabdump.c
609
f = fopen(opts->fname, "w");
crypto/krb5/src/kadmin/dbutil/tabdump.c
612
opts->fname);
crypto/krb5/src/kadmin/dbutil/tabdump.c
620
if (opts->writerectype)
crypto/krb5/src/kadmin/dbutil/tabdump.c
622
if (opts->csv)
crypto/krb5/src/kadmin/dbutil/tabdump.c
629
if (!opts->omitheader && writeheader(rh, tdtype->fieldnames) < 0)
crypto/krb5/src/kadmin/dbutil/tabdump.c
650
struct tdopts opts;
crypto/krb5/src/kadmin/dbutil/tabdump.c
653
memset(&opts, 0, sizeof(opts));
crypto/krb5/src/kadmin/dbutil/tabdump.c
659
opts.omitheader = 1;
crypto/krb5/src/kadmin/dbutil/tabdump.c
662
opts.csv = 1;
crypto/krb5/src/kadmin/dbutil/tabdump.c
665
opts.emptyhex_empty = 1;
crypto/krb5/src/kadmin/dbutil/tabdump.c
668
opts.numeric = 1;
crypto/krb5/src/kadmin/dbutil/tabdump.c
671
opts.fname = optarg;
crypto/krb5/src/kadmin/dbutil/tabdump.c
684
setup_args(&args, &tdtypes[i], &opts);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2057
krb5_get_init_creds_opt *opts = NULL;
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2062
ret = krb5_get_init_creds_opt_alloc(context, &opts);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2065
krb5_get_init_creds_opt_set_tkt_life(opts, 15);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2066
krb5_get_init_creds_opt_set_renew_life(opts, 0);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2067
krb5_get_init_creds_opt_set_forwardable(opts, 0);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2068
krb5_get_init_creds_opt_set_proxiable(opts, 0);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2069
krb5_get_init_creds_opt_set_canonicalize(opts, 1);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2071
ret = krb5_init_creds_init(context, client, NULL, NULL, 0, opts, &ctx);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
2086
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
350
krb5_get_init_creds_opt *opts;
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_keytab.c
373
krb5_prompter_posix, NULL, 0, server, opts,
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
390
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
384
krb5_get_init_creds_opt *opts = NULL;
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/gic_pwd.c
397
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
403
krb5_prompter_posix, NULL, 0, server, opts,
crypto/krb5/src/lib/krb5/krb/gic_pwd.c
406
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
106
krb5_prompter_posix, NULL, 0, server, opts,
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
116
krb5_get_init_creds_opt_free(context, opts);
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
78
krb5_get_init_creds_opt *opts = NULL;
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/in_tkt_sky.c
85
retval = krb5_get_init_creds_opt_set_out_ccache(context, opts, ccache);
crypto/krb5/src/lib/krb5/krb/in_tkt_sky.c
95
opts);
crypto/krb5/src/plugins/certauth/test/main.c
141
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/certauth/test/main.c
190
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/certauth/test/main.c
45
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit.h
201
pkinit_plg_opts *opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit.h
212
pkinit_req_opts *opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit.h
231
pkinit_plg_opts *opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1078
&reqctx->opts->dh_size);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1149
reqctx->opts = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1154
retval = pkinit_init_req_opts(&reqctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1158
reqctx->opts->require_eku = plgctx->opts->require_eku;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1159
reqctx->opts->accept_secondary_eku = plgctx->opts->accept_secondary_eku;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1160
reqctx->opts->allow_upn = plgctx->opts->allow_upn;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1161
reqctx->opts->require_crl_checking = plgctx->opts->require_crl_checking;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1162
reqctx->opts->disable_freshness = plgctx->opts->disable_freshness;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1185
if (reqctx->opts != NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1186
pkinit_fini_req_opts(reqctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1209
if (reqctx->opts != NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1210
pkinit_fini_req_opts(reqctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1239
ctx->opts = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1247
retval = pkinit_init_plg_opts(&ctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1283
pkinit_fini_plg_opts(ctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
1332
plgctx->opts->disable_freshness = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
194
if (!reqctx->opts->disable_freshness)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
212
reqctx->idctx, reqctx->opts->dh_size, &spki);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
461
if (reqctx->opts->require_eku == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
471
reqctx->opts->accept_secondary_eku,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
546
reqctx->opts->require_crl_checking,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
662
reqctx->opts->require_crl_checking,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
663
&reqctx->opts->require_crl_checking);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
666
reqctx->opts->dh_size = parse_dh_min_bits(context, minbits);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
673
reqctx->opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
674
reqctx->opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
676
reqctx->opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
677
reqctx->opts->accept_secondary_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
679
reqctx->opts->require_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_clnt.c
680
reqctx->opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto.h
465
pkinit_plg_opts *opts, /* IN */
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3210
pkinit_plg_opts *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3227
opts->dh_min_bits <= PKINIT_DH_P256_BITS)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3230
opts->dh_min_bits <= PKINIT_DH_P384_BITS)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3234
if (plg_cryptoctx->dh_2048 != NULL && opts->dh_min_bits <= 2048)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3236
if (plg_cryptoctx->dh_4096 != NULL && opts->dh_min_bits <= 4096)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3238
if (plg_cryptoctx->dh_1024 != NULL && opts->dh_min_bits <= 1024)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3246
"pkinit_dh_min_bits=%d"), opts->dh_min_bits);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
106
pkinit_identity_opts *opts = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
109
opts = calloc(1, sizeof(pkinit_identity_opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
110
if (opts == NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
113
opts->identity = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
114
opts->anchors = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
115
opts->intermediates = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
116
opts->crls = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
118
opts->cert_filename = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
119
opts->key_filename = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
121
opts->p11_module_name = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
122
opts->slotid = PK_NOSLOT;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
123
opts->token_label = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
124
opts->cert_id_string = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
125
opts->cert_label = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_identity.c
128
*idopts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
41
pkinit_req_opts *opts = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
44
opts = calloc(1, sizeof(*opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
45
if (opts == NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
48
opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
49
opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
50
opts->allow_upn = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
51
opts->require_crl_checking = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
52
opts->dh_size = PKINIT_DEFAULT_DH_MIN_BITS;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
54
*reqopts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
60
pkinit_fini_req_opts(pkinit_req_opts *opts)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
62
free(opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
70
pkinit_plg_opts *opts = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
73
opts = calloc(1, sizeof(pkinit_plg_opts));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
74
if (opts == NULL)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
77
opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
78
opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
79
opts->allow_upn = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
80
opts->require_crl_checking = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
81
opts->require_freshness = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
82
opts->disable_freshness = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
84
opts->dh_min_bits = PKINIT_DEFAULT_DH_MIN_BITS;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
86
*plgopts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
92
pkinit_fini_plg_opts(pkinit_plg_opts *opts)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_lib.c
94
free(opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1001
plgctx->opts->dh_min_bits = parse_dh_min_bits(context, minbits);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1006
0, &plgctx->opts->allow_upn);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1010
0, &plgctx->opts->require_crl_checking);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1014
0, &plgctx->opts->require_freshness);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1021
plgctx->opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1022
plgctx->opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1024
plgctx->opts->require_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1025
plgctx->opts->accept_secondary_eku = 1;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1027
plgctx->opts->require_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1028
plgctx->opts->accept_secondary_eku = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
106
pkinit_plg_opts *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1103
retval = pkinit_init_plg_opts(&plgctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1145
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1151
const struct certauth_req_opts *req_opts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1173
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1179
const struct certauth_req_opts *req_opts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
121
req_cryptoctx, id_cryptoctx, opts, e_data_out);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1233
krb5_const_principal princ, const void *opts,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1238
const struct certauth_req_opts *req_opts = opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1426
pkinit_fini_plg_opts(plgctx->opts);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
193
plgctx->opts->allow_upn ? &upns : NULL,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
292
if (plgctx->opts->require_eku == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
302
plgctx->opts->accept_secondary_eku,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
327
struct certauth_req_opts opts;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
341
opts.plgctx = plgctx;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
342
opts.reqctx = reqctx;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
343
opts.cb = cb;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
344
opts.rock = rock;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
360
&opts, db_ent, &ais);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
402
if (plgctx->opts->require_freshness && !valid_freshness_token) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
491
plgctx->opts->require_crl_checking,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
539
plgctx->opts->dh_min_bits);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
611
plgctx->idctx, plgctx->opts, retval, &e_data))
crypto/krb5/src/windows/leashdll/lshfunc.c
260
krb5_get_init_creds_opt opts;
crypto/krb5/src/windows/leashdll/lshfunc.c
276
pkrb5_get_init_creds_opt_init(&opts);
crypto/krb5/src/windows/leashdll/lshfunc.c
277
pkrb5_get_init_creds_opt_set_tkt_life(&opts, 5*60);
crypto/krb5/src/windows/leashdll/lshfunc.c
278
pkrb5_get_init_creds_opt_set_renew_life(&opts, 0);
crypto/krb5/src/windows/leashdll/lshfunc.c
279
pkrb5_get_init_creds_opt_set_forwardable(&opts, 0);
crypto/krb5/src/windows/leashdll/lshfunc.c
280
pkrb5_get_init_creds_opt_set_proxiable(&opts, 0);
crypto/krb5/src/windows/leashdll/lshfunc.c
284
pkrb5_get_init_creds_opt_set_address_list(&opts,NULL);
crypto/krb5/src/windows/leashdll/lshfunc.c
288
0, 0, 0, "kadmin/changepw", &opts))
crypto/openssh/auth-options.c
103
opts->no_require_user_presence = 1;
crypto/openssh/auth-options.c
106
opts->permit_x11_forwarding_flag = 1;
crypto/openssh/auth-options.c
110
opts->permit_agent_forwarding_flag = 1;
crypto/openssh/auth-options.c
114
opts->permit_port_forwarding_flag = 1;
crypto/openssh/auth-options.c
117
opts->permit_pty_flag = 1;
crypto/openssh/auth-options.c
120
opts->permit_user_rc = 1;
crypto/openssh/auth-options.c
126
opts->require_verify = 1;
crypto/openssh/auth-options.c
135
if (opts->force_command != NULL) {
crypto/openssh/auth-options.c
141
opts->force_command = command;
crypto/openssh/auth-options.c
150
if (opts->required_from_host_cert != NULL) {
crypto/openssh/auth-options.c
162
opts->required_from_host_cert = allowed;
crypto/openssh/auth-options.c
206
sshauthopt_free(struct sshauthopt *opts)
crypto/openssh/auth-options.c
210
if (opts == NULL)
crypto/openssh/auth-options.c
213
free(opts->cert_principals);
crypto/openssh/auth-options.c
214
free(opts->force_command);
crypto/openssh/auth-options.c
215
free(opts->required_from_host_cert);
crypto/openssh/auth-options.c
216
free(opts->required_from_host_keys);
crypto/openssh/auth-options.c
218
for (i = 0; i < opts->nenv; i++)
crypto/openssh/auth-options.c
219
free(opts->env[i]);
crypto/openssh/auth-options.c
220
free(opts->env);
crypto/openssh/auth-options.c
222
for (i = 0; i < opts->npermitopen; i++)
crypto/openssh/auth-options.c
223
free(opts->permitopen[i]);
crypto/openssh/auth-options.c
224
free(opts->permitopen);
crypto/openssh/auth-options.c
226
for (i = 0; i < opts->npermitlisten; i++)
crypto/openssh/auth-options.c
227
free(opts->permitlisten[i]);
crypto/openssh/auth-options.c
228
free(opts->permitlisten);
crypto/openssh/auth-options.c
230
freezero(opts, sizeof(*opts));
crypto/openssh/auth-options.c
324
sshauthopt_parse(const char *opts, const char **errstrp)
crypto/openssh/auth-options.c
338
if (opts == NULL)
crypto/openssh/auth-options.c
341
while (*opts && *opts != ' ' && *opts != '\t') {
crypto/openssh/auth-options.c
343
if ((r = opt_flag("restrict", 0, &opts)) != -1) {
crypto/openssh/auth-options.c
350
} else if ((r = opt_flag("cert-authority", 0, &opts)) != -1) {
crypto/openssh/auth-options.c
352
} else if ((r = opt_flag("port-forwarding", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
354
} else if ((r = opt_flag("agent-forwarding", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
356
} else if ((r = opt_flag("x11-forwarding", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
358
} else if ((r = opt_flag("touch-required", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
360
} else if ((r = opt_flag("verify-required", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
362
} else if ((r = opt_flag("pty", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
364
} else if ((r = opt_flag("user-rc", 1, &opts)) != -1) {
crypto/openssh/auth-options.c
366
} else if (opt_match(&opts, "command")) {
crypto/openssh/auth-options.c
371
ret->force_command = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
374
} else if (opt_match(&opts, "principals")) {
crypto/openssh/auth-options.c
379
ret->cert_principals = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
382
} else if (opt_match(&opts, "from")) {
crypto/openssh/auth-options.c
387
ret->required_from_host_keys = opt_dequote(&opts,
crypto/openssh/auth-options.c
391
} else if (opt_match(&opts, "expiry-time")) {
crypto/openssh/auth-options.c
392
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
404
} else if (opt_match(&opts, "environment")) {
crypto/openssh/auth-options.c
409
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
452
} else if (opt_match(&opts, "permitopen")) {
crypto/openssh/auth-options.c
453
if (handle_permit(&opts, 0, &ret->permitopen,
crypto/openssh/auth-options.c
456
} else if (opt_match(&opts, "permitlisten")) {
crypto/openssh/auth-options.c
457
if (handle_permit(&opts, 1, &ret->permitlisten,
crypto/openssh/auth-options.c
460
} else if (opt_match(&opts, "tunnel")) {
crypto/openssh/auth-options.c
461
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
474
if (*opts == '\0' || *opts == ' ' || *opts == '\t')
crypto/openssh/auth-options.c
477
if (*opts != ',') {
crypto/openssh/auth-options.c
481
opts++;
crypto/openssh/auth-options.c
482
if (*opts == '\0') {
crypto/openssh/auth-options.c
77
cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob,
crypto/openssh/auth-options.c
798
sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m,
crypto/openssh/auth-options.c
804
if ((r = sshbuf_put_u8(m, opts->permit_port_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
805
(r = sshbuf_put_u8(m, opts->permit_agent_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
806
(r = sshbuf_put_u8(m, opts->permit_x11_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
807
(r = sshbuf_put_u8(m, opts->permit_pty_flag)) != 0 ||
crypto/openssh/auth-options.c
808
(r = sshbuf_put_u8(m, opts->permit_user_rc)) != 0 ||
crypto/openssh/auth-options.c
809
(r = sshbuf_put_u8(m, opts->restricted)) != 0 ||
crypto/openssh/auth-options.c
810
(r = sshbuf_put_u8(m, opts->cert_authority)) != 0 ||
crypto/openssh/auth-options.c
811
(r = sshbuf_put_u8(m, opts->no_require_user_presence)) != 0 ||
crypto/openssh/auth-options.c
812
(r = sshbuf_put_u8(m, opts->require_verify)) != 0)
crypto/openssh/auth-options.c
816
if ((r = sshbuf_put_u64(m, opts->valid_before)) != 0)
crypto/openssh/auth-options.c
820
if ((r = sshbuf_put_u8(m, opts->force_tun_device == -1)) != 0 ||
crypto/openssh/auth-options.c
821
(r = sshbuf_put_u32(m, (opts->force_tun_device < 0) ?
crypto/openssh/auth-options.c
822
0 : (u_int)opts->force_tun_device)) != 0)
crypto/openssh/auth-options.c
827
untrusted ? "yes" : opts->cert_principals)) != 0 ||
crypto/openssh/auth-options.c
829
untrusted ? "true" : opts->force_command)) != 0 ||
crypto/openssh/auth-options.c
831
untrusted ? NULL : opts->required_from_host_cert)) != 0 ||
crypto/openssh/auth-options.c
833
untrusted ? NULL : opts->required_from_host_keys)) != 0)
crypto/openssh/auth-options.c
837
if ((r = serialise_array(m, opts->env,
crypto/openssh/auth-options.c
838
untrusted ? 0 : opts->nenv)) != 0 ||
crypto/openssh/auth-options.c
839
(r = serialise_array(m, opts->permitopen,
crypto/openssh/auth-options.c
840
untrusted ? 0 : opts->npermitopen)) != 0 ||
crypto/openssh/auth-options.c
841
(r = serialise_array(m, opts->permitlisten,
crypto/openssh/auth-options.c
842
untrusted ? 0 : opts->npermitlisten)) != 0)
crypto/openssh/auth-options.c
852
struct sshauthopt *opts = NULL;
crypto/openssh/auth-options.c
857
if ((opts = calloc(1, sizeof(*opts))) == NULL)
crypto/openssh/auth-options.c
865
opts->x = f; \
crypto/openssh/auth-options.c
879
if ((r = sshbuf_get_u64(m, &opts->valid_before)) != 0)
crypto/openssh/auth-options.c
886
opts->force_tun_device = f ? -1 : (int)tmp;
crypto/openssh/auth-options.c
889
if ((r = deserialise_nullable_string(m, &opts->cert_principals)) != 0 ||
crypto/openssh/auth-options.c
890
(r = deserialise_nullable_string(m, &opts->force_command)) != 0 ||
crypto/openssh/auth-options.c
892
&opts->required_from_host_cert)) != 0 ||
crypto/openssh/auth-options.c
894
&opts->required_from_host_keys)) != 0)
crypto/openssh/auth-options.c
898
if ((r = deserialise_array(m, &opts->env, &opts->nenv)) != 0 ||
crypto/openssh/auth-options.c
900
&opts->permitopen, &opts->npermitopen)) != 0 ||
crypto/openssh/auth-options.c
902
&opts->permitlisten, &opts->npermitlisten)) != 0)
crypto/openssh/auth-options.c
907
*optsp = opts;
crypto/openssh/auth-options.c
908
opts = NULL;
crypto/openssh/auth-options.c
910
sshauthopt_free(opts);
crypto/openssh/auth-options.h
83
void sshauthopt_free(struct sshauthopt *opts);
crypto/openssh/auth-options.h
85
int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
crypto/openssh/auth-options.h
86
int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
crypto/openssh/auth.c
688
auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote)
crypto/openssh/auth.c
690
int do_env = options.permit_user_env && opts->nenv > 0;
crypto/openssh/auth.c
691
int do_permitopen = opts->npermitopen > 0 &&
crypto/openssh/auth.c
693
int do_permitlisten = opts->npermitlisten > 0 &&
crypto/openssh/auth.c
698
snprintf(buf, sizeof(buf), "%d", opts->force_tun_device);
crypto/openssh/auth.c
701
opts->permit_agent_forwarding_flag ? " agent-forwarding" : "",
crypto/openssh/auth.c
702
opts->force_command == NULL ? "" : " command",
crypto/openssh/auth.c
704
opts->valid_before == 0 ? "" : "expires",
crypto/openssh/auth.c
705
opts->no_require_user_presence ? " no-touch-required" : "",
crypto/openssh/auth.c
708
opts->permit_port_forwarding_flag ? " port-forwarding" : "",
crypto/openssh/auth.c
709
opts->cert_principals == NULL ? "" : " principals",
crypto/openssh/auth.c
710
opts->permit_pty_flag ? " pty" : "",
crypto/openssh/auth.c
711
opts->require_verify ? " uv" : "",
crypto/openssh/auth.c
712
opts->force_tun_device == -1 ? "" : " tun=",
crypto/openssh/auth.c
713
opts->force_tun_device == -1 ? "" : buf,
crypto/openssh/auth.c
714
opts->permit_user_rc ? " user-rc" : "",
crypto/openssh/auth.c
715
opts->permit_x11_forwarding_flag ? " x11-forwarding" : "");
crypto/openssh/auth.c
722
for (i = 0; i < opts->nenv; i++) {
crypto/openssh/auth.c
723
debug("%s: environment: %s", loc, opts->env[i]);
crypto/openssh/auth.c
726
loc, opts->env[i]);
crypto/openssh/auth.c
732
if (opts->valid_before != 0) {
crypto/openssh/auth.c
733
format_absolute_time(opts->valid_before, buf, sizeof(buf));
crypto/openssh/auth.c
736
if (opts->cert_principals != NULL) {
crypto/openssh/auth.c
738
loc, opts->cert_principals);
crypto/openssh/auth.c
740
if (opts->force_command != NULL)
crypto/openssh/auth.c
741
debug("%s: forced command: \"%s\"", loc, opts->force_command);
crypto/openssh/auth.c
743
for (i = 0; i < opts->npermitopen; i++) {
crypto/openssh/auth.c
745
loc, opts->permitopen[i]);
crypto/openssh/auth.c
749
for (i = 0; i < opts->npermitlisten; i++) {
crypto/openssh/auth.c
751
loc, opts->permitlisten[i]);
crypto/openssh/auth.c
758
auth_activate_options(struct ssh *ssh, struct sshauthopt *opts)
crypto/openssh/auth.c
764
if ((auth_opts = sshauthopt_merge(old, opts, &emsg)) == NULL) {
crypto/openssh/auth2-pubkey.c
330
struct sshauthopt *opts = NULL;
crypto/openssh/auth2-pubkey.c
358
cert, &opts);
crypto/openssh/auth2-pubkey.c
362
sshauthopt_free(opts);
crypto/openssh/auth2-pubkey.c
363
opts = NULL;
crypto/openssh/auth2-pubkey.c
368
*authoptsp = opts;
crypto/openssh/auth2-pubkey.c
369
opts = NULL;
crypto/openssh/auth2-pubkey.c
371
sshauthopt_free(opts);
crypto/openssh/auth2-pubkey.c
794
struct sshauthopt *opts = NULL;
crypto/openssh/auth2-pubkey.c
840
remote_ip, remote_host, &opts);
crypto/openssh/auth2-pubkey.c
842
sshauthopt_free(opts);
crypto/openssh/auth2-pubkey.c
843
opts = NULL;
crypto/openssh/auth2-pubkey.c
854
conn_id, rdomain, &opts)) != 0)
crypto/openssh/auth2-pubkey.c
856
sshauthopt_free(opts);
crypto/openssh/auth2-pubkey.c
857
opts = NULL;
crypto/openssh/auth2-pubkey.c
860
remote_host, conn_id, rdomain, &opts)) != 0)
crypto/openssh/auth2-pubkey.c
862
sshauthopt_free(opts);
crypto/openssh/auth2-pubkey.c
863
opts = NULL;
crypto/openssh/auth2-pubkey.c
868
*authoptsp = opts;
crypto/openssh/auth2-pubkey.c
869
opts = NULL;
crypto/openssh/auth2-pubkey.c
871
sshauthopt_free(opts);
crypto/openssh/auth2-pubkeyfile.c
105
opts->required_from_host_keys);
crypto/openssh/auth2-pubkeyfile.c
114
if (opts->required_from_host_cert != NULL) {
crypto/openssh/auth2-pubkeyfile.c
116
opts->required_from_host_cert)) {
crypto/openssh/auth2-pubkeyfile.c
141
auth_log_authopts(loc, opts, 1);
crypto/openssh/auth2-pubkeyfile.c
178
struct sshauthopt *opts = NULL;
crypto/openssh/auth2-pubkeyfile.c
200
if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) {
crypto/openssh/auth2-pubkeyfile.c
214
*authoptsp = opts;
crypto/openssh/auth2-pubkeyfile.c
215
opts = NULL;
crypto/openssh/auth2-pubkeyfile.c
217
sshauthopt_free(opts);
crypto/openssh/auth2-pubkeyfile.c
55
auth_authorise_keyopts(struct passwd *pw, struct sshauthopt *opts,
crypto/openssh/auth2-pubkeyfile.c
66
if (opts->valid_before && now > 0 &&
crypto/openssh/auth2-pubkeyfile.c
67
opts->valid_before < (uint64_t)now) {
crypto/openssh/auth2-pubkeyfile.c
68
format_absolute_time(opts->valid_before, buf, sizeof(buf));
crypto/openssh/auth2-pubkeyfile.c
74
if (opts->cert_principals != NULL && !opts->cert_authority) {
crypto/openssh/auth2-pubkeyfile.c
81
if (!allow_cert_authority && opts->cert_authority) {
crypto/openssh/auth2-pubkeyfile.c
89
if (opts->required_from_host_keys != NULL) {
crypto/openssh/auth2-pubkeyfile.c
91
opts->required_from_host_keys )) {
crypto/openssh/misc.c
2611
const char *opts = *optsp;
crypto/openssh/misc.c
2614
if (allow_negate && strncasecmp(opts, "no-", 3) == 0) {
crypto/openssh/misc.c
2615
opts += 3;
crypto/openssh/misc.c
2618
if (strncasecmp(opts, opt, opt_len) == 0) {
crypto/openssh/misc.c
2619
*optsp = opts + opt_len;
crypto/openssh/misc.c
2659
opt_match(const char **opts, const char *term)
crypto/openssh/misc.c
2661
if (strncasecmp((*opts), term, strlen(term)) == 0 &&
crypto/openssh/misc.c
2662
(*opts)[strlen(term)] == '=') {
crypto/openssh/misc.c
2663
*opts += strlen(term) + 1;
crypto/openssh/misc.h
214
int opt_match(const char **opts, const char *term);
crypto/openssh/monitor.c
1281
struct sshauthopt *opts = NULL;
crypto/openssh/monitor.c
1303
pubkey_auth_attempt, &opts);
crypto/openssh/monitor.c
1341
key_opts = opts;
crypto/openssh/monitor.c
1355
if (opts != NULL && (r = sshauthopt_serialise(opts, m, 1)) != 0)
crypto/openssh/monitor.c
1360
sshauthopt_free(opts);
crypto/openssh/monitor.c
593
struct sshbuf *opts = NULL, *confdata = NULL;
crypto/openssh/monitor.c
604
(opts = sshbuf_new()) == NULL ||
crypto/openssh/monitor.c
655
sshbuf_free(opts);
crypto/openssh/monitor_wrap.c
504
struct sshauthopt *opts = NULL;
crypto/openssh/monitor_wrap.c
529
(r = sshauthopt_deserialise(m, &opts)) != 0)
crypto/openssh/monitor_wrap.c
534
*authoptp = opts;
crypto/openssh/monitor_wrap.c
535
opts = NULL;
crypto/openssh/monitor_wrap.c
537
sshauthopt_free(opts);
crypto/openssh/openbsd-compat/openbsd-compat.h
198
int BSDgetopt(int argc, char * const *argv, const char *opts) __THROW;
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
26
auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote)
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
33
struct sshauthopt *opts = NULL;
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
65
"fuzz", &opts);
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
67
sshauthopt_free(opts);
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
73
"fuzz", &opts);
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
75
sshauthopt_free(opts);
crypto/openssh/regress/misc/fuzz-harness/authopt_fuzz.cc
14
struct sshauthopt *opts = NULL, *merge = NULL, *add = sshauthopt_new();
crypto/openssh/regress/misc/fuzz-harness/authopt_fuzz.cc
20
if ((opts = sshauthopt_parse(cp, NULL)) == NULL)
crypto/openssh/regress/misc/fuzz-harness/authopt_fuzz.cc
22
if ((merge = sshauthopt_merge(opts, add, NULL)) == NULL)
crypto/openssh/regress/misc/fuzz-harness/authopt_fuzz.cc
28
sshauthopt_free(opts);
crypto/openssh/regress/misc/fuzz-harness/sshsigopt_fuzz.cc
14
struct sshsigopt *opts = NULL;
crypto/openssh/regress/misc/fuzz-harness/sshsigopt_fuzz.cc
20
if ((opts = sshsigopt_parse(cp, "libfuzzer", 0, NULL)) == NULL)
crypto/openssh/regress/misc/fuzz-harness/sshsigopt_fuzz.cc
25
sshsigopt_free(opts);
crypto/openssh/regress/unittests/authopt/tests.c
111
ASSERT_PTR_EQ(opts->x, expected->x); \
crypto/openssh/regress/unittests/authopt/tests.c
113
ASSERT_STRING_EQ(opts->x, expected->x); \
crypto/openssh/regress/unittests/authopt/tests.c
123
ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \
crypto/openssh/regress/unittests/authopt/tests.c
127
ASSERT_STRING_EQ(opts->x[i], expected->x[i]); \
crypto/openssh/regress/unittests/authopt/tests.c
137
struct sshauthopt *opts, *expected;
crypto/openssh/regress/unittests/authopt/tests.c
143
opts = sshauthopt_parse(keywords, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
144
ASSERT_PTR_EQ(opts, NULL); \
crypto/openssh/regress/unittests/authopt/tests.c
152
compare_opts(opts, expected); \
crypto/openssh/regress/unittests/authopt/tests.c
154
sshauthopt_free(opts); \
crypto/openssh/regress/unittests/authopt/tests.c
160
opts = sshauthopt_parse("", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
166
opts = sshauthopt_parse(" ", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
172
opts = sshauthopt_parse("restrict", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
187
opts = sshauthopt_parse("tunnel=\"1\"", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
194
opts = sshauthopt_parse("tunnel=\"any\"", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
206
opts = sshauthopt_parse(keyword, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
210
opts = sshauthopt_parse("restrict,"keyword, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
237
opts = sshauthopt_parse(keyword "=" #val, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
242
opts = sshauthopt_parse( \
crypto/openssh/regress/unittests/authopt/tests.c
262
opts = sshauthopt_parse(keywords, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
267
opts = sshauthopt_parse( \
crypto/openssh/regress/unittests/authopt/tests.c
293
struct sshauthopt *opts, *expected;
crypto/openssh/regress/unittests/authopt/tests.c
297
compare_opts(opts, expected); \
crypto/openssh/regress/unittests/authopt/tests.c
299
sshauthopt_free(opts); \
crypto/openssh/regress/unittests/authopt/tests.c
308
opts = sshauthopt_from_cert(cert); \
crypto/openssh/regress/unittests/authopt/tests.c
316
opts = sshauthopt_from_cert(cert); \
crypto/openssh/regress/unittests/authopt/tests.c
330
opts = sshauthopt_from_cert(cert);
crypto/openssh/regress/unittests/authopt/tests.c
338
opts = sshauthopt_from_cert(cert);
crypto/openssh/regress/unittests/authopt/tests.c
347
opts = sshauthopt_from_cert(cert);
crypto/openssh/regress/unittests/authopt/tests.c
356
opts = sshauthopt_from_cert(cert);
crypto/openssh/regress/unittests/authopt/tests.c
365
opts = sshauthopt_from_cert(cert); \
crypto/openssh/regress/unittests/authopt/tests.c
366
ASSERT_PTR_EQ(opts, NULL); \
crypto/openssh/regress/unittests/authopt/tests.c
89
compare_opts(const struct sshauthopt *opts,
crypto/openssh/regress/unittests/authopt/tests.c
94
ASSERT_PTR_NE(opts, NULL);
crypto/openssh/regress/unittests/authopt/tests.c
96
ASSERT_PTR_NE(expected, opts); /* bozo :) */
crypto/openssh/regress/unittests/authopt/tests.c
98
#define FLAG_EQ(x) ASSERT_INT_EQ(opts->x, expected->x)
crypto/openssh/session.c
305
set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts)
crypto/openssh/ssh-dss.c
106
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-dss.c
129
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-dss.c
136
if ((r = ssh_dss_serialize_public(key, b, opts)) != 0)
crypto/openssh/ssh-ecdsa-sk.c
100
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ecdsa-sk.c
106
b, opts)) != 0)
crypto/openssh/ssh-ecdsa-sk.c
86
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ecdsa-sk.c
90
if ((r = sshkey_ecdsa_funcs.serialize_public(key, b, opts)) != 0)
crypto/openssh/ssh-ecdsa.c
137
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ecdsa.c
153
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ecdsa.c
158
if ((r = ssh_ecdsa_serialize_public(key, b, opts)) != 0)
crypto/openssh/ssh-ed25519-sk.c
60
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ed25519-sk.c
64
if ((r = sshkey_ed25519_funcs.serialize_public(key, b, opts)) != 0)
crypto/openssh/ssh-ed25519-sk.c
74
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ed25519-sk.c
78
if ((r = sshkey_ed25519_funcs.serialize_public(key, b, opts)) != 0)
crypto/openssh/ssh-ed25519.c
56
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-ed25519.c
70
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-keygen.c
1525
int print_generic, char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
1534
if (strncasecmp(opts[i], "hashalg=", 8) == 0) {
crypto/openssh/ssh-keygen.c
1535
if ((hash = ssh_digest_alg_by_name(opts[i] + 8)) == -1)
crypto/openssh/ssh-keygen.c
1538
error("Invalid option \"%s\"", opts[i]);
crypto/openssh/ssh-keygen.c
2703
sig_process_opts(char * const *opts, size_t nopts, char **hashalgp,
crypto/openssh/ssh-keygen.c
2717
strncasecmp(opts[i], "hashalg=", 8) == 0) {
crypto/openssh/ssh-keygen.c
2718
*hashalgp = xstrdup(opts[i] + 8);
crypto/openssh/ssh-keygen.c
2720
strncasecmp(opts[i], "verify-time=", 12) == 0) {
crypto/openssh/ssh-keygen.c
2721
if (parse_absolute_time(opts[i] + 12,
crypto/openssh/ssh-keygen.c
2727
strcasecmp(opts[i], "print-pubkey") == 0) {
crypto/openssh/ssh-keygen.c
2730
error("Invalid option \"%s\"", opts[i]);
crypto/openssh/ssh-keygen.c
2747
int argc, char **argv, char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2763
if (sig_process_opts(opts, nopts, &hashalg, NULL, NULL) != 0)
crypto/openssh/ssh-keygen.c
2830
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2840
if (sig_process_opts(opts, nopts, NULL, &verify_time,
crypto/openssh/ssh-keygen.c
2921
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2929
if (sig_process_opts(opts, nopts, NULL, &verify_time, NULL) != 0)
crypto/openssh/ssh-keygen.c
2969
char * const *opts, size_t nopts)
crypto/openssh/ssh-keygen.c
2975
if ((r = sig_process_opts(opts, nopts, NULL, NULL, NULL)) != 0)
crypto/openssh/ssh-keygen.c
2994
do_moduli_gen(const char *out_file, char **opts, size_t nopts)
crypto/openssh/ssh-keygen.c
3007
if (strncmp(opts[i], "memory=", 7) == 0) {
crypto/openssh/ssh-keygen.c
3008
memory = (u_int32_t)strtonum(opts[i]+7, 1,
crypto/openssh/ssh-keygen.c
3012
errstr, opts[i]+7);
crypto/openssh/ssh-keygen.c
3014
} else if (strncmp(opts[i], "start=", 6) == 0) {
crypto/openssh/ssh-keygen.c
3016
if (BN_hex2bn(&start, opts[i]+6) == 0)
crypto/openssh/ssh-keygen.c
3018
} else if (strncmp(opts[i], "bits=", 5) == 0) {
crypto/openssh/ssh-keygen.c
3019
moduli_bits = (int)strtonum(opts[i]+5, 1,
crypto/openssh/ssh-keygen.c
3023
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3027
"generation", opts[i]);
crypto/openssh/ssh-keygen.c
3049
do_moduli_screen(const char *out_file, char **opts, size_t nopts)
crypto/openssh/ssh-keygen.c
3063
if (strncmp(opts[i], "lines=", 6) == 0) {
crypto/openssh/ssh-keygen.c
3064
lines_to_process = strtoul(opts[i]+6, NULL, 10);
crypto/openssh/ssh-keygen.c
3065
} else if (strncmp(opts[i], "start-line=", 11) == 0) {
crypto/openssh/ssh-keygen.c
3066
start_lineno = strtoul(opts[i]+11, NULL, 10);
crypto/openssh/ssh-keygen.c
3067
} else if (strncmp(opts[i], "checkpoint=", 11) == 0) {
crypto/openssh/ssh-keygen.c
3069
checkpoint = xstrdup(opts[i]+11);
crypto/openssh/ssh-keygen.c
3070
} else if (strncmp(opts[i], "generator=", 10) == 0) {
crypto/openssh/ssh-keygen.c
3072
opts[i]+10, 1, UINT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3075
opts[i]+10, errstr);
crypto/openssh/ssh-keygen.c
3077
} else if (strncmp(opts[i], "prime-tests=", 12) == 0) {
crypto/openssh/ssh-keygen.c
3078
prime_tests = (int)strtonum(opts[i]+12, 1,
crypto/openssh/ssh-keygen.c
3082
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3086
"screening", opts[i]);
crypto/openssh/ssh-keygen.c
3393
char *identity_comment = NULL, *ca_key_path = NULL, **opts = NULL;
crypto/openssh/ssh-keygen.c
3522
opts = xrecallocarray(opts, nopts, nopts + 1,
crypto/openssh/ssh-keygen.c
3523
sizeof(*opts));
crypto/openssh/ssh-keygen.c
3524
opts[nopts++] = xstrdup(optarg);
crypto/openssh/ssh-keygen.c
3647
opts, nopts);
crypto/openssh/ssh-keygen.c
3660
opts, nopts);
crypto/openssh/ssh-keygen.c
3675
prefer_agent, argc, argv, opts, nopts);
crypto/openssh/ssh-keygen.c
3690
NULL, NULL, NULL, opts, nopts);
crypto/openssh/ssh-keygen.c
3716
opts, nopts);
crypto/openssh/ssh-keygen.c
3754
add_cert_option(opts[i]);
crypto/openssh/ssh-keygen.c
3768
if (strncasecmp(opts[i], "device=", 7) == 0) {
crypto/openssh/ssh-keygen.c
3769
sk_device = xstrdup(opts[i] + 7);
crypto/openssh/ssh-keygen.c
3772
"FIDO authenticator download", opts[i]);
crypto/openssh/ssh-keygen.c
3799
rr_hostname, print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3807
print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3811
print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3815
print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3818
print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3821
print_generic, opts, nopts);
crypto/openssh/ssh-keygen.c
3835
do_moduli_gen(argv[0], opts, nopts);
crypto/openssh/ssh-keygen.c
3839
do_moduli_screen(argv[0], opts, nopts);
crypto/openssh/ssh-keygen.c
3861
if (strcasecmp(opts[i], "no-touch-required") == 0) {
crypto/openssh/ssh-keygen.c
3863
} else if (strcasecmp(opts[i], "verify-required") == 0) {
crypto/openssh/ssh-keygen.c
3865
} else if (strcasecmp(opts[i], "resident") == 0) {
crypto/openssh/ssh-keygen.c
3867
} else if (strncasecmp(opts[i], "device=", 7) == 0) {
crypto/openssh/ssh-keygen.c
3868
sk_device = xstrdup(opts[i] + 7);
crypto/openssh/ssh-keygen.c
3869
} else if (strncasecmp(opts[i], "user=", 5) == 0) {
crypto/openssh/ssh-keygen.c
3870
sk_user = xstrdup(opts[i] + 5);
crypto/openssh/ssh-keygen.c
3871
} else if (strncasecmp(opts[i], "challenge=", 10) == 0) {
crypto/openssh/ssh-keygen.c
3872
if ((r = sshbuf_load_file(opts[i] + 10,
crypto/openssh/ssh-keygen.c
3876
opts[i] + 10);
crypto/openssh/ssh-keygen.c
3878
} else if (strncasecmp(opts[i],
crypto/openssh/ssh-keygen.c
3880
sk_attestation_path = opts[i] + 18;
crypto/openssh/ssh-keygen.c
3881
} else if (strncasecmp(opts[i],
crypto/openssh/ssh-keygen.c
3883
sk_application = xstrdup(opts[i] + 12);
crypto/openssh/ssh-keygen.c
3890
"FIDO authenticator enrollment", opts[i]);
crypto/openssh/ssh-rsa.c
72
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-rsa.c
93
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-sk.c
383
sshsk_free_options(struct sk_option **opts)
crypto/openssh/ssh-sk.c
387
if (opts == NULL)
crypto/openssh/ssh-sk.c
389
for (i = 0; opts[i] != NULL; i++) {
crypto/openssh/ssh-sk.c
390
free(opts[i]->name);
crypto/openssh/ssh-sk.c
391
free(opts[i]->value);
crypto/openssh/ssh-sk.c
392
free(opts[i]);
crypto/openssh/ssh-sk.c
394
free(opts);
crypto/openssh/ssh-sk.c
401
struct sk_option **opts = *optsp;
crypto/openssh/ssh-sk.c
404
if ((opts = recallocarray(opts, nopts, nopts + 2, /* extra for NULL */
crypto/openssh/ssh-sk.c
405
sizeof(*opts))) == NULL) {
crypto/openssh/ssh-sk.c
409
*optsp = opts;
crypto/openssh/ssh-sk.c
411
if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) {
crypto/openssh/ssh-sk.c
415
if ((opts[nopts]->name = strdup(name)) == NULL ||
crypto/openssh/ssh-sk.c
416
(opts[nopts]->value = strdup(value)) == NULL) {
crypto/openssh/ssh-sk.c
420
opts[nopts]->required = required;
crypto/openssh/ssh-sk.c
428
struct sk_option **opts = NULL;
crypto/openssh/ssh-sk.c
433
(r = sshsk_add_option(&opts, &nopts, "device", device, 0)) != 0) {
crypto/openssh/ssh-sk.c
438
(r = sshsk_add_option(&opts, &nopts, "user", user_id, 0)) != 0) {
crypto/openssh/ssh-sk.c
443
*optsp = opts;
crypto/openssh/ssh-sk.c
444
opts = NULL;
crypto/openssh/ssh-sk.c
448
sshsk_free_options(opts);
crypto/openssh/ssh-sk.c
489
struct sk_option **opts = NULL;
crypto/openssh/ssh-sk.c
503
if ((r = make_options(device, userid, &opts)) != 0)
crypto/openssh/ssh-sk.c
551
flags, pin, opts, &resp)) != 0) {
crypto/openssh/ssh-sk.c
570
sshsk_free_options(opts);
crypto/openssh/ssh-sk.c
661
struct sk_option **opts = NULL;
crypto/openssh/ssh-sk.c
68
const char *pin, struct sk_option **opts,
crypto/openssh/ssh-sk.c
702
key->sk_flags, pin, opts, &resp)) != 0) {
crypto/openssh/ssh-sk.c
748
sshsk_free_options(opts);
crypto/openssh/ssh-sk.c
75
uint8_t flags, const char *pin, struct sk_option **opts,
crypto/openssh/ssh-sk.c
79
int (*sk_load_resident_keys)(const char *pin, struct sk_option **opts,
crypto/openssh/ssh-sk.c
812
struct sk_option **opts = NULL;
crypto/openssh/ssh-sk.c
822
if ((r = make_options(device, NULL, &opts)) != 0)
crypto/openssh/ssh-sk.c
828
if ((r = skp->sk_load_resident_keys(pin, opts, &rks, &nrks)) != 0) {
crypto/openssh/ssh-sk.c
86
const char *pin, struct sk_option **opts,
crypto/openssh/ssh-sk.c
885
sshsk_free_options(opts);
crypto/openssh/ssh-sk.c
91
uint8_t flags, const char *pin, struct sk_option **opts,
crypto/openssh/ssh-sk.c
93
int ssh_sk_load_resident_keys(const char *pin, struct sk_option **opts,
crypto/openssh/ssh-xmss.c
100
(r = sshkey_xmss_serialize_state_opt(key, b, opts)) != 0)
crypto/openssh/ssh-xmss.c
70
enum sshkey_serialize_rep opts)
crypto/openssh/ssh-xmss.c
80
(r = sshkey_xmss_serialize_pk_info(key, b, opts)) != 0)
crypto/openssh/ssh-xmss.c
88
enum sshkey_serialize_rep opts)
crypto/openssh/sshd-session.c
768
u_char opts[200];
crypto/openssh/sshd-session.c
769
socklen_t i, option_size = sizeof(opts), fromlen = sizeof(from);
crypto/openssh/sshd-session.c
770
char text[sizeof(opts) * 3 + 1];
crypto/openssh/sshd-session.c
780
if (getsockopt(sock_in, IPPROTO_IP, IP_OPTIONS, opts,
crypto/openssh/sshd-session.c
785
" %2.2x", opts[i]);
crypto/openssh/sshkey-xmss.c
326
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey-xmss.c
335
if (opts != SSHKEY_SERIALIZE_INFO)
crypto/openssh/sshkey-xmss.c
716
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey-xmss.c
724
if ((r = sshbuf_put_u8(b, opts)) != 0)
crypto/openssh/sshkey-xmss.c
726
switch (opts) {
crypto/openssh/sshkey-xmss.c
840
enum sshkey_serialize_rep opts;
crypto/openssh/sshkey-xmss.c
847
opts = have_state;
crypto/openssh/sshkey-xmss.c
848
switch (opts) {
crypto/openssh/sshkey.c
2548
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey.c
2572
if ((r = impl->funcs->serialize_private(key, b, opts)) != 0)
crypto/openssh/sshkey.c
879
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey.c
906
return impl->funcs->serialize_public(key, b, opts);
crypto/openssh/sshkey.c
917
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey.c
924
r = to_blob_buf(key, tmp, 0, opts);
crypto/openssh/sshkey.c
945
enum sshkey_serialize_rep opts)
crypto/openssh/sshkey.c
957
if ((ret = to_blob_buf(key, b, force_plain, opts)) != 0)
crypto/openssh/sshsig.c
640
sshsigopt_parse(const char *opts, const char *path, u_long linenum,
crypto/openssh/sshsig.c
650
if (opts == NULL || *opts == '\0')
crypto/openssh/sshsig.c
653
while (*opts && *opts != ' ' && *opts != '\t') {
crypto/openssh/sshsig.c
655
if ((r = opt_flag("cert-authority", 0, &opts)) != -1) {
crypto/openssh/sshsig.c
657
} else if (opt_match(&opts, "namespaces")) {
crypto/openssh/sshsig.c
662
ret->namespaces = opt_dequote(&opts, &errstr);
crypto/openssh/sshsig.c
665
} else if (opt_match(&opts, "valid-after")) {
crypto/openssh/sshsig.c
670
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
679
} else if (opt_match(&opts, "valid-before")) {
crypto/openssh/sshsig.c
684
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
698
if (*opts == '\0' || *opts == ' ' || *opts == '\t')
crypto/openssh/sshsig.c
701
if (*opts != ',') {
crypto/openssh/sshsig.c
705
opts++;
crypto/openssh/sshsig.c
706
if (*opts == '\0') {
crypto/openssh/sshsig.c
727
sshsigopt_free(struct sshsigopt *opts)
crypto/openssh/sshsig.c
729
if (opts == NULL)
crypto/openssh/sshsig.c
731
free(opts->namespaces);
crypto/openssh/sshsig.c
732
free(opts);
crypto/openssh/sshsig.c
740
char *opts = NULL, *tmp, *cp, *principals = NULL;
crypto/openssh/sshsig.c
791
opts = cp;
crypto/openssh/sshsig.c
810
debug3("%s:%lu: options %s", path, linenum, opts == NULL ? "" : opts);
crypto/openssh/sshsig.c
811
if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) {
crypto/openssh/sshsig.h
92
struct sshsigopt *sshsigopt_parse(const char *opts,
crypto/openssh/sshsig.h
96
void sshsigopt_free(struct sshsigopt *opts);
crypto/openssl/apps/fipsinstall.c
383
const FIPS_OPTS *opts,
crypto/openssl/apps/fipsinstall.c
395
opts->conditional_errors ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
398
opts->security_checks ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
401
opts->hmac_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
404
opts->kmac_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
407
opts->tls_prf_ems_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
410
opts->no_short_mac ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
413
opts->drgb_no_trunc_dgst ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
416
opts->signature_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
419
opts->hkdf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
423
opts->tls13_kdf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
427
opts->tls1_prf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
431
opts->sshkdf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
434
opts->sskdf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
438
opts->x963kdf_digest_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
441
opts->dsa_sign_disabled ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
444
opts->tdes_encrypt_disabled ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
448
opts->rsa_pkcs15_padding_disabled ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
452
opts->rsa_pss_saltlen_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
456
opts->sign_x931_padding_disabled ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
459
opts->hkdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
462
opts->kbkdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
466
opts->tls13_kdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
469
opts->tls1_prf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
472
opts->sshkdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
475
opts->sskdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
478
opts->x963kdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
481
opts->x942kdf_key_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
485
opts->pbkdf2_lower_bound_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
488
opts->ecdh_cofactor_check ? "1" : "0")
crypto/openssl/apps/fipsinstall.c
496
&& opts->self_test_onload == 0) {
crypto/openssl/apps/fipsinstall.c
513
const FIPS_OPTS *opts)
crypto/openssl/apps/fipsinstall.c
524
opts, NULL, 0))
crypto/openssl/apps/fipsinstall.c
629
STACK_OF(OPENSSL_STRING) *opts = NULL;
crypto/openssl/apps/fipsinstall.c
639
if ((opts = sk_OPENSSL_STRING_new_null()) == NULL)
crypto/openssl/apps/fipsinstall.c
785
if (!sk_OPENSSL_STRING_push(opts, opt_arg()))
crypto/openssl/apps/fipsinstall.c
846
if (!gotdigest && !sk_OPENSSL_STRING_push(opts, "digest:SHA256"))
crypto/openssl/apps/fipsinstall.c
848
if (!gotkey && !sk_OPENSSL_STRING_push(opts, "hexkey:" FIPS_KEY_STRING))
crypto/openssl/apps/fipsinstall.c
873
if (opts != NULL) {
crypto/openssl/apps/fipsinstall.c
875
OSSL_PARAM *params = app_params_new_from_opts(opts, EVP_MAC_settable_ctx_params(mac));
crypto/openssl/apps/fipsinstall.c
964
sk_OPENSSL_STRING_free(opts);
crypto/openssl/apps/include/apps.h
347
OSSL_PARAM *app_params_new_from_opts(STACK_OF(OPENSSL_STRING) *opts,
crypto/openssl/apps/kdf.c
110
if (opts == NULL)
crypto/openssl/apps/kdf.c
111
opts = sk_OPENSSL_STRING_new_null();
crypto/openssl/apps/kdf.c
112
if (opts == NULL || !sk_OPENSSL_STRING_push(opts, opt_arg()))
crypto/openssl/apps/kdf.c
117
cipher = alloc_kdf_algorithm_name(&opts, "cipher", opt_arg());
crypto/openssl/apps/kdf.c
123
digest = alloc_kdf_algorithm_name(&opts, "digest", opt_arg());
crypto/openssl/apps/kdf.c
129
mac = alloc_kdf_algorithm_name(&opts, "mac", opt_arg());
crypto/openssl/apps/kdf.c
157
if (opts != NULL) {
crypto/openssl/apps/kdf.c
159
OSSL_PARAM *params = app_params_new_from_opts(opts, EVP_KDF_settable_ctx_params(kdf));
crypto/openssl/apps/kdf.c
207
sk_OPENSSL_STRING_free(opts);
crypto/openssl/apps/kdf.c
79
STACK_OF(OPENSSL_STRING) *opts = NULL;
crypto/openssl/apps/lib/apps.c
2209
static int do_pkey_ctx_init(EVP_PKEY_CTX *pkctx, STACK_OF(OPENSSL_STRING) *opts)
crypto/openssl/apps/lib/apps.c
2213
if (opts == NULL)
crypto/openssl/apps/lib/apps.c
2216
for (i = 0; i < sk_OPENSSL_STRING_num(opts); i++) {
crypto/openssl/apps/lib/apps.c
2217
char *opt = sk_OPENSSL_STRING_value(opts, i);
crypto/openssl/apps/lib/apps.c
2229
static int do_x509_init(X509 *x, STACK_OF(OPENSSL_STRING) *opts)
crypto/openssl/apps/lib/apps.c
2233
if (opts == NULL)
crypto/openssl/apps/lib/apps.c
2236
for (i = 0; i < sk_OPENSSL_STRING_num(opts); i++) {
crypto/openssl/apps/lib/apps.c
2237
char *opt = sk_OPENSSL_STRING_value(opts, i);
crypto/openssl/apps/lib/apps.c
2249
static int do_x509_req_init(X509_REQ *x, STACK_OF(OPENSSL_STRING) *opts)
crypto/openssl/apps/lib/apps.c
2253
if (opts == NULL)
crypto/openssl/apps/lib/apps.c
2256
for (i = 0; i < sk_OPENSSL_STRING_num(opts); i++) {
crypto/openssl/apps/lib/apps.c
2257
char *opt = sk_OPENSSL_STRING_value(opts, i);
crypto/openssl/apps/lib/apps.c
3403
OSSL_PARAM *app_params_new_from_opts(STACK_OF(OPENSSL_STRING) *opts,
crypto/openssl/apps/lib/apps.c
3407
size_t sz = (size_t)sk_OPENSSL_STRING_num(opts);
crypto/openssl/apps/lib/apps.c
3412
if (opts == NULL)
crypto/openssl/apps/lib/apps.c
3420
opt = sk_OPENSSL_STRING_value(opts, (int)params_n);
crypto/openssl/apps/lib/opt.c
167
opts = o;
crypto/openssl/apps/lib/opt.c
46
static const OPTIONS *opts;
crypto/openssl/apps/lib/opt.c
923
for (o = opts; o->name; ++o) {
crypto/openssl/apps/mac.c
119
if (opts == NULL)
crypto/openssl/apps/mac.c
120
opts = sk_OPENSSL_STRING_new_null();
crypto/openssl/apps/mac.c
121
if (opts == NULL || !sk_OPENSSL_STRING_push(opts, opt_arg()))
crypto/openssl/apps/mac.c
126
cipher = alloc_mac_algorithm_name(&opts, "cipher", opt_arg());
crypto/openssl/apps/mac.c
132
digest = alloc_mac_algorithm_name(&opts, "digest", opt_arg());
crypto/openssl/apps/mac.c
158
if (opts != NULL) {
crypto/openssl/apps/mac.c
161
params = app_params_new_from_opts(opts,
crypto/openssl/apps/mac.c
234
sk_OPENSSL_STRING_free(opts);
crypto/openssl/apps/mac.c
85
STACK_OF(OPENSSL_STRING) *opts = NULL;
crypto/openssl/apps/verify.c
25
STACK_OF(OPENSSL_STRING) *opts);
crypto/openssl/apps/verify.c
262
STACK_OF(OPENSSL_STRING) *opts)
crypto/openssl/apps/verify.c
274
if (opts != NULL) {
crypto/openssl/apps/verify.c
275
for (i = 0; i < sk_OPENSSL_STRING_num(opts); i++) {
crypto/openssl/apps/verify.c
276
char *opt = sk_OPENSSL_STRING_value(opts, i);
crypto/openssl/crypto/bio/bss_conn.c
113
int ret = -1, i, opts;
crypto/openssl/crypto/bio/bss_conn.c
192
opts = c->connect_mode;
crypto/openssl/crypto/bio/bss_conn.c
194
opts |= BIO_SOCK_KEEPALIVE;
crypto/openssl/crypto/bio/bss_conn.c
196
ret = BIO_connect(b->num, BIO_ADDRINFO_address(c->addr_iter), opts);
crypto/openssl/crypto/init.c
496
int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
crypto/openssl/crypto/init.c
503
if (!(opts & OPENSSL_INIT_BASE_ONLY))
crypto/openssl/crypto/init.c
522
if ((tmp & opts) == opts)
crypto/openssl/crypto/init.c
544
if (opts & OPENSSL_INIT_BASE_ONLY)
crypto/openssl/crypto/init.c
555
if ((tmp & opts) == opts)
crypto/openssl/crypto/init.c
565
if ((opts & OPENSSL_INIT_NO_ATEXIT) != 0) {
crypto/openssl/crypto/init.c
576
if ((opts & OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS)
crypto/openssl/crypto/init.c
582
if ((opts & OPENSSL_INIT_LOAD_CRYPTO_STRINGS)
crypto/openssl/crypto/init.c
586
if ((opts & OPENSSL_INIT_NO_LOAD_SSL_STRINGS)
crypto/openssl/crypto/init.c
591
if ((opts & OPENSSL_INIT_LOAD_SSL_STRINGS)
crypto/openssl/crypto/init.c
595
if ((opts & OPENSSL_INIT_NO_ADD_ALL_CIPHERS)
crypto/openssl/crypto/init.c
600
if ((opts & OPENSSL_INIT_ADD_ALL_CIPHERS)
crypto/openssl/crypto/init.c
604
if ((opts & OPENSSL_INIT_NO_ADD_ALL_DIGESTS)
crypto/openssl/crypto/init.c
609
if ((opts & OPENSSL_INIT_ADD_ALL_DIGESTS)
crypto/openssl/crypto/init.c
613
if ((opts & OPENSSL_INIT_ATFORK)
crypto/openssl/crypto/init.c
617
if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG)
crypto/openssl/crypto/init.c
621
if (opts & OPENSSL_INIT_LOAD_CONFIG) {
crypto/openssl/crypto/init.c
647
if ((opts & OPENSSL_INIT_ASYNC)
crypto/openssl/crypto/init.c
652
if ((opts & OPENSSL_INIT_ENGINE_OPENSSL)
crypto/openssl/crypto/init.c
656
if ((opts & OPENSSL_INIT_ENGINE_RDRAND)
crypto/openssl/crypto/init.c
660
if ((opts & OPENSSL_INIT_ENGINE_DYNAMIC)
crypto/openssl/crypto/init.c
665
if ((opts & OPENSSL_INIT_ENGINE_CRYPTODEV)
crypto/openssl/crypto/init.c
670
if ((opts & OPENSSL_INIT_ENGINE_PADLOCK)
crypto/openssl/crypto/init.c
675
if ((opts & OPENSSL_INIT_ENGINE_CAPI)
crypto/openssl/crypto/init.c
680
if ((opts & OPENSSL_INIT_ENGINE_AFALG)
crypto/openssl/crypto/init.c
685
if (opts & (OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_ENGINE_OPENSSL | OPENSSL_INIT_ENGINE_AFALG)) {
crypto/openssl/crypto/init.c
690
if (!CRYPTO_atomic_or(&optsdone, opts, &tmp, optsdone_lock))
crypto/openssl/demos/guide/tls-server-block.c
120
opts = SSL_OP_IGNORE_UNEXPECTED_EOF;
crypto/openssl/demos/guide/tls-server-block.c
127
opts |= SSL_OP_NO_RENEGOTIATION;
crypto/openssl/demos/guide/tls-server-block.c
133
opts |= SSL_OP_CIPHER_SERVER_PREFERENCE;
crypto/openssl/demos/guide/tls-server-block.c
136
SSL_CTX_set_options(ctx, opts);
crypto/openssl/demos/guide/tls-server-block.c
66
long opts;
crypto/openssl/include/internal/quic_ssl.h
138
uint64_t ossl_quic_set_options(SSL *s, uint64_t opts);
crypto/openssl/include/internal/quic_ssl.h
139
uint64_t ossl_quic_clear_options(SSL *s, uint64_t opts);
crypto/openssl/include/openssl/crypto.h
509
int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
crypto/openssl/include/openssl/ssl.h
2820
int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
crypto/openssl/ssl/record/rec_layer_s3.c
1253
OSSL_PARAM options[5], *opts = options;
crypto/openssl/ssl/record/rec_layer_s3.c
1289
*opts++ = OSSL_PARAM_construct_uint64(OSSL_LIBSSL_RECORD_LAYER_PARAM_OPTIONS,
crypto/openssl/ssl/record/rec_layer_s3.c
1291
*opts++ = OSSL_PARAM_construct_uint32(OSSL_LIBSSL_RECORD_LAYER_PARAM_MODE,
crypto/openssl/ssl/record/rec_layer_s3.c
1294
*opts++ = OSSL_PARAM_construct_size_t(OSSL_LIBSSL_RECORD_LAYER_READ_BUFFER_LEN,
crypto/openssl/ssl/record/rec_layer_s3.c
1296
*opts++ = OSSL_PARAM_construct_int(OSSL_LIBSSL_RECORD_LAYER_PARAM_READ_AHEAD,
crypto/openssl/ssl/record/rec_layer_s3.c
1299
*opts++ = OSSL_PARAM_construct_size_t(OSSL_LIBSSL_RECORD_LAYER_PARAM_BLOCK_PADDING,
crypto/openssl/ssl/record/rec_layer_s3.c
1301
*opts++ = OSSL_PARAM_construct_size_t(OSSL_LIBSSL_RECORD_LAYER_PARAM_HS_PADDING,
crypto/openssl/ssl/record/rec_layer_s3.c
1304
*opts = OSSL_PARAM_construct_end();
crypto/openssl/ssl/ssl_init.c
46
int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
crypto/openssl/ssl/ssl_init.c
63
opts |= OPENSSL_INIT_ADD_ALL_CIPHERS
crypto/openssl/ssl/ssl_init.c
66
if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) == 0)
crypto/openssl/ssl/ssl_init.c
67
opts |= OPENSSL_INIT_LOAD_CONFIG;
crypto/openssl/ssl/ssl_init.c
70
if (!OPENSSL_init_crypto(opts, settings))
crypto/openssl/ssl/ssl_lib.c
1894
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
1901
*opts++ = OSSL_PARAM_construct_int(OSSL_LIBSSL_RECORD_LAYER_PARAM_READ_AHEAD,
crypto/openssl/ssl/ssl_lib.c
1903
*opts = OSSL_PARAM_construct_end();
crypto/openssl/ssl/ssl_lib.c
2976
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
2980
*opts++ = OSSL_PARAM_construct_uint32(OSSL_LIBSSL_RECORD_LAYER_PARAM_MODE,
crypto/openssl/ssl/ssl_lib.c
2982
*opts = OSSL_PARAM_construct_end();
crypto/openssl/ssl/ssl_lib.c
6257
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
6270
*opts++ = OSSL_PARAM_construct_uint64(OSSL_LIBSSL_RECORD_LAYER_PARAM_OPTIONS,
crypto/openssl/ssl/ssl_lib.c
6272
*opts = OSSL_PARAM_construct_end();
crypto/openssl/ssl/ssl_lib.c
6289
OSSL_PARAM options[2], *opts = options;
crypto/openssl/ssl/ssl_lib.c
6301
*opts++ = OSSL_PARAM_construct_uint64(OSSL_LIBSSL_RECORD_LAYER_PARAM_OPTIONS,
crypto/openssl/ssl/ssl_lib.c
6303
*opts = OSSL_PARAM_construct_end();
include/malloc_np.h
110
void *cbopaque, const char *opts);
include/malloc_np.h
76
void *cbopaque, const char *opts);
lib/libc/regex/grot/main.c
203
try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts)
lib/libc/regex/grot/main.c
214
char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE";
lib/libc/regex/grot/main.c
219
re.re_endp = (opts&REG_PEND) ? f0copy + strlen(f0copy) : NULL;
lib/libc/regex/grot/main.c
221
err = regcomp(&re, f0copy, opts);
lib/libc/regex/grot/main.c
266
} else if (opts&REG_NOSUB) {
lib/libc/resolv/res_findzonecut.c
154
res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
161
opts |= RES_IPV4ONLY;
lib/libc/resolv/res_findzonecut.c
162
opts &= ~RES_IPV6ONLY;
lib/libc/resolv/res_findzonecut.c
168
result = res_findzonecut2(statp, dname, class, opts, zname, zsize,
lib/libc/resolv/res_findzonecut.c
180
res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
198
if ((n = get_soa(statp, dname, class, opts, zname, zsize,
lib/libc/resolv/res_findzonecut.c
200
((opts & RES_EXHAUSTIVE) == 0 &&
lib/libc/resolv/res_findzonecut.c
205
if ((n = get_ns(statp, zname, class, opts, &nsrrs)) < 0 ||
lib/libc/resolv/res_findzonecut.c
206
((opts & RES_EXHAUSTIVE) == 0 &&
lib/libc/resolv/res_findzonecut.c
211
if ((n = get_glue(statp, class, opts, &nsrrs)) >= 0)
lib/libc/resolv/res_findzonecut.c
270
get_soa(res_state statp, const char *dname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
379
zname, class, opts, nsrrsp) < 0) {
lib/libc/resolv/res_findzonecut.c
410
get_ns(res_state statp, const char *zname, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
431
if (save_ns(statp, &msg, ns_s_an, zname, class, opts, nsrrsp) < 0) {
lib/libc/resolv/res_findzonecut.c
443
get_glue(res_state statp, ns_class class, int opts, rrset_ns *nsrrsp) {
lib/libc/resolv/res_findzonecut.c
473
opts, nsrr) < 0) {
lib/libc/resolv/res_findzonecut.c
495
opts, nsrr) < 0) {
lib/libc/resolv/res_findzonecut.c
519
const char *owner, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
567
nsrr->name, class, opts, nsrr) < 0) {
lib/libc/resolv/res_findzonecut.c
578
const char *owner, ns_class class, int opts,
lib/libc/resolv/res_findzonecut.c
598
if ((opts & RES_IPV6ONLY) != 0 && ns_rr_type(rr) != ns_t_aaaa)
lib/libc/resolv/res_findzonecut.c
600
if ((opts & RES_IPV4ONLY) != 0 && ns_rr_type(rr) != ns_t_a)
lib/libc/stdlib/malloc/jemalloc/include/jemalloc/jemalloc.h
298
const char *opts);
lib/libifconfig/libifconfig.h
274
ifmedia_t *ifconfig_media_lookup_options(ifmedia_t media, const char **opts,
lib/libifconfig/libifconfig_media.c
397
ifconfig_media_lookup_options(ifmedia_t media, const char **opts, size_t nopts)
lib/libifconfig/libifconfig_media.c
403
assert(opts != NULL);
lib/libifconfig/libifconfig_media.c
420
opt = lookup_media_desc(desc, opts[j]);
lib/libpam/modules/pam_krb5/pam_krb5.c
126
krb5_get_init_creds_opt *opts;
lib/libpam/modules/pam_krb5/pam_krb5.c
268
krbret = krb5_get_init_creds_opt_alloc(krbctx, &opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
277
service, NULL, opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
280
krb5_get_init_creds_opt_set_forwardable(opts, 1);
lib/libpam/modules/pam_krb5/pam_krb5.c
287
pass, NULL, pamh, 0, NULL, opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
288
krb5_get_init_creds_opt_free(krbctx, opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
731
krb5_get_init_creds_opt *opts;
lib/libpam/modules/pam_krb5/pam_krb5.c
784
krbret = krb5_get_init_creds_opt_alloc(krbctx, &opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
797
pass, NULL, pamh, 0, "kadmin/changepw", opts);
lib/libpam/modules/pam_krb5/pam_krb5.c
798
krb5_get_init_creds_opt_free(krbctx, opts);
lib/libpfctl/libpfctl.c
1188
snl_add_msg_attr_u8(nw, PF_PT_OPTS, pool->opts);
lib/libpfctl/libpfctl.c
1552
{ .type = PF_PT_OPTS, .off = _OUT(opts), .cb = snl_attr_get_uint8 },
lib/libpfctl/libpfctl.c
689
pool->opts = nvlist_get_number(nvl, "opts");
lib/libpfctl/libpfctl.h
165
uint8_t opts;
lib/virtual_oss/bt/bt.c
702
AVDictionary *opts = NULL;
lib/virtual_oss/bt/bt.c
704
av_dict_set(&opts, "strict", "-2", 0);
lib/virtual_oss/bt/bt.c
705
av_dict_set_int(&opts, "latm", 1, 0);
lib/virtual_oss/bt/bt.c
708
cfg->handle.av.codec, &opts) < 0) {
lib/virtual_oss/bt/bt.c
709
av_dict_free(&opts);
lib/virtual_oss/bt/bt.c
714
av_dict_free(&opts);
sbin/camcontrol/camcontrol.c
379
struct camcontrol_opts *opts;
sbin/camcontrol/camcontrol.c
382
for (opts = table; (opts != NULL) && (opts->optname != NULL);
sbin/camcontrol/camcontrol.c
383
opts++) {
sbin/camcontrol/camcontrol.c
384
if (strncmp(opts->optname, arg, strlen(arg)) == 0) {
sbin/camcontrol/camcontrol.c
385
*cmdnum = opts->cmdnum;
sbin/camcontrol/camcontrol.c
386
*argnum = opts->argnum;
sbin/camcontrol/camcontrol.c
387
*subopt = opts->subopt;
sbin/fsck/fsck.c
461
addentry(struct fstypelist *list, const char *type, const char *opts)
sbin/fsck/fsck.c
467
e->options = estrdup(opts);
sbin/fsck/fsck.c
512
mangle(char *opts, int *argcp, const char ** volatile *argvp, int *maxargcp)
sbin/fsck/fsck.c
522
for (s = opts; (p = strsep(&s, ",")) != NULL;) {
sbin/geom/core/geom.c
318
char opts[64];
sbin/geom/core/geom.c
322
*opts = '\0';
sbin/geom/core/geom.c
324
strlcat(opts, "v", sizeof(opts));
sbin/geom/core/geom.c
334
strlcatf(opts, sizeof(opts), "%c", opt->go_char);
sbin/geom/core/geom.c
336
strlcat(opts, ":", sizeof(opts));
sbin/geom/core/geom.c
343
while ((ch = getopt(*argc, *argv, opts)) != -1) {
sbin/ifconfig/ifconfig.c
107
static struct option *opts = NULL;
sbin/ifconfig/ifconfig.c
154
p->next = opts;
sbin/ifconfig/ifconfig.c
155
opts = p;
sbin/ifconfig/ifconfig.c
166
for (p = opts; p != NULL; p = p->next) {
sbin/ifconfig/ifconfig.c
473
for (p = opts; p != NULL; p = p->next)
sbin/ifconfig/ifconfig.c
536
for (p = opts; p != NULL; p = p->next)
sbin/ifconfig/ifgif.c
59
int opts;
sbin/ifconfig/ifgif.c
60
struct ifreq ifr = { .ifr_data = (caddr_t)&opts };
sbin/ifconfig/ifgif.c
64
if (opts == 0)
sbin/ifconfig/ifgif.c
66
printf("\toptions=%x", opts);
sbin/ifconfig/ifgif.c
67
print_bits("options", &opts, 1, GIFBITS, nitems(GIFBITS));
sbin/ifconfig/ifgif.c
74
int opts;
sbin/ifconfig/ifgif.c
75
struct ifreq ifr = { .ifr_data = (caddr_t)&opts };
sbin/ifconfig/ifgif.c
83
opts &= ~(-d);
sbin/ifconfig/ifgif.c
85
opts |= d;
sbin/ifconfig/ifgre.c
105
opts &= ~(-d);
sbin/ifconfig/ifgre.c
107
opts |= d;
sbin/ifconfig/ifgre.c
53
uint32_t opts = 0, port;
sbin/ifconfig/ifgre.c
54
struct ifreq ifr = { .ifr_data = (caddr_t)&opts };
sbin/ifconfig/ifgre.c
57
if (opts != 0)
sbin/ifconfig/ifgre.c
58
printf("\tgrekey: 0x%x (%u)\n", opts, opts);
sbin/ifconfig/ifgre.c
59
opts = 0;
sbin/ifconfig/ifgre.c
60
if (ioctl_ctx_ifr(ctx, GREGOPTS, &ifr) != 0 || opts == 0)
sbin/ifconfig/ifgre.c
67
printf("\toptions=%x", opts);
sbin/ifconfig/ifgre.c
68
print_bits("options", &opts, 1, GREBITS, nitems(GREBITS));
sbin/ifconfig/ifgre.c
96
uint32_t opts;
sbin/ifconfig/ifgre.c
97
struct ifreq ifr = { .ifr_data = (caddr_t)&opts };
sbin/ifconfig/ifmedia.c
328
char *opts, *opt;
sbin/ifconfig/ifmedia.c
335
opts = strdup(val);
sbin/ifconfig/ifmedia.c
336
if (opts == NULL)
sbin/ifconfig/ifmedia.c
343
for (opt = opts; (opt = strtok(opt, ",")) != NULL; opt = NULL)
sbin/ifconfig/ifmedia.c
346
free(opts);
sbin/ifconfig/ifmedia.c
352
opt = opts;
sbin/ifconfig/ifmedia.c
372
free(opts);
sbin/ipf/common/ipf_y.y
2251
if (opts & OPT_DEBUG)
sbin/ipf/common/ipf_y.y
2409
if ((opts & OPT_DONOTHING) != 0)
sbin/ipf/common/ipf_y.y
2412
if (opts & OPT_ZERORULEST) {
sbin/ipf/common/ipf_y.y
2414
} else if (opts & OPT_INACTIVE) {
sbin/ipf/common/ipf_y.y
2424
if ((opts & OPT_OUTQUE) != 0)
sbin/ipf/common/ipf_y.y
2428
if ((opts & OPT_VERBOSE) != 0)
sbin/ipf/common/ipf_y.y
2431
if ((opts & OPT_DEBUG) != 0) {
sbin/ipf/common/ipf_y.y
2437
if ((opts & OPT_ZERORULEST) != 0) {
sbin/ipf/common/ipf_y.y
2439
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/common/ipf_y.y
2457
} else if ((opts & OPT_REMOVE) != 0) {
sbin/ipf/common/ipf_y.y
2459
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/common/ipf_y.y
2469
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/common/opts.h
66
extern int opts;
sbin/ipf/ipf/ipf.c
100
opts ^= OPT_DEBUG;
sbin/ipf/ipf/ipf.c
109
opts ^= OPT_INACTIVE;
sbin/ipf/ipf/ipf.c
118
opts ^= OPT_DONOTHING|OPT_DONTOPEN;
sbin/ipf/ipf/ipf.c
126
opts ^= OPT_NORESOLVE;
sbin/ipf/ipf/ipf.c
129
opts ^= OPT_REMOVE;
sbin/ipf/ipf/ipf.c
139
opts += OPT_VERBOSE;
sbin/ipf/ipf/ipf.c
149
opts ^= OPT_ZERORULEST;
sbin/ipf/ipf/ipf.c
171
if (opts & OPT_DONOTHING)
sbin/ipf/ipf/ipf.c
265
if ((opts & (OPT_DONOTHING|OPT_VERBOSE)) == OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
27
int opts = 0;
sbin/ipf/ipf/ipf.c
273
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
279
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
285
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
290
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
301
if ((opts & (OPT_DONOTHING|OPT_VERBOSE)) == OPT_VERBOSE) {
sbin/ipf/ipf/ipf.c
307
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
324
if (opts & OPT_VERBOSE)
sbin/ipf/ipf/ipf.c
362
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipf/ipf.c
386
if ((opts & (OPT_DONOTHING|OPT_DEBUG)) == OPT_DEBUG) {
sbin/ipf/ipf/ipf.c
389
if ((opts & (OPT_DONOTHING|OPT_VERBOSE)) == OPT_VERBOSE) {
sbin/ipf/ipf/ipf.c
404
if (opts & OPT_INACTIVE)
sbin/ipf/ipf/ipf.c
411
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipf/ipf.c
425
if ((opts & (OPT_DONOTHING|OPT_DEBUG)) == OPT_DEBUG) {
sbin/ipf/ipf/ipf.c
429
if ((opts & (OPT_DONOTHING|OPT_VERBOSE)) == OPT_VERBOSE) {
sbin/ipf/ipf/ipf.c
87
opts &= ~OPT_INACTIVE;
sbin/ipf/ipfs/ipfs.c
233
opts |= OPT_DONOTHING;
sbin/ipf/ipfs/ipfs.c
264
opts |= OPT_VERBOSE;
sbin/ipf/ipfs/ipfs.c
334
if (opts & OPT_DONOTHING)
sbin/ipf/ipfs/ipfs.c
355
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
357
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipfs/ipfs.c
362
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
396
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
405
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
495
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
498
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
503
if (!(opts & OPT_DONOTHING))
sbin/ipf/ipfs/ipfs.c
510
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
637
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
641
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
647
if (!(opts & OPT_DONOTHING))
sbin/ipf/ipfs/ipfs.c
65
int opts = 0;
sbin/ipf/ipfs/ipfs.c
655
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
700
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
712
if (opts & OPT_VERBOSE)
sbin/ipf/ipfs/ipfs.c
742
if (opts & OPT_VERBOSE)
sbin/ipf/ipfstat/ipfstat.c
1005
if (opts & OPT_INACTIVE)
sbin/ipf/ipfstat/ipfstat.c
1007
if (opts & OPT_ACCNT) {
sbin/ipf/ipfstat/ipfstat.c
1008
if (opts & OPT_OUTQUE) {
sbin/ipf/ipfstat/ipfstat.c
1011
} else if (opts & OPT_INQUE) {
sbin/ipf/ipfstat/ipfstat.c
1019
if (opts & OPT_OUTQUE) {
sbin/ipf/ipfstat/ipfstat.c
1022
} else if (opts & OPT_INQUE) {
sbin/ipf/ipfstat/ipfstat.c
1028
if (opts & OPT_DEBUG)
sbin/ipf/ipfstat/ipfstat.c
1029
FPRINTF(stderr, "showlist:opts %#x i %d\n", opts, i);
sbin/ipf/ipfstat/ipfstat.c
1031
if (opts & OPT_DEBUG)
sbin/ipf/ipfstat/ipfstat.c
1040
(opts & OPT_INACTIVE) ? "inactive " : "",
sbin/ipf/ipfstat/ipfstat.c
1046
(opts & OPT_INACTIVE) ? "inactive " : "",
sbin/ipf/ipfstat/ipfstat.c
1066
if (!(opts & OPT_SHOWLIST)) {
sbin/ipf/ipfstat/ipfstat.c
1104
printstate(&ips, opts, ipsp->iss_ticks);
sbin/ipf/ipfstat/ipfstat.c
1245
if (opts & OPT_VERBOSE) {
sbin/ipf/ipfstat/ipfstat.c
291
opts |= OPT_ACCNT|OPT_SHOWLIST;
sbin/ipf/ipfstat/ipfstat.c
294
opts |= OPT_AUTHSTATS;
sbin/ipf/ipfstat/ipfstat.c
300
opts |= OPT_DEBUG;
sbin/ipf/ipfstat/ipfstat.c
306
opts |= OPT_FRSTATES;
sbin/ipf/ipfstat/ipfstat.c
309
opts |= OPT_GROUPS;
sbin/ipf/ipfstat/ipfstat.c
312
opts |= OPT_HITS;
sbin/ipf/ipfstat/ipfstat.c
315
opts |= OPT_INQUE|OPT_SHOWLIST;
sbin/ipf/ipfstat/ipfstat.c
318
opts |= OPT_INACTIVE;
sbin/ipf/ipfstat/ipfstat.c
321
opts |= OPT_SHOWLIST;
sbin/ipf/ipfstat/ipfstat.c
336
opts |= OPT_SHOWLINENO;
sbin/ipf/ipfstat/ipfstat.c
339
opts |= OPT_OUTQUE|OPT_SHOWLIST;
sbin/ipf/ipfstat/ipfstat.c
353
opts |= OPT_NORESOLVE;
sbin/ipf/ipfstat/ipfstat.c
356
opts |= OPT_IPSTATES;
sbin/ipf/ipfstat/ipfstat.c
363
opts |= OPT_STATETOP;
sbin/ipf/ipfstat/ipfstat.c
381
opts |= OPT_VERBOSE;
sbin/ipf/ipfstat/ipfstat.c
390
!(opts & (OPT_INQUE | OPT_OUTQUE | OPT_STATETOP))) {
sbin/ipf/ipfstat/ipfstat.c
413
if (opts & OPT_IPSTATES) {
sbin/ipf/ipfstat/ipfstat.c
415
} else if (opts & OPT_SHOWLIST) {
sbin/ipf/ipfstat/ipfstat.c
417
if ((opts & OPT_OUTQUE) && (opts & OPT_INQUE)){
sbin/ipf/ipfstat/ipfstat.c
418
opts &= ~OPT_OUTQUE;
sbin/ipf/ipfstat/ipfstat.c
421
} else if (opts & OPT_FRSTATES)
sbin/ipf/ipfstat/ipfstat.c
424
else if (opts & OPT_STATETOP)
sbin/ipf/ipfstat/ipfstat.c
433
else if (opts & OPT_AUTHSTATS)
sbin/ipf/ipfstat/ipfstat.c
435
else if (opts & OPT_GROUPS)
sbin/ipf/ipfstat/ipfstat.c
459
if ((opts & OPT_AUTHSTATS) == 0) {
sbin/ipf/ipfstat/ipfstat.c
475
if ((opts & OPT_IPSTATES) != 0) {
sbin/ipf/ipfstat/ipfstat.c
493
if ((opts & OPT_FRSTATES) != 0) {
sbin/ipf/ipfstat/ipfstat.c
506
if (opts & OPT_DEBUG)
sbin/ipf/ipfstat/ipfstat.c
507
PRINTF("opts %#x name %s\n", opts, device);
sbin/ipf/ipfstat/ipfstat.c
509
if ((opts & OPT_AUTHSTATS) != 0) {
sbin/ipf/ipfstat/ipfstat.c
54
int opts = 0;
sbin/ipf/ipfstat/ipfstat.c
831
if (opts & (OPT_HITS|OPT_DEBUG))
sbin/ipf/ipfstat/ipfstat.c
837
if (opts & (OPT_ACCNT|OPT_DEBUG))
sbin/ipf/ipfstat/ipfstat.c
843
if (opts & OPT_SHOWLINENO)
sbin/ipf/ipfstat/ipfstat.c
850
if (opts & OPT_DEBUG) {
sbin/ipf/ipfstat/ipfstat.c
944
if (opts & OPT_HITS)
sbin/ipf/ipfstat/ipfstat.c
950
if (opts & OPT_ACCNT)
sbin/ipf/ipfstat/ipfstat.c
956
if (opts & OPT_SHOWLINENO)
sbin/ipf/ipfstat/ipfstat.c
960
if (opts & OPT_DEBUG) {
sbin/ipf/ipfsync/ipfsyncd.c
58
int opts = 0;
sbin/ipf/ipfsync/ipfsyncd.c
97
opts = 0;
sbin/ipf/ipftest/ipftest.c
110
opts |= OPT_BRIEF;
sbin/ipf/ipftest/ipftest.c
113
opts |= OPT_DEBUG;
sbin/ipf/ipftest/ipftest.c
143
opts |= OPT_NAT;
sbin/ipf/ipftest/ipftest.c
146
opts |= OPT_SAVEOUT;
sbin/ipf/ipftest/ipftest.c
163
opts |= OPT_NORESOLVE;
sbin/ipf/ipftest/ipftest.c
169
opts |= OPT_VERBOSE;
sbin/ipf/ipftest/ipftest.c
172
opts |= OPT_HEX;
sbin/ipf/ipftest/ipftest.c
181
if (opts & OPT_SAVEOUT)
sbin/ipf/ipftest/ipftest.c
220
if ((opts & OPT_NAT) == 0)
sbin/ipf/ipftest/ipftest.c
258
if (!(opts & OPT_BRIEF)) {
sbin/ipf/ipftest/ipftest.c
26
int opts = OPT_DONTOPEN;
sbin/ipf/ipftest/ipftest.c
265
} else if ((opts & (OPT_BRIEF|OPT_NAT)) ==
sbin/ipf/ipftest/ipftest.c
284
if ((opts & (OPT_BRIEF|OPT_NAT)) != (OPT_NAT|OPT_BRIEF))
sbin/ipf/ipftest/ipftest.c
339
if (opts & OPT_DEBUG)
sbin/ipf/ipftest/ipftest.c
363
if (opts & OPT_DEBUG)
sbin/ipf/ipftest/ipftest.c
387
if ((opts & OPT_DEBUG) || (i != 0))
sbin/ipf/ipftest/ipftest.c
411
if ((opts & OPT_DEBUG) || (i != 0))
sbin/ipf/ipftest/ipftest.c
435
if ((opts & OPT_DEBUG) || (i != 0))
sbin/ipf/ipftest/ipftest.c
459
if ((opts & OPT_DEBUG) || (i != 0))
sbin/ipf/ipftest/ipftest.c
483
if ((opts & OPT_DEBUG) || (i != 0))
sbin/ipf/ipftest/ipftest.c
528
printnat(ipn, opts & (OPT_DEBUG|OPT_VERBOSE));
sbin/ipf/ipftest/ipftest.c
531
printactivenat(nat, opts, 0);
sbin/ipf/iplang/iplang_y.y
1244
if (opts & OPT_VERBOSE) {
sbin/ipf/iplang/iplang_y.y
1728
yydebug = (opts & OPT_DEBUG) ? 1 : 0;
sbin/ipf/iplang/iplang_y.y
44
extern int opts;
sbin/ipf/ipmon/ipmon.c
152
int opts = OPT_NORESOLVE;
sbin/ipf/ipmon/ipmon.c
1590
opts &= ~OPT_NORESOLVE;
sbin/ipf/ipmon/ipmon.c
45
int opts;
sbin/ipf/ipmon/ipmon_y.y
429
check_action(char *buf, char *log, int opts, int lvl)
sbin/ipf/ipnat/ipnat.c
109
opts |= OPT_CLEAR;
sbin/ipf/ipnat/ipnat.c
112
opts |= OPT_DEBUG;
sbin/ipf/ipnat/ipnat.c
118
opts |= OPT_FLUSH;
sbin/ipf/ipnat/ipnat.c
121
opts |=OPT_HITS;
sbin/ipf/ipnat/ipnat.c
124
opts |= OPT_LIST;
sbin/ipf/ipnat/ipnat.c
137
opts |= OPT_DONOTHING|OPT_DONTOPEN;
sbin/ipf/ipnat/ipnat.c
144
opts |= OPT_PURGE;
sbin/ipf/ipnat/ipnat.c
147
opts |= OPT_NORESOLVE;
sbin/ipf/ipnat/ipnat.c
150
opts |= OPT_REMOVE;
sbin/ipf/ipnat/ipnat.c
153
opts |= OPT_STAT;
sbin/ipf/ipnat/ipnat.c
157
opts |= OPT_VERBOSE;
sbin/ipf/ipnat/ipnat.c
163
if (((opts & OPT_PURGE) != 0) && ((opts & OPT_REMOVE) == 0)) {
sbin/ipf/ipnat/ipnat.c
176
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipnat/ipnat.c
187
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/ipnat/ipnat.c
194
if (!(opts & OPT_DONOTHING) && (kernel == NULL) && (core == NULL)) {
sbin/ipf/ipnat/ipnat.c
211
if (opts & (OPT_LIST|OPT_STAT))
sbin/ipf/ipnat/ipnat.c
212
dostats(fd, nsp, opts, 0, natfilter);
sbin/ipf/ipnat/ipnat.c
216
if (opts & (OPT_FLUSH|OPT_CLEAR))
sbin/ipf/ipnat/ipnat.c
217
flushtable(fd, opts, natfilter);
sbin/ipf/ipnat/ipnat.c
221
if (opts & (OPT_LIST|OPT_STAT))
sbin/ipf/ipnat/ipnat.c
222
dostats(fd, nsp, opts, 1, natfilter);
sbin/ipf/ipnat/ipnat.c
283
flushtable(int fd, int opts, int *match)
sbin/ipf/ipnat/ipnat.c
287
if (opts & OPT_FLUSH) {
sbin/ipf/ipnat/ipnat.c
289
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipnat/ipnat.c
312
if (opts & OPT_CLEAR) {
sbin/ipf/ipnat/ipnat.c
314
if (!(opts & OPT_DONOTHING) && ioctl(fd, SIOCIPFFL, &n) == -1)
sbin/ipf/ipnat/ipnat.c
326
dostats_dead(natstat_t *nsp, int opts, int *filter)
sbin/ipf/ipnat/ipnat.c
340
if (opts & OPT_HITS)
sbin/ipf/ipnat/ipnat.c
342
printnat(&ipn, opts & (OPT_DEBUG|OPT_VERBOSE));
sbin/ipf/ipnat/ipnat.c
372
printactivenat(&nat, opts, nsp->ns_ticks);
sbin/ipf/ipnat/ipnat.c
380
printaps(nat.nat_aps, opts, proto);
sbin/ipf/ipnat/ipnat.c
385
if (opts & OPT_VERBOSE)
sbin/ipf/ipnat/ipnat.c
460
dostats(int fd, natstat_t *nsp, int opts, int alive, int *filter)
sbin/ipf/ipnat/ipnat.c
465
if (opts & OPT_STAT) {
sbin/ipf/ipnat/ipnat.c
497
if (opts & OPT_VERBOSE)
sbin/ipf/ipnat/ipnat.c
501
if (opts & OPT_LIST) {
sbin/ipf/ipnat/ipnat.c
503
dostats_live(fd, nsp, opts, filter);
sbin/ipf/ipnat/ipnat.c
505
dostats_dead(nsp, opts, filter);
sbin/ipf/ipnat/ipnat.c
514
dostats_live(int fd, natstat_t *nsp, int opts, int *filter)
sbin/ipf/ipnat/ipnat.c
542
if (opts & OPT_HITS)
sbin/ipf/ipnat/ipnat.c
544
printnat(ipn, opts & (OPT_DEBUG|OPT_VERBOSE));
sbin/ipf/ipnat/ipnat.c
582
printactivenat(&nat, opts, nsp->ns_ticks);
sbin/ipf/ipnat/ipnat.c
590
printaps(nat.nat_aps, opts, proto);
sbin/ipf/ipnat/ipnat.c
596
if (opts & OPT_VERBOSE)
sbin/ipf/ipnat/ipnat.c
74
int opts;
sbin/ipf/ipnat/ipnat.c
95
opts = 0;
sbin/ipf/ipnat/ipnat_y.y
1474
if ((opts & OPT_DONOTHING) != 0)
sbin/ipf/ipnat/ipnat_y.y
1477
if (opts & OPT_ZERORULEST) {
sbin/ipf/ipnat/ipnat_y.y
1480
} else if (opts & OPT_PURGE) {
sbin/ipf/ipnat/ipnat_y.y
1488
if ((opts & OPT_VERBOSE) != 0)
sbin/ipf/ipnat/ipnat_y.y
1489
printnat(ipn, opts);
sbin/ipf/ipnat/ipnat_y.y
1491
if (opts & OPT_DEBUG)
sbin/ipf/ipnat/ipnat_y.y
1494
if ((opts & OPT_ZERORULEST) != 0) {
sbin/ipf/ipnat/ipnat_y.y
1496
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/ipnat/ipnat_y.y
1512
printnat(ipn, opts);
sbin/ipf/ipnat/ipnat_y.y
1514
} else if ((opts & OPT_REMOVE) != 0) {
sbin/ipf/ipnat/ipnat_y.y
1516
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/ipnat/ipnat_y.y
1526
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/ipnat/ipnat_y.y
1678
if ((opts & OPT_REMOVE) != 0)
sbin/ipf/ipnat/ipnat_y.y
1694
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/ippool/ippool.c
1004
printhash_live(&table, fd, poolname, opts, pool_fields);
sbin/ipf/ippool/ippool.c
1038
printdstl_live(&table, fd, poolname, opts, pool_fields);
sbin/ipf/ippool/ippool.c
146
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
157
opts |= OPT_DONOTHING|OPT_DONTOPEN;
sbin/ipf/ippool/ippool.c
200
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
215
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
216
fprintf(stderr, "poolnodecommand: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
268
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
275
opts |= OPT_DONOTHING|OPT_DONTOPEN;
sbin/ipf/ippool/ippool.c
295
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
305
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
306
fprintf(stderr, "poolcommand: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
378
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
386
opts |= OPT_DONOTHING|OPT_DONTOPEN;
sbin/ipf/ippool/ippool.c
389
opts |= OPT_REMOVE;
sbin/ipf/ippool/ippool.c
392
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
402
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
403
fprintf(stderr, "loadpoolfile: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
405
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN)) && (fd == -1)) {
sbin/ipf/ippool/ippool.c
437
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
455
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
465
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
466
fprintf(stderr, "poolstats: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
468
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN)) && (fd == -1)) {
sbin/ipf/ippool/ippool.c
480
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN))) {
sbin/ipf/ippool/ippool.c
495
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN))) {
sbin/ipf/ippool/ippool.c
512
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN))) {
sbin/ipf/ippool/ippool.c
548
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
565
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
575
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
576
fprintf(stderr, "poolflush: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
578
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN)) && (fd == -1)) {
sbin/ipf/ippool/ippool.c
59
int opts = 0;
sbin/ipf/ippool/ippool.c
591
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN))) {
sbin/ipf/ippool/ippool.c
676
opts |= OPT_DEBUG;
sbin/ipf/ippool/ippool.c
679
opts |= OPT_SAVEOUT;
sbin/ipf/ippool/ippool.c
717
opts |= OPT_VERBOSE;
sbin/ipf/ippool/ippool.c
727
if (opts & OPT_DEBUG)
sbin/ipf/ippool/ippool.c
728
fprintf(stderr, "poollist: opts = %#x\n", opts);
sbin/ipf/ippool/ippool.c
730
if (!(opts & (OPT_DONOTHING|OPT_DONTOPEN)) && (fd == -1)) {
sbin/ipf/ippool/ippool.c
778
opts, pool_fields);
sbin/ipf/ippool/ippool.c
785
poolname, opts,
sbin/ipf/ippool/ippool.c
807
poolname, opts, pool_fields);
sbin/ipf/ippool/ippool.c
814
poolname, opts,
sbin/ipf/ippool/ippool.c
969
((opts & OPT_DEBUG) != 0))
sbin/ipf/ippool/ippool.c
970
printpool_live(&pool, fd, poolname, opts, pool_fields);
sbin/ipf/ipscan/ipscan_y.y
319
if (opts & OPT_DEBUG) {
sbin/ipf/ipscan/ipscan_y.y
327
if (opts & OPT_VERBOSE) {
sbin/ipf/ipscan/ipscan_y.y
389
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipscan/ipscan_y.y
391
if (opts & OPT_REMOVE) {
sbin/ipf/ipscan/ipscan_y.y
40
int opts = 0;
sbin/ipf/ipscan/ipscan_y.y
400
if (opts & OPT_VERBOSE)
sbin/ipf/ipscan/ipscan_y.y
471
else if (opts & OPT_SHOWLIST) {
sbin/ipf/ipscan/ipscan_y.y
514
opts |= OPT_DEBUG;
sbin/ipf/ipscan/ipscan_y.y
530
opts |= OPT_SHOWLIST;
sbin/ipf/ipscan/ipscan_y.y
533
opts |= OPT_DONOTHING;
sbin/ipf/ipscan/ipscan_y.y
536
opts |= OPT_REMOVE;
sbin/ipf/ipscan/ipscan_y.y
539
opts |= OPT_STAT;
sbin/ipf/ipscan/ipscan_y.y
542
opts |= OPT_VERBOSE;
sbin/ipf/ipscan/ipscan_y.y
546
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/ipscan/ipscan_y.y
563
if (opts & (OPT_SHOWLIST|OPT_STAT)) {
sbin/ipf/ipsend/ipresend.c
31
int opts = 0;
sbin/ipf/ipsend/ipresend.c
91
opts |= OPT_RAW;
sbin/ipf/ipsend/ipsend.c
144
u_short *opts;
sbin/ipf/ipsend/ipsend.c
152
opts = &ph.w[0];
sbin/ipf/ipsend/ipsend.c
153
temp32 += opts[0] + opts[1] + opts[2] + opts[3] + opts[4] + opts[5];
sbin/ipf/ipsend/ipsend.c
253
opts |= OPT_DEBUG;
sbin/ipf/ipsend/ipsend.c
290
opts |= OPT_VERBOSE;
sbin/ipf/ipsend/ipsend.c
30
int opts;
sbin/ipf/ipsend/resend.c
100
if (!(opts & OPT_RAW)) {
sbin/ipf/ipsend/resend.c
26
extern int opts;
sbin/ipf/libipf/addipopt.c
57
if (opts & OPT_DEBUG)
sbin/ipf/libipf/debug.c
39
if (opts & OPT_DEBUG)
sbin/ipf/libipf/hostname.c
28
if ((opts & OPT_NORESOLVE) == 0) {
sbin/ipf/libipf/ipft_hx.c
127
if ((opts & OPT_DEBUG) != 0) {
sbin/ipf/libipf/ipft_hx.c
128
if (opts & OPT_ASCII) {
sbin/ipf/libipf/ipft_hx.c
14
extern int opts;
sbin/ipf/libipf/ipft_hx.c
85
if ((opts & OPT_DEBUG) != 0) {
sbin/ipf/libipf/ipft_tx.c
131
if ((opts & OPT_DEBUG) != 0)
sbin/ipf/libipf/ipft_tx.c
15
extern int opts;
sbin/ipf/libipf/kvatoname.c
26
if ((opts & OPT_DONTOPEN) == 0) {
sbin/ipf/libipf/load_dstlist.c
41
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_dstlist.c
43
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_dstlist.c
49
if ((opts & OPT_VERBOSE) != 0) {
sbin/ipf/libipf/load_dstlist.c
51
printdstlist(&dest, bcopywrap, dest.ipld_name, opts, nodes, NULL);
sbin/ipf/libipf/load_dstlist.c
58
if ((opts & OPT_REMOVE) != 0) {
sbin/ipf/libipf/load_dstlist.c
60
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_dstlistnode.c
48
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_dstlistnode.c
58
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_hash.c
58
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_hash.c
60
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_hash.c
69
if (opts & OPT_VERBOSE) {
sbin/ipf/libipf/load_hash.c
76
printhash(&iph, bcopywrap, iph.iph_name, opts, NULL);
sbin/ipf/libipf/load_hash.c
85
if (opts & OPT_DEBUG)
sbin/ipf/libipf/load_hash.c
91
if ((opts & OPT_REMOVE) != 0) {
sbin/ipf/libipf/load_hash.c
93
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_hashnode.c
46
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_hashnode.c
55
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/libipf/load_pool.c
39
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_pool.c
41
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_pool.c
51
if ((opts & OPT_VERBOSE) != 0) {
sbin/ipf/libipf/load_pool.c
53
(void) printpool(&pool, bcopywrap, pool.ipo_name, opts, NULL);
sbin/ipf/libipf/load_pool.c
61
if ((opts & OPT_REMOVE) != 0) {
sbin/ipf/libipf/load_pool.c
63
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/load_poolnode.c
45
if ((opts & OPT_REMOVE) == 0) {
sbin/ipf/libipf/load_poolnode.c
54
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/nametokva.c
25
if ((opts & OPT_DONTOPEN) == 0) {
sbin/ipf/libipf/poolio.c
22
if ((opts & OPT_DONTOPEN) != 0)
sbin/ipf/libipf/portname.c
20
if ((opts & OPT_NORESOLVE) == 0) {
sbin/ipf/libipf/printactivenat.c
115
if (opts & OPT_VERBOSE) {
sbin/ipf/libipf/printactivenat.c
138
if (opts & OPT_DEBUG) {
sbin/ipf/libipf/printactivenat.c
17
printactivenat(nat_t *nat, int opts, u_long ticks)
sbin/ipf/libipf/printaps.c
17
printaps(ap_session_t *aps, int opts, int proto)
sbin/ipf/libipf/printaps.c
39
if ((proto == IPPROTO_TCP) && (opts & OPT_VERBOSE)) {
sbin/ipf/libipf/printdstl_live.c
17
printdstl_live( ippool_dst_t *d, int fd, char *name, int opts,
sbin/ipf/libipf/printdstl_live.c
38
printdstlistdata(d, opts);
sbin/ipf/libipf/printdstl_live.c
43
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printdstl_live.c
46
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printdstl_live.c
69
(void) printdstlistnode(entry, bcopywrap, opts, fields);
sbin/ipf/libipf/printdstl_live.c
80
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printdstlist.c
11
printdstlist( ippool_dst_t *pp, copyfunc_t copyfunc, char *name, int opts,
sbin/ipf/libipf/printdstlist.c
24
printdstlistdata(&dst, opts);
sbin/ipf/libipf/printdstlist.c
28
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printdstlist.c
45
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printdstlist.c
47
node = printdstlistnode(n, bcopywrap, opts, fields);
sbin/ipf/libipf/printdstlist.c
53
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printdstlistdata.c
12
printdstlistdata( ippool_dst_t *pool, int opts)
sbin/ipf/libipf/printdstlistdata.c
14
if ((opts & OPT_DEBUG) == 0 || opts & OPT_SAVEOUT) {
sbin/ipf/libipf/printdstlistdata.c
26
if ((opts & OPT_DEBUG) == 0 || opts & OPT_SAVEOUT) {
sbin/ipf/libipf/printdstlistnode.c
11
printdstlistnode(ipf_dstnode_t *inp, copyfunc_t copyfunc, int opts,
sbin/ipf/libipf/printdstlistnode.c
37
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printfr.c
455
if ((fp->fr_flags & FR_KEEPSTATE) && (opts & OPT_VERBOSE)) {
sbin/ipf/libipf/printfr.c
464
if (opts & OPT_DEBUG) {
sbin/ipf/libipf/printhash.c
12
printhash( iphtable_t *hp, copyfunc_t copyfunc, char *name, int opts,
sbin/ipf/libipf/printhash.c
27
printhashdata(hp, opts);
sbin/ipf/libipf/printhash.c
32
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printhash.c
41
ipep = printhashnode(&iph, ipep, copyfunc, opts, fields);
sbin/ipf/libipf/printhash.c
49
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printhash_live.c
13
printhash_live(iphtable_t *hp, int fd, char *name, int opts, wordtab_t *fields)
sbin/ipf/libipf/printhash_live.c
24
printhashdata(hp, opts);
sbin/ipf/libipf/printhash_live.c
29
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printhash_live.c
31
else if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printhash_live.c
55
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printhash_live.c
57
(void) printhashnode(hp, &entry, bcopywrap, opts, fields);
sbin/ipf/libipf/printhash_live.c
66
if ((opts & OPT_DEBUG) == 0 || (opts & OPT_SAVEOUT))
sbin/ipf/libipf/printhashdata.c
12
printhashdata(iphtable_t *hp, int opts)
sbin/ipf/libipf/printhashdata.c
15
if (opts & OPT_SAVEOUT) {
sbin/ipf/libipf/printhashdata.c
19
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printhashdata.c
57
if ((opts & OPT_SAVEOUT)) {
sbin/ipf/libipf/printhashdata.c
66
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printhashdata.c
96
if ((opts & OPT_DEBUG) != 0) {
sbin/ipf/libipf/printhashnode.c
12
printhashnode(iphtable_t *iph, iphtent_t *ipep, copyfunc_t copyfunc, int opts,
sbin/ipf/libipf/printhashnode.c
32
} else if ((opts & OPT_DEBUG) != 0) {
sbin/ipf/libipf/printhostmap.c
25
if (opts & OPT_VERBOSE)
sbin/ipf/libipf/printnat.c
20
printnat(ipnat_t *np, int opts)
sbin/ipf/libipf/printnat.c
245
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printnat.c
290
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printnat.c
303
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printnat.c
330
if (opts & OPT_DEBUG) {
sbin/ipf/libipf/printnat.c
337
if (opts & OPT_DEBUG) {
sbin/ipf/libipf/printnatside.c
51
if (opts & OPT_VERBOSE)
sbin/ipf/libipf/printpacket.c
38
if ((opts & OPT_HEX) == OPT_HEX) {
sbin/ipf/libipf/printpool.c
12
printpool(ip_pool_t *pp, copyfunc_t copyfunc, char *name, int opts,
sbin/ipf/libipf/printpool.c
24
printpooldata(&ipp, opts);
sbin/ipf/libipf/printpool.c
28
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printpool.c
47
ipnpn = printpoolnode(ipnp, opts, fields);
sbin/ipf/libipf/printpool.c
50
if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printpool.c
56
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printpool_live.c
13
printpool_live(ip_pool_t *pool, int fd, char *name, int opts,
sbin/ipf/libipf/printpool_live.c
25
printpooldata(pool, opts);
sbin/ipf/libipf/printpool_live.c
29
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printpool_live.c
31
else if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printpool_live.c
53
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printpool_live.c
55
(void) printpoolnode(&entry, opts, fields);
sbin/ipf/libipf/printpool_live.c
56
if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printpool_live.c
58
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printpool_live.c
67
if (opts & OPT_SAVEOUT)
sbin/ipf/libipf/printpool_live.c
69
else if ((opts & OPT_DEBUG) == 0)
sbin/ipf/libipf/printpooldata.c
12
printpooldata(ip_pool_t *pool, int opts)
sbin/ipf/libipf/printpooldata.c
15
if (opts & OPT_SAVEOUT) {
sbin/ipf/libipf/printpooldata.c
19
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printpooldata.c
39
if ((opts & OPT_SAVEOUT)) {
sbin/ipf/libipf/printpooldata.c
43
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printpoolnode.c
12
printpoolnode(ip_pool_node_t *np, int opts, wordtab_t *fields)
sbin/ipf/libipf/printpoolnode.c
23
} else if ((opts & OPT_DEBUG) == 0) {
sbin/ipf/libipf/printstate.c
13
printstate(ipstate_t *sp, int opts, u_long now)
sbin/ipf/libipf/printstate.c
174
if ((opts & OPT_VERBOSE) != 0) {
sbin/ipf/libipf/printstate.c
18
if ((opts & OPT_NORESOLVE) == 0)
sbin/ipf/libipf/printstate.c
187
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printstate.c
190
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printstate.c
193
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printstate.c
196
if (opts & OPT_DEBUG)
sbin/ipf/libipf/printstate.c
61
if ((opts & OPT_VERBOSE) != 0) {
sbin/ipf/libipf/remove_hash.c
41
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/remove_hashnode.c
39
if (opts & OPT_DEBUG) {
sbin/ipf/libipf/remove_hashnode.c
45
if (!(opts & OPT_DONOTHING)) {
sbin/ipf/libipf/remove_pool.c
38
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/remove_poolnode.c
43
if ((opts & OPT_DONOTHING) == 0) {
sbin/ipf/libipf/verbose.c
23
if (opts & OPT_VERBOSE)
sbin/ipf/libipf/verbose.c
35
if (opts & OPT_VERBOSE)
sbin/mount/mount.c
804
update_options(char *opts, char *fstab, int curflags)
sbin/mount/mount.c
810
if (opts == NULL)
sbin/mount/mount.c
822
for (p = opts; (o = strsep(&p, ",")) != NULL;) {
sbin/mount/mount.c
831
free(opts);
sbin/mount/mount.c
896
char *opts, *rw;
sbin/mount/mount.c
900
opts = NULL;
sbin/mount/mount.c
907
opts = flags2opts(ent->f_flags);
sbin/mount/mount.c
908
opts = catopt(rw, opts);
sbin/mount/mount.c
928
l = strlen(opts);
sbin/mount/mount.c
929
xo_emit("{:opts}{P:/%s}", opts,
sbin/mount/mount.c
931
free(opts);
sbin/newfs_msdos/newfs_msdos.c
268
} opts[] = {
sbin/newfs_msdos/newfs_msdos.c
273
for (size_t i = 0; i < nitems(opts); i++)
sbin/newfs_msdos/newfs_msdos.c
274
fprintf(stderr, "\t-%c %s\n", opts[i].o, opts[i].h);
sbin/newfs_msdos/newfs_msdos.c
74
static const char opts[] = "@:NAB:C:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:r:s:T:u:";
sbin/newfs_msdos/newfs_msdos.c
82
while ((ch = getopt(argc, argv, opts)) != -1)
sbin/nvmecontrol/comnd.c
127
const struct opts *opts = f->opts;
sbin/nvmecontrol/comnd.c
135
if (opts)
sbin/nvmecontrol/comnd.c
144
if (opts != NULL) {
sbin/nvmecontrol/comnd.c
146
for (i = 0; opts[i].long_arg != NULL; i++) {
sbin/nvmecontrol/comnd.c
148
if (isprint(opts[i].short_arg)) {
sbin/nvmecontrol/comnd.c
149
snprintf(buf, sizeof(buf), " -%c, ", opts[i].short_arg);
sbin/nvmecontrol/comnd.c
154
strlcat(buf, opts[i].long_arg, sizeof(buf));
sbin/nvmecontrol/comnd.c
155
arg_suffix(buf, sizeof(buf), opts[i].at);
sbin/nvmecontrol/comnd.c
156
fprintf(stderr, "%-30.30s - %s\n", buf, opts[i].descr);
sbin/nvmecontrol/comnd.c
179
const struct opts *opts = f->opts;
sbin/nvmecontrol/comnd.c
182
if (opts == NULL)
sbin/nvmecontrol/comnd.c
185
for (n = 0; opts[n].long_arg != NULL;)
sbin/nvmecontrol/comnd.c
195
lopts[i].name = opts[i].long_arg;
sbin/nvmecontrol/comnd.c
196
lopts[i].has_arg = opts[i].at == arg_none ? no_argument : required_argument;
sbin/nvmecontrol/comnd.c
198
lopts[i].val = opts[i].short_arg;
sbin/nvmecontrol/comnd.c
199
if (isprint(opts[i].short_arg)) {
sbin/nvmecontrol/comnd.c
200
*p++ = opts[i].short_arg;
sbin/nvmecontrol/comnd.c
221
switch (opts[idx].at) {
sbin/nvmecontrol/comnd.c
223
*(bool *)opts[idx].ptr = true;
sbin/nvmecontrol/comnd.c
227
*(const char **)opts[idx].ptr = optarg;
sbin/nvmecontrol/comnd.c
233
*(uint8_t *)opts[idx].ptr = v;
sbin/nvmecontrol/comnd.c
239
*(uint16_t *)opts[idx].ptr = v;
sbin/nvmecontrol/comnd.c
245
*(uint32_t *)opts[idx].ptr = v;
sbin/nvmecontrol/comnd.c
251
*(uint64_t *)opts[idx].ptr = v;
sbin/nvmecontrol/comnd.c
256
*(uint64_t *)opts[idx].ptr = v;
sbin/nvmecontrol/comnd.c
277
fprintf(stderr, "Bad value to --%s: %s\n", opts[idx].long_arg, optarg);
sbin/nvmecontrol/comnd.h
79
const struct opts *opts;
sbin/nvmecontrol/connect.c
254
static const struct opts connect_opts[] = {
sbin/nvmecontrol/connect.c
299
.opts = connect_opts,
sbin/nvmecontrol/connect.c
308
.opts = connect_opts,
sbin/nvmecontrol/devlist.c
63
static const struct opts devlist_opts[] = {
sbin/nvmecontrol/devlist.c
76
.opts = devlist_opts,
sbin/nvmecontrol/discover.c
274
static const struct opts discover_opts[] = {
sbin/nvmecontrol/discover.c
296
.opts = discover_opts,
sbin/nvmecontrol/firmware.c
68
static const struct opts firmware_opts[] = {
sbin/nvmecontrol/firmware.c
90
.opts = firmware_opts,
sbin/nvmecontrol/format.c
103
.opts = format_opts,
sbin/nvmecontrol/format.c
73
static const struct opts format_opts[] = {
sbin/nvmecontrol/identify.c
267
static const struct opts identify_opts[] = {
sbin/nvmecontrol/identify.c
289
.opts = identify_opts,
sbin/nvmecontrol/logpage.c
106
.opts = logpage_opts,
sbin/nvmecontrol/logpage.c
76
static const struct opts logpage_opts[] = {
sbin/nvmecontrol/modules/wdc/wdc.c
56
.name = "wdc", .fn = wdc, .descr = "wdc vendor specific commands", .ctx_size = 0, .opts = NULL, .args = NULL,
sbin/nvmecontrol/modules/wdc/wdc.c
72
static const struct opts opts[] = {
sbin/nvmecontrol/modules/wdc/wdc.c
90
.opts = opts,
sbin/nvmecontrol/ns.c
100
.opts = NULL,
sbin/nvmecontrol/ns.c
122
.opts = NULL,
sbin/nvmecontrol/ns.c
154
static const struct opts create_opts[] = {
sbin/nvmecontrol/ns.c
188
.opts = create_opts,
sbin/nvmecontrol/ns.c
202
static const struct opts delete_opts[] = {
sbin/nvmecontrol/ns.c
218
.opts = delete_opts,
sbin/nvmecontrol/ns.c
234
static const struct opts attach_opts[] = {
sbin/nvmecontrol/ns.c
252
.opts = attach_opts,
sbin/nvmecontrol/ns.c
266
static const struct opts attached_opts[] = {
sbin/nvmecontrol/ns.c
282
.opts = attached_opts,
sbin/nvmecontrol/ns.c
298
static const struct opts detach_opts[] = {
sbin/nvmecontrol/ns.c
316
.opts = detach_opts,
sbin/nvmecontrol/ns.c
334
static const struct opts identify_opts[] = {
sbin/nvmecontrol/ns.c
354
.opts = identify_opts,
sbin/nvmecontrol/ns.c
67
.opts = NULL,
sbin/nvmecontrol/ns.c
89
.opts = NULL,
sbin/nvmecontrol/nsid.c
57
.opts = NULL,
sbin/nvmecontrol/passthru.c
101
static struct opts opts[] = {
sbin/nvmecontrol/passthru.c
282
.opts = opts,
sbin/nvmecontrol/passthru.c
291
.opts = opts,
sbin/nvmecontrol/perftest.c
102
.opts = perftest_opts,
sbin/nvmecontrol/perftest.c
72
static const struct opts perftest_opts[] = {
sbin/nvmecontrol/power.c
181
static const struct opts power_opts[] = {
sbin/nvmecontrol/power.c
203
.opts = power_opts,
sbin/nvmecontrol/reconnect.c
292
static const struct opts reconnect_opts[] = {
sbin/nvmecontrol/reconnect.c
329
.opts = reconnect_opts,
sbin/nvmecontrol/resv.c
103
.opts = acquire_opts,
sbin/nvmecontrol/resv.c
125
static const struct opts register_opts[] = {
sbin/nvmecontrol/resv.c
149
.opts = register_opts,
sbin/nvmecontrol/resv.c
167
static const struct opts release_opts[] = {
sbin/nvmecontrol/resv.c
187
.opts = release_opts,
sbin/nvmecontrol/resv.c
205
static const struct opts report_opts[] = {
sbin/nvmecontrol/resv.c
225
.opts = report_opts,
sbin/nvmecontrol/resv.c
61
.opts = NULL,
sbin/nvmecontrol/resv.c
81
static const struct opts acquire_opts[] = {
sbin/nvmecontrol/sanitize.c
68
static const struct opts sanitize_opts[] = {
sbin/nvmecontrol/sanitize.c
98
.opts = sanitize_opts,
sbin/nvmecontrol/selftest.c
111
static const struct opts selftest_opts[] = {
sbin/nvmecontrol/selftest.c
129
.opts = selftest_opts,
sbin/nvmecontrol/telemetry.c
61
static const struct opts telemetry_log_opts[] = {
sbin/nvmecontrol/telemetry.c
83
.opts = telemetry_log_opts,
sbin/pfctl/parse.y
1772
if (process_tabledef($3, &$5, pf->opts)) {
sbin/pfctl/parse.y
245
u_int8_t opts;
sbin/pfctl/parse.y
3106
if (!($5.redirspec->pool_opts.opts & PF_POOL_IPV6NH)) {
sbin/pfctl/parse.y
3383
if ((filter_opts.divert.addr = host($2, pf->opts)) == NULL) {
sbin/pfctl/parse.y
4119
if (($$ = host($1, pf->opts)) == NULL) {
sbin/pfctl/parse.y
4131
if ((b = host($1, pf->opts)) == NULL ||
sbin/pfctl/parse.y
4132
(e = host($3, pf->opts)) == NULL) {
sbin/pfctl/parse.y
4168
if (($$ = host(buf, pf->opts)) == NULL) {
sbin/pfctl/parse.y
4186
if (($$ = host(buf, pf->opts)) == NULL) {
sbin/pfctl/parse.y
5151
pool_opts.opts |= PF_POOL_STICKYADDR;
sbin/pfctl/parse.y
5159
pool_opts.opts |= PF_POOL_ENDPI;
sbin/pfctl/parse.y
5167
pool_opts.opts |= PF_POOL_IPV6NH;
sbin/pfctl/parse.y
5308
if ($9->pool_opts.opts & PF_POOL_IPV6NH) {
sbin/pfctl/parse.y
5892
if (r->route.opts & PF_POOL_STICKYADDR && !r->keep_state) {
sbin/pfctl/parse.y
5933
process_tabledef(char *name, struct table_opts *opts, int popts)
sbin/pfctl/parse.y
5943
SIMPLEQ_FOREACH(ti, &opts->init_nodes, entries) {
sbin/pfctl/parse.y
5961
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5962
print_tabledef(name, opts->flags, opts->init_addr,
sbin/pfctl/parse.y
5963
&opts->init_nodes);
sbin/pfctl/parse.y
5964
if (!(pf->opts & PF_OPT_NOACTION) ||
sbin/pfctl/parse.y
5965
(pf->opts & PF_OPT_DUMMYACTION))
sbin/pfctl/parse.y
5967
else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5984
if (!(pf->opts & PF_OPT_NOACTION) &&
sbin/pfctl/parse.y
5985
pfctl_define_table(name, opts->flags, opts->init_addr,
sbin/pfctl/parse.y
6004
ukt->pfrukt_init_addr = opts->init_addr;
sbin/pfctl/parse.y
6232
struct node_queue_opt *opts)
sbin/pfctl/parse.y
6257
if (eval_pfaltq(pf, &pa, &bwspec, opts))
sbin/pfctl/parse.y
6263
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/parse.y
6265
&bwspec, opts);
sbin/pfctl/parse.y
6299
if (eval_pfqueue(pf, &pb, &bw, opts))
sbin/pfctl/parse.y
6345
struct node_queue_opt *opts)
sbin/pfctl/parse.y
6410
if (eval_pfqueue(pf, &pa, &bwspec, opts))
sbin/pfctl/parse.y
6449
if ((pf->opts & PF_OPT_VERBOSE) && (
sbin/pfctl/parse.y
6454
opts);
sbin/pfctl/parse.y
6652
rpool->opts = rs->pool_opts.type;
sbin/pfctl/parse.y
6654
if ((rpool->opts & PF_POOL_TYPEMASK) == PF_POOL_NONE &&
sbin/pfctl/parse.y
6658
rpool->opts = PF_POOL_ROUNDROBIN;
sbin/pfctl/parse.y
6660
if (!PF_POOL_DYNTYPE(rpool->opts) &&
sbin/pfctl/parse.y
6666
((rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_ROUNDROBIN)) {
sbin/pfctl/parse.y
6672
if ((rpool->opts & PF_POOL_TYPEMASK) !=
sbin/pfctl/parse.y
6680
rpool->opts |= rs->pool_opts.opts;
sbin/pfctl/parse.y
6957
if ((pf->opts & PF_OPT_VERBOSE2) &&
sbin/pfctl/parse.y
7057
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
7063
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
7066
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
7075
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
765
if (!(pf->opts & PF_OPT_OPTIMIZE)) {
sbin/pfctl/parse.y
766
pf->opts |= PF_OPT_OPTIMIZE;
sbin/pfctl/parse.y
7690
if ((pf->opts & PF_OPT_VERBOSE2) && !sym->used)
sbin/pfctl/parse.y
794
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
801
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
8072
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
8075
if (pfctl_rules(dev, la->filename, pf->opts, pf->optimize,
sbin/pfctl/parse.y
808
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
815
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
822
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
8222
filteropts_to_rule(struct pfctl_rule *r, struct filter_opts *opts)
sbin/pfctl/parse.y
8224
if (opts->marker & FOM_ONCE) {
sbin/pfctl/parse.y
8232
if (opts->statelim.id != PF_STATELIM_ID_NONE && r->action != PF_PASS) {
sbin/pfctl/parse.y
8236
if (opts->sourcelim.id != PF_SOURCELIM_ID_NONE && r->action != PF_PASS) {
sbin/pfctl/parse.y
8241
r->keep_state = opts->keep.action;
sbin/pfctl/parse.y
8242
r->pktrate.limit = opts->pktrate.limit;
sbin/pfctl/parse.y
8243
r->pktrate.seconds = opts->pktrate.seconds;
sbin/pfctl/parse.y
8244
r->prob = opts->prob;
sbin/pfctl/parse.y
8245
r->statelim.id = opts->statelim.id;
sbin/pfctl/parse.y
8246
r->statelim.limiter_action = opts->statelim.limiter_action;
sbin/pfctl/parse.y
8247
r->sourcelim.id = opts->sourcelim.id;
sbin/pfctl/parse.y
8248
r->sourcelim.limiter_action = opts->sourcelim.limiter_action;
sbin/pfctl/parse.y
8249
r->rtableid = opts->rtableid;
sbin/pfctl/parse.y
8250
r->ridentifier = opts->ridentifier;
sbin/pfctl/parse.y
8251
r->max_pkt_size = opts->max_pkt_size;
sbin/pfctl/parse.y
8252
r->tos = opts->tos;
sbin/pfctl/parse.y
8254
if (opts->nodf)
sbin/pfctl/parse.y
8256
if (opts->randomid)
sbin/pfctl/parse.y
8258
if (opts->minttl)
sbin/pfctl/parse.y
8259
r->min_ttl = opts->minttl;
sbin/pfctl/parse.y
8260
if (opts->max_mss)
sbin/pfctl/parse.y
8261
r->max_mss = opts->max_mss;
sbin/pfctl/parse.y
8263
if (opts->tag)
sbin/pfctl/parse.y
8264
if (strlcpy(r->tagname, opts->tag,
sbin/pfctl/parse.y
8270
if (opts->match_tag)
sbin/pfctl/parse.y
8271
if (strlcpy(r->match_tagname, opts->match_tag,
sbin/pfctl/parse.y
8277
r->match_tag_not = opts->match_tag_not;
sbin/pfctl/parse.y
8279
if (rule_label(r, opts->label))
sbin/pfctl/parse.y
828
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
8282
free(opts->label[i]);
sbin/pfctl/parse.y
8284
if (opts->marker & FOM_AFTO)
sbin/pfctl/parse.y
8286
if (opts->marker & FOM_SCRUB_TCP)
sbin/pfctl/parse.y
8288
if (opts->marker & FOM_PRIO)
sbin/pfctl/parse.y
8289
r->prio = opts->prio ? opts->prio : PF_PRIO_ZERO;
sbin/pfctl/parse.y
8290
if (opts->marker & FOM_SETPRIO) {
sbin/pfctl/parse.y
8291
r->set_prio[0] = opts->set_prio[0];
sbin/pfctl/parse.y
8292
r->set_prio[1] = opts->set_prio[1];
sbin/pfctl/parse.y
8295
if (opts->marker & FOM_SETTOS) {
sbin/pfctl/parse.y
8297
r->set_tos = opts->settos;
sbin/pfctl/parse.y
8300
r->flags = opts->flags.b1;
sbin/pfctl/parse.y
8301
r->flagset = opts->flags.b2;
sbin/pfctl/parse.y
8302
if ((opts->flags.b1 & opts->flags.b2) != opts->flags.b1) {
sbin/pfctl/parse.y
8307
if (opts->queues.qname != NULL) {
sbin/pfctl/parse.y
8308
if (strlcpy(r->qname, opts->queues.qname,
sbin/pfctl/parse.y
8314
free(opts->queues.qname);
sbin/pfctl/parse.y
8316
if (opts->queues.pqname != NULL) {
sbin/pfctl/parse.y
8317
if (strlcpy(r->pqname, opts->queues.pqname,
sbin/pfctl/parse.y
8323
free(opts->queues.pqname);
sbin/pfctl/parse.y
8326
if (opts->fragment)
sbin/pfctl/parse.y
8328
r->allow_opts = opts->allowopts;
sbin/pfctl/parse.y
836
pf->opts, $3)) {
sbin/pfctl/parse.y
846
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
977
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pf_print_state.c
163
print_host(struct pf_addr *addr, u_int16_t port, sa_family_t af, int opts)
sbin/pfctl/pf_print_state.c
167
if (opts & PF_OPT_USEDNS)
sbin/pfctl/pf_print_state.c
173
print_addr(&aw, af, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pf_print_state.c
226
print_state(struct pfctl_state *s, int opts)
sbin/pfctl/pf_print_state.c
268
print_host(&nk->addr[1], nk->port[1], nk->af, opts);
sbin/pfctl/pf_print_state.c
274
opts);
sbin/pfctl/pf_print_state.c
281
print_host(&nk->addr[0], nk->port[0], nk->af, opts);
sbin/pfctl/pf_print_state.c
287
opts);
sbin/pfctl/pf_print_state.c
306
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pf_print_state.c
337
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pf_print_state.c
408
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pf_print_state.c
427
print_host(&s->rt_addr, 0, s->rt_af, opts);
sbin/pfctl/pfctl.c
1000
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
1005
pfctl_key_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
1022
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
1058
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl.c
1060
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
1164
pfctl_print_eth_rule_counters(struct pfctl_eth_rule *rule, int opts)
sbin/pfctl/pfctl.c
1166
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
1175
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl.c
1190
pfctl_print_rule_counters(struct pfctl_rule *rule, int opts)
sbin/pfctl/pfctl.c
1192
if (opts & PF_OPT_DEBUG) {
sbin/pfctl/pfctl.c
1215
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
1232
if (!(opts & PF_OPT_DEBUG))
sbin/pfctl/pfctl.c
1238
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl.c
1261
pfctl_show_statelims(int dev, enum pfctl_show format, int opts)
sbin/pfctl/pfctl.c
1267
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
1356
enum pfctl_show format, int opts)
sbin/pfctl/pfctl.c
1370
pfctl_show_sourcelims(int dev, enum pfctl_show format, int opts,
sbin/pfctl/pfctl.c
1386
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
1431
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1433
opts) != 0)
sbin/pfctl/pfctl.c
1449
pfctl_kill_source(int dev, const char *idopt, const char *source, int opts)
sbin/pfctl/pfctl.c
1494
pfctl_show_eth_rules(int dev, char *path, int opts, enum pfctl_show format,
sbin/pfctl/pfctl.c
1501
int dotitle = opts & PF_OPT_SHOWALL;
sbin/pfctl/pfctl.c
1532
if (wildcard && (opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1547
pfctl_print_eth_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1553
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1555
pfctl_show_eth_rules(dev, npath, opts,
sbin/pfctl/pfctl.c
1557
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1570
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1572
opts & PF_OPT_CLRRULECTRS, anchor_call)) != 0) {
sbin/pfctl/pfctl.c
1579
*(--p) == '/')) || (opts & PF_OPT_RECURSE))) {
sbin/pfctl/pfctl.c
1591
opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG));
sbin/pfctl/pfctl.c
1596
pfctl_print_eth_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1598
pfctl_show_eth_rules(dev, path, opts, format,
sbin/pfctl/pfctl.c
1600
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1610
pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format,
sbin/pfctl/pfctl.c
1617
int numeric = opts & PF_OPT_NUMERIC;
sbin/pfctl/pfctl.c
1647
if (wildcard && (opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1658
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1660
pfctl_show_rules(dev, npath, opts,
sbin/pfctl/pfctl.c
1662
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1669
if (opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl.c
1682
if (opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl.c
1691
&rule, anchor_call, opts & PF_OPT_CLRRULECTRS)) != 0) {
sbin/pfctl/pfctl.c
1712
if (rule.label[0][0] && (opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
1714
print_rule(&rule, anchor_call, opts, numeric);
sbin/pfctl/pfctl.c
1720
(opts & (PF_OPT_VERBOSE2|PF_OPT_DEBUG)))
sbin/pfctl/pfctl.c
1722
pfctl_print_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1738
&rule, anchor_call, opts & PF_OPT_CLRRULECTRS)) != 0) {
sbin/pfctl/pfctl.c
1783
opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1784
pfctl_show_rules(dev, npath, opts, format,
sbin/pfctl/pfctl.c
1790
if (rule.label[0][0] && (opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
1792
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1793
print_rule(&rule, anchor_call, opts, numeric);
sbin/pfctl/pfctl.c
1803
opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1805
pfctl_print_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1806
pfctl_show_rules(dev, npath, opts, format,
sbin/pfctl/pfctl.c
1809
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1813
pfctl_print_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1829
pfctl_show_nat(int dev, const char *path, int opts, char *anchorname, int depth,
sbin/pfctl/pfctl.c
1837
int i, dotitle = opts & PF_OPT_SHOWALL;
sbin/pfctl/pfctl.c
1869
if (wildcard && (opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1884
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1886
pfctl_show_nat(dev, npath, opts,
sbin/pfctl/pfctl.c
1888
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1902
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1924
opts & PF_OPT_VERBOSE2, opts & PF_OPT_NUMERIC);
sbin/pfctl/pfctl.c
1928
opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1930
pfctl_print_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1931
pfctl_show_nat(dev, npath, opts, anchor_call,
sbin/pfctl/pfctl.c
1933
INDENT(depth, !(opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1937
pfctl_print_rule_counters(&rule, opts);
sbin/pfctl/pfctl.c
1947
int *opts = (int *)arg;
sbin/pfctl/pfctl.c
1949
if (*opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl.c
1951
*opts &= ~PF_OPT_SHOWALL;
sbin/pfctl/pfctl.c
1954
print_src_node(sn, *opts);
sbin/pfctl/pfctl.c
1960
pfctl_show_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
1964
error = pfctl_get_srcnodes(pfh, pfctl_print_src_node, &opts);
sbin/pfctl/pfctl.c
1970
int opts;
sbin/pfctl/pfctl.c
1984
print_state(s, a->opts);
sbin/pfctl/pfctl.c
1990
pfctl_show_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
1998
arg.opts = opts;
sbin/pfctl/pfctl.c
1999
arg.dotitle = opts & PF_OPT_SHOWALL;
sbin/pfctl/pfctl.c
2009
pfctl_show_status(int dev, int opts)
sbin/pfctl/pfctl.c
2024
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
2026
print_status(status, &cookies, opts);
sbin/pfctl/pfctl.c
2050
pfctl_show_timeouts(int dev, int opts)
sbin/pfctl/pfctl.c
2056
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
2074
pfctl_show_limits(int dev, int opts)
sbin/pfctl/pfctl.c
2080
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
2120
pfctl_show_creators(int opts)
sbin/pfctl/pfctl.c
2145
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2284
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2287
if (pf->opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl.c
2303
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2320
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2323
if (pf->opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl.c
2339
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2368
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2370
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl.c
2377
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2392
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2396
if (brace && pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2397
INDENT(depth - 1, (pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
2434
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2439
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2440
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE2));
sbin/pfctl/pfctl.c
2442
pf->opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG));
sbin/pfctl/pfctl.c
2503
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2505
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl.c
2512
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2536
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2540
if (brace && pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2541
INDENT(depth - 1, (pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
2565
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2590
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2591
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2618
if (pf->opts & PF_OPT_VERBOSE || was_present) {
sbin/pfctl/pfctl.c
2619
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE2));
sbin/pfctl/pfctl.c
2621
pf->opts & PF_OPT_VERBOSE2,
sbin/pfctl/pfctl.c
2622
pf->opts & PF_OPT_NUMERIC);
sbin/pfctl/pfctl.c
2638
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2655
pfctl_rules(int dev, char *filename, int opts, int optimize,
sbin/pfctl/pfctl.c
2703
pf.opts = opts;
sbin/pfctl/pfctl.c
2750
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2769
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2793
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2800
if (check_commit_altq(dev, opts) != 0)
sbin/pfctl/pfctl.c
2808
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2820
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2913
if ((pf->opts & PF_OPT_MERGE) && !pf->limit_set[i])
sbin/pfctl/pfctl.c
2936
if ((pf->opts & PF_OPT_MERGE) && !pf->timeout_set[i])
sbin/pfctl/pfctl.c
2943
if (!(pf->opts & PF_OPT_MERGE) || pf->debug_set)
sbin/pfctl/pfctl.c
2948
if (!(pf->opts & PF_OPT_MERGE) || pf->ifname_set)
sbin/pfctl/pfctl.c
2953
if (!(pf->opts & PF_OPT_MERGE) || pf->hostid_set)
sbin/pfctl/pfctl.c
2958
if (!(pf->opts & PF_OPT_MERGE) || pf->reass_set)
sbin/pfctl/pfctl.c
2991
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2994
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
3042
if (pf->opts & PF_OPT_VERBOSE && ! quiet)
sbin/pfctl/pfctl.c
3073
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3104
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3127
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3154
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3217
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
3264
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
3268
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3307
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
3310
pfctl_err(pf->opts, 1, "DIOCCLRIFFLAG");
sbin/pfctl/pfctl.c
3321
pfctl_debug(int dev, u_int32_t level, int opts)
sbin/pfctl/pfctl.c
3327
if ((opts & PF_OPT_QUIET) == 0) {
sbin/pfctl/pfctl.c
3351
pfctl_test_altqsupport(int dev, int opts)
sbin/pfctl/pfctl.c
3358
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3369
pfctl_walk_show(int opts, struct pfioc_ruleset *pr, void *warg)
sbin/pfctl/pfctl.c
3372
if (pr->path[0] != '_' || (opts & PF_OPT_VERBOSE))
sbin/pfctl/pfctl.c
3374
} else if (pr->name[0] != '_' || (opts & PF_OPT_VERBOSE))
sbin/pfctl/pfctl.c
3381
pfctl_walk_get(int opts, struct pfioc_ruleset *pr, void *warg)
sbin/pfctl/pfctl.c
3408
pfctl_walk_anchors(int dev, int opts, const char *anchor,
sbin/pfctl/pfctl.c
3426
if (walkf(opts, &pr, warg))
sbin/pfctl/pfctl.c
3433
if (pfctl_walk_anchors(dev, opts, sub, walkf, warg))
sbin/pfctl/pfctl.c
3440
pfctl_show_anchors(int dev, int opts, char *anchor)
sbin/pfctl/pfctl.c
3443
pfctl_walk_anchors(dev, opts, anchor, pfctl_walk_show, NULL));
sbin/pfctl/pfctl.c
3447
pfctl_get_anchors(int dev, const char *anchor, int opts)
sbin/pfctl/pfctl.c
3469
pfctl_walk_get(opts, &pr, &anchors);
sbin/pfctl/pfctl.c
3471
if (pfctl_walk_anchors(dev, opts, anchor, pfctl_walk_get, &anchors))
sbin/pfctl/pfctl.c
3479
pfctl_call_cleartables(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
3485
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
3486
return ((pfctl_do_clear_tables(pfra->pfra_anchorname, opts) == -1) ?
sbin/pfctl/pfctl.c
3491
pfctl_call_clearrules(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
3497
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
3498
return (pfctl_flush_rules(dev, opts, pfra->pfra_anchorname));
sbin/pfctl/pfctl.c
3502
pfctl_call_clearanchors(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
3506
rv |= pfctl_call_cleartables(dev, opts, pfra);
sbin/pfctl/pfctl.c
3507
rv |= pfctl_call_clearrules(dev, opts, pfra);
sbin/pfctl/pfctl.c
3513
pfctl_call_showtables(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
3515
pfctl_show_tables(pfra->pfra_anchorname, opts);
sbin/pfctl/pfctl.c
3520
pfctl_recurse(int dev, int opts, const char *anchorname,
sbin/pfctl/pfctl.c
3527
anchors = pfctl_get_anchors(dev, anchorname, opts);
sbin/pfctl/pfctl.c
3532
opts |= PF_OPT_IGNFAIL;
sbin/pfctl/pfctl.c
3533
if ((opts & PF_OPT_CALLSHOW) == 0)
sbin/pfctl/pfctl.c
3536
if ((opts & PF_OPT_CALLSHOW) == 0)
sbin/pfctl/pfctl.c
3540
rv |= walkf(dev, opts, pfra);
sbin/pfctl/pfctl.c
3550
pfctl_show_eth_anchors(int dev, int opts, char *anchorname)
sbin/pfctl/pfctl.c
3576
if (sub[0] != '_' || (opts & PF_OPT_VERBOSE))
sbin/pfctl/pfctl.c
3578
if ((opts & PF_OPT_VERBOSE) && pfctl_show_eth_anchors(dev, opts, sub))
sbin/pfctl/pfctl.c
360
pfctl_err(int opts, int eval, const char *fmt, ...)
sbin/pfctl/pfctl.c
3614
pfctl_reset(int dev, int opts)
sbin/pfctl/pfctl.c
3650
pfctl_clear_interface_flags(dev, opts);
sbin/pfctl/pfctl.c
3658
int opts = 0;
sbin/pfctl/pfctl.c
366
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl.c
3674
opts |= PF_OPT_DISABLE;
sbin/pfctl/pfctl.c
3683
opts |= PF_OPT_ENABLE;
sbin/pfctl/pfctl.c
3687
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
3722
opts |= PF_OPT_MERGE;
sbin/pfctl/pfctl.c
3725
opts |= PF_OPT_KILLMATCH;
sbin/pfctl/pfctl.c
3728
opts |= PF_OPT_NOACTION;
sbin/pfctl/pfctl.c
3734
opts |= PF_OPT_USEDNS;
sbin/pfctl/pfctl.c
3741
opts |= PF_OPT_DEBUG;
sbin/pfctl/pfctl.c
3755
opts |= PF_OPT_OPTIMIZE;
sbin/pfctl/pfctl.c
3764
opts |= PF_OPT_NUMERIC;
sbin/pfctl/pfctl.c
377
pfctl_errx(int opts, int eval, const char *fmt, ...)
sbin/pfctl/pfctl.c
3774
opts |= PF_OPT_NODNS;
sbin/pfctl/pfctl.c
3787
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3788
opts |= PF_OPT_VERBOSE2;
sbin/pfctl/pfctl.c
3789
opts |= PF_OPT_VERBOSE;
sbin/pfctl/pfctl.c
3800
opts |= PF_OPT_CLRRULECTRS;
sbin/pfctl/pfctl.c
3811
if ((opts & PF_OPT_NODNS) && (opts & PF_OPT_USEDNS))
sbin/pfctl/pfctl.c
383
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl.c
3855
opts |= PF_OPT_RECURSE;
sbin/pfctl/pfctl.c
3864
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
3868
altqsupport = pfctl_test_altqsupport(dev, opts);
sbin/pfctl/pfctl.c
3872
opts |= PF_OPT_DUMMYACTION;
sbin/pfctl/pfctl.c
3874
opts &= ~ (PF_OPT_DISABLE | PF_OPT_ENABLE);
sbin/pfctl/pfctl.c
3887
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
3891
if (opts & PF_OPT_DISABLE)
sbin/pfctl/pfctl.c
3892
if (pfctl_disable(dev, opts))
sbin/pfctl/pfctl.c
3902
pfctl_show_anchors(dev, opts, anchorname);
sbin/pfctl/pfctl.c
3903
if (opts & PF_OPT_VERBOSE2)
sbin/pfctl/pfctl.c
3905
pfctl_show_eth_anchors(dev, opts, anchorname);
sbin/pfctl/pfctl.c
3908
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3909
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_RULES, anchorname,
sbin/pfctl/pfctl.c
3913
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3914
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_LABELS, anchorname,
sbin/pfctl/pfctl.c
3918
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3919
pfctl_show_nat(dev, path, opts, anchorname, 0, 0);
sbin/pfctl/pfctl.c
3922
pfctl_show_altq(dev, ifaceopt, opts, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl.c
3925
pfctl_show_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3928
pfctl_show_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3931
pfctl_show_status(dev, opts);
sbin/pfctl/pfctl.c
3937
pfctl_show_timeouts(dev, opts);
sbin/pfctl/pfctl.c
3940
pfctl_show_limits(dev, opts);
sbin/pfctl/pfctl.c
3943
pfctl_show_eth_rules(dev, path, opts, 0, anchorname, 0, 0);
sbin/pfctl/pfctl.c
3946
opts |= PF_OPT_SHOWALL;
sbin/pfctl/pfctl.c
3947
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3949
pfctl_show_eth_rules(dev, path, opts, 0, anchorname, 0, 0);
sbin/pfctl/pfctl.c
3951
pfctl_show_nat(dev, path, opts, anchorname, 0, 0);
sbin/pfctl/pfctl.c
3952
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_RULES, anchorname,
sbin/pfctl/pfctl.c
3954
pfctl_show_altq(dev, ifaceopt, opts, 0);
sbin/pfctl/pfctl.c
3955
pfctl_show_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3956
pfctl_show_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3957
pfctl_show_status(dev, opts);
sbin/pfctl/pfctl.c
3958
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_LABELS, anchorname,
sbin/pfctl/pfctl.c
3960
pfctl_show_timeouts(dev, opts);
sbin/pfctl/pfctl.c
3961
pfctl_show_limits(dev, opts);
sbin/pfctl/pfctl.c
3962
pfctl_show_statelims(dev, PFCTL_SHOW_LABELS, opts);
sbin/pfctl/pfctl.c
3963
pfctl_show_sourcelims(dev, PFCTL_SHOW_LABELS, opts, idopt);
sbin/pfctl/pfctl.c
3964
pfctl_show_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3965
pfctl_show_fingerprints(opts);
sbin/pfctl/pfctl.c
3968
if (opts & PF_OPT_RECURSE) {
sbin/pfctl/pfctl.c
3969
opts |= PF_OPT_CALLSHOW;
sbin/pfctl/pfctl.c
3970
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
3973
pfctl_show_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3976
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3977
pfctl_show_fingerprints(opts);
sbin/pfctl/pfctl.c
3980
pfctl_show_ifaces(ifaceopt, opts);
sbin/pfctl/pfctl.c
3983
pfctl_show_creators(opts);
sbin/pfctl/pfctl.c
3986
pfctl_show_statelims(dev, PFCTL_SHOW_LABELS, opts);
sbin/pfctl/pfctl.c
3989
pfctl_show_sourcelims(dev, PFCTL_SHOW_LABELS, opts, idopt);
sbin/pfctl/pfctl.c
3993
if ((opts & PF_OPT_CLRRULECTRS) && showopt == 0) {
sbin/pfctl/pfctl.c
3994
pfctl_show_eth_rules(dev, path, opts, PFCTL_SHOW_NOTHING,
sbin/pfctl/pfctl.c
3996
pfctl_show_rules(dev, path, opts, PFCTL_SHOW_NOTHING,
sbin/pfctl/pfctl.c
4009
pfctl_flush_eth_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4012
if (opts & PF_OPT_RECURSE)
sbin/pfctl/pfctl.c
4013
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
4016
pfctl_flush_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4019
pfctl_flush_nat(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4022
pfctl_clear_altq(dev, opts);
sbin/pfctl/pfctl.c
4025
pfctl_clear_iface_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4028
pfctl_clear_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
4031
pfctl_clear_stats(pfh, opts);
sbin/pfctl/pfctl.c
4039
pfctl_flush_eth_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4040
pfctl_flush_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4041
pfctl_flush_nat(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4042
if (opts & PF_OPT_RECURSE)
sbin/pfctl/pfctl.c
4043
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
4046
pfctl_do_clear_tables(anchorname, opts);
sbin/pfctl/pfctl.c
4047
pfctl_flush_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
4050
pfctl_clear_altq(dev, opts);
sbin/pfctl/pfctl.c
4051
pfctl_clear_iface_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4052
pfctl_clear_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
4053
pfctl_clear_stats(pfh, opts);
sbin/pfctl/pfctl.c
4054
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
4055
pfctl_reset(dev, opts);
sbin/pfctl/pfctl.c
4059
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
4062
if ((opts & PF_OPT_RECURSE) == 0)
sbin/pfctl/pfctl.c
4063
pfctl_do_clear_tables(anchorname, opts);
sbin/pfctl/pfctl.c
4065
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
4069
pfctl_reset(dev, opts);
sbin/pfctl/pfctl.c
4075
pfctl_label_kill_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4077
pfctl_id_kill_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4079
pfctl_gateway_kill_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4081
pfctl_key_kill_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4083
pfctl_kill_source(dev, idopt, state_kill[1], opts);
sbin/pfctl/pfctl.c
4085
pfctl_net_kill_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
4089
pfctl_kill_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
4093
tblcmdopt, rulesopt, anchorname, opts);
sbin/pfctl/pfctl.c
4112
!anchorname[0] && !(opts & PF_OPT_NOACTION))
sbin/pfctl/pfctl.c
4115
if (rulesopt != NULL && !(opts & PF_OPT_MERGE) &&
sbin/pfctl/pfctl.c
4117
if (pfctl_file_fingerprints(dev, opts, PF_OSFP_FILE))
sbin/pfctl/pfctl.c
4121
if (pfctl_rules(dev, rulesopt, opts, optimize,
sbin/pfctl/pfctl.c
4126
if (opts & PF_OPT_ENABLE)
sbin/pfctl/pfctl.c
4127
if (pfctl_enable(dev, opts))
sbin/pfctl/pfctl.c
4133
pfctl_debug(dev, PF_DEBUG_NONE, opts);
sbin/pfctl/pfctl.c
4136
pfctl_debug(dev, PF_DEBUG_URGENT, opts);
sbin/pfctl/pfctl.c
4139
pfctl_debug(dev, PF_DEBUG_MISC, opts);
sbin/pfctl/pfctl.c
4142
pfctl_debug(dev, PF_DEBUG_NOISY, opts);
sbin/pfctl/pfctl.c
437
pfctl_enable(int dev, int opts)
sbin/pfctl/pfctl.c
449
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
460
pfctl_disable(int dev, int opts)
sbin/pfctl/pfctl.c
470
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
481
pfctl_clear_stats(struct pfctl_handle *h, int opts)
sbin/pfctl/pfctl.c
485
pfctl_err(opts, 1, "DIOCCLRSTATUS");
sbin/pfctl/pfctl.c
486
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
565
pfctl_clear_interface_flags(int dev, int opts)
sbin/pfctl/pfctl.c
569
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
575
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
581
pfctl_flush_eth_rules(int dev, int opts, char *anchorname)
sbin/pfctl/pfctl.c
589
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
594
pfctl_flush_rules(int dev, int opts, char *anchorname)
sbin/pfctl/pfctl.c
600
pfctl_err(opts, 1, "%s", __func__);
sbin/pfctl/pfctl.c
602
} else if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
609
pfctl_flush_nat(int dev, int opts, char *anchorname)
sbin/pfctl/pfctl.c
616
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
621
pfctl_clear_altq(int dev, int opts)
sbin/pfctl/pfctl.c
633
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
639
pfctl_clear_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
642
pfctl_err(opts, 1, "DIOCCLRSRCNODES");
sbin/pfctl/pfctl.c
643
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
648
pfctl_clear_iface_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
657
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
659
if (opts & PF_OPT_KILLMATCH)
sbin/pfctl/pfctl.c
663
pfctl_err(opts, 1, "DIOCCLRSTATUS");
sbin/pfctl/pfctl.c
664
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
721
pfctl_kill_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
737
&psnk.psnk_src.addr.v.a.mask, (opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
759
(opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
790
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
796
pfctl_net_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
814
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
823
&kill.src.addr.v.a.mask, (opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
825
if (opts & PF_OPT_KILLMATCH)
sbin/pfctl/pfctl.c
848
(opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
867
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl.c
873
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl.c
880
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
886
pfctl_gateway_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
905
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
907
if (opts & PF_OPT_KILLMATCH)
sbin/pfctl/pfctl.c
911
(opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
926
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl.c
932
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
937
pfctl_label_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
950
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
952
if (opts & PF_OPT_KILLMATCH)
sbin/pfctl/pfctl.c
960
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl.c
962
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
967
pfctl_id_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
980
if (opts & PF_OPT_KILLMATCH)
sbin/pfctl/pfctl.c
998
pfctl_errx(opts, 1, "DIOCKILLSTATES");
sbin/pfctl/pfctl_altq.c
1000
opts = &a->pq_u.codel_opts;
sbin/pfctl/pfctl_altq.c
1001
if (opts->target || opts->interval || opts->ecn) {
sbin/pfctl/pfctl_altq.c
1003
if (opts->target)
sbin/pfctl/pfctl_altq.c
1004
printf(" target %d", opts->target);
sbin/pfctl/pfctl_altq.c
1005
if (opts->interval)
sbin/pfctl/pfctl_altq.c
1006
printf(" interval %d", opts->interval);
sbin/pfctl/pfctl_altq.c
1007
if (opts->ecn)
sbin/pfctl/pfctl_altq.c
1020
const struct fairq_opts *opts;
sbin/pfctl/pfctl_altq.c
1023
opts = &a->pq_u.fairq_opts;
sbin/pfctl/pfctl_altq.c
1029
if (opts->flags ||
sbin/pfctl/pfctl_altq.c
1030
(opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
sbin/pfctl/pfctl_altq.c
1031
opts->lssc_d != 0))) {
sbin/pfctl/pfctl_altq.c
1033
if (opts->flags & FARF_RED)
sbin/pfctl/pfctl_altq.c
1035
if (opts->flags & FARF_ECN)
sbin/pfctl/pfctl_altq.c
1037
if (opts->flags & FARF_RIO)
sbin/pfctl/pfctl_altq.c
1039
if (opts->flags & FARF_CODEL)
sbin/pfctl/pfctl_altq.c
1041
if (opts->flags & FARF_CLEARDSCP)
sbin/pfctl/pfctl_altq.c
1043
if (opts->flags & FARF_DEFAULTCLASS)
sbin/pfctl/pfctl_altq.c
1045
if (opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
sbin/pfctl/pfctl_altq.c
1046
opts->lssc_d != 0))
sbin/pfctl/pfctl_altq.c
1047
print_fairq_sc("linkshare", opts->lssc_m1, opts->lssc_d,
sbin/pfctl/pfctl_altq.c
1048
opts->lssc_m2, loc_lssc);
sbin/pfctl/pfctl_altq.c
1292
eval_queue_opts(struct pf_altq *pa, struct node_queue_opt *opts,
sbin/pfctl/pfctl_altq.c
1299
pa->pq_u.cbq_opts = opts->data.cbq_opts;
sbin/pfctl/pfctl_altq.c
1302
pa->pq_u.priq_opts = opts->data.priq_opts;
sbin/pfctl/pfctl_altq.c
1305
pa->pq_u.hfsc_opts.flags = opts->data.hfsc_opts.flags;
sbin/pfctl/pfctl_altq.c
1306
if (opts->data.hfsc_opts.linkshare.used) {
sbin/pfctl/pfctl_altq.c
1308
eval_bwspec(&opts->data.hfsc_opts.linkshare.m1,
sbin/pfctl/pfctl_altq.c
1311
eval_bwspec(&opts->data.hfsc_opts.linkshare.m2,
sbin/pfctl/pfctl_altq.c
1314
opts->data.hfsc_opts.linkshare.d;
sbin/pfctl/pfctl_altq.c
1316
if (opts->data.hfsc_opts.realtime.used) {
sbin/pfctl/pfctl_altq.c
1318
eval_bwspec(&opts->data.hfsc_opts.realtime.m1,
sbin/pfctl/pfctl_altq.c
1321
eval_bwspec(&opts->data.hfsc_opts.realtime.m2,
sbin/pfctl/pfctl_altq.c
1324
opts->data.hfsc_opts.realtime.d;
sbin/pfctl/pfctl_altq.c
1326
if (opts->data.hfsc_opts.upperlimit.used) {
sbin/pfctl/pfctl_altq.c
1328
eval_bwspec(&opts->data.hfsc_opts.upperlimit.m1,
sbin/pfctl/pfctl_altq.c
1331
eval_bwspec(&opts->data.hfsc_opts.upperlimit.m2,
sbin/pfctl/pfctl_altq.c
1334
opts->data.hfsc_opts.upperlimit.d;
sbin/pfctl/pfctl_altq.c
1338
pa->pq_u.fairq_opts.flags = opts->data.fairq_opts.flags;
sbin/pfctl/pfctl_altq.c
1339
pa->pq_u.fairq_opts.nbuckets = opts->data.fairq_opts.nbuckets;
sbin/pfctl/pfctl_altq.c
1341
eval_bwspec(&opts->data.fairq_opts.hogs_bw, ref_bw);
sbin/pfctl/pfctl_altq.c
1343
if (opts->data.fairq_opts.linkshare.used) {
sbin/pfctl/pfctl_altq.c
1345
eval_bwspec(&opts->data.fairq_opts.linkshare.m1,
sbin/pfctl/pfctl_altq.c
1348
eval_bwspec(&opts->data.fairq_opts.linkshare.m2,
sbin/pfctl/pfctl_altq.c
1351
opts->data.fairq_opts.linkshare.d;
sbin/pfctl/pfctl_altq.c
1355
pa->pq_u.codel_opts.target = opts->data.codel_opts.target;
sbin/pfctl/pfctl_altq.c
1356
pa->pq_u.codel_opts.interval = opts->data.codel_opts.interval;
sbin/pfctl/pfctl_altq.c
1357
pa->pq_u.codel_opts.ecn = opts->data.codel_opts.ecn;
sbin/pfctl/pfctl_altq.c
1361
opts->qtype);
sbin/pfctl/pfctl_altq.c
307
struct node_queue_opt *opts)
sbin/pfctl/pfctl_altq.c
332
errors += eval_queue_opts(pa, opts, pa->ifbandwidth);
sbin/pfctl/pfctl_altq.c
357
check_commit_altq(int dev, int opts)
sbin/pfctl/pfctl_altq.c
366
error = check_commit_cbq(dev, opts, if_ppa);
sbin/pfctl/pfctl_altq.c
369
error = check_commit_priq(dev, opts, if_ppa);
sbin/pfctl/pfctl_altq.c
372
error = check_commit_hfsc(dev, opts, if_ppa);
sbin/pfctl/pfctl_altq.c
375
error = check_commit_fairq(dev, opts, if_ppa);
sbin/pfctl/pfctl_altq.c
389
struct node_queue_opt *opts)
sbin/pfctl/pfctl_altq.c
457
if (eval_queue_opts(pa, opts,
sbin/pfctl/pfctl_altq.c
492
struct cbq_opts *opts;
sbin/pfctl/pfctl_altq.c
501
opts = &pa->pq_u.cbq_opts;
sbin/pfctl/pfctl_altq.c
503
if (opts->pktsize == 0) { /* use default */
sbin/pfctl/pfctl_altq.c
504
opts->pktsize = ifmtu;
sbin/pfctl/pfctl_altq.c
505
if (opts->pktsize > MCLBYTES) /* do what TCP does */
sbin/pfctl/pfctl_altq.c
506
opts->pktsize &= ~MCLBYTES;
sbin/pfctl/pfctl_altq.c
507
} else if (opts->pktsize > ifmtu)
sbin/pfctl/pfctl_altq.c
508
opts->pktsize = ifmtu;
sbin/pfctl/pfctl_altq.c
509
if (opts->maxpktsize == 0) /* use default */
sbin/pfctl/pfctl_altq.c
510
opts->maxpktsize = ifmtu;
sbin/pfctl/pfctl_altq.c
511
else if (opts->maxpktsize > ifmtu)
sbin/pfctl/pfctl_altq.c
512
opts->pktsize = ifmtu;
sbin/pfctl/pfctl_altq.c
514
if (opts->pktsize > opts->maxpktsize)
sbin/pfctl/pfctl_altq.c
515
opts->pktsize = opts->maxpktsize;
sbin/pfctl/pfctl_altq.c
518
opts->flags |= (CBQCLF_ROOTCLASS | CBQCLF_WRR);
sbin/pfctl/pfctl_altq.c
535
struct cbq_opts *opts;
sbin/pfctl/pfctl_altq.c
541
opts = &pa->pq_u.cbq_opts;
sbin/pfctl/pfctl_altq.c
543
minburst = opts->minburst;
sbin/pfctl/pfctl_altq.c
544
maxburst = opts->maxburst;
sbin/pfctl/pfctl_altq.c
552
ptime = (double)opts->pktsize * ifnsPerByte;
sbin/pfctl/pfctl_altq.c
555
if (nsPerByte * (double)opts->maxpktsize > (double)INT_MAX) {
sbin/pfctl/pfctl_altq.c
560
if (pa->bandwidth != 0 && (pf->opts & PF_OPT_QUIET) == 0) {
sbin/pfctl/pfctl_altq.c
562
rate2str(ifnsPerByte * (double)opts->maxpktsize /
sbin/pfctl/pfctl_altq.c
567
nsPerByte = (double)(INT_MAX / opts->maxpktsize);
sbin/pfctl/pfctl_altq.c
592
minidle = -((double)opts->maxpktsize * (double)nsPerByte);
sbin/pfctl/pfctl_altq.c
606
opts->minburst = minburst;
sbin/pfctl/pfctl_altq.c
607
opts->maxburst = maxburst;
sbin/pfctl/pfctl_altq.c
608
opts->ns_per_byte = (u_int)nsPerByte;
sbin/pfctl/pfctl_altq.c
609
opts->maxidle = (u_int)fabs(maxidle);
sbin/pfctl/pfctl_altq.c
610
opts->minidle = (int)minidle;
sbin/pfctl/pfctl_altq.c
611
opts->offtime = (u_int)fabs(offtime);
sbin/pfctl/pfctl_altq.c
617
check_commit_cbq(int dev, int opts, struct pfctl_altq *if_ppa)
sbin/pfctl/pfctl_altq.c
639
const struct cbq_opts *opts;
sbin/pfctl/pfctl_altq.c
641
opts = &a->pq_u.cbq_opts;
sbin/pfctl/pfctl_altq.c
642
if (opts->flags) {
sbin/pfctl/pfctl_altq.c
644
if (opts->flags & CBQCLF_RED)
sbin/pfctl/pfctl_altq.c
646
if (opts->flags & CBQCLF_ECN)
sbin/pfctl/pfctl_altq.c
648
if (opts->flags & CBQCLF_RIO)
sbin/pfctl/pfctl_altq.c
650
if (opts->flags & CBQCLF_CODEL)
sbin/pfctl/pfctl_altq.c
652
if (opts->flags & CBQCLF_CLEARDSCP)
sbin/pfctl/pfctl_altq.c
654
if (opts->flags & CBQCLF_FLOWVALVE)
sbin/pfctl/pfctl_altq.c
656
if (opts->flags & CBQCLF_BORROW)
sbin/pfctl/pfctl_altq.c
658
if (opts->flags & CBQCLF_WRR)
sbin/pfctl/pfctl_altq.c
660
if (opts->flags & CBQCLF_EFFICIENT)
sbin/pfctl/pfctl_altq.c
662
if (opts->flags & CBQCLF_ROOTCLASS)
sbin/pfctl/pfctl_altq.c
664
if (opts->flags & CBQCLF_DEFCLASS)
sbin/pfctl/pfctl_altq.c
697
check_commit_priq(int dev, int opts, struct pfctl_altq *if_ppa)
sbin/pfctl/pfctl_altq.c
713
const struct priq_opts *opts;
sbin/pfctl/pfctl_altq.c
715
opts = &a->pq_u.priq_opts;
sbin/pfctl/pfctl_altq.c
717
if (opts->flags) {
sbin/pfctl/pfctl_altq.c
719
if (opts->flags & PRCF_RED)
sbin/pfctl/pfctl_altq.c
721
if (opts->flags & PRCF_ECN)
sbin/pfctl/pfctl_altq.c
723
if (opts->flags & PRCF_RIO)
sbin/pfctl/pfctl_altq.c
725
if (opts->flags & PRCF_CODEL)
sbin/pfctl/pfctl_altq.c
727
if (opts->flags & PRCF_CLEARDSCP)
sbin/pfctl/pfctl_altq.c
729
if (opts->flags & PRCF_DEFAULTCLASS)
sbin/pfctl/pfctl_altq.c
745
struct hfsc_opts_v1 *opts;
sbin/pfctl/pfctl_altq.c
748
opts = &pa->pq_u.hfsc_opts;
sbin/pfctl/pfctl_altq.c
752
opts->lssc_m1 = pa->ifbandwidth;
sbin/pfctl/pfctl_altq.c
753
opts->lssc_m2 = pa->ifbandwidth;
sbin/pfctl/pfctl_altq.c
754
opts->lssc_d = 0;
sbin/pfctl/pfctl_altq.c
774
if (opts->lssc_m2 == 0)
sbin/pfctl/pfctl_altq.c
775
opts->lssc_m2 = pa->bandwidth;
sbin/pfctl/pfctl_altq.c
777
if ((opts->rtsc_m1 > 0 && opts->rtsc_m2 == 0) ||
sbin/pfctl/pfctl_altq.c
778
(opts->lssc_m1 > 0 && opts->lssc_m2 == 0) ||
sbin/pfctl/pfctl_altq.c
779
(opts->ulsc_m1 > 0 && opts->ulsc_m2 == 0)) {
sbin/pfctl/pfctl_altq.c
784
if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
sbin/pfctl/pfctl_altq.c
785
(opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) ||
sbin/pfctl/pfctl_altq.c
786
(opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) {
sbin/pfctl/pfctl_altq.c
804
if (opts->rtsc_m2 != 0) {
sbin/pfctl/pfctl_altq.c
806
sc.m1 = opts->rtsc_m1;
sbin/pfctl/pfctl_altq.c
807
sc.d = opts->rtsc_d;
sbin/pfctl/pfctl_altq.c
808
sc.m2 = opts->rtsc_m2;
sbin/pfctl/pfctl_altq.c
822
if (opts->lssc_m2 != 0) {
sbin/pfctl/pfctl_altq.c
824
sc.m1 = opts->lssc_m1;
sbin/pfctl/pfctl_altq.c
825
sc.d = opts->lssc_d;
sbin/pfctl/pfctl_altq.c
826
sc.m2 = opts->lssc_m2;
sbin/pfctl/pfctl_altq.c
839
if (opts->ulsc_m2 != 0) {
sbin/pfctl/pfctl_altq.c
840
if (opts->ulsc_m1 > pa->ifbandwidth ||
sbin/pfctl/pfctl_altq.c
841
opts->ulsc_m2 > pa->ifbandwidth) {
sbin/pfctl/pfctl_altq.c
845
if (opts->rtsc_m2 != 0 && opts->rtsc_m2 > opts->ulsc_m2) {
sbin/pfctl/pfctl_altq.c
861
struct fairq_opts *opts;
sbin/pfctl/pfctl_altq.c
864
opts = &pa->pq_u.fairq_opts;
sbin/pfctl/pfctl_altq.c
868
opts->lssc_m1 = pa->ifbandwidth;
sbin/pfctl/pfctl_altq.c
869
opts->lssc_m2 = pa->ifbandwidth;
sbin/pfctl/pfctl_altq.c
870
opts->lssc_d = 0;
sbin/pfctl/pfctl_altq.c
888
if (opts->lssc_m2 == 0)
sbin/pfctl/pfctl_altq.c
889
opts->lssc_m2 = pa->bandwidth;
sbin/pfctl/pfctl_altq.c
904
if (opts->lssc_m2 != 0) {
sbin/pfctl/pfctl_altq.c
906
sc.m1 = opts->lssc_m1;
sbin/pfctl/pfctl_altq.c
907
sc.d = opts->lssc_d;
sbin/pfctl/pfctl_altq.c
908
sc.m2 = opts->lssc_m2;
sbin/pfctl/pfctl_altq.c
924
check_commit_hfsc(int dev, int opts, struct pfctl_altq *if_ppa)
sbin/pfctl/pfctl_altq.c
936
check_commit_fairq(int dev __unused, int opts __unused, struct pfctl_altq *if_ppa)
sbin/pfctl/pfctl_altq.c
950
const struct hfsc_opts_v1 *opts;
sbin/pfctl/pfctl_altq.c
953
opts = &a->pq_u.hfsc_opts;
sbin/pfctl/pfctl_altq.c
962
if (opts->flags || opts->rtsc_m2 != 0 || opts->ulsc_m2 != 0 ||
sbin/pfctl/pfctl_altq.c
963
(opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
sbin/pfctl/pfctl_altq.c
964
opts->lssc_d != 0))) {
sbin/pfctl/pfctl_altq.c
966
if (opts->flags & HFCF_RED)
sbin/pfctl/pfctl_altq.c
968
if (opts->flags & HFCF_ECN)
sbin/pfctl/pfctl_altq.c
970
if (opts->flags & HFCF_RIO)
sbin/pfctl/pfctl_altq.c
972
if (opts->flags & HFCF_CODEL)
sbin/pfctl/pfctl_altq.c
974
if (opts->flags & HFCF_CLEARDSCP)
sbin/pfctl/pfctl_altq.c
976
if (opts->flags & HFCF_DEFAULTCLASS)
sbin/pfctl/pfctl_altq.c
978
if (opts->rtsc_m2 != 0)
sbin/pfctl/pfctl_altq.c
979
print_hfsc_sc("realtime", opts->rtsc_m1, opts->rtsc_d,
sbin/pfctl/pfctl_altq.c
980
opts->rtsc_m2, rtsc);
sbin/pfctl/pfctl_altq.c
981
if (opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
sbin/pfctl/pfctl_altq.c
982
opts->lssc_d != 0))
sbin/pfctl/pfctl_altq.c
983
print_hfsc_sc("linkshare", opts->lssc_m1, opts->lssc_d,
sbin/pfctl/pfctl_altq.c
984
opts->lssc_m2, lssc);
sbin/pfctl/pfctl_altq.c
985
if (opts->ulsc_m2 != 0)
sbin/pfctl/pfctl_altq.c
986
print_hfsc_sc("upperlimit", opts->ulsc_m1, opts->ulsc_d,
sbin/pfctl/pfctl_altq.c
987
opts->ulsc_m2, ulsc);
sbin/pfctl/pfctl_altq.c
998
const struct codel_opts *opts;
sbin/pfctl/pfctl_optimize.c
1269
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_optimize.c
595
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl_optimize.c
601
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_optimize.c
627
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl_optimize.c
632
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_osfp.c
110
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl_osfp.c
111
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl_osfp.c
241
add_fingerprint(dev, opts, &fp);
sbin/pfctl/pfctl_osfp.c
245
add_fingerprint(dev, opts, &fp);
sbin/pfctl/pfctl_osfp.c
256
if (opts & PF_OPT_VERBOSE2)
sbin/pfctl/pfctl_osfp.c
264
pfctl_clear_fingerprints(int dev, int opts)
sbin/pfctl/pfctl_osfp.c
267
pfctl_err(opts, 1, "DIOCOSFPFLUSH");
sbin/pfctl/pfctl_osfp.c
287
pfctl_load_fingerprints(int dev, int opts)
sbin/pfctl/pfctl_osfp.c
310
pfctl_show_fingerprints(int opts)
sbin/pfctl/pfctl_osfp.c
313
if (opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl_osfp.c
319
sort_name_list(opts, &classes);
sbin/pfctl/pfctl_osfp.c
320
print_name_list(opts, &classes, "");
sbin/pfctl/pfctl_osfp.c
538
add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp)
sbin/pfctl/pfctl_osfp.c
585
add_fingerprint(dev, opts, &fptmp); \
sbin/pfctl/pfctl_osfp.c
631
if ((opts & PF_OPT_NOACTION) == 0 && ioctl(dev, DIOCOSFPADD, fp))
sbin/pfctl/pfctl_osfp.c
714
print_name_list(int opts, struct name_list *nml, const char *prefix)
sbin/pfctl/pfctl_osfp.c
723
print_name_list(opts, &nm->nm_sublist, newprefix);
sbin/pfctl/pfctl_osfp.c
728
sort_name_list(int opts, struct name_list *nml)
sbin/pfctl/pfctl_osfp.c
754
sort_name_list(opts, &nm->nm_sublist);
sbin/pfctl/pfctl_osfp.c
90
pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
sbin/pfctl/pfctl_parser.c
1026
opts, numeric);
sbin/pfctl/pfctl_parser.c
1881
host(const char *s, int opts)
sbin/pfctl/pfctl_parser.c
1904
(h = host_dns(ps, mask, (opts & PF_OPT_NODNS))) == NULL) {
sbin/pfctl/pfctl_parser.c
2068
append_addr(struct pfr_buffer *b, char *s, int test, int opts)
sbin/pfctl/pfctl_parser.c
2076
if ((n = host(r, opts)) == NULL) {
sbin/pfctl/pfctl_parser.c
392
sa_family_t af, u_int8_t proto, int opts, int numeric)
sbin/pfctl/pfctl_parser.c
395
int verbose = opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG);
sbin/pfctl/pfctl_parser.c
486
switch (pool->opts & PF_POOL_TYPEMASK) {
sbin/pfctl/pfctl_parser.c
504
if (pool->opts & PF_POOL_STICKYADDR)
sbin/pfctl/pfctl_parser.c
506
if (pool->opts & PF_POOL_ENDPI)
sbin/pfctl/pfctl_parser.c
513
if (pool->opts & PF_POOL_IPV6NH)
sbin/pfctl/pfctl_parser.c
518
print_status(struct pfctl_status *s, struct pfctl_syncookies *cookies, int opts)
sbin/pfctl/pfctl_parser.c
561
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
606
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
619
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
642
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
659
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_parser.c
678
print_src_node(struct pfctl_src_node *sn, int opts)
sbin/pfctl/pfctl_parser.c
691
print_addr(&aw, sn->af, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl_parser.c
694
print_addr(&aw, sn->raf, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl_parser.c
698
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
891
print_rule(struct pfctl_rule *r, const char *anchor_call, int opts, int numeric)
sbin/pfctl/pfctl_parser.c
900
int verbose = opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG);
sbin/pfctl/pfctl_parser.h
97
int opts;
sbin/pfctl/pfctl_qstats.c
115
pfctl_print_altq_node(dev, node, 0, opts);
sbin/pfctl/pfctl_qstats.c
131
pfctl_print_altq_node(dev, node, 0, opts);
sbin/pfctl/pfctl_qstats.c
274
unsigned int level, int opts)
sbin/pfctl/pfctl_qstats.c
295
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_qstats.c
298
if (opts & PF_OPT_DEBUG)
sbin/pfctl/pfctl_qstats.c
305
pfctl_print_altq_node(dev, child, level + 1, opts);
sbin/pfctl/pfctl_qstats.c
93
pfctl_show_altq(int dev, const char *iface, int opts, int verbose2)
sbin/pfctl/pfctl_qstats.c
96
int nodes, dotitle = (opts & PF_OPT_SHOWALL);
sbin/pfctl/pfctl_radix.c
386
int (*append_addr)(struct pfr_buffer *, char *, int, int), int opts)
sbin/pfctl/pfctl_radix.c
402
if (append_addr(b, buf, nonetwork, opts)) {
sbin/pfctl/pfctl_table.c
100
if (opts & PF_OPT_NOACTION) \
sbin/pfctl/pfctl_table.c
107
pfctl_do_clear_tables(const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
111
if ((rv = pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts)) == -1) {
sbin/pfctl/pfctl_table.c
112
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl_table.c
120
pfctl_show_tables(const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
122
if (pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts))
sbin/pfctl/pfctl_table.c
128
char *file, const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
139
if (opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl_table.c
160
xprintf(opts, "%d tables deleted", ndel);
sbin/pfctl/pfctl_table.c
162
b.pfrb_type = (opts & PF_OPT_VERBOSE2) ?
sbin/pfctl/pfctl_table.c
167
if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0)
sbin/pfctl/pfctl_table.c
170
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_table.c
171
uintptr_t arg = opts & PF_OPT_DEBUG;
sbin/pfctl/pfctl_table.c
184
if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0)
sbin/pfctl/pfctl_table.c
188
print_table(p, opts & PF_OPT_VERBOSE,
sbin/pfctl/pfctl_table.c
189
opts & PF_OPT_DEBUG);
sbin/pfctl/pfctl_table.c
195
xprintf(opts, "%d table deleted", ndel);
sbin/pfctl/pfctl_table.c
200
xprintf(opts, "%d addresses deleted", ndel);
sbin/pfctl/pfctl_table.c
203
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
206
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
210
xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size);
sbin/pfctl/pfctl_table.c
211
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
213
if ((opts & PF_OPT_VERBOSE2) ||
sbin/pfctl/pfctl_table.c
216
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
219
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
221
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
225
xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size);
sbin/pfctl/pfctl_table.c
226
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
228
if ((opts & PF_OPT_VERBOSE2) ||
sbin/pfctl/pfctl_table.c
231
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
234
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
237
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
242
xprintf(opts, "%d addresses added", nadd);
sbin/pfctl/pfctl_table.c
244
xprintf(opts, "%d addresses deleted", ndel);
sbin/pfctl/pfctl_table.c
246
xprintf(opts, "%d addresses changed", nchange);
sbin/pfctl/pfctl_table.c
248
xprintf(opts, "no changes");
sbin/pfctl/pfctl_table.c
249
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
251
if ((opts & PF_OPT_VERBOSE2) ||
sbin/pfctl/pfctl_table.c
254
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
283
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
287
xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size);
sbin/pfctl/pfctl_table.c
288
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
290
if ((opts & PF_OPT_VERBOSE2) ||
sbin/pfctl/pfctl_table.c
293
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
314
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
318
xprintf(opts, "%d/%d stats cleared", nzero, b.pfrb_size);
sbin/pfctl/pfctl_table.c
319
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
321
if ((opts & PF_OPT_VERBOSE2) || a->pfra_fback)
sbin/pfctl/pfctl_table.c
323
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
325
b.pfrb_type = (opts & PF_OPT_VERBOSE) ?
sbin/pfctl/pfctl_table.c
332
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
342
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
343
print_astats(p, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
345
print_addrx(p, NULL, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
350
if (load_addr(&b, argc, argv, file, 1, opts))
sbin/pfctl/pfctl_table.c
352
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_table.c
360
xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
sbin/pfctl/pfctl_table.c
361
if ((opts & PF_OPT_VERBOSE) && !(opts & PF_OPT_VERBOSE2))
sbin/pfctl/pfctl_table.c
365
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
366
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_table.c
370
print_addrx(a2, a, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
377
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
379
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
383
xprintf(opts, "%d/%d addresses cleared", nzero, b.pfrb_size);
sbin/pfctl/pfctl_table.c
384
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
386
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
389
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
393
xprintf(opts, "%d table/stats cleared", nzero);
sbin/pfctl/pfctl_table.c
462
int nonetwork, int opts)
sbin/pfctl/pfctl_table.c
465
if (append_addr(b, *argv++, nonetwork, opts)) {
sbin/pfctl/pfctl_table.c
470
if (pfr_buf_load(b, file, nonetwork, append_addr, opts)) {
sbin/pfctl/pfctl_table.c
641
xprintf(int opts, const char *fmt, ...)
sbin/pfctl/pfctl_table.c
645
if (opts & PF_OPT_QUIET)
sbin/pfctl/pfctl_table.c
652
if (opts & PF_OPT_DUMMYACTION)
sbin/pfctl/pfctl_table.c
654
else if (opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl_table.c
664
pfctl_show_ifaces(const char *filter, int opts)
sbin/pfctl/pfctl_table.c
679
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl_table.c
682
print_iface(p, opts);
sbin/pfctl/pfctl_table.c
686
print_iface(struct pfi_kif *p, int opts)
sbin/pfctl/pfctl_table.c
693
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_table.c
699
if (!(opts & PF_OPT_VERBOSE2))
sbin/pfctl/pfctl_table.c
78
if ((!(opts & PF_OPT_NOACTION) || \
sbin/pfctl/pfctl_table.c
79
(opts & PF_OPT_DUMMYACTION)) && \
sbin/pfctl/pfctl_table.c
81
if ((opts & PF_OPT_RECURSE) == 0) \
sbin/pfctl/pfctl_table.c
91
if ((!(opts & PF_OPT_NOACTION) || \
sbin/pfctl/pfctl_table.c
92
(opts & PF_OPT_DUMMYACTION)) && \
sbin/pfctl/pfctl_table.c
99
xprintf(opts, "%d table created", nadd); \
share/examples/ipfilter/l4check/l4check.c
105
if (!(opts & OPT_DONOTHING)) {
share/examples/ipfilter/l4check/l4check.c
120
if (!(opts & OPT_DONOTHING)) {
share/examples/ipfilter/l4check/l4check.c
160
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
166
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
193
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
202
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
228
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
233
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
240
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
256
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
299
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
307
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
313
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
318
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
337
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
343
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
353
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
360
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
368
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
383
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
391
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
529
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
561
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
61
int opts = 0;
share/examples/ipfilter/l4check/l4check.c
617
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
622
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
656
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
674
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
693
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
709
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
730
if (opts & OPT_VERBOSE)
share/examples/ipfilter/l4check/l4check.c
770
opts |= OPT_DONOTHING;
share/examples/ipfilter/l4check/l4check.c
773
opts |= OPT_VERBOSE;
share/examples/ipfilter/l4check/l4check.c
788
if (!(opts & OPT_DONOTHING)) {
share/examples/ipfilter/l4check/l4check.c
796
if (opts & OPT_VERBOSE)
stand/common/rbx.h
55
#define OPT_CHECK(opt) ((opts) & OPT_SET(opt))
stand/common/rbx.h
57
extern uint32_t opts;
stand/i386/boot2/boot2.c
102
uint32_t opts;
stand/i386/boot2/boot2.c
349
__exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK),
stand/i386/boot2/boot2.c
378
opts |= OPT_SET(RBX_DUAL) |
stand/i386/boot2/boot2.c
402
opts ^= OPT_SET(flags[i]);
stand/i386/gptboot/gptboot.c
487
__exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK),
stand/i386/gptboot/gptboot.c
521
opts |= OPT_SET(RBX_DUAL) |
stand/i386/gptboot/gptboot.c
544
opts ^= OPT_SET(flags[i]);
stand/i386/gptboot/gptboot.c
76
uint32_t opts;
stand/i386/gptzfsboot/zfsboot.c
480
__exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK),
stand/i386/gptzfsboot/zfsboot.c
499
__exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK),
stand/i386/gptzfsboot/zfsboot.c
587
opts |= OPT_SET(RBX_DUAL);
stand/i386/gptzfsboot/zfsboot.c
588
opts |= OPT_SET(RBX_SERIAL);
stand/i386/gptzfsboot/zfsboot.c
610
opts ^= OPT_SET(flags[i]);
stand/i386/gptzfsboot/zfsboot.c
84
uint32_t opts;
stand/i386/isoboot/isoboot.c
415
__exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK),
stand/i386/isoboot/isoboot.c
444
opts |= OPT_SET(RBX_DUAL) |
stand/i386/isoboot/isoboot.c
467
opts ^= OPT_SET(flags[i]);
stand/i386/isoboot/isoboot.c
75
uint32_t opts;
stand/libsa/bootp.c
594
setenv_(u_char *cp, u_char *ep, struct dhcp_opt *opts)
stand/libsa/bootp.c
603
if (opts == NULL)
stand/libsa/bootp.c
604
opts = dhcp_opt;
stand/libsa/bootp.c
621
for (op = opts+1; op->tag && op->tag != tag; op++)
stand/libsa/bootp.c
721
snprintf(env, sizeof(env), op->desc, opts[0].desc, tag);
stand/libsa/bootp.c
723
snprintf(env, sizeof(env), "%s%s", opts[0].desc, op->desc);
stand/libsa/bootp.c
733
snprintf(env, sizeof(env), "%stags", opts[0].desc);
stand/libsa/bootp.c
78
static void setenv_(u_char *cp, u_char *ep, struct dhcp_opt *opts);
sys/compat/linux/linux_mib.c
273
struct vfsoptlist *opts = data;
sys/compat/linux/linux_mib.c
276
if (vfs_copyopt(opts, "linux", &jsys, sizeof(jsys)) == 0 &&
sys/compat/linux/linux_mib.c
290
struct vfsoptlist *opts = data;
sys/compat/linux/linux_mib.c
295
error = vfs_copyopt(opts, "linux", &jsys, sizeof(jsys));
sys/compat/linux/linux_mib.c
302
error = vfs_getopt(opts, "linux.osname", (void **)&osname, &len);
sys/compat/linux/linux_mib.c
309
vfs_opterror(opts, "linux.osname too long");
sys/compat/linux/linux_mib.c
313
error = vfs_getopt(opts, "linux.osrelease", (void **)&osrelease, &len);
sys/compat/linux/linux_mib.c
320
vfs_opterror(opts, "linux.osrelease too long");
sys/compat/linux/linux_mib.c
325
vfs_opterror(opts, "linux.osrelease format error");
sys/compat/linux/linux_mib.c
329
error = vfs_copyopt(opts, "linux.oss_version", &oss_version,
sys/compat/linux/linux_mib.c
342
struct vfsoptlist *opts = data;
sys/compat/linux/linux_mib.c
347
error = vfs_copyopt(opts, "linux", &jsys, sizeof(jsys));
sys/compat/linux/linux_mib.c
350
error = vfs_getopt(opts, "linux.osname", (void **)&osname, &len);
sys/compat/linux/linux_mib.c
355
error = vfs_getopt(opts, "linux.osrelease", (void **)&osrelease, &len);
sys/compat/linux/linux_mib.c
360
error = vfs_copyopt(opts, "linux.oss_version", &oss_version,
sys/compat/linux/linux_mib.c
410
struct vfsoptlist *opts = data;
sys/compat/linux/linux_mib.c
418
error = vfs_setopt(opts, "linux", &i, sizeof(i));
sys/compat/linux/linux_mib.c
422
error = vfs_setopts(opts, "linux.osname", lpr->pr_osname);
sys/compat/linux/linux_mib.c
425
error = vfs_setopts(opts, "linux.osrelease", lpr->pr_osrelease);
sys/compat/linux/linux_mib.c
428
error = vfs_setopt(opts, "linux.oss_version",
sys/compat/linux/linux_mib.c
437
error = vfs_setopts(opts, "linux.osname", "");
sys/compat/linux/linux_mib.c
440
error = vfs_setopts(opts, "linux.osrelease", "");
sys/compat/linux/linux_mib.c
443
error = vfs_setopt(opts, "linux.oss_version", &version0,
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
121
bhnd_nvram_plist *opts; /**< serialization options */
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
752
error = bhnd_nvram_plist_append_bytes(bcm->opts,
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
776
bcm->opts = bhnd_nvram_plist_new();
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
777
if (bcm->opts == NULL)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
798
if (bcm->opts != NULL)
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
799
bhnd_nvram_plist_release(bcm->opts);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
813
return (bcm->opts);
sys/dev/cas/if_cas.c
542
uint16_t *opts;
sys/dev/cas/if_cas.c
587
opts = (uint16_t *)(ip + 1);
sys/dev/cas/if_cas.c
588
for (; len > 0; len -= sizeof(uint16_t), opts++) {
sys/dev/cas/if_cas.c
589
temp32 = cksum - *opts;
sys/dev/fxp/if_fxp.c
1767
uint16_t csum, *opts;
sys/dev/fxp/if_fxp.c
1826
opts = (uint16_t *)(ip + 1);
sys/dev/fxp/if_fxp.c
1827
for (; len > 0; len -= sizeof(uint16_t), opts++) {
sys/dev/fxp/if_fxp.c
1828
temp32 = csum - *opts;
sys/dev/gem/if_gem.c
468
uint16_t *opts;
sys/dev/gem/if_gem.c
514
opts = (uint16_t *)(ip + 1);
sys/dev/gem/if_gem.c
515
for (; len > 0; len -= sizeof(uint16_t), opts++) {
sys/dev/gem/if_gem.c
516
temp32 = cksum - *opts;
sys/dev/ice/ice_adminq_cmd.h
257
u8 opts;
sys/dev/ipw/if_ipw.c
2096
struct ipw_scan_options opts;
sys/dev/ipw/if_ipw.c
2099
opts.channels = htole32(chanmask);
sys/dev/ipw/if_ipw.c
2100
opts.flags = htole32(flags);
sys/dev/ipw/if_ipw.c
2101
return ipw_cmd(sc, IPW_CMD_SET_SCAN_OPTIONS, &opts, sizeof(opts));
sys/dev/irdma/irdma_cm.c
1550
struct irdma_kmem_info opts;
sys/dev/irdma/irdma_cm.c
1556
opts.addr = optionsbuf;
sys/dev/irdma/irdma_cm.c
1578
opts.size = optionssize;
sys/dev/irdma/irdma_cm.c
1580
sqbuf = cm_node->cm_core->form_cm_frame(cm_node, &opts, NULL, NULL,
sys/dev/msk/if_msk.c
3065
uint16_t csum, *opts;
sys/dev/msk/if_msk.c
3137
opts = (uint16_t *)(ip + 1);
sys/dev/msk/if_msk.c
3138
for (; len > 0; len -= sizeof(uint16_t), opts++) {
sys/dev/msk/if_msk.c
3139
temp32 = csum - *opts;
sys/dev/ocs_fc/ocs_hw.c
100
static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg);
sys/dev/ocs_fc/ocs_hw.c
12179
ocs_hw_set_persistent_topology(ocs_hw_t *hw, uint32_t topology, uint32_t opts)
sys/dev/ocs_fc/ocs_hw.c
12221
if (opts == OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
2297
ocs_hw_command(ocs_hw_t *hw, uint8_t *cmd, uint32_t opts, void *cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
2321
if (OCS_CMD_POLL == opts) {
sys/dev/ocs_fc/ocs_hw.c
2342
} else if (OCS_CMD_NOWAIT == opts) {
sys/dev/ocs_fc/ocs_hw.c
5803
uint32_t opts;
sys/dev/ocs_fc/ocs_hw.c
5823
ocs_hw_set_linkcfg(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
5831
return ocs_hw_set_linkcfg_lancer(hw, value, opts, cb, arg);
sys/dev/ocs_fc/ocs_hw.c
5834
return ocs_hw_set_linkcfg_skyhawk(hw, value, opts, cb, arg);
sys/dev/ocs_fc/ocs_hw.c
5854
ocs_hw_set_linkcfg_lancer(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
5890
cb_arg->opts = opts;
sys/dev/ocs_fc/ocs_hw.c
5893
opts, ocs_hw_linkcfg_dmtf_clp_cb, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
5895
if (opts == OCS_CMD_POLL || rc != OCS_HW_RTN_SUCCESS) {
sys/dev/ocs_fc/ocs_hw.c
5935
if (cb_arg->opts != OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
5953
ocs_hw_set_linkcfg_skyhawk(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
5986
rc = ocs_hw_command(hw, mbxdata, opts, ocs_hw_set_active_link_config_cb, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
5993
} else if (opts == OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
6017
ocs_hw_get_linkcfg(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
6026
return ocs_hw_get_linkcfg_lancer(hw, opts, cb, arg);
sys/dev/ocs_fc/ocs_hw.c
6029
return ocs_hw_get_linkcfg_skyhawk(hw, opts, cb, arg);
sys/dev/ocs_fc/ocs_hw.c
6047
ocs_hw_get_linkcfg_lancer(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
6082
cb_arg->opts = opts;
sys/dev/ocs_fc/ocs_hw.c
6085
opts, ocs_hw_linkcfg_dmtf_clp_cb, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
6087
if (opts == OCS_CMD_POLL || rc != OCS_HW_RTN_SUCCESS) {
sys/dev/ocs_fc/ocs_hw.c
6132
if (cb_arg->opts != OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
6149
ocs_hw_get_linkcfg_skyhawk(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
6172
cb_arg->opts = opts;
sys/dev/ocs_fc/ocs_hw.c
6183
rc = ocs_hw_command(hw, mbxdata, opts, ocs_hw_get_active_link_config_cb, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
6191
} else if (opts == OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
6498
if (cb_arg->opts != OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
6655
uint32_t opts;
sys/dev/ocs_fc/ocs_hw.c
6673
ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg)
sys/dev/ocs_fc/ocs_hw.c
6697
cb_arg->opts = opts;
sys/dev/ocs_fc/ocs_hw.c
6702
rc = ocs_hw_command(hw, mbxdata, opts, ocs_hw_dmtf_clp_cb, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
6704
if (opts == OCS_CMD_POLL && rc == OCS_HW_RTN_SUCCESS) {
sys/dev/ocs_fc/ocs_hw.c
6715
if (opts == OCS_CMD_POLL || rc != OCS_HW_RTN_SUCCESS) {
sys/dev/ocs_fc/ocs_hw.c
6813
if (cb_arg->opts != OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
6976
uint32_t opts = (hw->state == OCS_HW_STATE_ACTIVE ? OCS_CMD_NOWAIT : OCS_CMD_POLL);
sys/dev/ocs_fc/ocs_hw.c
7012
rc = ocs_hw_command(hw, mbxdata, opts, ocs_hw_cb_dump_get, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
7013
if (rc == 0 && opts == OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.c
7087
uint32_t opts = (hw->state == OCS_HW_STATE_ACTIVE ? OCS_CMD_NOWAIT : OCS_CMD_POLL);
sys/dev/ocs_fc/ocs_hw.c
7113
rc = ocs_hw_command(hw, mbxdata, opts, ocs_hw_cb_dump_clear, cb_arg);
sys/dev/ocs_fc/ocs_hw.c
7114
if (rc == 0 && opts == OCS_CMD_POLL) {
sys/dev/ocs_fc/ocs_hw.h
1375
ocs_hw_rtn_e ocs_hw_set_persistent_topology(ocs_hw_t *hw, uint32_t topology, uint32_t opts);
sys/dev/uart/uart_cpu_powerpc.c
113
phandle_t input, opts, chosen;
sys/dev/uart/uart_cpu_powerpc.c
116
opts = OF_finddevice("/options");
sys/dev/uart/uart_cpu_powerpc.c
136
if (opts != -1 && error != 0)
sys/dev/uart/uart_cpu_powerpc.c
137
error = ofw_get_uart_console(opts, &input,
sys/dev/uart/uart_cpu_powerpc.c
139
if (opts != -1 && error != 0)
sys/dev/uart/uart_cpu_powerpc.c
140
error = ofw_get_uart_console(opts, &input,
sys/dev/uart/uart_cpu_powerpc.c
53
ofw_get_uart_console(phandle_t opts, phandle_t *result, const char *inputdev,
sys/dev/uart/uart_cpu_powerpc.c
59
if (OF_getprop(opts, inputdev, buf, sizeof(buf)) == -1)
sys/dev/uart/uart_cpu_powerpc.c
66
if (OF_getprop(opts, outputdev, buf, sizeof(buf)) == -1)
sys/fs/ext2fs/ext2_vfsops.c
123
struct vfsoptlist *opts;
sys/fs/ext2fs/ext2_vfsops.c
134
opts = mp->mnt_optnew;
sys/fs/ext2fs/ext2_vfsops.c
136
if (vfs_filteropt(opts, ext2_opts))
sys/fs/ext2fs/ext2_vfsops.c
139
vfs_getopt(opts, "fspath", (void **)&path, NULL);
sys/fs/ext2fs/ext2_vfsops.c
145
error = vfs_getopt(opts, "from", (void **)&fspec, &len);
sys/fs/ext2fs/ext2_vfsops.c
158
vfs_flagopt(opts, "ro", NULL, 0)) {
sys/fs/ext2fs/ext2_vfsops.c
174
vfs_flagopt(opts, "ro", &mp->mnt_flag, MNT_RDONLY);
sys/fs/ext2fs/ext2_vfsops.c
184
if (fs->e2fs_ronly && !vfs_flagopt(opts, "ro", NULL, 0)) {
sys/fs/ext2fs/ext2_vfsops.c
228
if (vfs_flagopt(opts, "export", NULL, 0)) {
sys/fs/fuse/fuse_vfsops.c
208
vfs_flagopt(opts, #fnam, &mntopts, fval); \
sys/fs/fuse/fuse_vfsops.c
209
vfs_flagopt(opts, "__" #fnam, &__mntopts, fval); \
sys/fs/fuse/fuse_vfsops.c
312
struct vfsoptlist *opts;
sys/fs/fuse/fuse_vfsops.c
323
opts = mp->mnt_optnew;
sys/fs/fuse/fuse_vfsops.c
325
if (!opts)
sys/fs/fuse/fuse_vfsops.c
329
if (!vfs_getopts(opts, "fspath", &err))
sys/fs/fuse/fuse_vfsops.c
342
(void)vfs_scanopt(opts, "max_read=", "%u", &max_read);
sys/fs/fuse/fuse_vfsops.c
343
(void)vfs_scanopt(opts, "linux_errnos", "%d", &linux_errnos);
sys/fs/fuse/fuse_vfsops.c
344
if (vfs_scanopt(opts, "timeout=", "%u", &daemon_timeout) == 1) {
sys/fs/fuse/fuse_vfsops.c
352
subtype = vfs_getopts(opts, "subtype=", &err);
sys/fs/fuse/fuse_vfsops.c
362
fspec = vfs_getopts(opts, "from", &err);
sys/fs/fuse/fuse_vfsops.c
367
if (vfs_scanopt(opts, "fd", "%d", &fd) != 1)
sys/fs/fuse/fuse_vfsops.c
451
vfs_getopt(opts, "fsname=", (void**)&fsname, &fsnamelen);
sys/fs/nfsclient/nfs_clvfsops.c
800
nfs_mount_parse_from(struct vfsoptlist *opts, char **hostnamep,
sys/fs/nfsclient/nfs_clvfsops.c
808
error = vfs_getopt(opts, "from", (void **)&spec, &speclen);
sys/fs/udf/udf_vfsops.c
184
struct vfsoptlist *opts;
sys/fs/udf/udf_vfsops.c
190
opts = mp->mnt_optnew;
sys/fs/udf/udf_vfsops.c
207
error = vfs_getopt(opts, "from", (void **)&fspec, &len);
sys/fs/udf/udf_vfsops.c
246
error = vfs_getopt(opts, "flags", (void **)&udf_flags, &len);
sys/fs/udf/udf_vfsops.c
253
error = vfs_getopt(opts, "cs_disk", (void **)&cs_disk, &len);
sys/fs/udf/udf_vfsops.c
257
error = vfs_getopt(opts, "cs_local", (void **)&cs_local, &len);
sys/kern/kern_jail.c
1019
struct vfsoptlist *opts;
sys/kern/kern_jail.c
1085
error = vfs_buildopts(optuio, &opts);
sys/kern/kern_jail.c
1087
opts = NULL;
sys/kern/kern_jail.c
1094
vfs_opterror(opts, "no valid operation (create or update)");
sys/kern/kern_jail.c
1098
error = vfs_copyopt(opts, "desc", &jfd_in, sizeof(jfd_in));
sys/kern/kern_jail.c
1102
vfs_opterror(opts, "missing desc");
sys/kern/kern_jail.c
1112
vfs_opterror(opts, "unexpected desc");
sys/kern/kern_jail.c
1123
vfs_opterror(opts, error == ENOENT ?
sys/kern/kern_jail.c
1154
error = vfs_copyopt(opts, "jid", &jid, sizeof(jid));
sys/kern/kern_jail.c
1160
error = vfs_copyopt(opts, "securelevel", &slevel, sizeof(slevel));
sys/kern/kern_jail.c
1169
vfs_copyopt(opts, "children.max", &childmax, sizeof(childmax));
sys/kern/kern_jail.c
1177
error = vfs_copyopt(opts, "enforce_statfs", &enforce, sizeof(enforce));
sys/kern/kern_jail.c
1188
error = vfs_copyopt(opts, "devfs_ruleset", &rsnum, sizeof(rsnum));
sys/kern/kern_jail.c
1200
vfs_flagopt(opts, bf->name, &pr_flags, bf->flag);
sys/kern/kern_jail.c
1201
vfs_flagopt(opts, bf->noname, &ch_flags, bf->flag);
sys/kern/kern_jail.c
1207
error = vfs_copyopt(opts, jsf->name, &jsys, sizeof(jsys));
sys/kern/kern_jail.c
1234
vfs_opterror(opts, "new jail must persist or attach");
sys/kern/kern_jail.c
1240
vfs_opterror(opts, "vnet cannot be changed after creation");
sys/kern/kern_jail.c
1247
vfs_opterror(opts, "ip4 cannot be changed after creation");
sys/kern/kern_jail.c
1254
vfs_opterror(opts, "ip6 cannot be changed after creation");
sys/kern/kern_jail.c
1264
vfs_flagopt(opts, bf->name, &pr_allow, bf->flag);
sys/kern/kern_jail.c
1265
vfs_flagopt(opts, bf->noname, &ch_allow, bf->flag);
sys/kern/kern_jail.c
1269
error = vfs_getopt(opts, "name", (void **)&name, &len);
sys/kern/kern_jail.c
1285
error = vfs_getopt(opts, "host.hostname", (void **)&host, &len);
sys/kern/kern_jail.c
1303
error = vfs_getopt(opts, "host.domainname", (void **)&domain, &len);
sys/kern/kern_jail.c
1321
error = vfs_getopt(opts, "host.hostuuid", (void **)&uuid, &len);
sys/kern/kern_jail.c
1343
error = vfs_copyopt(opts, "host.hostid", &hid32, sizeof(hid32));
sys/kern/kern_jail.c
1347
error = vfs_copyopt(opts, "host.hostid", &hid, sizeof(hid));
sys/kern/kern_jail.c
1360
error = mac_set_prison_prepare(td, opts, &mac_set_prison_data);
sys/kern/kern_jail.c
1370
error = vfs_getopt(opts, "ip4.addr", &op, &ip4s);
sys/kern/kern_jail.c
1385
vfs_opterror(opts, "too many IPv4 addresses");
sys/kern/kern_jail.c
1398
error = vfs_getopt(opts, "ip6.addr", &op, &ip6s);
sys/kern/kern_jail.c
1413
vfs_opterror(opts, "too many IPv6 addresses");
sys/kern/kern_jail.c
1428
vfs_opterror(opts,
sys/kern/kern_jail.c
1434
error = vfs_getopt(opts, "osrelease", (void **)&osrelstr, &len);
sys/kern/kern_jail.c
1442
vfs_opterror(opts,
sys/kern/kern_jail.c
1452
vfs_opterror(opts,
sys/kern/kern_jail.c
1459
error = vfs_copyopt(opts, "osreldate", &osreldt, sizeof(osreldt));
sys/kern/kern_jail.c
1467
vfs_opterror(opts,
sys/kern/kern_jail.c
1473
vfs_opterror(opts, "osreldate cannot be 0");
sys/kern/kern_jail.c
1479
error = vfs_getopt(opts, "path", (void **)&path, &len);
sys/kern/kern_jail.c
1487
vfs_opterror(opts,
sys/kern/kern_jail.c
1544
vfs_opterror(opts, error == ENOENT ?
sys/kern/kern_jail.c
1560
vfs_opterror(opts, "jail %d already exists",
sys/kern/kern_jail.c
1569
vfs_opterror(opts, "jail %d is dying", pr->pr_id);
sys/kern/kern_jail.c
1574
vfs_opterror(opts, "cannot change jid");
sys/kern/kern_jail.c
1581
vfs_opterror(opts, "negative jid");
sys/kern/kern_jail.c
1610
vfs_opterror(opts, "jail %d already exists", jid);
sys/kern/kern_jail.c
1623
vfs_opterror(opts, "jail %d not found", jid);
sys/kern/kern_jail.c
1649
vfs_opterror(opts,
sys/kern/kern_jail.c
1658
vfs_opterror(opts,
sys/kern/kern_jail.c
1665
vfs_opterror(opts,
sys/kern/kern_jail.c
1686
vfs_opterror(opts,
sys/kern/kern_jail.c
1706
vfs_opterror(opts, "jail \"%s\" not found",
sys/kern/kern_jail.c
1715
vfs_opterror(opts, "update specified no jail");
sys/kern/kern_jail.c
1723
error = mac_prison_check_create(td->td_ucred, opts, flags);
sys/kern/kern_jail.c
1730
vfs_opterror(opts, "prison limit exceeded");
sys/kern/kern_jail.c
1744
vfs_opterror(opts, "no available jail IDs");
sys/kern/kern_jail.c
1765
vfs_opterror(opts, "no available jail IDs");
sys/kern/kern_jail.c
1882
error = mac_prison_check_set(td->td_ucred, pr, opts, flags);
sys/kern/kern_jail.c
1890
vfs_opterror(opts,
sys/kern/kern_jail.c
1898
vfs_opterror(opts,
sys/kern/kern_jail.c
1906
vfs_opterror(opts,
sys/kern/kern_jail.c
1961
vfs_opterror(opts, "IPv4 addresses clash");
sys/kern/kern_jail.c
1976
vfs_opterror(opts, "IPv6 addresses clash");
sys/kern/kern_jail.c
1992
vfs_opterror(opts,
sys/kern/kern_jail.c
2028
error = osd_jail_call(pr, PR_METHOD_CHECK, opts);
sys/kern/kern_jail.c
2035
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_jail.c
2038
vfs_opterror(opts, "unknown parameter: %s", opt->name);
sys/kern/kern_jail.c
2208
vfs_opterror(opts, "mac relabel denied");
sys/kern/kern_jail.c
2273
error = osd_jail_call(pr, PR_METHOD_CREATE, opts);
sys/kern/kern_jail.c
2277
error = osd_jail_call(pr, PR_METHOD_SET, opts);
sys/kern/kern_jail.c
2305
vfs_opterror(opts,
sys/kern/kern_jail.c
2314
vfs_opterror(opts, "attach failed");
sys/kern/kern_jail.c
2349
jfd_pos = 2 * vfs_getopt_pos(opts, "desc") + 1;
sys/kern/kern_jail.c
2381
if (vfs_getopt(opts, "errmsg", (void **)&errmsg,
sys/kern/kern_jail.c
2383
errmsg_pos = 2 * vfs_getopt_pos(opts, "errmsg") + 1;
sys/kern/kern_jail.c
2412
if (opts != NULL)
sys/kern/kern_jail.c
2413
vfs_freeopts(opts);
sys/kern/kern_jail.c
2563
struct vfsoptlist *opts;
sys/kern/kern_jail.c
2576
error = vfs_buildopts(optuio, &opts);
sys/kern/kern_jail.c
2579
errmsg_pos = vfs_getopt_pos(opts, "errmsg");
sys/kern/kern_jail.c
2592
error = vfs_copyopt(opts, "desc", &jfd_in, sizeof(jfd_in));
sys/kern/kern_jail.c
2595
vfs_opterror(opts, "missing desc");
sys/kern/kern_jail.c
2602
vfs_opterror(opts, "unexpected desc");
sys/kern/kern_jail.c
2609
vfs_opterror(opts, error == ENOENT ?
sys/kern/kern_jail.c
2624
vfs_opterror(opts, error == ENOENT ?
sys/kern/kern_jail.c
2640
error = vfs_copyopt(opts, "lastjid", &jid, sizeof(jid));
sys/kern/kern_jail.c
2656
opts, flags);
sys/kern/kern_jail.c
2674
vfs_opterror(opts, "no jail after %d", jid);
sys/kern/kern_jail.c
2679
error = vfs_copyopt(opts, "jid", &jid, sizeof(jid));
sys/kern/kern_jail.c
2688
vfs_opterror(opts, "jail %d not found", jid);
sys/kern/kern_jail.c
2694
error = vfs_getopt(opts, "name", (void **)&name, &len);
sys/kern/kern_jail.c
2706
vfs_opterror(opts, "jail \"%s\" not found", name);
sys/kern/kern_jail.c
2711
vfs_opterror(opts, "no jail specified");
sys/kern/kern_jail.c
2717
error = mac_prison_check_get(td->td_ucred, pr, opts, flags);
sys/kern/kern_jail.c
2724
vfs_opterror(opts, "jail %d is dying",
sys/kern/kern_jail.c
2727
vfs_opterror(opts, "jail \"%s\" (%d) is dying",
sys/kern/kern_jail.c
2742
error = vfs_setopt(opts, "desc", &jfd_out, sizeof(jfd_out));
sys/kern/kern_jail.c
2747
error = vfs_setopt(opts, "jid", &pr->pr_id, sizeof(pr->pr_id));
sys/kern/kern_jail.c
2751
error = vfs_setopt(opts, "parent", &i, sizeof(i));
sys/kern/kern_jail.c
2754
error = vfs_setopts(opts, "name", prison_name(mypr, pr));
sys/kern/kern_jail.c
2757
error = vfs_setopt(opts, "cpuset.id", &pr->pr_cpuset->cs_id,
sys/kern/kern_jail.c
2761
error = vfs_setopts(opts, "path", prison_path(mypr, pr));
sys/kern/kern_jail.c
2765
error = vfs_setopt_part(opts, "ip4.addr", pr->pr_addrs[PR_INET]->pr_ip,
sys/kern/kern_jail.c
2772
error = vfs_setopt_part(opts, "ip6.addr", pr->pr_addrs[PR_INET6]->pr_ip,
sys/kern/kern_jail.c
2778
error = vfs_setopt(opts, "securelevel", &pr->pr_securelevel,
sys/kern/kern_jail.c
2782
error = vfs_setopt(opts, "children.cur", &pr->pr_childcount,
sys/kern/kern_jail.c
2786
error = vfs_setopt(opts, "children.max", &pr->pr_childmax,
sys/kern/kern_jail.c
2790
error = vfs_setopts(opts, "host.hostname", pr->pr_hostname);
sys/kern/kern_jail.c
2793
error = vfs_setopts(opts, "host.domainname", pr->pr_domainname);
sys/kern/kern_jail.c
2796
error = vfs_setopts(opts, "host.hostuuid", pr->pr_hostuuid);
sys/kern/kern_jail.c
2803
error = vfs_setopt(opts, "host.hostid", &hid32, sizeof(hid32));
sys/kern/kern_jail.c
2806
error = vfs_setopt(opts, "host.hostid", &pr->pr_hostid,
sys/kern/kern_jail.c
2810
error = vfs_setopt(opts, "enforce_statfs", &pr->pr_enforce_statfs,
sys/kern/kern_jail.c
2814
error = vfs_setopt(opts, "devfs_ruleset", &pr->pr_devfs_rsnum,
sys/kern/kern_jail.c
2822
error = vfs_setopt(opts, bf->name, &i, sizeof(i));
sys/kern/kern_jail.c
2826
error = vfs_setopt(opts, bf->noname, &i, sizeof(i));
sys/kern/kern_jail.c
2837
error = vfs_setopt(opts, jsf->name, &i, sizeof(i));
sys/kern/kern_jail.c
2846
error = vfs_setopt(opts, bf->name, &i, sizeof(i));
sys/kern/kern_jail.c
2850
error = vfs_setopt(opts, bf->noname, &i, sizeof(i));
sys/kern/kern_jail.c
2855
error = vfs_setopt(opts, "dying", &i, sizeof(i));
sys/kern/kern_jail.c
2859
error = vfs_setopt(opts, "nodying", &i, sizeof(i));
sys/kern/kern_jail.c
2862
error = vfs_setopt(opts, "osreldate", &pr->pr_osreldate,
sys/kern/kern_jail.c
2866
error = vfs_setopts(opts, "osrelease", pr->pr_osrelease);
sys/kern/kern_jail.c
2875
error = mac_get_prison(td, pr, opts);
sys/kern/kern_jail.c
2886
error = osd_jail_call(pr, PR_METHOD_GET, opts);
sys/kern/kern_jail.c
2894
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_jail.c
2906
vfs_opterror(opts, "unknown parameter: %s", opt->name);
sys/kern/kern_jail.c
2913
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_jail.c
2948
vfs_getopt(opts, "errmsg", (void **)&errmsg, &errmsg_len);
sys/kern/kern_jail.c
2961
vfs_freeopts(opts);
sys/kern/kern_jailmeta.c
245
struct vfsoptlist *opts = data;
sys/kern/kern_jailmeta.c
269
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_jailmeta.c
398
struct vfsoptlist *opts = data;
sys/kern/kern_jailmeta.c
410
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_jailmeta.c
465
struct vfsoptlist *opts = data;
sys/kern/kern_jailmeta.c
468
TAILQ_FOREACH(opt, opts, link) {
sys/kern/kern_mtxpool.c
114
int opts)
sys/kern/kern_mtxpool.c
125
mtx_init(&pool->mtx_pool_ary[i], mtx_name, NULL, opts);
sys/kern/kern_mtxpool.c
129
mtx_pool_create(const char *mtx_name, int pool_size, int opts)
sys/kern/kern_mtxpool.c
141
mtx_pool_initialize(pool, mtx_name, pool_size, opts);
sys/kern/kern_mutex.c
1032
__mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
sys/kern/kern_mutex.c
1055
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
1072
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
1149
_mtx_init(volatile uintptr_t *c, const char *name, const char *type, int opts)
sys/kern/kern_mutex.c
1157
MPASS((opts & ~(MTX_SPIN | MTX_QUIET | MTX_RECURSE |
sys/kern/kern_mutex.c
1164
if (opts & MTX_SPIN)
sys/kern/kern_mutex.c
1169
if (opts & MTX_QUIET)
sys/kern/kern_mutex.c
1171
if (opts & MTX_RECURSE)
sys/kern/kern_mutex.c
1173
if ((opts & MTX_NOWITNESS) == 0)
sys/kern/kern_mutex.c
1175
if (opts & MTX_DUPOK)
sys/kern/kern_mutex.c
1177
if (opts & MTX_NOPROFILE)
sys/kern/kern_mutex.c
1179
if (opts & MTX_NEW)
sys/kern/kern_mutex.c
278
__mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
294
WITNESS_CHECKORDER(&m->lock_object, (opts & ~MTX_RECURSE) |
sys/kern/kern_mutex.c
300
_mtx_lock_sleep(m, v, opts, file, line);
sys/kern/kern_mutex.c
304
LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file,
sys/kern/kern_mutex.c
306
WITNESS_LOCK(&m->lock_object, (opts & ~MTX_RECURSE) | LOP_EXCLUSIVE,
sys/kern/kern_mutex.c
312
__mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
323
WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
324
LOCK_LOG_LOCK("UNLOCK", &m->lock_object, opts, m->mtx_recurse, file,
sys/kern/kern_mutex.c
329
__mtx_unlock_sleep(c, (uintptr_t)curthread, opts, file, line);
sys/kern/kern_mutex.c
331
__mtx_unlock(m, curthread, opts, file, line);
sys/kern/kern_mutex.c
337
__mtx_lock_spin_flags(volatile uintptr_t *c, int opts, const char *file,
sys/kern/kern_mutex.c
354
(opts & MTX_RECURSE) != 0,
sys/kern/kern_mutex.c
357
opts &= ~MTX_RECURSE;
sys/kern/kern_mutex.c
358
WITNESS_CHECKORDER(&m->lock_object, opts | LOP_NEWORDER | LOP_EXCLUSIVE,
sys/kern/kern_mutex.c
365
_mtx_lock_spin(m, v, opts, file, line);
sys/kern/kern_mutex.c
370
__mtx_lock_spin(m, curthread, opts, file, line);
sys/kern/kern_mutex.c
372
LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file,
sys/kern/kern_mutex.c
374
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
378
__mtx_trylock_spin_flags(volatile uintptr_t *c, int opts, const char *file,
sys/kern/kern_mutex.c
394
KASSERT((opts & MTX_RECURSE) == 0,
sys/kern/kern_mutex.c
397
if (__mtx_trylock_spin(m, curthread, opts, file, line)) {
sys/kern/kern_mutex.c
398
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 1, file, line);
sys/kern/kern_mutex.c
399
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
402
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, 0, file, line);
sys/kern/kern_mutex.c
407
__mtx_unlock_spin_flags(volatile uintptr_t *c, int opts, const char *file,
sys/kern/kern_mutex.c
420
WITNESS_UNLOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_mutex.c
421
LOCK_LOG_LOCK("UNLOCK", &m->lock_object, opts, m->mtx_recurse, file,
sys/kern/kern_mutex.c
434
_mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF)
sys/kern/kern_mutex.c
469
(opts & MTX_RECURSE) != 0)) {
sys/kern/kern_mutex.c
479
opts &= ~MTX_RECURSE;
sys/kern/kern_mutex.c
481
LOCK_LOG_TRY("LOCK", &m->lock_object, opts, rval, file, line);
sys/kern/kern_mutex.c
483
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE | LOP_TRYLOCK,
sys/kern/kern_mutex.c
495
_mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, int line)
sys/kern/kern_mutex.c
500
return (_mtx_trylock_flags_int(m, opts LOCK_FILE_LINE_ARG));
sys/kern/kern_mutex.c
511
__mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, int opts, const char *file,
sys/kern/kern_mutex.c
565
(opts & MTX_RECURSE) != 0,
sys/kern/kern_mutex.c
569
opts &= ~MTX_RECURSE;
sys/kern/kern_mutex.c
573
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
578
opts &= ~MTX_RECURSE;
sys/kern/kern_mutex.c
592
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
720
_mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t v, int opts,
sys/kern/kern_mutex.c
769
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
800
if (LOCK_LOG_TEST(&m->lock_object, opts))
sys/kern/kern_mutex.c
822
thread_lock_validate(struct mtx *m, int opts, const char *file, int line)
sys/kern/kern_mutex.c
834
opts | LOP_NEWORDER | LOP_EXCLUSIVE, file, line, NULL);
sys/kern/kern_mutex.c
837
#define thread_lock_validate(m, opts, file, line) do { } while (0)
sys/kern/kern_mutex.c
843
_thread_lock(struct thread *td, int opts, const char *file, int line)
sys/kern/kern_mutex.c
872
thread_lock_flags_(td, opts, file, line);
sys/kern/kern_mutex.c
880
thread_lock_flags_(struct thread *td, int opts, const char *file, int line)
sys/kern/kern_mutex.c
928
thread_lock_validate(m, opts, file, line);
sys/kern/kern_mutex.c
959
LOCK_LOG_LOCK("LOCK", &m->lock_object, opts, m->mtx_recurse, file,
sys/kern/kern_mutex.c
961
WITNESS_LOCK(&m->lock_object, opts | LOP_EXCLUSIVE, file, line);
sys/kern/kern_rmlock.c
278
rm_init_flags(struct rmlock *rm, const char *name, int opts)
sys/kern/kern_rmlock.c
284
if (!(opts & RM_NOWITNESS))
sys/kern/kern_rmlock.c
286
if (opts & RM_RECURSE)
sys/kern/kern_rmlock.c
288
if (opts & RM_NEW)
sys/kern/kern_rmlock.c
290
if (opts & RM_DUPOK)
sys/kern/kern_rmlock.c
294
if (opts & RM_SLEEPABLE) {
sys/kern/kern_rmlock.c
297
xflags = (opts & RM_NEW ? SX_NEW : 0);
sys/kern/kern_rmlock.c
302
xflags = (opts & RM_NEW ? MTX_NEW : 0);
sys/kern/kern_rwlock.c
223
_rw_init_flags(volatile uintptr_t *c, const char *name, int opts)
sys/kern/kern_rwlock.c
230
MPASS((opts & ~(RW_DUPOK | RW_NOPROFILE | RW_NOWITNESS | RW_QUIET |
sys/kern/kern_rwlock.c
237
if (opts & RW_DUPOK)
sys/kern/kern_rwlock.c
239
if (opts & RW_NOPROFILE)
sys/kern/kern_rwlock.c
241
if (!(opts & RW_NOWITNESS))
sys/kern/kern_rwlock.c
243
if (opts & RW_RECURSE)
sys/kern/kern_rwlock.c
245
if (opts & RW_QUIET)
sys/kern/kern_rwlock.c
247
if (opts & RW_NEW)
sys/kern/kern_sx.c
1017
_sx_slock_hard(struct sx *sx, int opts, uintptr_t x LOCK_FILE_LINE_ARG_DEF)
sys/kern/kern_sx.c
1205
SLEEPQ_SX | ((opts & SX_INTERRUPTIBLE) ?
sys/kern/kern_sx.c
1213
if (!(opts & SX_INTERRUPTIBLE))
sys/kern/kern_sx.c
1260
_sx_slock_int(struct sx *sx, int opts LOCK_FILE_LINE_ARG_DEF)
sys/kern/kern_sx.c
1279
error = _sx_slock_hard(sx, opts, x LOCK_FILE_LINE_ARG);
sys/kern/kern_sx.c
1292
_sx_slock(struct sx *sx, int opts, const char *file, int line)
sys/kern/kern_sx.c
1295
return (_sx_slock_int(sx, opts LOCK_FILE_LINE_ARG));
sys/kern/kern_sx.c
233
sx_init_flags(struct sx *sx, const char *description, int opts)
sys/kern/kern_sx.c
237
MPASS((opts & ~(SX_QUIET | SX_RECURSE | SX_NOWITNESS | SX_DUPOK |
sys/kern/kern_sx.c
244
if (opts & SX_DUPOK)
sys/kern/kern_sx.c
246
if (opts & SX_NOPROFILE)
sys/kern/kern_sx.c
248
if (!(opts & SX_NOWITNESS))
sys/kern/kern_sx.c
250
if (opts & SX_RECURSE)
sys/kern/kern_sx.c
252
if (opts & SX_QUIET)
sys/kern/kern_sx.c
254
if (opts & SX_NEW)
sys/kern/kern_sx.c
314
_sx_xlock(struct sx *sx, int opts, const char *file, int line)
sys/kern/kern_sx.c
330
error = _sx_xlock_hard(sx, x, opts LOCK_FILE_LINE_ARG);
sys/kern/kern_sx.c
564
_sx_xlock_hard(struct sx *sx, uintptr_t x, int opts LOCK_FILE_LINE_ARG_DEF)
sys/kern/kern_sx.c
849
SLEEPQ_SX | ((opts & SX_INTERRUPTIBLE) ?
sys/kern/kern_sx.c
857
if (!(opts & SX_INTERRUPTIBLE))
sys/kern/subr_boot.c
143
opts = strchr(kargs, '-');
sys/kern/subr_boot.c
144
while (opts != NULL) {
sys/kern/subr_boot.c
145
while (*(++opts) != '\0') {
sys/kern/subr_boot.c
146
sw = strchr(howto_switches, *opts);
sys/kern/subr_boot.c
151
opts = strchr(opts, '-');
sys/kern/sysv_msg.c
1535
struct vfsoptlist *opts = data;
sys/kern/sysv_msg.c
1542
error = vfs_copyopt(opts, "sysvmsg", &jsys, sizeof(jsys));
sys/kern/sysv_msg.c
1570
struct vfsoptlist *opts = data;
sys/kern/sysv_msg.c
1578
if (vfs_copyopt(opts, "sysvmsg", &jsys, sizeof(jsys)) == ENOENT)
sys/kern/sysv_msg.c
1579
jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0)
sys/kern/sysv_msg.c
1581
: vfs_flagopt(opts, "allow.nosysvipc", NULL, 0)
sys/kern/sysv_msg.c
1657
struct vfsoptlist *opts = data;
sys/kern/sysv_msg.c
1666
error = vfs_setopt(opts, "sysvmsg", &jsys, sizeof(jsys));
sys/kern/sysv_sem.c
1614
struct vfsoptlist *opts = data;
sys/kern/sysv_sem.c
1621
error = vfs_copyopt(opts, "sysvsem", &jsys, sizeof(jsys));
sys/kern/sysv_sem.c
1649
struct vfsoptlist *opts = data;
sys/kern/sysv_sem.c
1657
if (vfs_copyopt(opts, "sysvsem", &jsys, sizeof(jsys)) == ENOENT)
sys/kern/sysv_sem.c
1658
jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0)
sys/kern/sysv_sem.c
1660
: vfs_flagopt(opts, "allow.nosysvipc", NULL, 0)
sys/kern/sysv_sem.c
1736
struct vfsoptlist *opts = data;
sys/kern/sysv_sem.c
1745
error = vfs_setopt(opts, "sysvsem", &jsys, sizeof(jsys));
sys/kern/sysv_shm.c
1163
struct vfsoptlist *opts = data;
sys/kern/sysv_shm.c
1170
error = vfs_copyopt(opts, "sysvshm", &jsys, sizeof(jsys));
sys/kern/sysv_shm.c
1198
struct vfsoptlist *opts = data;
sys/kern/sysv_shm.c
1207
if (vfs_copyopt(opts, "sysvshm", &jsys, sizeof(jsys)) == ENOENT)
sys/kern/sysv_shm.c
1208
jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0)
sys/kern/sysv_shm.c
1210
: vfs_flagopt(opts, "allow.nosysvipc", NULL, 0)
sys/kern/sysv_shm.c
1286
struct vfsoptlist *opts = data;
sys/kern/sysv_shm.c
1295
error = vfs_setopt(opts, "sysvshm", &jsys, sizeof(jsys));
sys/kern/vfs_mount.c
199
vfs_freeopt(struct vfsoptlist *opts, struct vfsopt *opt)
sys/kern/vfs_mount.c
202
TAILQ_REMOVE(opts, opt, link);
sys/kern/vfs_mount.c
211
vfs_freeopts(struct vfsoptlist *opts)
sys/kern/vfs_mount.c
215
while (!TAILQ_EMPTY(opts)) {
sys/kern/vfs_mount.c
216
opt = TAILQ_FIRST(opts);
sys/kern/vfs_mount.c
217
vfs_freeopt(opts, opt);
sys/kern/vfs_mount.c
219
free(opts, M_MOUNT);
sys/kern/vfs_mount.c
223
vfs_deleteopt(struct vfsoptlist *opts, const char *name)
sys/kern/vfs_mount.c
227
if (opts == NULL)
sys/kern/vfs_mount.c
229
TAILQ_FOREACH_SAFE(opt, opts, link, temp) {
sys/kern/vfs_mount.c
231
vfs_freeopt(opts, opt);
sys/kern/vfs_mount.c
2454
vfs_opterror(struct vfsoptlist *opts, const char *fmt, ...)
sys/kern/vfs_mount.c
2460
error = vfs_getopt(opts, "errmsg", (void **)&errmsg, &len);
sys/kern/vfs_mount.c
2478
vfs_filteropt(struct vfsoptlist *opts, const char **legal)
sys/kern/vfs_mount.c
2485
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2515
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2536
vfs_getopt(struct vfsoptlist *opts, const char *name, void **buf, int *len)
sys/kern/vfs_mount.c
2540
KASSERT(opts != NULL, ("vfs_getopt: caller passed 'opts' as NULL"));
sys/kern/vfs_mount.c
2542
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2556
vfs_getopt_pos(struct vfsoptlist *opts, const char *name)
sys/kern/vfs_mount.c
2560
if (opts == NULL)
sys/kern/vfs_mount.c
2563
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2573
vfs_getopt_size(struct vfsoptlist *opts, const char *name, off_t *value)
sys/kern/vfs_mount.c
2579
error = vfs_getopt(opts, name, (void **)&opt_value, &opt_len);
sys/kern/vfs_mount.c
2614
vfs_getopts(struct vfsoptlist *opts, const char *name, int *error)
sys/kern/vfs_mount.c
2619
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2635
vfs_flagopt(struct vfsoptlist *opts, const char *name, uint64_t *w,
sys/kern/vfs_mount.c
2640
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2654
vfs_scanopt(struct vfsoptlist *opts, const char *name, const char *fmt, ...)
sys/kern/vfs_mount.c
2660
KASSERT(opts != NULL, ("vfs_getopt: caller passed 'opts' as NULL"));
sys/kern/vfs_mount.c
2662
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2679
vfs_setopt(struct vfsoptlist *opts, const char *name, void *value, int len)
sys/kern/vfs_mount.c
2683
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2700
vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value, int len)
sys/kern/vfs_mount.c
2704
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2722
vfs_setopts(struct vfsoptlist *opts, const char *name, const char *value)
sys/kern/vfs_mount.c
2726
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
2748
vfs_copyopt(struct vfsoptlist *opts, const char *name, void *dest, int len)
sys/kern/vfs_mount.c
2752
KASSERT(opts != NULL, ("vfs_copyopt: caller passed 'opts' as NULL"));
sys/kern/vfs_mount.c
2754
TAILQ_FOREACH(opt, opts, link) {
sys/kern/vfs_mount.c
295
vfs_sanitizeopts(struct vfsoptlist *opts)
sys/kern/vfs_mount.c
299
TAILQ_FOREACH_REVERSE(opt, opts, vfsoptlist, link) {
sys/kern/vfs_mount.c
3038
struct vfsoptlist *opts;
sys/kern/vfs_mount.c
304
vfs_freeopt(opts, opt2);
sys/kern/vfs_mount.c
3077
opts = malloc(sizeof(struct vfsoptlist), M_MOUNT, M_WAITOK | M_ZERO);
sys/kern/vfs_mount.c
3078
TAILQ_INIT(opts);
sys/kern/vfs_mount.c
3082
TAILQ_INSERT_TAIL(opts, opt, link);
sys/kern/vfs_mount.c
3083
vfs_mergeopts(opts, mp->mnt_opt);
sys/kern/vfs_mount.c
3084
mp->mnt_optnew = opts;
sys/kern/vfs_mount.c
319
struct vfsoptlist *opts;
sys/kern/vfs_mount.c
325
opts = malloc(sizeof(struct vfsoptlist), M_MOUNT, M_WAITOK);
sys/kern/vfs_mount.c
326
TAILQ_INIT(opts);
sys/kern/vfs_mount.c
355
TAILQ_INSERT_TAIL(opts, opt, link);
sys/kern/vfs_mount.c
384
vfs_sanitizeopts(opts);
sys/kern/vfs_mount.c
385
*options = opts;
sys/kern/vfs_mount.c
388
vfs_freeopts(opts);
sys/kern/vfs_mountroot.c
1129
char *opts;
sys/kern/vfs_mountroot.c
1134
p = opts = strdup(options, M_MOUNT);
sys/kern/vfs_mountroot.c
1135
if (opts == NULL) {
sys/kern/vfs_mountroot.c
1164
free(opts, M_MOUNT);
sys/kern/vfs_mountroot.c
248
struct vfsoptlist *opts;
sys/kern/vfs_mountroot.c
281
opts = malloc(sizeof(struct vfsoptlist), M_MOUNT, M_WAITOK);
sys/kern/vfs_mountroot.c
282
TAILQ_INIT(opts);
sys/kern/vfs_mountroot.c
283
mp->mnt_opt = opts;
sys/kern/vfs_mountroot.c
738
char *dev, *fs, *opts, *tok;
sys/kern/vfs_mountroot.c
763
opts = (error == 0) ? tok : NULL;
sys/kern/vfs_mountroot.c
766
(opts != NULL) ? opts : "");
sys/kern/vfs_mountroot.c
790
ma = parse_mountroot_options(ma, opts);
sys/kern/vfs_mountroot.c
815
if (opts != NULL)
sys/kern/vfs_mountroot.c
816
free(opts, M_TEMP);
sys/net/altq/altq_cbq.c
278
struct cbq_opts *opts;
sys/net/altq/altq_cbq.c
300
opts = &a->pq_u.cbq_opts;
sys/net/altq/altq_cbq.c
307
if (opts->flags & CBQCLF_BORROW)
sys/net/altq/altq_cbq.c
316
if (parent == NULL && (opts->flags & CBQCLF_ROOTCLASS) == 0) {
sys/net/altq/altq_cbq.c
329
switch (opts->flags & CBQCLF_CLASSMASK) {
sys/net/altq/altq_cbq.c
353
if ((opts->flags & CBQCLF_CLASSMASK) == CBQCLF_ROOTCLASS) {
sys/net/altq/altq_cbq.c
354
rmc_init(cbqp->ifnp.ifq_, &cbqp->ifnp, opts->ns_per_byte,
sys/net/altq/altq_cbq.c
356
opts->maxidle, opts->minidle, opts->offtime,
sys/net/altq/altq_cbq.c
357
opts->flags);
sys/net/altq/altq_cbq.c
361
&cbqp->ifnp, opts->ns_per_byte,
sys/net/altq/altq_cbq.c
363
opts->maxidle, opts->minidle, opts->offtime,
sys/net/altq/altq_cbq.c
364
opts->pktsize, opts->flags);
sys/net/altq/altq_cbq.c
376
if ((opts->flags & CBQCLF_CLASSMASK) == CBQCLF_DEFCLASS)
sys/net/altq/altq_codel.c
101
opts = &a->pq_u.codel_opts;
sys/net/altq/altq_codel.c
122
if (opts->target == 0)
sys/net/altq/altq_codel.c
123
opts->target = 5;
sys/net/altq/altq_codel.c
124
if (opts->interval == 0)
sys/net/altq/altq_codel.c
125
opts->interval = 100;
sys/net/altq/altq_codel.c
126
cif->codel.params.target = machclk_freq * opts->target / 1000;
sys/net/altq/altq_codel.c
127
cif->codel.params.interval = machclk_freq * opts->interval / 1000;
sys/net/altq/altq_codel.c
128
cif->codel.params.ecn = opts->ecn;
sys/net/altq/altq_codel.c
94
struct codel_opts *opts;
sys/net/altq/altq_fairq.c
305
u_int bandwidth, struct fairq_opts *opts, int qid)
sys/net/altq/altq_fairq.c
308
int flags = opts->flags;
sys/net/altq/altq_fairq.c
309
u_int nbuckets = opts->nbuckets;
sys/net/altq/altq_fairq.c
383
cl->cl_hogs_m1 = opts->hogs_m1 / 8;
sys/net/altq/altq_fairq.c
384
cl->cl_lssc_m1 = opts->lssc_m1 / 8; /* NOT YET USED */
sys/net/altq/altq_hfsc.c
203
struct hfsc_opts_v1 *opts;
sys/net/altq/altq_hfsc.c
209
opts = &a->pq_u.hfsc_opts;
sys/net/altq/altq_hfsc.c
223
rtsc.m1 = opts->rtsc_m1;
sys/net/altq/altq_hfsc.c
224
rtsc.d = opts->rtsc_d;
sys/net/altq/altq_hfsc.c
225
rtsc.m2 = opts->rtsc_m2;
sys/net/altq/altq_hfsc.c
226
lssc.m1 = opts->lssc_m1;
sys/net/altq/altq_hfsc.c
227
lssc.d = opts->lssc_d;
sys/net/altq/altq_hfsc.c
228
lssc.m2 = opts->lssc_m2;
sys/net/altq/altq_hfsc.c
229
ulsc.m1 = opts->ulsc_m1;
sys/net/altq/altq_hfsc.c
230
ulsc.d = opts->ulsc_d;
sys/net/altq/altq_hfsc.c
231
ulsc.m2 = opts->ulsc_m2;
sys/net/altq/altq_hfsc.c
234
parent, a->qlimit, opts->flags, a->qid);
sys/net/if_gre.c
706
uint32_t *opts;
sys/net/if_gre.c
712
opts = gh->gre_opts;
sys/net/if_gre.c
716
*opts++ = 0;
sys/net/if_gre.c
721
*opts++ = htonl(sc->gre_key);
sys/net/if_gre.c
726
*opts++ = 0;
sys/net/if_gre.c
738
uint32_t *opts;
sys/net/if_gre.c
758
opts = gh->gre_opts;
sys/net/if_gre.c
762
if (((uint16_t *)opts)[1] != 0)
sys/net/if_gre.c
767
opts++;
sys/net/if_gre.c
776
key = ntohl(*opts);
sys/net/if_gre.c
779
opts++;
sys/net/if_gre.c
790
seq = ntohl(*opts);
sys/net/if_gre.c
858
uint32_t *opts;
sys/net/if_gre.c
861
opts = gh->gre_opts;
sys/net/if_gre.c
866
opts++;
sys/net/if_gre.c
868
opts++;
sys/net/if_gre.c
869
*opts = htonl(seq);
sys/net/pfvar.h
665
u_int8_t opts;
sys/netinet/ip_gre.c
124
uint32_t opts)
sys/netinet/ip_gre.c
133
(sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP))
sys/netinet/ip_gre.c
136
if (opts & GRE_UDPENCAP) {
sys/netinet/ip_icmp.c
1003
icmp_send(struct mbuf *m, struct mbuf *opts)
sys/netinet/ip_icmp.c
1028
(void) ip_output(m, opts, NULL, 0, NULL, NULL);
sys/netinet/ip_icmp.c
777
struct mbuf *opts = NULL;
sys/netinet/ip_icmp.c
887
if ((opts = ip_srcroute(m)) == NULL &&
sys/netinet/ip_icmp.c
888
(opts = m_gethdr(M_NOWAIT, MT_DATA))) {
sys/netinet/ip_icmp.c
889
opts->m_len = sizeof(struct in_addr);
sys/netinet/ip_icmp.c
890
mtod(opts, struct in_addr *)->s_addr = 0;
sys/netinet/ip_icmp.c
892
if (opts) {
sys/netinet/ip_icmp.c
896
optlen, opts->m_len);
sys/netinet/ip_icmp.c
918
mtod(opts, caddr_t) + opts->m_len, len);
sys/netinet/ip_icmp.c
919
opts->m_len += len;
sys/netinet/ip_icmp.c
923
cnt = opts->m_len % 4;
sys/netinet/ip_icmp.c
926
*(mtod(opts, caddr_t) + opts->m_len) =
sys/netinet/ip_icmp.c
928
opts->m_len++;
sys/netinet/ip_icmp.c
933
printf("%d\n", opts->m_len);
sys/netinet/ip_icmp.c
940
icmp_send(m, opts);
sys/netinet/ip_icmp.c
942
if (opts)
sys/netinet/ip_icmp.c
943
(void)m_free(opts);
sys/netinet/ip_options.c
399
struct ipopt_tag *opts;
sys/netinet/ip_options.c
401
opts = (struct ipopt_tag *)m_tag_get(PACKET_TAG_IPOPTIONS,
sys/netinet/ip_options.c
403
if (opts == NULL)
sys/netinet/ip_options.c
407
if (olen > sizeof(opts->ip_srcrt) - (1 + sizeof(dst))) {
sys/netinet/ip_options.c
408
m_tag_free((struct m_tag *)opts);
sys/netinet/ip_options.c
411
bcopy(option, opts->ip_srcrt.srcopt, olen);
sys/netinet/ip_options.c
412
opts->ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr);
sys/netinet/ip_options.c
413
opts->ip_srcrt.dst = dst;
sys/netinet/ip_options.c
414
m_tag_prepend(m, (struct m_tag *)opts);
sys/netinet/ip_options.c
427
struct ipopt_tag *opts;
sys/netinet/ip_options.c
429
opts = (struct ipopt_tag *)m_tag_find(m0, PACKET_TAG_IPOPTIONS, NULL);
sys/netinet/ip_options.c
430
if (opts == NULL)
sys/netinet/ip_options.c
433
if (opts->ip_nhops == 0)
sys/netinet/ip_options.c
439
#define OPTSIZ (sizeof(opts->ip_srcrt.nop) + sizeof(opts->ip_srcrt.srcopt))
sys/netinet/ip_options.c
442
m->m_len = opts->ip_nhops * sizeof(struct in_addr) +
sys/netinet/ip_options.c
448
p = &(opts->ip_srcrt.route[opts->ip_nhops - 1]);
sys/netinet/ip_options.c
454
opts->ip_srcrt.nop = IPOPT_NOP;
sys/netinet/ip_options.c
455
opts->ip_srcrt.srcopt[IPOPT_OFFSET] = IPOPT_MINOFF;
sys/netinet/ip_options.c
457
&(opts->ip_srcrt.nop), OPTSIZ);
sys/netinet/ip_options.c
465
while (p >= opts->ip_srcrt.route) {
sys/netinet/ip_options.c
471
*q = opts->ip_srcrt.dst;
sys/netinet/ip_options.c
472
m_tag_delete(m0, (struct m_tag *)opts);
sys/netinet/raw_ip.c
210
struct mbuf *n, *opts = NULL;
sys/netinet/raw_ip.c
232
ip_savecontrol(inp, &opts, ip, n);
sys/netinet/raw_ip.c
235
(struct sockaddr *)ripsrc, n, opts) == 0) {
sys/netinet/raw_ip.c
238
if (opts)
sys/netinet/raw_ip.c
239
m_freem(opts);
sys/netinet/udp_usrreq.c
241
struct mbuf *tmpopts, *opts = NULL;
sys/netinet/udp_usrreq.c
295
(void)ip6_savecontrol_v4(inp, n, &opts, NULL);
sys/netinet/udp_usrreq.c
298
ip_savecontrol(inp, &opts, ip, n);
sys/netinet/udp_usrreq.c
305
if (opts) {
sys/netinet/udp_usrreq.c
306
tmpopts->m_next = opts;
sys/netinet/udp_usrreq.c
307
opts = tmpopts;
sys/netinet/udp_usrreq.c
309
opts = tmpopts;
sys/netinet/udp_usrreq.c
326
if (sbappendaddr_locked(&so->so_rcv, append_sa, n, opts) == 0) {
sys/netinet/udp_usrreq.c
329
if (opts)
sys/netinet/udp_usrreq.c
330
m_freem(opts);
sys/netinet6/icmp6.c
1910
struct mbuf *opts = NULL;
sys/netinet6/icmp6.c
1976
ip6_savecontrol(inp, n, &opts);
sys/netinet6/icmp6.c
1981
(struct sockaddr *)&fromsa, n, opts) == 0) {
sys/netinet6/icmp6.c
1984
if (opts)
sys/netinet6/icmp6.c
1985
m_freem(opts);
sys/netinet6/icmp6.c
1990
opts = NULL;
sys/netinet6/in6_src.c
175
struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct inpcb *inp,
sys/netinet6/in6_src.c
212
if (opts && (pi = opts->ip6po_pktinfo) &&
sys/netinet6/in6_src.c
215
if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp,
sys/netinet6/in6_src.c
280
if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp,
sys/netinet6/in6_src.c
398
if (opts == NULL ||
sys/netinet6/in6_src.c
399
opts->ip6po_prefer_tempaddr == IP6PO_TEMPADDR_SYSTEM) {
sys/netinet6/in6_src.c
401
} else if (opts->ip6po_prefer_tempaddr ==
sys/netinet6/in6_src.c
538
in6_selectsrc_socket(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
551
error = in6_selectsrc(fibnum, dstsock, opts, inp->in6p_moptions,
sys/netinet6/in6_src.c
668
struct ip6_pktopts *opts, uint32_t flowid)
sys/netinet6/in6_src.c
676
if (opts && opts->ip6po_nexthop) {
sys/netinet6/in6_src.c
677
struct route_in6 *ron = &opts->ip6po_nextroute;
sys/netinet6/in6_src.c
678
struct sockaddr_in6 *sin6_next = satosin6(opts->ip6po_nexthop);
sys/netinet6/in6_src.c
698
if (opts && (pi = opts->ip6po_pktinfo) != NULL && pi->ipi6_ifindex) {
sys/netinet6/in6_src.c
713
selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
724
if (opts && (pi = opts->ip6po_pktinfo) != NULL && pi->ipi6_ifindex) {
sys/netinet6/in6_src.c
758
struct nhop_object *nh = lookup_route(fibnum, dstsock, ro, opts, flowid);
sys/netinet6/in6_src.c
788
in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
802
error = selectroute(dstsock, opts, mopts, &sro, retifp, &nh, 1, fibnum, 0);
sys/netinet6/in6_src.c
846
in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
853
return (selectroute(dstsock, opts, mopts, ro, retifp,
sys/netinet6/ip6_gre.c
115
const struct in6_addr *dst, uint32_t opts)
sys/netinet6/ip6_gre.c
124
(sc->gre_options & GRE_UDPENCAP) == (opts & GRE_UDPENCAP))
sys/netinet6/ip6_gre.c
127
if (opts & GRE_UDPENCAP) {
sys/netinet6/raw_ip6.c
188
struct mbuf *opts = NULL;
sys/netinet6/raw_ip6.c
298
ip6_savecontrol(inp, n, &opts);
sys/netinet6/raw_ip6.c
302
(struct sockaddr *)&fromsa, n, opts) == 0) {
sys/netinet6/raw_ip6.c
305
if (opts)
sys/netinet6/raw_ip6.c
306
m_freem(opts);
sys/netinet6/raw_ip6.c
312
opts = NULL;
sys/netinet6/udp6_usrreq.c
141
struct mbuf *opts = NULL, *tmp_opts;
sys/netinet6/udp6_usrreq.c
189
opts = NULL;
sys/netinet6/udp6_usrreq.c
192
ip6_savecontrol(inp, n, &opts);
sys/netinet6/udp6_usrreq.c
198
if (opts) {
sys/netinet6/udp6_usrreq.c
199
tmp_opts->m_next = opts;
sys/netinet6/udp6_usrreq.c
200
opts = tmp_opts;
sys/netinet6/udp6_usrreq.c
202
opts = tmp_opts;
sys/netinet6/udp6_usrreq.c
210
opts) == 0) {
sys/netinet6/udp6_usrreq.c
213
if (opts)
sys/netinet6/udp6_usrreq.c
214
m_freem(opts);
sys/netpfil/ipfilter/netinet/fil.c
108
extern int opts;
sys/netpfil/ipfilter/netinet/fil.c
2395
if (opts & (OPT_VERBOSE|OPT_DEBUG))
sys/netpfil/ipfilter/netinet/ip_htable.c
1414
printhash(iph, bcopywrap, NULL, opts, NULL);
sys/netpfil/ipfilter/netinet/ip_pool.c
1397
printpool(ipl, bcopywrap, NULL, opts, NULL);
sys/netpfil/ipfilter/netinet/ip_state.c
5246
ips = printstate(ips, opts & (OPT_DEBUG|OPT_VERBOSE),
sys/netpfil/pf/pf.c
10738
uint8_t type, length, opts[15 * 4 - sizeof(struct ip)];
sys/netpfil/pf/pf.c
10747
MPASS(end - off <= sizeof(opts));
sys/netpfil/pf/pf.c
10748
m_copydata(pd->m, off, end - off, opts);
sys/netpfil/pf/pf.c
10753
type = opts[off];
sys/netpfil/pf/pf.c
10765
length = opts[off + 1];
sys/netpfil/pf/pf.c
4411
uint8_t opts[MAX_TCPOPTLEN], *opt, *eoh;
sys/netpfil/pf/pf.c
4417
!pf_pull_hdr(pd->m, optsoff, opts, olen, NULL, pd->af))
sys/netpfil/pf/pf.c
4420
eoh = opts + olen;
sys/netpfil/pf/pf.c
4421
opt = opts;
sys/netpfil/pf/pf.c
4422
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf.c
4427
size_t startoff = (opt + i) - opts;
sys/netpfil/pf/pf.c
4442
m_copyback(pd->m, optsoff, olen, (caddr_t)opts);
sys/netpfil/pf/pf.c
5449
pf_find_tcpopt(u_int8_t *opt, u_int8_t *opts, size_t hlen, u_int8_t type,
sys/netpfil/pf/pf.c
5452
uint8_t *eoh = opts + hlen;
sys/netpfil/pf/pf.c
5482
uint8_t opts[MAX_TCPOPTLEN], *opt;
sys/netpfil/pf/pf.c
5487
pd->off + sizeof(struct tcphdr), opts, olen, NULL, pd->af))
sys/netpfil/pf/pf.c
5490
opt = opts;
sys/netpfil/pf/pf.c
5491
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf.c
5507
uint8_t opts[MAX_TCPOPTLEN], *opt;
sys/netpfil/pf/pf.c
5512
pd->off + sizeof(struct tcphdr), opts, olen, NULL, pd->af))
sys/netpfil/pf/pf.c
5515
opt = opts;
sys/netpfil/pf/pf.c
5516
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf.c
6697
if ((r->route.opts & PF_POOL_STICKYADDR) &&
sys/netpfil/pf/pf.c
6714
if ((ctx->nat_pool->opts & PF_POOL_STICKYADDR) &&
sys/netpfil/pf/pf.h
395
u_int8_t opts;
sys/netpfil/pf/pf_ioctl.c
1402
PF_MD5_UPD(pool, opts);
sys/netpfil/pf/pf_ioctl.c
2815
kpool->opts = pool->opts;
sys/netpfil/pf/pf_ioctl.c
3212
if (rule->action == PF_PASS && (rule->rdr.opts & PF_POOL_STICKYADDR ||
sys/netpfil/pf/pf_ioctl.c
3213
rule->nat.opts & PF_POOL_STICKYADDR) && !rule->keep_state) {
sys/netpfil/pf/pf_lb.c
1037
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
sys/netpfil/pf/pf_lb.c
1238
if ((rpool->opts & PF_POOL_TYPEMASK) == PF_POOL_BITMASK)
sys/netpfil/pf/pf_lb.c
312
if (pd->proto == IPPROTO_UDP && (rpool->opts & PF_POOL_ENDPI)) {
sys/netpfil/pf/pf_lb.c
332
if (rpool->opts & PF_POOL_STICKYADDR &&
sys/netpfil/pf/pf_lb.c
333
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE)
sys/netpfil/pf/pf_lb.c
471
(rpool->opts & PF_POOL_ENDPI &&
sys/netpfil/pf/pf_lb.c
490
switch (rpool->opts & PF_POOL_TYPEMASK) {
sys/netpfil/pf/pf_lb.c
630
bool prefer_ipv6_nexthop = rpool->opts & PF_POOL_IPV6NH;
sys/netpfil/pf/pf_lb.c
655
!PF_POOL_DYNTYPE(rpool->opts)) {
sys/netpfil/pf/pf_lb.c
666
!PF_POOL_DYNTYPE(rpool->opts)) {
sys/netpfil/pf/pf_lb.c
678
if (!PF_POOL_DYNTYPE(rpool->opts)) {
sys/netpfil/pf/pf_lb.c
697
pool_type = rpool->opts & PF_POOL_TYPEMASK;
sys/netpfil/pf/pf_lb.c
951
if (rpool->opts & PF_POOL_STICKYADDR &&
sys/netpfil/pf/pf_lb.c
952
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE)
sys/netpfil/pf/pf_nl.c
590
{ .type = PF_PT_OPTS, .off = _OUT(opts), .cb = nlattr_get_uint8 },
sys/netpfil/pf/pf_nl.c
609
nlattr_add_u8(nw, PF_PT_OPTS, pool->opts);
sys/netpfil/pf/pf_norm.c
1520
uint8_t opts[MAX_TCPOPTLEN], *opt;
sys/netpfil/pf/pf_norm.c
1557
pd->off + sizeof(*th), opts, olen, NULL, pd->af))
sys/netpfil/pf/pf_norm.c
1560
opt = opts;
sys/netpfil/pf/pf_norm.c
1561
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf_norm.c
1618
uint8_t opts[MAX_TCPOPTLEN], *opt;
sys/netpfil/pf/pf_norm.c
1660
pf_pull_hdr(pd->m, pd->off + sizeof(*th), opts, olen, NULL, pd->af)) {
sys/netpfil/pf/pf_norm.c
1664
opt = opts;
sys/netpfil/pf/pf_norm.c
1665
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf_norm.c
1691
PF_ALGNMNT(ts - opts));
sys/netpfil/pf/pf_norm.c
1701
PF_ALGNMNT(tsr - opts));
sys/netpfil/pf/pf_norm.c
1712
m_copyback(pd->m, pd->off + sizeof(*th), olen, opts);
sys/netpfil/pf/pf_norm.c
1985
uint8_t opts[MAX_TCPOPTLEN], *opt;
sys/netpfil/pf/pf_norm.c
1990
!pf_pull_hdr(pd->m, optsoff, opts, olen, NULL, pd->af))
sys/netpfil/pf/pf_norm.c
1993
opt = opts;
sys/netpfil/pf/pf_norm.c
1994
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/netpfil/pf/pf_norm.c
2000
size_t mssoffopts = mssp - opts;
sys/netpfil/pf/pf_nv.c
234
PFNV_CHK(pf_nvuint8(nvl, "opts", &kpool->opts));
sys/netpfil/pf/pf_nv.c
264
nvlist_add_number(nvl, "opts", pool->opts);
sys/nfs/nfs_diskless.c
103
char *opts, *o, *otmp;
sys/nfs/nfs_diskless.c
106
opts = strdup(envopts, M_TEMP);
sys/nfs/nfs_diskless.c
107
otmp = opts;
sys/nfs/nfs_diskless.c
150
free(opts, M_TEMP);
sys/security/mac/mac_framework.h
356
int mac_prison_check_create(struct ucred *cred, struct vfsoptlist *opts,
sys/security/mac/mac_framework.h
359
struct vfsoptlist *opts, int flags);
sys/security/mac/mac_framework.h
361
struct vfsoptlist *opts, int flags);
sys/security/mac/mac_policy.h
428
struct vfsoptlist *opts, int flags);
sys/security/mac/mac_policy.h
431
struct vfsoptlist *opts, int flags);
sys/security/mac/mac_policy.h
434
struct vfsoptlist *opts, int flags);
sys/security/mac/mac_prison.c
189
mac_prison_check_create(struct ucred *cred, struct vfsoptlist *opts,
sys/security/mac/mac_prison.c
194
MAC_POLICY_CHECK_NOSLEEP(prison_check_create, cred, opts, flags);
sys/security/mac/mac_prison.c
195
MAC_CHECK_PROBE3(prison_check_create, error, cred, opts, flags);
sys/security/mac/mac_prison.c
204
struct vfsoptlist *opts, int flags)
sys/security/mac/mac_prison.c
209
opts, flags);
sys/security/mac/mac_prison.c
210
MAC_CHECK_PROBE5(prison_check_get, error, cred, pr, pr->pr_label, opts,
sys/security/mac/mac_prison.c
220
struct vfsoptlist *opts, int flags)
sys/security/mac/mac_prison.c
225
opts, flags);
sys/security/mac/mac_prison.c
226
MAC_CHECK_PROBE5(prison_check_set, error, cred, pr, pr->pr_label, opts,
sys/security/mac/mac_syscalls.c
307
struct vfsoptlist *opts)
sys/security/mac/mac_syscalls.c
320
error = vfs_copyopt(opts, "mac.label", &mac32, sizeof(mac32));
sys/security/mac/mac_syscalls.c
327
error = vfs_copyopt(opts, "mac.label", &mac, sizeof(mac));
sys/security/mac/mac_syscalls.c
330
vfs_opterror(opts, "bad mac.label");
sys/security/mac/mac_syscalls.c
354
vfs_opterror(opts, "mac.label: string copy failure");
sys/security/mac/mac_syscalls.c
385
mac_set_prison_prepare(struct thread *const td, struct vfsoptlist *opts,
sys/security/mac/mac_syscalls.c
396
error = vfs_copyopt(opts, "mac.label", &mac32, sizeof(mac32));
sys/security/mac/mac_syscalls.c
403
error = vfs_copyopt(opts, "mac.label", &mac, sizeof(mac));
sys/security/mac/mac_syscalls.c
406
vfs_opterror(opts, "bad mac.label");
sys/security/mac/mac_syscalls.c
412
vfs_opterror(opts, "mac.label: string copy failure");
sys/security/mac/mac_syscalls.c
421
vfs_opterror(opts, "no labelled jail policies");
sys/security/mac/mac_syscalls.c
429
vfs_opterror(opts, "internalize_label error");
sys/security/mac/mac_syscalls.h
35
struct vfsoptlist *opts);
sys/security/mac/mac_syscalls.h
36
int mac_set_prison_prepare(struct thread *const td, struct vfsoptlist *opts,
sys/security/mac_do/mac_do.c
1282
struct vfsoptlist *const opts = data;
sys/security/mac_do/mac_do.c
1291
error = vfs_setopt(opts, "mac.do", &jsys, sizeof(jsys));
sys/security/mac_do/mac_do.c
1295
error = vfs_setopts(opts, "mac.do.rules", rules->string);
sys/security/mac_do/mac_do.c
1319
struct vfsoptlist *opts = data;
sys/security/mac_do/mac_do.c
1323
error = vfs_copyopt(opts, "mac.do", &jsys, sizeof(jsys));
sys/security/mac_do/mac_do.c
1340
error = vfs_getopt(opts, "mac.do.rules", (void**)&rules_string, &size);
sys/security/mac_do/mac_do.c
1350
vfs_opterror(opts, "'mac.do.rules' must be specified "
sys/security/mac_do/mac_do.c
1363
vfs_opterror(opts, "'mac.do.rules' not a proper string");
sys/security/mac_do/mac_do.c
1368
vfs_opterror(opts, "'mdo.rules' too long");
sys/security/mac_do/mac_do.c
1385
vfs_opterror(opts, "'mac.do.rules' specified "
sys/security/mac_do/mac_do.c
1400
struct vfsoptlist *opts = data;
sys/security/mac_do/mac_do.c
1410
error = vfs_copyopt(opts, "mac.do", &jsys, sizeof(jsys));
sys/security/mac_do/mac_do.c
1415
rules_string = vfs_getopts(opts, "mac.do.rules", &error);
sys/security/mac_do/mac_do.c
1450
vfs_opterror(opts,
sys/security/mac_stub/mac_stub.c
880
stub_prison_check_create(struct ucred *cred, struct vfsoptlist *opts, int flags)
sys/security/mac_stub/mac_stub.c
888
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_stub/mac_stub.c
896
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_test/mac_test.c
1690
test_prison_check_create(struct ucred *cred, struct vfsoptlist *opts, int flags)
sys/security/mac_test/mac_test.c
1700
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/security/mac_test/mac_test.c
1711
struct label *prlabel, struct vfsoptlist *opts, int flags)
sys/sys/mount.h
1013
void vfs_freeopts(struct vfsoptlist *opts);
sys/sys/mount.h
1014
void vfs_deleteopt(struct vfsoptlist *opts, const char *name);
sys/sys/mount.h
1016
int vfs_flagopt(struct vfsoptlist *opts, const char *name, uint64_t *w,
sys/sys/mount.h
1019
int vfs_getopt_pos(struct vfsoptlist *opts, const char *name);
sys/sys/mount.h
1020
int vfs_getopt_size(struct vfsoptlist *opts, const char *name,
sys/sys/mount.h
1025
void vfs_opterror(struct vfsoptlist *opts, const char *fmt, ...);
sys/sys/mount.h
1026
int vfs_scanopt(struct vfsoptlist *opts, const char *name, const char *fmt, ...);
sys/sys/mount.h
1027
int vfs_setopt(struct vfsoptlist *opts, const char *name, void *value,
sys/sys/mount.h
1029
int vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value,
sys/sys/mount.h
1031
int vfs_setopts(struct vfsoptlist *opts, const char *name,
sys/sys/mutex.h
100
void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
sys/sys/mutex.h
102
void __mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
sys/sys/mutex.h
112
void _mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t v, int opts,
sys/sys/mutex.h
118
void __mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file,
sys/sys/mutex.h
120
void __mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file,
sys/sys/mutex.h
122
void __mtx_lock_spin_flags(volatile uintptr_t *c, int opts, const char *file,
sys/sys/mutex.h
124
int __mtx_trylock_spin_flags(volatile uintptr_t *c, int opts,
sys/sys/mutex.h
126
void __mtx_unlock_spin_flags(volatile uintptr_t *c, int opts,
sys/sys/mutex.h
136
void _thread_lock(struct thread *td, int opts, const char *file, int line);
sys/sys/mutex.h
234
#define __mtx_lock(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
240
_mtx_lock_sleep((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
251
#define __mtx_lock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
258
_mtx_lock_spin((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
261
#define __mtx_trylock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
277
#define __mtx_lock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
289
#define __mtx_trylock_spin(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
306
#define __mtx_unlock(mp, tid, opts, file, line) __extension__ ({ \
sys/sys/mutex.h
311
_mtx_unlock_sleep((mp), _v, (opts), (file), (line)); \
sys/sys/mutex.h
391
struct mtx_pool *mtx_pool_create(const char *mtx_name, int pool_size, int opts);
sys/sys/mutex.h
413
#define mtx_lock_flags_(m, opts, file, line) \
sys/sys/mutex.h
414
_mtx_lock_flags((m), (opts), (file), (line))
sys/sys/mutex.h
415
#define mtx_unlock_flags_(m, opts, file, line) \
sys/sys/mutex.h
416
_mtx_unlock_flags((m), (opts), (file), (line))
sys/sys/mutex.h
417
#define mtx_lock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
418
_mtx_lock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
419
#define mtx_trylock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
420
_mtx_trylock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
421
#define mtx_unlock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
422
_mtx_unlock_spin_flags((m), (opts), (file), (line))
sys/sys/mutex.h
424
#define mtx_lock_flags_(m, opts, file, line) \
sys/sys/mutex.h
425
__mtx_lock((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
426
#define mtx_unlock_flags_(m, opts, file, line) \
sys/sys/mutex.h
427
__mtx_unlock((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
428
#define mtx_lock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
429
__mtx_lock_spin((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
430
#define mtx_trylock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
431
__mtx_trylock_spin((m), curthread, (opts), (file), (line))
sys/sys/mutex.h
432
#define mtx_unlock_spin_flags_(m, opts, file, line) \
sys/sys/mutex.h
447
#define mtx_lock_flags(m, opts) \
sys/sys/mutex.h
448
mtx_lock_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
449
#define mtx_unlock_flags(m, opts) \
sys/sys/mutex.h
450
mtx_unlock_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
451
#define mtx_lock_spin_flags(m, opts) \
sys/sys/mutex.h
452
mtx_lock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
453
#define mtx_unlock_spin_flags(m, opts) \
sys/sys/mutex.h
454
mtx_unlock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
455
#define mtx_trylock_flags(m, opts) \
sys/sys/mutex.h
456
mtx_trylock_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
457
#define mtx_trylock_spin_flags(m, opts) \
sys/sys/mutex.h
458
mtx_trylock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
sys/sys/mutex.h
522
#define MTX_SYSINIT(name, mtx, desc, opts) \
sys/sys/mutex.h
526
(opts) \
sys/sys/mutex.h
92
int opts);
sys/sys/mutex.h
95
int _mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF);
sys/sys/mutex.h
96
int _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file,
sys/sys/rmlock.h
52
void rm_init_flags(struct rmlock *rm, const char *name, int opts);
sys/sys/rwlock.h
129
void _rw_init_flags(volatile uintptr_t *c, const char *name, int opts);
sys/sys/sx.h
104
void sx_init_flags(struct sx *sx, const char *description, int opts);
sys/sys/sx.h
114
int _sx_slock_int(struct sx *sx, int opts LOCK_FILE_LINE_ARG_DEF);
sys/sys/sx.h
115
int _sx_slock(struct sx *sx, int opts, const char *file, int line);
sys/sys/sx.h
116
int _sx_xlock(struct sx *sx, int opts, const char *file, int line);
sys/sys/sx.h
120
int _sx_xlock_hard(struct sx *sx, uintptr_t x, int opts LOCK_FILE_LINE_ARG_DEF);
sys/sys/sx.h
157
__sx_xlock(struct sx *sx, struct thread *td, int opts, const char *file,
sys/sys/sx.h
166
error = _sx_xlock_hard(sx, v, opts);
sys/sys/sx.h
312
sx_init_flags(struct sx *sx, const char *description, int opts)
tests/sys/netinet/socket_afinet.c
456
int opts[4] = { 0, SO_REUSEADDR, SO_REUSEPORT, SO_REUSEPORT_LB };
tests/sys/netinet/socket_afinet.c
462
for (size_t opti = 0; opti < nitems(opts); opti++) {
tests/sys/netinet/socket_afinet.c
463
s = bind_socket(domain, type, opts[opti], flags[flagi],
tests/sys/netinet/socket_afinet.c
465
for (size_t optj = 0; optj < nitems(opts); optj++) {
tests/sys/netinet/socket_afinet.c
468
opt = opts[optj];
tests/sys/netinet/socket_afinet.c
476
if (opts[opti] != 0 &&
tests/sys/netinet/socket_afinet.c
477
opts[opti] != SO_REUSEADDR && opti == optj)
usr.bin/bintrans/bintrans.c
132
static const struct option opts[] =
usr.bin/bintrans/bintrans.c
142
while ((ch = getopt_long(argc, argv, "+diw:", opts, NULL)) != -1)
usr.bin/bintrans/qp.c
176
static const struct option opts[] =
usr.bin/bintrans/qp.c
184
while ((ch = getopt_long(argc, argv, "+do:ru", opts, NULL)) != -1) {
usr.bin/tftp/main.c
231
char *opts = NULL;
usr.bin/tftp/main.c
250
opts = s + 1;
usr.bin/tftp/main.c
252
if (strncmp(opts, "mode=", 5) == 0) {
usr.bin/tftp/main.c
253
tmode = opts;
usr.sbin/arp/arp.c
115
opts.aflag = true;
usr.sbin/arp/arp.c
121
opts.nflag = true;
usr.sbin/arp/arp.c
133
opts.rifname = optarg;
usr.sbin/arp/arp.c
144
if (opts.rifname) {
usr.sbin/arp/arp.c
146
!(func == F_DELETE && opts.aflag))
usr.sbin/arp/arp.c
148
if ((opts.rifindex = if_nametoindex(opts.rifname)) == 0) {
usr.sbin/arp/arp.c
151
opts.rifname);
usr.sbin/arp/arp.c
153
xo_err(1, "if_nametoindex(%s)", opts.rifname);
usr.sbin/arp/arp.c
158
if (opts.aflag) {
usr.sbin/arp/arp.c
167
print_entries(opts.rifindex, all_addrs);
usr.sbin/arp/arp.c
188
if (opts.aflag) {
usr.sbin/arp/arp.c
327
opts.expire_time = max_age;
usr.sbin/arp/arp.c
329
opts.flags |= RTF_ANNOUNCE;
usr.sbin/arp/arp.c
340
if (opts.flags & RTF_REJECT) {
usr.sbin/arp/arp.c
344
opts.flags |= RTF_BLACKHOLE;
usr.sbin/arp/arp.c
346
if (opts.flags & RTF_BLACKHOLE) {
usr.sbin/arp/arp.c
350
opts.flags |= RTF_REJECT;
usr.sbin/arp/arp.c
358
if ((opts.flags & RTF_ANNOUNCE) && !strcmp(eaddr, "auto")) {
usr.sbin/arp/arp.c
365
if (opts.rifindex == 0)
usr.sbin/arp/arp.c
366
opts.rifindex = ifindex;
usr.sbin/arp/arp.c
439
found = print_entries(opts.rifindex, addr->sin_addr);
usr.sbin/arp/arp.c
444
if (opts.rifname)
usr.sbin/arp/arp.c
445
xo_emit(" on {d:interface/%s}", opts.rifname);
usr.sbin/arp/arp.c
475
opts.flags &= ~RTF_ANNOUNCE;
usr.sbin/arp/arp.c
505
if (opts.flags & RTF_ANNOUNCE) {
usr.sbin/arp/arp.c
510
opts.flags |= RTF_ANNOUNCE;
usr.sbin/arp/arp.c
577
if (opts.rifindex &&
usr.sbin/arp/arp.c
578
(opts.rifindex != sdl->sdl_index))
usr.sbin/arp/arp.c
608
if (!opts.nflag)
usr.sbin/arp/arp.c
618
opts.nflag = true;
usr.sbin/arp/arp.c
772
rtm->rtm_flags = opts.flags;
usr.sbin/arp/arp.c
780
if (opts.expire_time != 0) {
usr.sbin/arp/arp.c
784
rtm->rtm_rmx.rmx_expire = opts.expire_time + tp.tv_sec;
usr.sbin/arp/arp.c
89
struct arp_opts opts = {};
usr.sbin/arp/arp.h
16
extern struct arp_opts opts;
usr.sbin/arp/arp_netlink.c
194
if (!opts.nflag)
usr.sbin/arp/arp_netlink.c
204
opts.nflag = true;
usr.sbin/arp/arp_netlink.c
344
uint32_t ifindex = opts.rifindex;
usr.sbin/arp/arp_netlink.c
393
uint32_t ifindex = opts.rifindex;
usr.sbin/arp/arp_netlink.c
413
ndmsg->ndm_state = (opts.expire_time == 0) ? \
usr.sbin/arp/arp_netlink.c
416
if (opts.flags & RTF_ANNOUNCE)
usr.sbin/arp/arp_netlink.c
418
if (opts.expire_time == 0)
usr.sbin/arp/arp_netlink.c
425
if (opts.expire_time != 0) {
usr.sbin/arp/arp_netlink.c
430
snl_add_msg_attr_u32(&nw, NDAF_NEXT_STATE_TS, now.tv_sec + opts.expire_time);
usr.sbin/bhyve/amd64/pci_lpc.c
100
str = cpy = strdup(opts);
usr.sbin/bhyve/amd64/pci_lpc.c
106
errx(4, "invalid bootrom option \"%s\"", opts);
usr.sbin/bhyve/amd64/pci_lpc.c
133
errx(4, "invalid tpm type \"%s\"", opts);
usr.sbin/bhyve/amd64/pci_lpc.c
139
errx(4, "invalid tpm path \"%s\"", opts);
usr.sbin/bhyve/amd64/pci_lpc.c
93
lpc_device_parse(const char *opts)
usr.sbin/bhyve/block_if.c
447
blockif_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/block_if.c
451
if (opts == NULL)
usr.sbin/bhyve/block_if.c
454
cp = strchr(opts, ',');
usr.sbin/bhyve/block_if.c
456
set_config_value_node(nvl, "path", opts);
usr.sbin/bhyve/block_if.c
459
path = strndup(opts, cp - opts);
usr.sbin/bhyve/block_if.h
68
int blockif_legacy_config(nvlist_t *nvl, const char *opts);
usr.sbin/bhyve/net_backends.c
297
netbe_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/net_backends.c
301
if (opts == NULL)
usr.sbin/bhyve/net_backends.c
304
cp = strchr(opts, ',');
usr.sbin/bhyve/net_backends.c
306
set_config_value_node(nvl, "backend", opts);
usr.sbin/bhyve/net_backends.c
309
backend = strndup(opts, cp - opts);
usr.sbin/bhyve/net_backends.h
44
int netbe_legacy_config(nvlist_t *nvl, const char *opts);
usr.sbin/bhyve/pci_ahci.c
2383
const char *opts)
usr.sbin/bhyve/pci_ahci.c
2391
return (blockif_legacy_config(port_nvl, opts));
usr.sbin/bhyve/pci_ahci.c
2395
pci_ahci_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_ahci.c
2402
if (opts == NULL)
usr.sbin/bhyve/pci_ahci.c
2407
tofree = str = strdup(opts);
usr.sbin/bhyve/pci_ahci.c
2448
pci_ahci_cd_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_ahci.c
2453
return (pci_ahci_legacy_config_port(ports_nvl, 0, "cd", opts));
usr.sbin/bhyve/pci_ahci.c
2457
pci_ahci_hd_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_ahci.c
2462
return (pci_ahci_legacy_config_port(ports_nvl, 0, "hd", opts));
usr.sbin/bhyve/pci_hostbridge.c
69
pci_amd_hostbridge_legacy_config(nvlist_t *nvl, const char *opts __unused)
usr.sbin/bhyve/pci_nvme.c
3384
pci_nvme_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_nvme.c
3388
if (opts == NULL)
usr.sbin/bhyve/pci_nvme.c
3391
if (strncmp(opts, "ram=", 4) == 0) {
usr.sbin/bhyve/pci_nvme.c
3392
cp = strchr(opts, ',');
usr.sbin/bhyve/pci_nvme.c
3394
set_config_value_node(nvl, "ram", opts + 4);
usr.sbin/bhyve/pci_nvme.c
3397
ram = strndup(opts + 4, cp - opts - 4);
usr.sbin/bhyve/pci_nvme.c
3402
return (blockif_legacy_config(nvl, opts));
usr.sbin/bhyve/pci_passthru.c
795
passthru_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_passthru.c
802
if (opts == NULL)
usr.sbin/bhyve/pci_passthru.c
805
cp = strchr(opts, ',');
usr.sbin/bhyve/pci_passthru.c
807
if (strncmp(opts, "ppt", strlen("ppt")) == 0) {
usr.sbin/bhyve/pci_passthru.c
808
tofree = strndup(opts, cp - opts);
usr.sbin/bhyve/pci_passthru.c
811
} else if (sscanf(opts, "pci0:%d:%d:%d", &bus, &slot, &func) == 3 ||
usr.sbin/bhyve/pci_passthru.c
812
sscanf(opts, "pci%d:%d:%d", &bus, &slot, &func) == 3 ||
usr.sbin/bhyve/pci_passthru.c
813
sscanf(opts, "%d/%d/%d", &bus, &slot, &func) == 3) {
usr.sbin/bhyve/pci_passthru.c
821
EPRINTLN("passthru: invalid options \"%s\"", opts);
usr.sbin/bhyve/pci_uart.c
86
pci_uart_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_uart.c
89
if (opts != NULL)
usr.sbin/bhyve/pci_uart.c
90
set_config_value_node(nvl, "path", opts);
usr.sbin/bhyve/pci_virtio_9p.c
221
pci_vt9p_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_virtio_9p.c
225
if (opts == NULL)
usr.sbin/bhyve/pci_virtio_9p.c
228
tokens = tofree = strdup(opts);
usr.sbin/bhyve/pci_virtio_console.c
670
pci_vtcon_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_virtio_console.c
677
tofree = str = strdup(opts);
usr.sbin/bhyve/pci_virtio_input.c
614
pci_vtinput_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_virtio_input.c
616
if (opts == NULL)
usr.sbin/bhyve/pci_virtio_input.c
623
char *cp = strchr(opts, ',');
usr.sbin/bhyve/pci_virtio_input.c
625
set_config_value_node(nvl, "path", opts);
usr.sbin/bhyve/pci_virtio_input.c
628
char *path = strndup(opts, cp - opts);
usr.sbin/bhyve/pci_virtio_scsi.c
1008
pci_vtscsi_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_virtio_scsi.c
1012
if (opts == NULL)
usr.sbin/bhyve/pci_virtio_scsi.c
1015
cp = strchr(opts, ',');
usr.sbin/bhyve/pci_virtio_scsi.c
1017
set_config_value_node(nvl, "dev", opts);
usr.sbin/bhyve/pci_virtio_scsi.c
1020
devname = strndup(opts, cp - opts);
usr.sbin/bhyve/pci_xhci.c
2725
pci_xhci_legacy_config(nvlist_t *nvl, const char *opts)
usr.sbin/bhyve/pci_xhci.c
2732
if (opts == NULL)
usr.sbin/bhyve/pci_xhci.c
2737
tofree = str = strdup(opts);
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
67
bhyvectl_handle_opt(const struct option *opts __unused, int opt __unused)
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1336
bhyvectl_handle_opt(const struct option *opts, int opt)
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1462
usage(opts);
usr.sbin/bhyvectl/bhyvectl.c
147
usage(const struct option *opts)
usr.sbin/bhyvectl/bhyvectl.c
160
for (const struct option *o = opts; o->name; o++) {
usr.sbin/bhyvectl/bhyvectl.c
334
struct option *opts;
usr.sbin/bhyvectl/bhyvectl.c
339
opts = setup_options();
usr.sbin/bhyvectl/bhyvectl.c
346
while ((ch = getopt_long(argc, argv, "", opts, NULL)) != -1) {
usr.sbin/bhyvectl/bhyvectl.c
348
bhyvectl_handle_opt(opts, ch);
usr.sbin/bhyvectl/bhyvectl.c
376
usage(opts);
usr.sbin/bhyvectl/bhyvectl.c
383
usage(opts);
usr.sbin/bhyvectl/bhyvectl.c
390
usage(opts);
usr.sbin/bhyvectl/bhyvectl.c
533
free(opts);
usr.sbin/bhyvectl/bhyvectl.h
48
void bhyvectl_handle_opt(const struct option *opts, int opt);
usr.sbin/bhyvectl/bhyvectl.h
51
void usage(const struct option *opts);
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
67
bhyvectl_handle_opt(const struct option *opts __unused, int opt __unused)
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
148
const char *opts;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
152
opts = "dhnKA:b:C:I:i:l:M:N:o:P:p:r:s:t:U:v:";
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
155
opts = "aDdehnKA:b:C:I:i:l:M:N:o:P:p:r:s:t:U:v:";
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
158
opts = "adehnKA:b:C:I:i:l:o:P:r:s:t:U:v:";
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
164
while ((ch = getopt(argc, argv, opts)) != EOF) {
usr.sbin/ctladm/ctladm.c
258
struct ctladm_opts *opts;
usr.sbin/ctladm/ctladm.c
261
for (opts = table; (opts != NULL) && (opts->optname != NULL);
usr.sbin/ctladm/ctladm.c
262
opts++) {
usr.sbin/ctladm/ctladm.c
263
if (strncmp(opts->optname, arg, strlen(arg)) == 0) {
usr.sbin/ctladm/ctladm.c
264
*cmdnum = opts->cmdnum;
usr.sbin/ctladm/ctladm.c
265
*argnum = opts->argnum;
usr.sbin/ctladm/ctladm.c
266
*subopt = opts->subopt;
usr.sbin/ctladm/ctladm.c
268
if (strcmp(opts->optname, arg) == 0)
usr.sbin/ctladm/ctladm.c
578
char opts[] = "xq";
usr.sbin/ctladm/ctladm.c
590
cctl_portlist(fd, argcx, argvx, opts);
usr.sbin/efibootmgr/efibootmgr.c
1099
memset(&opts, 0, sizeof (bmgr_opts_t));
usr.sbin/efibootmgr/efibootmgr.c
1105
if (!efi_variables_supported() && !opts.find_dev) {
usr.sbin/efibootmgr/efibootmgr.c
1113
if (opts.create)
usr.sbin/efibootmgr/efibootmgr.c
1117
make_boot_var(opts.label ? opts.label : "",
usr.sbin/efibootmgr/efibootmgr.c
1118
opts.loader, opts.kernel, opts.env, opts.dry_run,
usr.sbin/efibootmgr/efibootmgr.c
1119
opts.has_bootnum ? opts.bootnum : -1, opts.set_active);
usr.sbin/efibootmgr/efibootmgr.c
1120
else if (opts.set_active || opts.set_inactive )
usr.sbin/efibootmgr/efibootmgr.c
1121
handle_activity(opts.bootnum, opts.set_active);
usr.sbin/efibootmgr/efibootmgr.c
1122
else if (opts.order != NULL)
usr.sbin/efibootmgr/efibootmgr.c
1123
set_boot_order(opts.order); /* create a new bootorder with opts.order */
usr.sbin/efibootmgr/efibootmgr.c
1124
else if (opts.set_bootnext)
usr.sbin/efibootmgr/efibootmgr.c
1125
handle_bootnext(opts.bootnum);
usr.sbin/efibootmgr/efibootmgr.c
1126
else if (opts.delete_bootnext)
usr.sbin/efibootmgr/efibootmgr.c
1128
else if (opts.delete)
usr.sbin/efibootmgr/efibootmgr.c
1129
delete_bootvar(opts.bootnum);
usr.sbin/efibootmgr/efibootmgr.c
1130
else if (opts.del_timeout)
usr.sbin/efibootmgr/efibootmgr.c
1132
else if (opts.set_timeout)
usr.sbin/efibootmgr/efibootmgr.c
1133
handle_timeout(opts.timeout);
usr.sbin/efibootmgr/efibootmgr.c
1134
else if (opts.esp_device)
usr.sbin/efibootmgr/efibootmgr.c
1135
report_esp_device(opts.device_path, opts.unix_path);
usr.sbin/efibootmgr/efibootmgr.c
1136
else if (opts.fw_ui)
usr.sbin/efibootmgr/efibootmgr.c
1138
else if (opts.no_fw_ui)
usr.sbin/efibootmgr/efibootmgr.c
1140
else if (opts.find_dev)
usr.sbin/efibootmgr/efibootmgr.c
1141
find_efi_device(opts.dev);
usr.sbin/efibootmgr/efibootmgr.c
1143
print_boot_vars(opts.verbose);
usr.sbin/efibootmgr/efibootmgr.c
131
static bmgr_opts_t opts;
usr.sbin/efibootmgr/efibootmgr.c
211
opts.set_inactive = true;
usr.sbin/efibootmgr/efibootmgr.c
214
opts.set_active = true;
usr.sbin/efibootmgr/efibootmgr.c
217
opts.has_bootnum = true;
usr.sbin/efibootmgr/efibootmgr.c
221
opts.bootnum = strtoul(arg, NULL, 16);
usr.sbin/efibootmgr/efibootmgr.c
224
opts.delete = true;
usr.sbin/efibootmgr/efibootmgr.c
227
opts.copy = true;
usr.sbin/efibootmgr/efibootmgr.c
228
opts.cp_src = strtoul(optarg, NULL, 16);
usr.sbin/efibootmgr/efibootmgr.c
232
opts.create = true;
usr.sbin/efibootmgr/efibootmgr.c
235
opts.dry_run = true;
usr.sbin/efibootmgr/efibootmgr.c
238
opts.device_path = true;
usr.sbin/efibootmgr/efibootmgr.c
241
free(opts.env);
usr.sbin/efibootmgr/efibootmgr.c
242
opts.env = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
245
opts.esp_device = true;
usr.sbin/efibootmgr/efibootmgr.c
248
opts.no_fw_ui = true;
usr.sbin/efibootmgr/efibootmgr.c
251
opts.fw_ui = true;
usr.sbin/efibootmgr/efibootmgr.c
258
free(opts.kernel);
usr.sbin/efibootmgr/efibootmgr.c
259
opts.kernel = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
262
free(opts.label);
usr.sbin/efibootmgr/efibootmgr.c
263
opts.label = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
266
free(opts.loader);
usr.sbin/efibootmgr/efibootmgr.c
267
opts.loader = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
268
opts.loader = mangle_loader(opts.loader);
usr.sbin/efibootmgr/efibootmgr.c
271
opts.delete_bootnext = true;
usr.sbin/efibootmgr/efibootmgr.c
274
opts.set_bootnext = true;
usr.sbin/efibootmgr/efibootmgr.c
277
opts.once = true;
usr.sbin/efibootmgr/efibootmgr.c
280
free(opts.order);
usr.sbin/efibootmgr/efibootmgr.c
281
opts.order = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
284
opts.unix_path = true;
usr.sbin/efibootmgr/efibootmgr.c
287
opts.del_timeout = true;
usr.sbin/efibootmgr/efibootmgr.c
290
opts.set_timeout = true;
usr.sbin/efibootmgr/efibootmgr.c
291
opts.timeout = strtoul(optarg, NULL, 10);
usr.sbin/efibootmgr/efibootmgr.c
294
opts.find_dev = true;
usr.sbin/efibootmgr/efibootmgr.c
295
opts.dev = strdup(optarg);
usr.sbin/efibootmgr/efibootmgr.c
298
opts.verbose = true;
usr.sbin/efibootmgr/efibootmgr.c
302
if (opts.create) {
usr.sbin/efibootmgr/efibootmgr.c
303
if (!opts.loader)
usr.sbin/efibootmgr/efibootmgr.c
308
if (opts.order != NULL && *opts.order == '\0')
usr.sbin/efibootmgr/efibootmgr.c
311
if ((opts.set_inactive || opts.set_active) && !opts.has_bootnum)
usr.sbin/efibootmgr/efibootmgr.c
314
if (opts.delete && !opts.has_bootnum)
usr.sbin/efibootmgr/efibootmgr.c
317
if (opts.set_bootnext && !opts.has_bootnum)
usr.sbin/makefs/makefs.h
218
#define FSNODE_EXCLUDE_P(opts, fsnode) \
usr.sbin/makefs/makefs.h
219
((opts)->onlyspec != 0 && ((fsnode)->flags & FSNODE_F_HASSPEC) == 0)
usr.sbin/ndp/ndp.c
1205
(opts.nflag ? NI_NUMERICHOST : 0)) != 0)
usr.sbin/ndp/ndp.c
1207
if (opts.nflag)
usr.sbin/ndp/ndp.c
1258
int ninflags = opts.nflag ? NI_NUMERICHOST : 0;
usr.sbin/ndp/ndp.c
159
struct ndp_opts opts = {};
usr.sbin/ndp/ndp.c
240
opts.nflag = true;
usr.sbin/ndp/ndp.c
243
opts.tflag = true;
usr.sbin/ndp/ndp.c
251
opts.repeat = atoi(optarg);
usr.sbin/ndp/ndp.c
252
if (opts.repeat < 0) {
usr.sbin/ndp/ndp.c
458
opts.expire_time = now.tv_sec + 20 * 60;
usr.sbin/ndp/ndp.c
460
opts.flags |= RTF_ANNOUNCE;
usr.sbin/ndp/ndp.c
535
(opts.nflag ? NI_NUMERICHOST : 0));
usr.sbin/ndp/ndp.c
592
(opts.nflag ? NI_NUMERICHOST : 0));
usr.sbin/ndp/ndp.c
632
if (!opts.tflag && !cflag) {
usr.sbin/ndp/ndp.c
711
sizeof(host_buf), NULL, 0, (opts.nflag ? NI_NUMERICHOST : 0));
usr.sbin/ndp/ndp.c
727
if (opts.tflag)
usr.sbin/ndp/ndp.c
830
if (opts.repeat) {
usr.sbin/ndp/ndp.c
833
sleep(opts.repeat);
usr.sbin/ndp/ndp.c
950
rtm->rtm_flags = opts.flags;
usr.sbin/ndp/ndp.c
958
if (opts.expire_time) {
usr.sbin/ndp/ndp.c
959
rtm->rtm_rmx.rmx_expire = opts.expire_time;
usr.sbin/ndp/ndp.h
16
extern struct ndp_opts opts;
usr.sbin/ndp/ndp_netlink.c
221
sizeof(host_buf), NULL, 0, (opts.nflag ? NI_NUMERICHOST : 0));
usr.sbin/ndp/ndp_netlink.c
224
if (opts.tflag)
usr.sbin/ndp/ndp_netlink.c
324
if (!opts.tflag && !cflag) {
usr.sbin/ndp/ndp_netlink.c
388
if (opts.repeat) {
usr.sbin/ndp/ndp_netlink.c
391
sleep(opts.repeat);
usr.sbin/ndp/ndp_netlink.c
453
(opts.nflag ? NI_NUMERICHOST : 0));
usr.sbin/ndp/ndp_netlink.c
500
if (opts.flags & RTF_ANNOUNCE)
usr.sbin/pstat/pstat.c
110
const char *opts;
usr.sbin/pstat/pstat.c
115
opts = strrchr(argv[0], '/');
usr.sbin/pstat/pstat.c
116
if (opts)
usr.sbin/pstat/pstat.c
117
opts++;
usr.sbin/pstat/pstat.c
119
opts = argv[0];
usr.sbin/pstat/pstat.c
120
if (!strcmp(opts, "swapinfo")) {
usr.sbin/pstat/pstat.c
122
opts = "ghkmM:N:";
usr.sbin/pstat/pstat.c
125
opts = "TM:N:fghkmnst";
usr.sbin/pstat/pstat.c
129
while ((ch = getopt(argc, argv, opts)) != -1)
usr.sbin/rtsold/rtsold.c
123
const char *opts, *pidfilepath, *progname;
usr.sbin/rtsold/rtsold.c
128
opts = "adDfFim1M:O:A:p:R:u";
usr.sbin/rtsold/rtsold.c
132
opts = "adDFiM:O:A:R:u";
usr.sbin/rtsold/rtsold.c
137
while ((ch = getopt(argc, argv, opts)) != -1) {
usr.sbin/vidcontrol/vidcontrol.c
1426
const char *opts;
usr.sbin/vidcontrol/vidcontrol.c
1437
opts = "b:Cc:fg:h:i:M:m:r:S:s:T:t:x";
usr.sbin/vidcontrol/vidcontrol.c
1439
opts = "b:Cc:deE:fg:h:Hi:l:LM:m:pPr:S:s:T:t:x";
usr.sbin/vidcontrol/vidcontrol.c
1441
while ((opt = getopt(argc, argv, opts)) != -1)
usr.sbin/watchdogd/watchdogd.c
515
char *opts, *oldopts;
usr.sbin/watchdogd/watchdogd.c
518
opts = NULL;
usr.sbin/watchdogd/watchdogd.c
520
oldopts = opts;
usr.sbin/watchdogd/watchdogd.c
521
if (asprintf(&opts, "%s%s%s",
usr.sbin/watchdogd/watchdogd.c
529
lopt, badact, opts);
usr.sbin/ypldap/parse.y
725
parse_config(struct env *x_conf, const char *filename, int opts)
usr.sbin/ypldap/parse.y
755
if ((opts & YPLDAP_OPT_VERBOSE) && !sym->used)
usr.sbin/ypldap/ypldap.c
528
opts |= YPLDAP_OPT_NOACTION;
usr.sbin/ypldap/ypldap.c
534
opts |= YPLDAP_OPT_VERBOSE;
usr.sbin/ypldap/ypldap.c
550
if (parse_config(&env, conffile, opts))
usr.sbin/ypldap/ypldap.c
552
if (opts & YPLDAP_OPT_NOACTION) {
usr.sbin/ypldap/ypldap.c
62
int opts = 0;