bin/ksh/c_sh.c
797
Getopt opt;
bin/ksh/c_sh.c
799
ksh_getopt_reset(&opt, 0);
bin/ksh/c_sh.c
800
opt.optind = 0; /* start at the start */
bin/ksh/c_sh.c
801
while ((optc = ksh_getopt(wp, &opt, ":p")) != -1)
bin/ksh/c_sh.c
807
errorf("time: -%s unknown option", opt.optarg);
bin/ksh/c_sh.c
810
opt.optarg);
bin/ksh/c_sh.c
813
if (opt.optind != 0) {
bin/ksh/c_sh.c
814
for (i = 0; i < opt.optind; i++)
bin/ksh/c_sh.c
816
for (i = 0, j = opt.optind; (wp[i] = wp[j]); i++, j++)
bin/pax/options.c
1495
OPLIST *opt;
bin/pax/options.c
1497
if ((opt = ophead) != NULL)
bin/pax/options.c
1499
return(opt);
bin/pax/options.c
1511
OPLIST *opt;
bin/pax/options.c
1519
while ((opt = opt_next()) != NULL)
bin/pax/options.c
1520
(void)fprintf(stderr, "\t%s = %s\n", opt->name, opt->value);
bin/pax/options.c
1537
OPLIST *opt;
bin/pax/options.c
1566
if ((opt = malloc(sizeof(OPLIST))) == NULL) {
bin/pax/options.c
1573
opt->name = frpt;
bin/pax/options.c
1574
opt->value = pt;
bin/pax/options.c
1575
opt->fow = NULL;
bin/pax/options.c
1581
optail = ophead = opt;
bin/pax/options.c
1584
optail->fow = opt;
bin/pax/options.c
1585
optail = opt;
bin/pax/tar.c
1475
OPLIST *opt;
bin/pax/tar.c
1477
while ((opt = opt_next()) != NULL) {
bin/pax/tar.c
1480
opt->name, opt->value);
bin/pax/tar.c
360
OPLIST *opt;
bin/pax/tar.c
362
while ((opt = opt_next()) != NULL) {
bin/pax/tar.c
363
if (strcmp(opt->name, TAR_OPTION) ||
bin/pax/tar.c
364
strcmp(opt->value, TAR_NODIR)) {
bin/pax/tar.c
366
opt->name, opt->value);
bin/pax/tar.c
377
opt->name, opt->value);
lib/libc/gen/auth_subr.c
232
struct authopts *opt;
lib/libc/gen/auth_subr.c
261
while ((opt = as->optlist) != NULL) {
lib/libc/gen/auth_subr.c
262
as->optlist = opt->next;
lib/libc/gen/auth_subr.c
263
free(opt);
lib/libc/gen/auth_subr.c
529
struct authopts *opt;
lib/libc/gen/auth_subr.c
533
if ((opt = malloc(sizeof(*opt) + len)) == NULL)
lib/libc/gen/auth_subr.c
536
opt->opt = (char *)(opt + 1);
lib/libc/gen/auth_subr.c
538
ret = snprintf(opt->opt, len, "%s=%s", n, v);
lib/libc/gen/auth_subr.c
540
free(opt);
lib/libc/gen/auth_subr.c
544
opt->next = as->optlist;
lib/libc/gen/auth_subr.c
545
as->optlist = opt;
lib/libc/gen/auth_subr.c
553
struct authopts *opt;
lib/libc/gen/auth_subr.c
555
while ((opt = as->optlist) != NULL) {
lib/libc/gen/auth_subr.c
556
as->optlist = opt->next;
lib/libc/gen/auth_subr.c
557
free(opt);
lib/libc/gen/auth_subr.c
565
struct authopts *opt, *oopt;
lib/libc/gen/auth_subr.c
570
if ((opt = as->optlist) == NULL)
lib/libc/gen/auth_subr.c
573
if (strncmp(opt->opt, option, len) == 0 &&
lib/libc/gen/auth_subr.c
574
(opt->opt[len] == '=' || opt->opt[len] == '\0')) {
lib/libc/gen/auth_subr.c
575
as->optlist = opt->next;
lib/libc/gen/auth_subr.c
576
free(opt);
lib/libc/gen/auth_subr.c
580
while ((oopt = opt->next) != NULL) {
lib/libc/gen/auth_subr.c
581
if (strncmp(oopt->opt, option, len) == 0 &&
lib/libc/gen/auth_subr.c
582
(oopt->opt[len] == '=' || oopt->opt[len] == '\0')) {
lib/libc/gen/auth_subr.c
583
opt->next = oopt->next;
lib/libc/gen/auth_subr.c
587
opt = oopt;
lib/libc/gen/auth_subr.c
810
struct authopts *opt;
lib/libc/gen/auth_subr.c
83
char *opt;
lib/libc/gen/auth_subr.c
830
for (opt = as->optlist; opt != NULL; opt = opt->next) {
lib/libc/gen/auth_subr.c
833
argv[argc++] = opt->opt;
lib/libc/gen/fts.c
59
#define CLR(opt) (sp->fts_options &= ~(opt))
lib/libc/gen/fts.c
60
#define ISSET(opt) (sp->fts_options & (opt))
lib/libc/gen/fts.c
61
#define SET(opt) (sp->fts_options |= (opt))
lib/libc/net/ip6opt.c
42
static int ip6optlen(u_int8_t *opt, u_int8_t *lim);
lib/libc/net/ip6opt.c
50
ip6optlen(u_int8_t *opt, u_int8_t *lim)
lib/libc/net/ip6opt.c
54
if (*opt == IP6OPT_PAD1)
lib/libc/net/ip6opt.c
58
if (opt + 2 > lim)
lib/libc/net/ip6opt.c
60
optlen = *(opt + 1) + 2;
lib/libc/net/ip6opt.c
62
if (opt + optlen <= lim)
lib/libc/stdlib/malloc.c
401
omalloc_parseopt(char opt)
lib/libc/stdlib/malloc.c
403
switch (opt) {
lib/libc/termios/tcsetattr.c
36
tcsetattr(int fd, int opt, const struct termios *t)
lib/libc/termios/tcsetattr.c
40
if (opt & TCSASOFT) {
lib/libc/termios/tcsetattr.c
45
switch (opt & ~TCSASOFT) {
lib/libcrypto/asn1/asn1t.h
714
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx);
lib/libcrypto/asn1/asn1t.h
989
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx);
lib/libcrypto/asn1/x_name.c
300
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
lib/libcrypto/asn1/x_name.c
318
&X509_NAME_INTERNAL_it, tag, aclass, opt, ctx);
lib/libcrypto/asn1/x_name.c
74
long len, const ASN1_ITEM *it, int tag, int aclass, char opt,
lib/libcrypto/asn1/x_pubkey.c
376
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
lib/libcrypto/asn1/x_pubkey.c
476
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
lib/libcrypto/asn1/x_pubkey.c
572
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
lib/libcrypto/asn1/x_pubkey.c
669
const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
lib/libcurses/nc_termios.h
149
#define tcsetattr(fd, opt, arg) _nc_mingw_tcsetattr(fd, opt, arg)
lib/libexpat/tests/runtests.c
88
char *opt = argv[i];
lib/libexpat/tests/runtests.c
89
if (strcmp(opt, "-v") == 0 || strcmp(opt, "--verbose") == 0)
lib/libexpat/tests/runtests.c
91
else if (strcmp(opt, "-q") == 0 || strcmp(opt, "--quiet") == 0)
lib/libexpat/tests/runtests.c
94
fprintf(stderr, "runtests: unknown option '%s'\n", opt);
lib/libfido2/src/pin.c
670
const char *rpid, cbor_item_t **auth, cbor_item_t **opt, int *ms)
lib/libfido2/src/pin.c
687
(*opt = cbor_encode_pin_opt(dev)) == NULL) {
lib/libfuse/fuse.c
213
fuse_is_lib_option(const char *opt)
lib/libfuse/fuse.c
215
return (fuse_opt_match(fuse_lib_opts, opt));
lib/libfuse/fuse.c
414
struct fuse_core_opts *opt = data;
lib/libfuse/fuse.c
425
opt->foreground = 1;
lib/libfuse/fuse.c
435
if (opt->mp == NULL) {
lib/libfuse/fuse.c
436
opt->mp = realpath(arg, opt->mp);
lib/libfuse/fuse.c
437
if (opt->mp == NULL) {
lib/libfuse/fuse.c
443
res = stat(opt->mp, &st);
lib/libfuse/fuse.c
466
struct fuse_core_opts opt;
lib/libfuse/fuse.c
468
memset(&opt, 0, sizeof(opt));
lib/libfuse/fuse.c
469
if (fuse_opt_parse(args, &opt, fuse_core_opts, ifuse_process_opt) == -1)
lib/libfuse/fuse.c
472
if (opt.mp == NULL) {
lib/libfuse/fuse.c
478
*mp = strdup(opt.mp);
lib/libfuse/fuse.c
487
*fg = opt.foreground;
lib/libfuse/fuse_opt.c
104
*opts = strdup(opt);
lib/libfuse/fuse_opt.c
110
if (asprintf(&new_opts, "%s,%s", *opts, opt) == -1)
lib/libfuse/fuse_opt.c
119
fuse_opt_add_opt(char **opts, const char *opt)
lib/libfuse/fuse_opt.c
123
if (opt == NULL || opt[0] == '\0')
lib/libfuse/fuse_opt.c
126
ret = add_opt(opts, opt);
lib/libfuse/fuse_opt.c
132
fuse_opt_add_opt_escaped(char **opts, const char *opt)
lib/libfuse/fuse_opt.c
135
const char *s = opt;
lib/libfuse/fuse_opt.c
139
if (opt == NULL || opt[0] == '\0')
lib/libfuse/fuse_opt.c
158
s = opt;
lib/libfuse/fuse_opt.c
172
escaped_opt = strdup(opt);
lib/libfuse/fuse_opt.c
191
parse_opt(const struct fuse_opt *o, const char *opt, void *data,
lib/libfuse/fuse_opt.c
201
sep = match_opt(o->templ, opt);
lib/libfuse/fuse_opt.c
206
val = opt;
lib/libfuse/fuse_opt.c
210
val = &opt[sep + 1];
lib/libfuse/fuse_opt.c
212
if (sep == strlen(opt)) {
lib/libfuse/fuse_opt.c
216
val = &opt[sep];
lib/libfuse/fuse_opt.c
239
if (sscanf(opt, o->templ, data + o->off) != 1) {
lib/libfuse/fuse_opt.c
252
return f(data, opt, FUSE_OPT_KEY_OPT, arg);
lib/libfuse/fuse_opt.c
266
const struct fuse_opt *opt, fuse_opt_proc_t f)
lib/libfuse/fuse_opt.c
311
ret = parse_opt(opt, ap, data, f, &outargs);
lib/libfuse/fuse_opt.c
323
ret = parse_opt(opt, arg, data, f, &outargs);
lib/libfuse/fuse_opt.c
338
ret = parse_opt(opt, tofree, data, f, &outargs);
lib/libfuse/fuse_opt.c
415
fuse_opt_match(const struct fuse_opt *opts, const char *opt)
lib/libfuse/fuse_opt.c
419
if (opt == NULL || opt[0] == '\0')
lib/libfuse/fuse_opt.c
423
if (match_opt(this_opt->templ, opt))
lib/libfuse/fuse_opt.c
74
match_opt(const char *templ, const char *opt)
lib/libfuse/fuse_opt.c
86
if (strncmp(opt, templ, sep) == 0)
lib/libfuse/fuse_opt.c
92
if (strcmp(opt, templ) == 0)
lib/libfuse/fuse_opt.c
99
add_opt(char **opts, const char *opt)
lib/libmenu/m_cursor.c
100
if ((menu->opt & O_SHOWMATCH) && (menu->pindex > 0))
lib/libmenu/m_driver.c
164
if (Is_Sub_String((bool)((menu->opt & O_IGNORECASE) != 0),
lib/libmenu/m_driver.c
344
if (menu->opt & O_NONCYCLIC)
lib/libmenu/m_driver.c
357
if (menu->opt & O_NONCYCLIC)
lib/libmenu/m_driver.c
368
if (menu->opt & O_ONEVALUE)
lib/libmenu/m_driver.c
374
if (menu->curitem->opt & O_SELECTABLE)
lib/libmenu/m_driver.c
413
if (menu->opt & O_NONCYCLIC)
lib/libmenu/m_driver.c
432
if (menu->opt & O_NONCYCLIC)
lib/libmenu/m_driver.c
543
if (menu->opt & O_MOUSE_MENU)
lib/libmenu/m_format.c
93
total_cols = (menu->opt & O_ROWMAJOR) ?
lib/libmenu/m_global.c
198
if (menu->opt & O_ONEVALUE)
lib/libmenu/m_global.c
351
if ((menu->opt & O_SHOWDESC) && (menu->desclen > 0))
lib/libmenu/m_global.c
389
bool cycle = (menu->opt & O_NONCYCLIC) ? FALSE : TRUE;
lib/libmenu/m_global.c
393
if (menu->opt & O_ROWMAJOR)
lib/libmenu/m_item_opt.c
113
opts = citem->opt & ~(opts & ALL_ITEM_OPTS);
lib/libmenu/m_item_opt.c
142
opts = citem->opt | opts;
lib/libmenu/m_item_opt.c
159
returnItemOpts(ALL_ITEM_OPTS & Normalize_Item(item)->opt);
lib/libmenu/m_item_opt.c
68
if (item->opt != opts)
lib/libmenu/m_item_opt.c
72
item->opt = opts;
lib/libmenu/m_item_opt.c
85
_nc_Default_Item.opt = opts;
lib/libmenu/m_item_top.c
80
item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row];
lib/libmenu/m_item_val.c
66
if ((!(item->opt & O_SELECTABLE)) ||
lib/libmenu/m_item_val.c
67
(menu && (menu->opt & O_ONEVALUE)))
lib/libmenu/m_opts.c
100
_nc_Default_Menu.opt = opts;
lib/libmenu/m_opts.c
133
opts = cmenu->opt & ~opts;
lib/libmenu/m_opts.c
166
opts = cmenu->opt | opts;
lib/libmenu/m_opts.c
183
returnMenuOpts(ALL_MENU_OPTS & Normalize_Menu(menu)->opt);
lib/libmenu/m_opts.c
73
if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR))
lib/libmenu/m_opts.c
85
menu->opt = opts;
lib/libmenu/m_post.c
104
if (!(item->opt & O_SELECTABLE))
lib/libmenu/m_post.c
132
if ((menu->opt & O_SHOWDESC) && menu->desclen > 0)
lib/libmenu/m_post.c
217
lastvert = (menu->opt & O_NONCYCLIC) ? (ITEM *)0 : item;
lib/libmenu/m_post.c
230
lasthor = (menu->opt & O_NONCYCLIC) ? (ITEM *)0 : hitem;
lib/libmenu/m_post.c
319
if (!(menu->opt & O_ONEVALUE))
lib/libmenu/m_post.c
82
if (!(menu->opt & O_ONEVALUE) && item->value && item != menu->curitem)
lib/libmenu/menu.h
153
Menu_Options opt; /* Menu options */
lib/libmenu/menu.h
96
Item_Options opt; /* Item options */
lib/libpcap/pcap-bpf.c
306
(void)strlcpy(req.ifm_name, p->opt.source,
lib/libpcap/pcap-bpf.c
321
p->opt.source,
lib/libpcap/pcap-bpf.c
370
free(p->opt.source);
lib/libpcap/pcap-bpf.c
400
p->opt.source, pcap_strerror(errno));
lib/libpcap/pcap-bpf.c
452
if (p->opt.buffer_size != 0) {
lib/libpcap/pcap-bpf.c
457
(caddr_t)&p->opt.buffer_size) == -1) {
lib/libpcap/pcap-bpf.c
459
"BIOCSBLEN: %s: %s", p->opt.source,
lib/libpcap/pcap-bpf.c
469
(void)strlcpy(ifr.ifr_name, p->opt.source, sizeof(ifr.ifr_name));
lib/libpcap/pcap-bpf.c
498
if (p->opt.rfmon) {
lib/libpcap/pcap-bpf.c
552
if (p->opt.immediate) {
lib/libpcap/pcap-bpf.c
562
if (p->opt.promisc) {
lib/libpcap/pcap-bpf.c
627
(void)strlcpy(req.ifm_name, p->opt.source, sizeof req.ifm_name);
lib/libpcap/pcap-bpf.c
740
(void)strlcpy(ifr.ifr_name, p->opt.source,
lib/libpcap/pcap-bpf.c
830
p->opt.source = strdup(device);
lib/libpcap/pcap-bpf.c
831
if (p->opt.source == NULL) {
lib/libpcap/pcap-bpf.c
841
p->opt.promisc = 0;
lib/libpcap/pcap-bpf.c
842
p->opt.buffer_size = 0;
lib/libpcap/pcap-bpf.c
843
p->opt.immediate = 0;
lib/libpcap/pcap-int.h
91
struct pcap_opt opt;
lib/libpcap/pcap.c
203
p->opt.promisc = promisc;
lib/libpcap/pcap.c
212
p->opt.rfmon = rfmon;
lib/libpcap/pcap.c
230
p->opt.immediate = immediate;
lib/libpcap/pcap.c
239
p->opt.buffer_size = buffer_size;
lib/libsndio/amsg.h
116
char opt[AMSG_OPTMAX]; /* profile name */
lib/libsndio/aucat.c
290
int s, error, opt;
lib/libsndio/aucat.c
325
opt = 1;
lib/libsndio/aucat.c
326
if (setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(int)) == -1) {
lib/libsndio/aucat.c
396
char host[NI_MAXHOST], opt[AMSG_OPTMAX];
lib/libsndio/aucat.c
430
p = parsestr(p, opt, AMSG_OPTMAX);
lib/libsndio/aucat.c
438
p = parsestr(++p, opt, AMSG_OPTMAX);
lib/libsndio/aucat.c
442
strlcpy(opt, "default", AMSG_OPTMAX);
lib/libsndio/aucat.c
448
memset(opt, 0, sizeof(opt));
lib/libsndio/aucat.c
456
host, unit, devnum, opt);
lib/libsndio/aucat.c
488
strlcpy(hdl->wmsg.u.hello.opt, opt,
lib/libsndio/aucat.c
489
sizeof(hdl->wmsg.u.hello.opt));
libexec/ftpd/ftpd.c
1270
int opt, s, t, tries;
libexec/ftpd/ftpd.c
1278
opt = 1;
libexec/ftpd/ftpd.c
1280
&opt, sizeof(opt)) == -1)
libexec/ftpd/ftpd.c
1295
opt = IPTOS_THROUGHPUT;
libexec/ftpd/ftpd.c
1298
if (setsockopt(s, IPPROTO_IP, IP_TOS, &opt,
libexec/ftpd/ftpd.c
1299
sizeof(opt)) == -1)
libexec/ftpd/ftpd.c
1303
if (setsockopt(s, IPPROTO_IPV6, IPV6_TCLASS, &opt,
libexec/ftpd/ftpd.c
1304
sizeof(opt)) == -1)
libexec/ftpd/ftpd.c
1314
opt = 1;
libexec/ftpd/ftpd.c
1315
if (setsockopt(s, IPPROTO_TCP, TCP_NOPUSH, &opt, sizeof(opt)) == -1)
libexec/ftpd/ftpd.c
1317
opt = 65536;
libexec/ftpd/ftpd.c
1318
if (setsockopt(s, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)) == -1)
libexec/rpc.rquotad/rquotad.c
286
char *opt, *cp;
libexec/rpc.rquotad/rquotad.c
296
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
libexec/rpc.rquotad/rquotad.c
297
if ((cp = strchr(opt, '=')))
libexec/rpc.rquotad/rquotad.c
299
if (strcmp(opt, usrname) == 0)
libexec/rpc.rquotad/rquotad.c
302
if (!opt)
libexec/snmpd/snmpd_metrics/kroute.c
159
int opt = 0, rcvbuf, default_rcvbuf;
libexec/snmpd/snmpd_metrics/kroute.c
171
&opt, sizeof(opt)) == -1)
libexec/tradcpp/main.c
850
check_ignore_option(const char *opt)
libexec/tradcpp/main.c
856
r = strcmp(opt, ignore_options[i].string);
libexec/tradcpp/main.c
869
check_flag_option(const char *opt)
libexec/tradcpp/main.c
875
r = strcmp(opt, flag_options[i].string);
libexec/tradcpp/main.c
889
check_act_option(const char *opt)
libexec/tradcpp/main.c
895
r = strcmp(opt, act_options[i].string);
libexec/tradcpp/main.c
909
check_prefix_option(const struct place *p, char *opt)
libexec/tradcpp/main.c
916
r = strncmp(opt, prefix_options[i].string, len);
libexec/tradcpp/main.c
918
prefix_options[i].func(p, opt + len);
libexec/tradcpp/main.c
930
check_arg_option(const char *opt, const struct place *argplace, char *arg)
libexec/tradcpp/main.c
936
r = strcmp(opt, arg_options[i].string);
libexec/tradcpp/main.c
941
opt);
regress/lib/libc/arc4random-fork/arc4random-fork.c
100
while ((opt = getopt(argc, argv, "bp")) != -1) {
regress/lib/libc/arc4random-fork/arc4random-fork.c
101
switch (opt) {
regress/lib/libc/arc4random-fork/arc4random-fork.c
89
int opt, status;
regress/lib/libc/ieeefp/infinity/infinity.c
21
int opt;
regress/lib/libc/ieeefp/infinity/infinity.c
26
while ((opt = getopt(argc, argv, "amnp")) != -1)
regress/lib/libc/ieeefp/infinity/infinity.c
27
method = (char)opt;
regress/lib/libc/regex/main.c
163
if (opt('&', f[1])) /* try with either type of RE */
regress/lib/libc/regex/main.c
232
if (err != 0 && (!opt('C', f1) || err != efind(f2))) {
regress/lib/libc/regex/main.c
239
} else if (err == 0 && opt('C', f1)) {
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
24
char *opt = NULL;
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
34
if (fuse_opt_add_opt_escaped(&opt, "-a") != 0)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
36
if (fuse_opt_add_opt_escaped(&opt, ",a,b,c") != 0)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
38
if (fuse_opt_add_opt_escaped(&opt, "\\,\\,,,,\\\\,") != 0)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
40
if (fuse_opt_add_opt_escaped(&opt, "test") != 0)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
43
if (fuse_opt_add_opt_escaped(&opt, NULL) != -1)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
45
if (fuse_opt_add_opt_escaped(&opt, "") != -1)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
48
return (strcmp(opt, opt2));
regress/lib/libfuse/fuse-opt-add-opt.c
24
char *opt = NULL;
regress/lib/libfuse/fuse-opt-add-opt.c
34
if (fuse_opt_add_opt(&opt, "-a") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
36
if (fuse_opt_add_opt(&opt, "--bc") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
38
if (fuse_opt_add_opt(&opt, "01234") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
40
if (fuse_opt_add_opt(&opt, "-56789") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
42
if (fuse_opt_add_opt(&opt, "-o test1") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
44
if (fuse_opt_add_opt(&opt, "test") != 0)
regress/lib/libfuse/fuse-opt-add-opt.c
47
if (fuse_opt_add_opt(&opt, NULL) != -1)
regress/lib/libfuse/fuse-opt-add-opt.c
49
if (fuse_opt_add_opt(&opt, "") != -1)
regress/lib/libfuse/fuse-opt-add-opt.c
52
return (strcmp(opt, opt2));
regress/sys/netinet/bindconnect/bindconnect.c
167
int opt;
regress/sys/netinet/bindconnect/bindconnect.c
172
opt = 1;
regress/sys/netinet/bindconnect/bindconnect.c
173
setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt));
regress/usr.bin/openssl/options/optionstest.c
45
.opt.arg = &test_config.arg,
regress/usr.bin/openssl/options/optionstest.c
51
.opt.argfunc = argfunc,
regress/usr.bin/openssl/options/optionstest.c
56
.opt.flag = &test_config.flag,
regress/usr.bin/openssl/options/optionstest.c
61
.opt.argvfunc = multiarg,
regress/usr.bin/openssl/options/optionstest.c
66
.opt.argvfunc = defaultarg,
sbin/dhcp6leased/dhcp6leased.c
910
int udpsock = -1, rdomain = -1, opt = 1;
sbin/dhcp6leased/dhcp6leased.c
975
if (setsockopt(udpsock, SOL_SOCKET, SO_REUSEADDR, &opt,
sbin/dhcp6leased/dhcp6leased.c
976
sizeof(opt)) == -1)
sbin/dhcpleased/dhcpleased.c
805
int found = 0, udpsock, opt = 1, len, fd = -1;
sbin/dhcpleased/dhcpleased.c
878
if (setsockopt(udpsock, SOL_SOCKET, SO_REUSEADDR, &opt,
sbin/dhcpleased/dhcpleased.c
879
sizeof(opt)) == -1)
sbin/fsck/fsck.c
498
char *opt, *optbuf;
sbin/fsck/fsck.c
504
for (opt = optbuf; !found && opt != NULL; strsep(&opt, ","))
sbin/fsck/fsck.c
505
found = !strncmp(opt, option, strlen(option));
sbin/mount/getmntopts.c
110
errx(1, "-o %s: option not supported", opt);
sbin/mount/getmntopts.c
120
opt, value);
sbin/mount/getmntopts.c
67
char *opt, *value, *endp;
sbin/mount/getmntopts.c
75
opt = strsep(optionp, ",");
sbin/mount/getmntopts.c
76
} while (opt == NULL || *opt == '\0');
sbin/mount/getmntopts.c
79
if (opt[0] == 'n' && opt[1] == 'o') {
sbin/mount/getmntopts.c
81
opt += 2;
sbin/mount/getmntopts.c
86
if ((value = strchr(opt, '=')) != NULL)
sbin/mount/getmntopts.c
91
if (strcasecmp(opt, m->m_option) == 0)
sbin/mount/getmntopts.c
98
errx(1, "-o %s: option %s a value", opt,
sbin/mount/mount.c
304
char *opt, *optbuf;
sbin/mount/mount.c
311
for (opt = optbuf; !found && opt != NULL; strsep(&opt, ","))
sbin/mount/mount.c
312
found = !strncmp(opt, option, strlen(option));
sbin/mount/mount.c
324
struct opt *p;
sbin/mount/mount.c
477
struct opt *o;
sbin/newfs/mkfs.c
455
sblock.fs_optim = opt;
sbin/newfs/mkfs.c
99
extern int opt; /* optimization preference (space or time) */
sbin/newfs/newfs.c
131
int opt = DEFAULTOPT; /* optimization preference (space or time) */
sbin/newfs/newfs.c
277
reqopt = opt = FS_OPTSPACE;
sbin/newfs/newfs.c
279
reqopt = opt = FS_OPTTIME;
sbin/newfs/newfs.c
485
if (minfree < MINFREE && opt != FS_OPTSPACE && reqopt == -1) {
sbin/newfs/newfs.c
488
opt = FS_OPTSPACE;
sbin/pfctl/pfctl.c
2380
pfctl_set_limit(struct pfctl *pf, const char *opt, unsigned int limit)
sbin/pfctl/pfctl.c
2385
if (strcasecmp(opt, pf_limits[i].name) == 0) {
sbin/pfctl/pfctl.c
2397
printf("set limit %s %d\n", opt, limit);
sbin/pfctl/pfctl.c
2430
pfctl_set_timeout(struct pfctl *pf, const char *opt, int seconds, int quiet)
sbin/pfctl/pfctl.c
2435
if (strcasecmp(opt, pf_timeouts[i].name) == 0) {
sbin/pfctl/pfctl.c
2449
printf("set timeout %s %d\n", opt, seconds);
sbin/pfctl/pfctl.c
2549
pfctl_set_optimization(struct pfctl *pf, const char *opt)
sbin/pfctl/pfctl.c
2555
if (strcasecmp(opt, pf_hints[i].name) == 0)
sbin/pfctl/pfctl.c
2570
printf("set optimization %s\n", opt);
sbin/pfctl/pfctl_osfp.c
1001
int i, opt;
sbin/pfctl/pfctl_osfp.c
1041
opt = fp->fp_tcpopts >> (i * PF_OSFP_TCPOPT_BITS);
sbin/pfctl/pfctl_osfp.c
1042
opt &= (1 << PF_OSFP_TCPOPT_BITS) - 1;
sbin/pfctl/pfctl_osfp.c
1043
switch (opt) {
sbin/pfctl/pfctl_osfp.c
884
int i, opt;
sbin/pfctl/pfctl_osfp.c
897
switch ((opt = toupper((unsigned char)tcpopts[i++]))) {
sbin/pfctl/pfctl_osfp.c
901
(opt == 'N' ? PF_OSFP_TCPOPT_NOP :
sbin/pfctl/pfctl_osfp.c
908
if (opt == 'W') {
sbin/pfctl/pfctl_osfp.c
919
(opt == 'W' ? PF_OSFP_TCPOPT_WSCALE :
sbin/pfctl/pfctl_osfp.c
936
filename, lineno, tcpopts[i], opt);
sbin/pfctl/pfctl_osfp.c
957
filename, lineno, opt);
sbin/quotacheck/quotacheck.c
545
char *opt, *cp;
sbin/quotacheck/quotacheck.c
557
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
sbin/quotacheck/quotacheck.c
558
if ((cp = strchr(opt, '=')) != NULL)
sbin/quotacheck/quotacheck.c
560
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
sbin/quotacheck/quotacheck.c
562
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
sbin/quotacheck/quotacheck.c
565
if (!opt)
sbin/unwind/libunbound/libunbound/libunbound.c
413
ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val)
sbin/unwind/libunbound/libunbound/libunbound.c
420
if(!config_set_option(ctx->env->cfg, opt, val)) {
sbin/unwind/libunbound/libunbound/libunbound.c
429
ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str)
sbin/unwind/libunbound/libunbound/libunbound.c
433
r = config_get_option_collate(ctx->env->cfg, opt, str);
sbin/unwind/libunbound/libunbound/unbound.h
293
int ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val);
sbin/unwind/libunbound/libunbound/unbound.h
309
int ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str);
sbin/unwind/libunbound/services/listen_dnsport.c
1187
int opt = SOF_TIMESTAMPING_RX_SOFTWARE | SOF_TIMESTAMPING_SOFTWARE;
sbin/unwind/libunbound/services/listen_dnsport.c
1188
if (setsockopt(s, SOL_SOCKET, SO_TIMESTAMPNS, (void*)&opt, (socklen_t)sizeof(opt)) < 0) {
sbin/unwind/libunbound/services/mesh.c
1603
struct edns_option* opt;
sbin/unwind/libunbound/services/mesh.c
1614
opt = edns_opt_list_find(qstate->edns_opts_back_in,
sbin/unwind/libunbound/services/mesh.c
1616
if(!opt) return;
sbin/unwind/libunbound/services/mesh.c
1617
agent_domain_len = opt->opt_len;
sbin/unwind/libunbound/services/mesh.c
1618
agent_domain = opt->opt_data;
sbin/unwind/libunbound/services/mesh.c
783
struct edns_option* opt = NULL;
sbin/unwind/libunbound/services/mesh.c
804
opt = edns_opt_list_find(edns_list, mesh->env->cfg->client_subnet_opcode);
sbin/unwind/libunbound/services/mesh.c
805
if(opt) {
sbin/unwind/libunbound/services/mesh.c
807
if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code,
sbin/unwind/libunbound/services/mesh.c
808
opt->opt_len, opt->opt_data, s->s.region)) {
sbin/unwind/libunbound/util/config_file.c
1025
#define O_DEC(opt, str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
1029
#define O_UNS(opt, str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
1033
#define O_YNO(opt, str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
1036
#define O_STR(opt, str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
1039
#define O_IFC(opt, str, num, arr) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
1042
#define O_MEM(opt, str, var) if(strcmp(opt, str)==0) { \
sbin/unwind/libunbound/util/config_file.c
1049
#define O_LST(opt, name, lst) if(strcmp(opt, name)==0) { \
sbin/unwind/libunbound/util/config_file.c
1055
#define O_LS2(opt, name, lst) if(strcmp(opt, name)==0) { \
sbin/unwind/libunbound/util/config_file.c
1063
#define O_LS3(opt, name, lst) if(strcmp(opt, name)==0) { \
sbin/unwind/libunbound/util/config_file.c
1071
#define O_LTG(opt, name, lst) if(strcmp(opt, name)==0) { \
sbin/unwind/libunbound/util/config_file.c
1085
config_get_option(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/config_file.c
1090
if(!opt) return 0;
sbin/unwind/libunbound/util/config_file.c
1091
if(opt && opt[strlen(opt)-1] == ':' && strlen(opt)<sizeof(nopt)) {
sbin/unwind/libunbound/util/config_file.c
1092
memmove(nopt, opt, strlen(opt));
sbin/unwind/libunbound/util/config_file.c
1093
nopt[strlen(opt)-1] = 0;
sbin/unwind/libunbound/util/config_file.c
1094
opt = nopt;
sbin/unwind/libunbound/util/config_file.c
1097
O_DEC(opt, "verbosity", verbosity)
sbin/unwind/libunbound/util/config_file.c
1098
else O_DEC(opt, "statistics-interval", stat_interval)
sbin/unwind/libunbound/util/config_file.c
1099
else O_YNO(opt, "statistics-cumulative", stat_cumulative)
sbin/unwind/libunbound/util/config_file.c
1100
else O_YNO(opt, "extended-statistics", stat_extended)
sbin/unwind/libunbound/util/config_file.c
1101
else O_YNO(opt, "statistics-inhibit-zero", stat_inhibit_zero)
sbin/unwind/libunbound/util/config_file.c
1102
else O_YNO(opt, "shm-enable", shm_enable)
sbin/unwind/libunbound/util/config_file.c
1103
else O_DEC(opt, "shm-key", shm_key)
sbin/unwind/libunbound/util/config_file.c
1104
else O_YNO(opt, "use-syslog", use_syslog)
sbin/unwind/libunbound/util/config_file.c
1105
else O_STR(opt, "log-identity", log_identity)
sbin/unwind/libunbound/util/config_file.c
1106
else O_YNO(opt, "log-time-ascii", log_time_ascii)
sbin/unwind/libunbound/util/config_file.c
1107
else O_YNO(opt, "log-time-iso", log_time_iso)
sbin/unwind/libunbound/util/config_file.c
1108
else O_DEC(opt, "num-threads", num_threads)
sbin/unwind/libunbound/util/config_file.c
1109
else O_IFC(opt, "interface", num_ifs, ifs)
sbin/unwind/libunbound/util/config_file.c
1110
else O_IFC(opt, "outgoing-interface", num_out_ifs, out_ifs)
sbin/unwind/libunbound/util/config_file.c
1111
else O_YNO(opt, "interface-automatic", if_automatic)
sbin/unwind/libunbound/util/config_file.c
1112
else O_STR(opt, "interface-automatic-ports", if_automatic_ports)
sbin/unwind/libunbound/util/config_file.c
1113
else O_DEC(opt, "port", port)
sbin/unwind/libunbound/util/config_file.c
1114
else O_DEC(opt, "outgoing-range", outgoing_num_ports)
sbin/unwind/libunbound/util/config_file.c
1115
else O_DEC(opt, "outgoing-num-tcp", outgoing_num_tcp)
sbin/unwind/libunbound/util/config_file.c
1116
else O_DEC(opt, "incoming-num-tcp", incoming_num_tcp)
sbin/unwind/libunbound/util/config_file.c
1117
else O_MEM(opt, "stream-wait-size", stream_wait_size)
sbin/unwind/libunbound/util/config_file.c
1118
else O_DEC(opt, "edns-buffer-size", edns_buffer_size)
sbin/unwind/libunbound/util/config_file.c
1119
else O_DEC(opt, "msg-buffer-size", msg_buffer_size)
sbin/unwind/libunbound/util/config_file.c
1120
else O_MEM(opt, "msg-cache-size", msg_cache_size)
sbin/unwind/libunbound/util/config_file.c
1121
else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs)
sbin/unwind/libunbound/util/config_file.c
1122
else O_DEC(opt, "num-queries-per-thread", num_queries_per_thread)
sbin/unwind/libunbound/util/config_file.c
1123
else O_UNS(opt, "jostle-timeout", jostle_time)
sbin/unwind/libunbound/util/config_file.c
1124
else O_MEM(opt, "so-rcvbuf", so_rcvbuf)
sbin/unwind/libunbound/util/config_file.c
1125
else O_MEM(opt, "so-sndbuf", so_sndbuf)
sbin/unwind/libunbound/util/config_file.c
1126
else O_YNO(opt, "so-reuseport", so_reuseport)
sbin/unwind/libunbound/util/config_file.c
1127
else O_YNO(opt, "ip-transparent", ip_transparent)
sbin/unwind/libunbound/util/config_file.c
1128
else O_YNO(opt, "ip-freebind", ip_freebind)
sbin/unwind/libunbound/util/config_file.c
1129
else O_DEC(opt, "ip-dscp", ip_dscp)
sbin/unwind/libunbound/util/config_file.c
1130
else O_MEM(opt, "rrset-cache-size", rrset_cache_size)
sbin/unwind/libunbound/util/config_file.c
1131
else O_DEC(opt, "rrset-cache-slabs", rrset_cache_slabs)
sbin/unwind/libunbound/util/config_file.c
1132
else O_YNO(opt, "prefetch-key", prefetch_key)
sbin/unwind/libunbound/util/config_file.c
1133
else O_YNO(opt, "prefetch", prefetch)
sbin/unwind/libunbound/util/config_file.c
1134
else O_YNO(opt, "deny-any", deny_any)
sbin/unwind/libunbound/util/config_file.c
1135
else O_DEC(opt, "cache-max-ttl", max_ttl)
sbin/unwind/libunbound/util/config_file.c
1136
else O_DEC(opt, "cache-max-negative-ttl", max_negative_ttl)
sbin/unwind/libunbound/util/config_file.c
1137
else O_DEC(opt, "cache-min-negative-ttl", min_negative_ttl)
sbin/unwind/libunbound/util/config_file.c
1138
else O_DEC(opt, "cache-min-ttl", min_ttl)
sbin/unwind/libunbound/util/config_file.c
1139
else O_DEC(opt, "infra-host-ttl", host_ttl)
sbin/unwind/libunbound/util/config_file.c
1140
else O_DEC(opt, "infra-cache-slabs", infra_cache_slabs)
sbin/unwind/libunbound/util/config_file.c
1141
else O_DEC(opt, "infra-cache-min-rtt", infra_cache_min_rtt)
sbin/unwind/libunbound/util/config_file.c
1142
else O_UNS(opt, "infra-cache-max-rtt", infra_cache_max_rtt)
sbin/unwind/libunbound/util/config_file.c
1143
else O_YNO(opt, "infra-keep-probing", infra_keep_probing)
sbin/unwind/libunbound/util/config_file.c
1144
else O_MEM(opt, "infra-cache-numhosts", infra_cache_numhosts)
sbin/unwind/libunbound/util/config_file.c
1145
else O_UNS(opt, "delay-close", delay_close)
sbin/unwind/libunbound/util/config_file.c
1146
else O_YNO(opt, "udp-connect", udp_connect)
sbin/unwind/libunbound/util/config_file.c
1147
else O_YNO(opt, "do-ip4", do_ip4)
sbin/unwind/libunbound/util/config_file.c
1148
else O_YNO(opt, "do-ip6", do_ip6)
sbin/unwind/libunbound/util/config_file.c
1149
else O_YNO(opt, "do-udp", do_udp)
sbin/unwind/libunbound/util/config_file.c
1150
else O_YNO(opt, "do-tcp", do_tcp)
sbin/unwind/libunbound/util/config_file.c
1151
else O_YNO(opt, "prefer-ip4", prefer_ip4)
sbin/unwind/libunbound/util/config_file.c
1152
else O_YNO(opt, "prefer-ip6", prefer_ip6)
sbin/unwind/libunbound/util/config_file.c
1153
else O_YNO(opt, "tcp-upstream", tcp_upstream)
sbin/unwind/libunbound/util/config_file.c
1154
else O_YNO(opt, "udp-upstream-without-downstream", udp_upstream_without_downstream)
sbin/unwind/libunbound/util/config_file.c
1155
else O_DEC(opt, "tcp-mss", tcp_mss)
sbin/unwind/libunbound/util/config_file.c
1156
else O_DEC(opt, "outgoing-tcp-mss", outgoing_tcp_mss)
sbin/unwind/libunbound/util/config_file.c
1157
else O_DEC(opt, "tcp-auth-query-timeout", tcp_auth_query_timeout)
sbin/unwind/libunbound/util/config_file.c
1158
else O_DEC(opt, "tcp-idle-timeout", tcp_idle_timeout)
sbin/unwind/libunbound/util/config_file.c
1159
else O_DEC(opt, "max-reuse-tcp-queries", max_reuse_tcp_queries)
sbin/unwind/libunbound/util/config_file.c
1160
else O_DEC(opt, "tcp-reuse-timeout", tcp_reuse_timeout)
sbin/unwind/libunbound/util/config_file.c
1161
else O_YNO(opt, "edns-tcp-keepalive", do_tcp_keepalive)
sbin/unwind/libunbound/util/config_file.c
1162
else O_DEC(opt, "edns-tcp-keepalive-timeout", tcp_keepalive_timeout)
sbin/unwind/libunbound/util/config_file.c
1163
else O_DEC(opt, "sock-queue-timeout", sock_queue_timeout)
sbin/unwind/libunbound/util/config_file.c
1164
else O_YNO(opt, "ssl-upstream", ssl_upstream)
sbin/unwind/libunbound/util/config_file.c
1165
else O_YNO(opt, "tls-upstream", ssl_upstream)
sbin/unwind/libunbound/util/config_file.c
1166
else O_STR(opt, "ssl-service-key", ssl_service_key)
sbin/unwind/libunbound/util/config_file.c
1167
else O_STR(opt, "tls-service-key", ssl_service_key)
sbin/unwind/libunbound/util/config_file.c
1168
else O_STR(opt, "ssl-service-pem", ssl_service_pem)
sbin/unwind/libunbound/util/config_file.c
1169
else O_STR(opt, "tls-service-pem", ssl_service_pem)
sbin/unwind/libunbound/util/config_file.c
1170
else O_DEC(opt, "ssl-port", ssl_port)
sbin/unwind/libunbound/util/config_file.c
1171
else O_DEC(opt, "tls-port", ssl_port)
sbin/unwind/libunbound/util/config_file.c
1172
else O_STR(opt, "ssl-cert-bundle", tls_cert_bundle)
sbin/unwind/libunbound/util/config_file.c
1173
else O_STR(opt, "tls-cert-bundle", tls_cert_bundle)
sbin/unwind/libunbound/util/config_file.c
1174
else O_YNO(opt, "tls-win-cert", tls_win_cert)
sbin/unwind/libunbound/util/config_file.c
1175
else O_YNO(opt, "tls-system-cert", tls_win_cert)
sbin/unwind/libunbound/util/config_file.c
1176
else O_LST(opt, "additional-ssl-port", tls_additional_port)
sbin/unwind/libunbound/util/config_file.c
1177
else O_LST(opt, "additional-tls-port", tls_additional_port)
sbin/unwind/libunbound/util/config_file.c
1178
else O_LST(opt, "tls-additional-ports", tls_additional_port)
sbin/unwind/libunbound/util/config_file.c
1179
else O_LST(opt, "tls-additional-port", tls_additional_port)
sbin/unwind/libunbound/util/config_file.c
1180
else O_LST(opt, "tls-session-ticket-keys", tls_session_ticket_keys.first)
sbin/unwind/libunbound/util/config_file.c
1181
else O_STR(opt, "tls-ciphers", tls_ciphers)
sbin/unwind/libunbound/util/config_file.c
1182
else O_STR(opt, "tls-ciphersuites", tls_ciphersuites)
sbin/unwind/libunbound/util/config_file.c
1183
else O_YNO(opt, "tls-use-sni", tls_use_sni)
sbin/unwind/libunbound/util/config_file.c
1184
else O_DEC(opt, "https-port", https_port)
sbin/unwind/libunbound/util/config_file.c
1185
else O_STR(opt, "http-endpoint", http_endpoint)
sbin/unwind/libunbound/util/config_file.c
1186
else O_UNS(opt, "http-max-streams", http_max_streams)
sbin/unwind/libunbound/util/config_file.c
1187
else O_MEM(opt, "http-query-buffer-size", http_query_buffer_size)
sbin/unwind/libunbound/util/config_file.c
1188
else O_MEM(opt, "http-response-buffer-size", http_response_buffer_size)
sbin/unwind/libunbound/util/config_file.c
1189
else O_YNO(opt, "http-nodelay", http_nodelay)
sbin/unwind/libunbound/util/config_file.c
1190
else O_YNO(opt, "http-notls-downstream", http_notls_downstream)
sbin/unwind/libunbound/util/config_file.c
1191
else O_DEC(opt, "quic-port", quic_port)
sbin/unwind/libunbound/util/config_file.c
1192
else O_MEM(opt, "quic-size", quic_size)
sbin/unwind/libunbound/util/config_file.c
1193
else O_YNO(opt, "use-systemd", use_systemd)
sbin/unwind/libunbound/util/config_file.c
1194
else O_YNO(opt, "do-daemonize", do_daemonize)
sbin/unwind/libunbound/util/config_file.c
1195
else O_STR(opt, "chroot", chrootdir)
sbin/unwind/libunbound/util/config_file.c
1196
else O_STR(opt, "username", username)
sbin/unwind/libunbound/util/config_file.c
1197
else O_STR(opt, "directory", directory)
sbin/unwind/libunbound/util/config_file.c
1198
else O_STR(opt, "logfile", logfile)
sbin/unwind/libunbound/util/config_file.c
1199
else O_YNO(opt, "log-queries", log_queries)
sbin/unwind/libunbound/util/config_file.c
1200
else O_YNO(opt, "log-replies", log_replies)
sbin/unwind/libunbound/util/config_file.c
1201
else O_YNO(opt, "log-tag-queryreply", log_tag_queryreply)
sbin/unwind/libunbound/util/config_file.c
1202
else O_YNO(opt, "log-local-actions", log_local_actions)
sbin/unwind/libunbound/util/config_file.c
1203
else O_YNO(opt, "log-servfail", log_servfail)
sbin/unwind/libunbound/util/config_file.c
1204
else O_YNO(opt, "log-destaddr", log_destaddr)
sbin/unwind/libunbound/util/config_file.c
1205
else O_STR(opt, "pidfile", pidfile)
sbin/unwind/libunbound/util/config_file.c
1206
else O_YNO(opt, "hide-identity", hide_identity)
sbin/unwind/libunbound/util/config_file.c
1207
else O_YNO(opt, "hide-version", hide_version)
sbin/unwind/libunbound/util/config_file.c
1208
else O_YNO(opt, "hide-trustanchor", hide_trustanchor)
sbin/unwind/libunbound/util/config_file.c
1209
else O_YNO(opt, "hide-http-user-agent", hide_http_user_agent)
sbin/unwind/libunbound/util/config_file.c
1210
else O_STR(opt, "identity", identity)
sbin/unwind/libunbound/util/config_file.c
1211
else O_STR(opt, "version", version)
sbin/unwind/libunbound/util/config_file.c
1212
else O_STR(opt, "http-user-agent", http_user_agent)
sbin/unwind/libunbound/util/config_file.c
1213
else O_STR(opt, "nsid", nsid_cfg_str)
sbin/unwind/libunbound/util/config_file.c
1214
else O_STR(opt, "target-fetch-policy", target_fetch_policy)
sbin/unwind/libunbound/util/config_file.c
1215
else O_YNO(opt, "harden-short-bufsize", harden_short_bufsize)
sbin/unwind/libunbound/util/config_file.c
1216
else O_YNO(opt, "harden-large-queries", harden_large_queries)
sbin/unwind/libunbound/util/config_file.c
1217
else O_YNO(opt, "harden-glue", harden_glue)
sbin/unwind/libunbound/util/config_file.c
1218
else O_YNO(opt, "harden-unverified-glue", harden_unverified_glue)
sbin/unwind/libunbound/util/config_file.c
1219
else O_YNO(opt, "harden-dnssec-stripped", harden_dnssec_stripped)
sbin/unwind/libunbound/util/config_file.c
1220
else O_YNO(opt, "harden-below-nxdomain", harden_below_nxdomain)
sbin/unwind/libunbound/util/config_file.c
1221
else O_YNO(opt, "harden-referral-path", harden_referral_path)
sbin/unwind/libunbound/util/config_file.c
1222
else O_YNO(opt, "harden-algo-downgrade", harden_algo_downgrade)
sbin/unwind/libunbound/util/config_file.c
1223
else O_YNO(opt, "harden-unknown-additional", harden_unknown_additional)
sbin/unwind/libunbound/util/config_file.c
1224
else O_YNO(opt, "use-caps-for-id", use_caps_bits_for_id)
sbin/unwind/libunbound/util/config_file.c
1225
else O_LST(opt, "caps-whitelist", caps_whitelist)
sbin/unwind/libunbound/util/config_file.c
1226
else O_DEC(opt, "unwanted-reply-threshold", unwanted_threshold)
sbin/unwind/libunbound/util/config_file.c
1227
else O_YNO(opt, "do-not-query-localhost", donotquery_localhost)
sbin/unwind/libunbound/util/config_file.c
1228
else O_STR(opt, "module-config", module_conf)
sbin/unwind/libunbound/util/config_file.c
1229
else O_DEC(opt, "val-bogus-ttl", bogus_ttl)
sbin/unwind/libunbound/util/config_file.c
1230
else O_YNO(opt, "val-clean-additional", val_clean_additional)
sbin/unwind/libunbound/util/config_file.c
1231
else O_DEC(opt, "val-log-level", val_log_level)
sbin/unwind/libunbound/util/config_file.c
1232
else O_YNO(opt, "val-permissive-mode", val_permissive_mode)
sbin/unwind/libunbound/util/config_file.c
1233
else O_YNO(opt, "aggressive-nsec", aggressive_nsec)
sbin/unwind/libunbound/util/config_file.c
1234
else O_YNO(opt, "ignore-cd-flag", ignore_cd)
sbin/unwind/libunbound/util/config_file.c
1235
else O_YNO(opt, "disable-edns-do", disable_edns_do)
sbin/unwind/libunbound/util/config_file.c
1236
else O_YNO(opt, "serve-expired", serve_expired)
sbin/unwind/libunbound/util/config_file.c
1237
else O_DEC(opt, "serve-expired-ttl", serve_expired_ttl)
sbin/unwind/libunbound/util/config_file.c
1238
else O_YNO(opt, "serve-expired-ttl-reset", serve_expired_ttl_reset)
sbin/unwind/libunbound/util/config_file.c
1239
else O_DEC(opt, "serve-expired-reply-ttl", serve_expired_reply_ttl)
sbin/unwind/libunbound/util/config_file.c
1240
else O_DEC(opt, "serve-expired-client-timeout", serve_expired_client_timeout)
sbin/unwind/libunbound/util/config_file.c
1241
else O_YNO(opt, "ede", ede)
sbin/unwind/libunbound/util/config_file.c
1242
else O_YNO(opt, "ede-serve-expired", ede_serve_expired)
sbin/unwind/libunbound/util/config_file.c
1243
else O_YNO(opt, "dns-error-reporting", dns_error_reporting)
sbin/unwind/libunbound/util/config_file.c
1244
else O_DEC(opt, "iter-scrub-ns", iter_scrub_ns)
sbin/unwind/libunbound/util/config_file.c
1245
else O_DEC(opt, "iter-scrub-cname", iter_scrub_cname)
sbin/unwind/libunbound/util/config_file.c
1246
else O_YNO(opt, "iter-scrub-promiscuous", iter_scrub_promiscuous)
sbin/unwind/libunbound/util/config_file.c
1247
else O_DEC(opt, "max-global-quota", max_global_quota)
sbin/unwind/libunbound/util/config_file.c
1248
else O_YNO(opt, "serve-original-ttl", serve_original_ttl)
sbin/unwind/libunbound/util/config_file.c
1249
else O_STR(opt, "val-nsec3-keysize-iterations",val_nsec3_key_iterations)
sbin/unwind/libunbound/util/config_file.c
1250
else O_YNO(opt, "zonemd-permissive-mode", zonemd_permissive_mode)
sbin/unwind/libunbound/util/config_file.c
1251
else O_UNS(opt, "add-holddown", add_holddown)
sbin/unwind/libunbound/util/config_file.c
1252
else O_UNS(opt, "del-holddown", del_holddown)
sbin/unwind/libunbound/util/config_file.c
1253
else O_UNS(opt, "keep-missing", keep_missing)
sbin/unwind/libunbound/util/config_file.c
1254
else O_YNO(opt, "permit-small-holddown", permit_small_holddown)
sbin/unwind/libunbound/util/config_file.c
1255
else O_MEM(opt, "key-cache-size", key_cache_size)
sbin/unwind/libunbound/util/config_file.c
1256
else O_DEC(opt, "key-cache-slabs", key_cache_slabs)
sbin/unwind/libunbound/util/config_file.c
1257
else O_MEM(opt, "neg-cache-size", neg_cache_size)
sbin/unwind/libunbound/util/config_file.c
1258
else O_YNO(opt, "control-enable", remote_control_enable)
sbin/unwind/libunbound/util/config_file.c
1259
else O_DEC(opt, "control-port", control_port)
sbin/unwind/libunbound/util/config_file.c
1260
else O_STR(opt, "server-key-file", server_key_file)
sbin/unwind/libunbound/util/config_file.c
1261
else O_STR(opt, "server-cert-file", server_cert_file)
sbin/unwind/libunbound/util/config_file.c
1262
else O_STR(opt, "control-key-file", control_key_file)
sbin/unwind/libunbound/util/config_file.c
1263
else O_STR(opt, "control-cert-file", control_cert_file)
sbin/unwind/libunbound/util/config_file.c
1264
else O_LST(opt, "root-hints", root_hints)
sbin/unwind/libunbound/util/config_file.c
1265
else O_LS2(opt, "access-control", acls)
sbin/unwind/libunbound/util/config_file.c
1266
else O_LS2(opt, "tcp-connection-limit", tcp_connection_limits)
sbin/unwind/libunbound/util/config_file.c
1267
else O_LST(opt, "do-not-query-address", donotqueryaddrs)
sbin/unwind/libunbound/util/config_file.c
1268
else O_LST(opt, "private-address", private_address)
sbin/unwind/libunbound/util/config_file.c
1269
else O_LST(opt, "private-domain", private_domain)
sbin/unwind/libunbound/util/config_file.c
1270
else O_LST(opt, "auto-trust-anchor-file", auto_trust_anchor_file_list)
sbin/unwind/libunbound/util/config_file.c
1271
else O_LST(opt, "trust-anchor-file", trust_anchor_file_list)
sbin/unwind/libunbound/util/config_file.c
1272
else O_LST(opt, "trust-anchor", trust_anchor_list)
sbin/unwind/libunbound/util/config_file.c
1273
else O_LST(opt, "trusted-keys-file", trusted_keys_file_list)
sbin/unwind/libunbound/util/config_file.c
1274
else O_YNO(opt, "trust-anchor-signaling", trust_anchor_signaling)
sbin/unwind/libunbound/util/config_file.c
1275
else O_YNO(opt, "root-key-sentinel", root_key_sentinel)
sbin/unwind/libunbound/util/config_file.c
1276
else O_LST(opt, "control-interface", control_ifs.first)
sbin/unwind/libunbound/util/config_file.c
1277
else O_LST(opt, "domain-insecure", domain_insecure)
sbin/unwind/libunbound/util/config_file.c
1278
else O_UNS(opt, "val-override-date", val_date_override)
sbin/unwind/libunbound/util/config_file.c
1279
else O_YNO(opt, "minimal-responses", minimal_responses)
sbin/unwind/libunbound/util/config_file.c
1280
else O_YNO(opt, "rrset-roundrobin", rrset_roundrobin)
sbin/unwind/libunbound/util/config_file.c
1281
else O_DEC(opt, "unknown-server-time-limit", unknown_server_time_limit)
sbin/unwind/libunbound/util/config_file.c
1282
else O_DEC(opt, "discard-timeout", discard_timeout)
sbin/unwind/libunbound/util/config_file.c
1283
else O_DEC(opt, "wait-limit", wait_limit)
sbin/unwind/libunbound/util/config_file.c
1284
else O_DEC(opt, "wait-limit-cookie", wait_limit_cookie)
sbin/unwind/libunbound/util/config_file.c
1285
else O_LS2(opt, "wait-limit-netblock", wait_limit_netblock)
sbin/unwind/libunbound/util/config_file.c
1286
else O_LS2(opt, "wait-limit-cookie-netblock", wait_limit_cookie_netblock)
sbin/unwind/libunbound/util/config_file.c
1288
else O_LST(opt, "send-client-subnet", client_subnet)
sbin/unwind/libunbound/util/config_file.c
1289
else O_LST(opt, "client-subnet-zone", client_subnet_zone)
sbin/unwind/libunbound/util/config_file.c
1290
else O_DEC(opt, "max-client-subnet-ipv4", max_client_subnet_ipv4)
sbin/unwind/libunbound/util/config_file.c
1291
else O_DEC(opt, "max-client-subnet-ipv6", max_client_subnet_ipv6)
sbin/unwind/libunbound/util/config_file.c
1292
else O_DEC(opt, "min-client-subnet-ipv4", min_client_subnet_ipv4)
sbin/unwind/libunbound/util/config_file.c
1293
else O_DEC(opt, "min-client-subnet-ipv6", min_client_subnet_ipv6)
sbin/unwind/libunbound/util/config_file.c
1294
else O_DEC(opt, "max-ecs-tree-size-ipv4", max_ecs_tree_size_ipv4)
sbin/unwind/libunbound/util/config_file.c
1295
else O_DEC(opt, "max-ecs-tree-size-ipv6", max_ecs_tree_size_ipv6)
sbin/unwind/libunbound/util/config_file.c
1296
else O_YNO(opt, "client-subnet-always-forward:",
sbin/unwind/libunbound/util/config_file.c
1300
else O_YNO(opt, "dnstap-enable", dnstap)
sbin/unwind/libunbound/util/config_file.c
1301
else O_YNO(opt, "dnstap-bidirectional", dnstap_bidirectional)
sbin/unwind/libunbound/util/config_file.c
1302
else O_STR(opt, "dnstap-socket-path", dnstap_socket_path)
sbin/unwind/libunbound/util/config_file.c
1303
else O_STR(opt, "dnstap-ip", dnstap_ip)
sbin/unwind/libunbound/util/config_file.c
1304
else O_YNO(opt, "dnstap-tls", dnstap_tls)
sbin/unwind/libunbound/util/config_file.c
1305
else O_STR(opt, "dnstap-tls-server-name", dnstap_tls_server_name)
sbin/unwind/libunbound/util/config_file.c
1306
else O_STR(opt, "dnstap-tls-cert-bundle", dnstap_tls_cert_bundle)
sbin/unwind/libunbound/util/config_file.c
1307
else O_STR(opt, "dnstap-tls-client-key-file",
sbin/unwind/libunbound/util/config_file.c
1309
else O_STR(opt, "dnstap-tls-client-cert-file",
sbin/unwind/libunbound/util/config_file.c
1311
else O_YNO(opt, "dnstap-send-identity", dnstap_send_identity)
sbin/unwind/libunbound/util/config_file.c
1312
else O_YNO(opt, "dnstap-send-version", dnstap_send_version)
sbin/unwind/libunbound/util/config_file.c
1313
else O_STR(opt, "dnstap-identity", dnstap_identity)
sbin/unwind/libunbound/util/config_file.c
1314
else O_STR(opt, "dnstap-version", dnstap_version)
sbin/unwind/libunbound/util/config_file.c
1315
else O_UNS(opt, "dnstap-sample-rate", dnstap_sample_rate)
sbin/unwind/libunbound/util/config_file.c
1316
else O_YNO(opt, "dnstap-log-resolver-query-messages",
sbin/unwind/libunbound/util/config_file.c
1318
else O_YNO(opt, "dnstap-log-resolver-response-messages",
sbin/unwind/libunbound/util/config_file.c
1320
else O_YNO(opt, "dnstap-log-client-query-messages",
sbin/unwind/libunbound/util/config_file.c
1322
else O_YNO(opt, "dnstap-log-client-response-messages",
sbin/unwind/libunbound/util/config_file.c
1324
else O_YNO(opt, "dnstap-log-forwarder-query-messages",
sbin/unwind/libunbound/util/config_file.c
1326
else O_YNO(opt, "dnstap-log-forwarder-response-messages",
sbin/unwind/libunbound/util/config_file.c
1330
else O_YNO(opt, "dnscrypt-enable", dnscrypt)
sbin/unwind/libunbound/util/config_file.c
1331
else O_DEC(opt, "dnscrypt-port", dnscrypt_port)
sbin/unwind/libunbound/util/config_file.c
1332
else O_STR(opt, "dnscrypt-provider", dnscrypt_provider)
sbin/unwind/libunbound/util/config_file.c
1333
else O_LST(opt, "dnscrypt-provider-cert", dnscrypt_provider_cert)
sbin/unwind/libunbound/util/config_file.c
1334
else O_LST(opt, "dnscrypt-provider-cert-rotated", dnscrypt_provider_cert_rotated)
sbin/unwind/libunbound/util/config_file.c
1335
else O_LST(opt, "dnscrypt-secret-key", dnscrypt_secret_key)
sbin/unwind/libunbound/util/config_file.c
1336
else O_MEM(opt, "dnscrypt-shared-secret-cache-size",
sbin/unwind/libunbound/util/config_file.c
1338
else O_DEC(opt, "dnscrypt-shared-secret-cache-slabs",
sbin/unwind/libunbound/util/config_file.c
1340
else O_MEM(opt, "dnscrypt-nonce-cache-size",
sbin/unwind/libunbound/util/config_file.c
1342
else O_DEC(opt, "dnscrypt-nonce-cache-slabs",
sbin/unwind/libunbound/util/config_file.c
1345
else O_YNO(opt, "unblock-lan-zones", unblock_lan_zones)
sbin/unwind/libunbound/util/config_file.c
1346
else O_YNO(opt, "insecure-lan-zones", insecure_lan_zones)
sbin/unwind/libunbound/util/config_file.c
1347
else O_DEC(opt, "max-udp-size", max_udp_size)
sbin/unwind/libunbound/util/config_file.c
1348
else O_LST(opt, "python-script", python_script)
sbin/unwind/libunbound/util/config_file.c
1349
else O_LST(opt, "dynlib-file", dynlib_file)
sbin/unwind/libunbound/util/config_file.c
1350
else O_YNO(opt, "disable-dnssec-lame-check", disable_dnssec_lame_check)
sbin/unwind/libunbound/util/config_file.c
1351
else O_DEC(opt, "ip-ratelimit-cookie", ip_ratelimit_cookie)
sbin/unwind/libunbound/util/config_file.c
1352
else O_DEC(opt, "ip-ratelimit", ip_ratelimit)
sbin/unwind/libunbound/util/config_file.c
1353
else O_DEC(opt, "ratelimit", ratelimit)
sbin/unwind/libunbound/util/config_file.c
1354
else O_MEM(opt, "ip-ratelimit-size", ip_ratelimit_size)
sbin/unwind/libunbound/util/config_file.c
1355
else O_MEM(opt, "ratelimit-size", ratelimit_size)
sbin/unwind/libunbound/util/config_file.c
1356
else O_DEC(opt, "ip-ratelimit-slabs", ip_ratelimit_slabs)
sbin/unwind/libunbound/util/config_file.c
1357
else O_DEC(opt, "ratelimit-slabs", ratelimit_slabs)
sbin/unwind/libunbound/util/config_file.c
1358
else O_LS2(opt, "ratelimit-for-domain", ratelimit_for_domain)
sbin/unwind/libunbound/util/config_file.c
1359
else O_LS2(opt, "ratelimit-below-domain", ratelimit_below_domain)
sbin/unwind/libunbound/util/config_file.c
1360
else O_DEC(opt, "ip-ratelimit-factor", ip_ratelimit_factor)
sbin/unwind/libunbound/util/config_file.c
1361
else O_DEC(opt, "ratelimit-factor", ratelimit_factor)
sbin/unwind/libunbound/util/config_file.c
1362
else O_YNO(opt, "ip-ratelimit-backoff", ip_ratelimit_backoff)
sbin/unwind/libunbound/util/config_file.c
1363
else O_YNO(opt, "ratelimit-backoff", ratelimit_backoff)
sbin/unwind/libunbound/util/config_file.c
1364
else O_UNS(opt, "outbound-msg-retry", outbound_msg_retry)
sbin/unwind/libunbound/util/config_file.c
1365
else O_UNS(opt, "max-sent-count", max_sent_count)
sbin/unwind/libunbound/util/config_file.c
1366
else O_UNS(opt, "max-query-restarts", max_query_restarts)
sbin/unwind/libunbound/util/config_file.c
1367
else O_DEC(opt, "fast-server-num", fast_server_num)
sbin/unwind/libunbound/util/config_file.c
1368
else O_DEC(opt, "fast-server-permil", fast_server_permil)
sbin/unwind/libunbound/util/config_file.c
1369
else O_DEC(opt, "val-sig-skew-min", val_sig_skew_min)
sbin/unwind/libunbound/util/config_file.c
1370
else O_DEC(opt, "val-sig-skew-max", val_sig_skew_max)
sbin/unwind/libunbound/util/config_file.c
1371
else O_DEC(opt, "val-max-restart", val_max_restart)
sbin/unwind/libunbound/util/config_file.c
1372
else O_YNO(opt, "qname-minimisation", qname_minimisation)
sbin/unwind/libunbound/util/config_file.c
1373
else O_YNO(opt, "qname-minimisation-strict", qname_minimisation_strict)
sbin/unwind/libunbound/util/config_file.c
1374
else O_IFC(opt, "define-tag", num_tags, tagname)
sbin/unwind/libunbound/util/config_file.c
1375
else O_LTG(opt, "local-zone-tag", local_zone_tags)
sbin/unwind/libunbound/util/config_file.c
1376
else O_LTG(opt, "access-control-tag", acl_tags)
sbin/unwind/libunbound/util/config_file.c
1377
else O_LTG(opt, "response-ip-tag", respip_tags)
sbin/unwind/libunbound/util/config_file.c
1378
else O_LS3(opt, "local-zone-override", local_zone_overrides)
sbin/unwind/libunbound/util/config_file.c
1379
else O_LS3(opt, "access-control-tag-action", acl_tag_actions)
sbin/unwind/libunbound/util/config_file.c
1380
else O_LS3(opt, "access-control-tag-data", acl_tag_datas)
sbin/unwind/libunbound/util/config_file.c
1381
else O_LS2(opt, "access-control-view", acl_view)
sbin/unwind/libunbound/util/config_file.c
1382
else O_LS2(opt, "interface-action", interface_actions)
sbin/unwind/libunbound/util/config_file.c
1383
else O_LTG(opt, "interface-tag", interface_tags)
sbin/unwind/libunbound/util/config_file.c
1384
else O_LS3(opt, "interface-tag-action", interface_tag_actions)
sbin/unwind/libunbound/util/config_file.c
1385
else O_LS3(opt, "interface-tag-data", interface_tag_datas)
sbin/unwind/libunbound/util/config_file.c
1386
else O_LS2(opt, "interface-view", interface_view)
sbin/unwind/libunbound/util/config_file.c
1387
else O_YNO(opt, "pad-responses", pad_responses)
sbin/unwind/libunbound/util/config_file.c
1388
else O_DEC(opt, "pad-responses-block-size", pad_responses_block_size)
sbin/unwind/libunbound/util/config_file.c
1389
else O_YNO(opt, "pad-queries", pad_queries)
sbin/unwind/libunbound/util/config_file.c
1390
else O_DEC(opt, "pad-queries-block-size", pad_queries_block_size)
sbin/unwind/libunbound/util/config_file.c
1391
else O_LS2(opt, "edns-client-strings", edns_client_strings)
sbin/unwind/libunbound/util/config_file.c
1392
else O_LST(opt, "proxy-protocol-port", proxy_protocol_port)
sbin/unwind/libunbound/util/config_file.c
1394
else O_YNO(opt, "ipsecmod-enabled", ipsecmod_enabled)
sbin/unwind/libunbound/util/config_file.c
1395
else O_YNO(opt, "ipsecmod-ignore-bogus", ipsecmod_ignore_bogus)
sbin/unwind/libunbound/util/config_file.c
1396
else O_STR(opt, "ipsecmod-hook", ipsecmod_hook)
sbin/unwind/libunbound/util/config_file.c
1397
else O_DEC(opt, "ipsecmod-max-ttl", ipsecmod_max_ttl)
sbin/unwind/libunbound/util/config_file.c
1398
else O_LST(opt, "ipsecmod-whitelist", ipsecmod_whitelist)
sbin/unwind/libunbound/util/config_file.c
1399
else O_YNO(opt, "ipsecmod-strict", ipsecmod_strict)
sbin/unwind/libunbound/util/config_file.c
1401
else O_YNO(opt, "answer-cookie", do_answer_cookie)
sbin/unwind/libunbound/util/config_file.c
1402
else O_STR(opt, "cookie-secret-file", cookie_secret_file)
sbin/unwind/libunbound/util/config_file.c
1404
else O_STR(opt, "backend", cachedb_backend)
sbin/unwind/libunbound/util/config_file.c
1405
else O_STR(opt, "secret-seed", cachedb_secret)
sbin/unwind/libunbound/util/config_file.c
1406
else O_YNO(opt, "cachedb-no-store", cachedb_no_store)
sbin/unwind/libunbound/util/config_file.c
1407
else O_YNO(opt, "cachedb-check-when-serve-expired", cachedb_check_when_serve_expired)
sbin/unwind/libunbound/util/config_file.c
1409
else O_STR(opt, "redis-server-host", redis_server_host)
sbin/unwind/libunbound/util/config_file.c
1410
else O_STR(opt, "redis-replica-server-host", redis_replica_server_host)
sbin/unwind/libunbound/util/config_file.c
1411
else O_DEC(opt, "redis-server-port", redis_server_port)
sbin/unwind/libunbound/util/config_file.c
1412
else O_DEC(opt, "redis-replica-server-port", redis_replica_server_port)
sbin/unwind/libunbound/util/config_file.c
1413
else O_STR(opt, "redis-server-path", redis_server_path)
sbin/unwind/libunbound/util/config_file.c
1414
else O_STR(opt, "redis-replica-server-path", redis_replica_server_path)
sbin/unwind/libunbound/util/config_file.c
1415
else O_STR(opt, "redis-server-password", redis_server_password)
sbin/unwind/libunbound/util/config_file.c
1416
else O_STR(opt, "redis-replica-server-password", redis_replica_server_password)
sbin/unwind/libunbound/util/config_file.c
1417
else O_DEC(opt, "redis-timeout", redis_timeout)
sbin/unwind/libunbound/util/config_file.c
1418
else O_DEC(opt, "redis-replica-timeout", redis_replica_timeout)
sbin/unwind/libunbound/util/config_file.c
1419
else O_DEC(opt, "redis-command-timeout", redis_command_timeout)
sbin/unwind/libunbound/util/config_file.c
1420
else O_DEC(opt, "redis-replica-command-timeout", redis_replica_command_timeout)
sbin/unwind/libunbound/util/config_file.c
1421
else O_DEC(opt, "redis-connect-timeout", redis_connect_timeout)
sbin/unwind/libunbound/util/config_file.c
1422
else O_DEC(opt, "redis-replica-connect-timeout", redis_replica_connect_timeout)
sbin/unwind/libunbound/util/config_file.c
1423
else O_YNO(opt, "redis-expire-records", redis_expire_records)
sbin/unwind/libunbound/util/config_file.c
1424
else O_DEC(opt, "redis-logical-db", redis_logical_db)
sbin/unwind/libunbound/util/config_file.c
1425
else O_DEC(opt, "redis-replica-logical-db", redis_replica_logical_db)
sbin/unwind/libunbound/util/config_file.c
1429
else O_STR(opt, "name-v4", ipset_name_v4)
sbin/unwind/libunbound/util/config_file.c
1430
else O_STR(opt, "name-v6", ipset_name_v6)
sbin/unwind/libunbound/util/config_file.c
479
#define S_NUMBER_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
482
#define S_NUMBER_NONZERO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
485
#define S_UNSIGNED_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
488
#define S_SIZET_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
491
#define S_SIZET_NONZERO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
494
#define S_YNO(str, var) if(strcmp(opt, str) == 0) \
sbin/unwind/libunbound/util/config_file.c
497
#define S_MEMSIZE(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
500
#define S_POW2(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
503
#define S_STR(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
506
#define S_STRLIST(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
509
#define S_STRLIST_UNIQ(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
513
#define S_STRLIST_APPEND(str, var) if(strcmp(opt, str)==0) \
sbin/unwind/libunbound/util/config_file.c
535
int config_set_option(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/config_file.c
539
if(!opt) return 0;
sbin/unwind/libunbound/util/config_file.c
540
if(opt[strlen(opt)-1] != ':' && strlen(opt)+2<sizeof(buf)) {
sbin/unwind/libunbound/util/config_file.c
541
snprintf(buf, sizeof(buf), "%s:", opt);
sbin/unwind/libunbound/util/config_file.c
542
opt = buf;
sbin/unwind/libunbound/util/config_file.c
545
else if(strcmp(opt, "statistics-interval:") == 0) {
sbin/unwind/libunbound/util/config_file.c
551
} else if(strcmp(opt, "num-threads:") == 0) {
sbin/unwind/libunbound/util/config_file.c
554
} else if(strcmp(opt, "outgoing-port-permit:") == 0) {
sbin/unwind/libunbound/util/config_file.c
557
} else if(strcmp(opt, "outgoing-port-avoid:") == 0) {
sbin/unwind/libunbound/util/config_file.c
560
} else if(strcmp(opt, "local-zone:") == 0) {
sbin/unwind/libunbound/util/config_file.c
562
} else if(strcmp(opt, "val-override-date:") == 0) {
sbin/unwind/libunbound/util/config_file.c
572
} else if(strcmp(opt, "local-data-ptr:") == 0) {
sbin/unwind/libunbound/util/config_file.c
573
char* ptr = cfg_ptr_reverse((char*)opt);
sbin/unwind/libunbound/util/config_file.c
575
} else if(strcmp(opt, "logfile:") == 0) {
sbin/unwind/libunbound/util/config_file.c
580
else if(strcmp(opt, "log-time-ascii:") == 0)
sbin/unwind/libunbound/util/config_file.c
583
else if(strcmp(opt, "log-time-iso:") == 0)
sbin/unwind/libunbound/util/config_file.c
667
else if(strcmp(opt, "cache-max-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
669
else if(strcmp(opt, "cache-max-negative-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
671
else if(strcmp(opt, "cache-min-negative-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
673
else if(strcmp(opt, "cache-min-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
675
else if(strcmp(opt, "infra-cache-min-rtt:") == 0) {
sbin/unwind/libunbound/util/config_file.c
679
else if(strcmp(opt, "infra-cache-max-rtt:") == 0) {
sbin/unwind/libunbound/util/config_file.c
700
else if(strcmp(opt, "nsid:") == 0) {
sbin/unwind/libunbound/util/config_file.c
753
else if(strcmp(opt, "serve-expired:") == 0)
sbin/unwind/libunbound/util/config_file.c
756
else if(strcmp(opt, "serve-expired-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
758
else if(strcmp(opt, "serve-expired-ttl-reset:") == 0)
sbin/unwind/libunbound/util/config_file.c
761
else if(strcmp(opt, "serve-expired-reply-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
777
else if(strcmp(opt, "permit-small-holddown:") == 0)
sbin/unwind/libunbound/util/config_file.c
854
else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) {
sbin/unwind/libunbound/util/config_file.c
858
else if(strcmp(opt, "ip-ratelimit:") == 0) {
sbin/unwind/libunbound/util/config_file.c
862
else if(strcmp(opt, "ratelimit:") == 0) {
sbin/unwind/libunbound/util/config_file.c
889
else if(strcmp(opt, "ipsecmod-max-ttl:") == 0)
sbin/unwind/libunbound/util/config_file.c
899
else if(strcmp(opt, "define-tag:") ==0) {
sbin/unwind/libunbound/util/config_file.c
903
} else if(strcmp(opt, "val-sig-skew-min:") == 0)
sbin/unwind/libunbound/util/config_file.c
905
else if(strcmp(opt, "val-sig-skew-max:") == 0)
sbin/unwind/libunbound/util/config_file.c
907
else if(strcmp(opt, "val-max-restart:") == 0)
sbin/unwind/libunbound/util/config_file.c
909
else if (strcmp(opt, "outgoing-interface:") == 0) {
sbin/unwind/libunbound/util/config_file.c
962
int config_get_option_list(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/config_file.c
968
if(!config_get_option(cfg, opt, config_collate_func, &m))
sbin/unwind/libunbound/util/config_file.c
979
config_get_option_collate(struct config_file* cfg, const char* opt, char** str)
sbin/unwind/libunbound/util/config_file.c
984
if((r = config_get_option_list(cfg, opt, &list)) != 0)
sbin/unwind/libunbound/util/config_file.h
1036
int config_get_option(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/config_file.h
1046
int config_get_option_list(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/config_file.h
1056
int config_get_option_collate(struct config_file* cfg, const char* opt,
sbin/unwind/libunbound/util/data/msgencode.c
811
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgencode.c
814
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
815
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
817
for(opt = edns->opt_list_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
818
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
828
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgencode.c
831
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
832
if(opt->opt_code == code)
sbin/unwind/libunbound/util/data/msgencode.c
833
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
835
for(opt = edns->opt_list_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
836
if(opt->opt_code == code)
sbin/unwind/libunbound/util/data/msgencode.c
837
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
846
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgencode.c
850
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
851
if(opt->opt_code == LDNS_EDNS_EDE) {
sbin/unwind/libunbound/util/data/msgencode.c
852
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
853
if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
sbin/unwind/libunbound/util/data/msgencode.c
854
if(opt->opt_len >= 2 && sldns_read_uint16(
sbin/unwind/libunbound/util/data/msgencode.c
855
opt->opt_data) == LDNS_EDE_OTHER) {
sbin/unwind/libunbound/util/data/msgencode.c
860
for(opt = edns->opt_list_out; opt; opt = opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
861
if(opt->opt_code == LDNS_EDNS_EDE) {
sbin/unwind/libunbound/util/data/msgencode.c
862
rdatalen += 4 + opt->opt_len;
sbin/unwind/libunbound/util/data/msgencode.c
863
if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
sbin/unwind/libunbound/util/data/msgencode.c
864
if(opt->opt_len >= 2 && sldns_read_uint16(
sbin/unwind/libunbound/util/data/msgencode.c
865
opt->opt_data) == LDNS_EDE_OTHER) {
sbin/unwind/libunbound/util/data/msgencode.c
922
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgencode.c
940
for(opt=edns->opt_list_inplace_cb_out; opt; opt=opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
941
if (opt->opt_code == LDNS_EDNS_PADDING) {
sbin/unwind/libunbound/util/data/msgencode.c
942
padding_option = opt;
sbin/unwind/libunbound/util/data/msgencode.c
945
sldns_buffer_write_u16(pkt, opt->opt_code);
sbin/unwind/libunbound/util/data/msgencode.c
946
sldns_buffer_write_u16(pkt, opt->opt_len);
sbin/unwind/libunbound/util/data/msgencode.c
947
if(opt->opt_len != 0)
sbin/unwind/libunbound/util/data/msgencode.c
948
sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
sbin/unwind/libunbound/util/data/msgencode.c
950
for(opt=edns->opt_list_out; opt; opt=opt->next) {
sbin/unwind/libunbound/util/data/msgencode.c
951
if (opt->opt_code == LDNS_EDNS_PADDING) {
sbin/unwind/libunbound/util/data/msgencode.c
952
padding_option = opt;
sbin/unwind/libunbound/util/data/msgencode.c
955
sldns_buffer_write_u16(pkt, opt->opt_code);
sbin/unwind/libunbound/util/data/msgencode.c
956
sldns_buffer_write_u16(pkt, opt->opt_len);
sbin/unwind/libunbound/util/data/msgencode.c
957
if(opt->opt_len != 0)
sbin/unwind/libunbound/util/data/msgencode.c
958
sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
sbin/unwind/libunbound/util/data/msgreply.c
1111
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgreply.c
1115
opt = (struct edns_option*)regional_alloc(region, sizeof(*opt));
sbin/unwind/libunbound/util/data/msgreply.c
1116
if(!opt)
sbin/unwind/libunbound/util/data/msgreply.c
1118
opt->next = NULL;
sbin/unwind/libunbound/util/data/msgreply.c
1119
opt->opt_code = LDNS_EDNS_EDE;
sbin/unwind/libunbound/util/data/msgreply.c
1120
opt->opt_len = txt_len + sizeof(uint16_t);
sbin/unwind/libunbound/util/data/msgreply.c
1121
opt->opt_data = regional_alloc(region, txt_len + sizeof(uint16_t));
sbin/unwind/libunbound/util/data/msgreply.c
1122
if(!opt->opt_data)
sbin/unwind/libunbound/util/data/msgreply.c
1124
sldns_write_uint16(opt->opt_data, (uint16_t)code);
sbin/unwind/libunbound/util/data/msgreply.c
1126
memmove(opt->opt_data + 2, txt, txt_len);
sbin/unwind/libunbound/util/data/msgreply.c
1133
*prevp = opt;
sbin/unwind/libunbound/util/data/msgreply.c
1151
struct edns_option* opt;
sbin/unwind/libunbound/util/data/msgreply.c
1154
opt = (struct edns_option*)regional_alloc(region, sizeof(*opt));
sbin/unwind/libunbound/util/data/msgreply.c
1155
if(!opt)
sbin/unwind/libunbound/util/data/msgreply.c
1157
opt->next = NULL;
sbin/unwind/libunbound/util/data/msgreply.c
1158
opt->opt_code = code;
sbin/unwind/libunbound/util/data/msgreply.c
1159
opt->opt_len = len;
sbin/unwind/libunbound/util/data/msgreply.c
1160
opt->opt_data = NULL;
sbin/unwind/libunbound/util/data/msgreply.c
1162
opt->opt_data = regional_alloc_init(region, data, len);
sbin/unwind/libunbound/util/data/msgreply.c
1163
if(!opt->opt_data)
sbin/unwind/libunbound/util/data/msgreply.c
1172
*prevp = opt;
sbin/unwind/unwind.c
733
int opt = 1;
sbin/unwind/unwind.c
745
&opt, sizeof(opt)) == -1)
sbin/unwind/unwind.c
766
&opt, sizeof(opt)) == -1)
sbin/unwind/unwind.c
790
&opt, sizeof(opt)) == -1)
sbin/unwind/unwind.c
816
&opt, sizeof(opt)) == -1)
sys/arch/alpha/include/cpuconf.h
97
#define cpu_init(st, fn, opt) { fn, st, opt }
sys/arch/armv7/omap/edmavar.h
27
uint32_t opt; /* Option */
sys/dev/ic/acx100.c
130
uint8_t opt; /* see ACX100_RINGOPT_ */
sys/dev/ic/acx100.c
156
uint32_t opt; /* see ACX100_MEMOPT_ */
sys/dev/ic/acx100.c
353
wep_opt.opt = WEPOPT_HDWEP;
sys/dev/ic/acx100.c
426
ring.opt = ACX100_RINGOPT_AUTO_RESET;
sys/dev/ic/acx100.c
484
mem.opt = htole32(ACX100_MEMOPT_MEMBLOCK | ACX100_MEMOPT_HOSTDESC);
sys/dev/ic/acx111.c
145
uint8_t opt; /* see ACX111_MEMOPT_ */
sys/dev/ic/acx111.c
340
mem.opt = ACX111_MEMOPT_DEFAULT;
sys/dev/ic/acx111.c
407
struct acx111_conf_option opt;
sys/dev/ic/acx111.c
423
if (acx_get_conf(sc, ACX_CONF_OPTION, &opt, sizeof(opt)) != 0) {
sys/dev/ic/acx111.c
428
dataflow = letoh32(opt.dataflow) |
sys/dev/ic/acx111.c
431
opt.dataflow = htole32(dataflow);
sys/dev/ic/acx111.c
433
if (acx_set_conf(sc, ACX_CONF_OPTION, &opt, sizeof(opt)) != 0) {
sys/dev/ic/acxreg.h
249
uint8_t opt; /* see WEPOPT_ */
sys/dev/ic/cy.c
644
int s, opt;
sys/dev/ic/cy.c
679
opt = CD1400_CCR_CMDCHANCTL | CD1400_CCR_XMTEN
sys/dev/ic/cy.c
682
if (opt != cy->cy_channel_control) {
sys/dev/ic/cy.c
683
cy->cy_channel_control = opt;
sys/dev/ic/cy.c
684
cd1400_channel_cmd(cy, opt);
sys/dev/ic/cy.c
688
opt = 0;
sys/dev/ic/cy.c
691
opt |= CD1400_COR1_PARODD;
sys/dev/ic/cy.c
692
opt |= CD1400_COR1_PARNORMAL;
sys/dev/ic/cy.c
696
opt |= CD1400_COR1_NOINPCK; /* no parity checking */
sys/dev/ic/cy.c
699
opt |= CD1400_COR1_STOP2;
sys/dev/ic/cy.c
703
opt |= CD1400_COR1_CS5;
sys/dev/ic/cy.c
707
opt |= CD1400_COR1_CS6;
sys/dev/ic/cy.c
711
opt |= CD1400_COR1_CS7;
sys/dev/ic/cy.c
715
opt |= CD1400_COR1_CS8;
sys/dev/ic/cy.c
719
cd_write_reg(cy, CD1400_COR1, opt);
sys/dev/ic/cy.c
722
printf("cor1 = 0x%x...", opt);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4012
int mem_space, int opt, uint32_t addr0,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4020
WAIT_REG_MEM_OPERATION(opt) | /* wait */
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
522
int mem_space, int opt, uint32_t addr0,
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
530
WAIT_REG_MEM_OPERATION(opt) | /* wait */
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
429
int mem_space, int opt, uint32_t addr0,
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
437
WAIT_REG_MEM_OPERATION(opt) | /* wait */
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1173
int mem_space, int opt, uint32_t addr0,
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1181
WAIT_REG_MEM_OPERATION(opt) | /* wait */
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
389
int mem_space, int opt, uint32_t addr0,
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
403
WAIT_REG_MEM_OPERATION(opt) | /* wait */
sys/dev/pci/drm/drm_drv.c
609
static const char *drm_get_wedge_recovery(unsigned int opt)
sys/dev/pci/drm/drm_drv.c
611
switch (BIT(opt)) {
sys/dev/pci/drm/drm_drv.c
652
unsigned int len, opt;
sys/dev/pci/drm/drm_drv.c
656
for_each_set_bit(opt, &method, BITS_PER_TYPE(method)) {
sys/dev/pci/drm/drm_drv.c
657
recovery = drm_get_wedge_recovery(opt);
sys/dev/pci/drm/drm_drv.c
658
if (drm_WARN_ONCE(dev, !recovery, "invalid recovery method %u\n", opt))
sys/dev/pci/drm/include/linux/fb.h
95
fb_get_options(const char *name, char **opt)
sys/dev/pci/if_alc.c
549
uint32_t opt;
sys/dev/pci/if_alc.c
554
opt = CSR_READ_4(sc, ALC_OPT_CFG);
sys/dev/pci/if_alc.c
565
if ((opt & OPT_CFG_CLK_ENB) == 0) {
sys/dev/pci/if_alc.c
566
opt |= OPT_CFG_CLK_ENB;
sys/dev/pci/if_alc.c
567
CSR_WRITE_4(sc, ALC_OPT_CFG, opt);
sys/dev/pci/if_alc.c
616
if ((opt & OPT_CFG_CLK_ENB) != 0) {
sys/dev/pci/if_alc.c
617
opt &= ~OPT_CFG_CLK_ENB;
sys/dev/pci/if_alc.c
618
CSR_WRITE_4(sc, ALC_OPT_CFG, opt);
sys/dev/pci/if_iwmreg.h
2489
uint8_t opt;
sys/dev/pci/if_iwmreg.h
2511
uint8_t opt;
sys/dev/pci/if_iwmreg.h
2537
uint8_t opt;
sys/dev/pci/if_iwxreg.h
2394
uint8_t opt;
sys/dev/sbus/magma.c
1222
int s, opt;
sys/dev/sbus/magma.c
1254
opt = CD1400_CCR_CMDCHANCTL | CD1400_CCR_XMTEN | CD1400_CCR_RCVEN;
sys/dev/sbus/magma.c
1255
cd1400_write_ccr(cd, opt);
sys/dev/sbus/magma.c
1258
opt = 0;
sys/dev/sbus/magma.c
1260
opt |= (ISSET(t->c_cflag, PARODD) ? CD1400_COR1_PARODD : CD1400_COR1_PARNORMAL);
sys/dev/sbus/magma.c
1263
opt |= CD1400_COR1_NOINPCK; /* no parity checking */
sys/dev/sbus/magma.c
1266
opt |= CD1400_COR1_STOP2;
sys/dev/sbus/magma.c
1270
opt |= CD1400_COR1_CS5;
sys/dev/sbus/magma.c
1274
opt |= CD1400_COR1_CS6;
sys/dev/sbus/magma.c
1278
opt |= CD1400_COR1_CS7;
sys/dev/sbus/magma.c
1282
opt |= CD1400_COR1_CS8;
sys/dev/sbus/magma.c
1286
CD1400_WRITE_REG(cd, CD1400_COR1, opt);
sys/dev/sbus/magma.c
1292
opt = CD1400_COR2_ETC;
sys/dev/sbus/magma.c
1294
opt |= CD1400_COR2_CCTS_OFLOW;
sys/dev/sbus/magma.c
1295
CD1400_WRITE_REG(cd, CD1400_COR2, opt);
sys/dev/sbus/spif.c
562
int s, opt;
sys/dev/sbus/spif.c
580
opt = 0;
sys/dev/sbus/spif.c
582
opt |= CD180_COR1_PARMODE_NORMAL;
sys/dev/sbus/spif.c
583
opt |= (ISSET(t->c_cflag, PARODD) ?
sys/dev/sbus/spif.c
588
opt |= CD180_COR1_PARMODE_NO;
sys/dev/sbus/spif.c
591
opt |= CD180_COR1_IGNPAR;
sys/dev/sbus/spif.c
594
opt |= CD180_COR1_STOP2;
sys/dev/sbus/spif.c
598
opt |= CD180_COR1_CS5;
sys/dev/sbus/spif.c
601
opt |= CD180_COR1_CS6;
sys/dev/sbus/spif.c
604
opt |= CD180_COR1_CS7;
sys/dev/sbus/spif.c
607
opt |= CD180_COR1_CS8;
sys/dev/sbus/spif.c
610
STC_WRITE(sc, STC_COR1, opt);
sys/dev/sbus/spif.c
613
opt = CD180_COR2_ETC;
sys/dev/sbus/spif.c
615
opt |= CD180_COR2_CTSAE;
sys/dev/sbus/spif.c
616
STC_WRITE(sc, STC_COR2, opt);
sys/kern/kern_xxx.c
50
syscallarg(int) opt;
sys/kern/kern_xxx.c
61
reboot(SCARG(uap, opt));
sys/net/if_aggr.c
1114
struct lacp_adminopts *opt = &tro->to_lacpopts;
sys/net/if_aggr.c
1119
opt->lacp_mode = sc->sc_lacp_mode;
sys/net/if_aggr.c
1120
opt->lacp_timeout = sc->sc_lacp_timeout;
sys/net/if_aggr.c
1121
opt->lacp_prio = sc->sc_lacp_prio;
sys/net/if_aggr.c
1122
opt->lacp_portprio = sc->sc_lacp_port_prio;
sys/net/if_aggr.c
1123
opt->lacp_ifqprio = sc->sc_if.if_llprio;
sys/net/if_aggr.c
1131
const struct lacp_adminopts *opt = &tro->to_lacpopts;
sys/net/if_aggr.c
1138
switch (opt->lacp_mode) {
sys/net/if_aggr.c
1146
aggr_set_lacp_mode(sc, opt->lacp_mode);
sys/net/if_aggr.c
1150
if (opt->lacp_timeout >= nitems(aggr_periodic_times))
sys/net/if_aggr.c
1153
aggr_set_lacp_timeout(sc, opt->lacp_timeout);
sys/net/if_aggr.c
1157
if (opt->lacp_prio == 0)
sys/net/if_aggr.c
1160
sc->sc_lacp_prio = opt->lacp_prio;
sys/net/if_aggr.c
1164
if (opt->lacp_portprio == 0)
sys/net/if_aggr.c
1167
sc->sc_lacp_port_prio = opt->lacp_portprio;
sys/net/if_ethersubr.c
2031
int opt;
sys/net/if_ethersubr.c
2036
if (m == NULL || m->m_len != sizeof(opt))
sys/net/if_ethersubr.c
2039
opt = *mtod(m, int *);
sys/net/if_ethersubr.c
2040
if (opt)
sys/net/if_ethersubr.c
2086
int opt;
sys/net/if_ethersubr.c
2091
opt = !!ISSET(ep->ep_options, optm);
sys/net/if_ethersubr.c
2093
m->m_len = sizeof(opt);
sys/net/if_ethersubr.c
2094
*mtod(m, int *) = opt;
sys/net/if_spppsubr.c
2237
char opt[6 /* magicnum */ + 4 /* mru */ + 5 /* chap */];
sys/net/if_spppsubr.c
2244
opt[i++] = LCP_OPT_MAGIC;
sys/net/if_spppsubr.c
2245
opt[i++] = 6;
sys/net/if_spppsubr.c
2246
opt[i++] = sp->lcp.magic >> 24;
sys/net/if_spppsubr.c
2247
opt[i++] = sp->lcp.magic >> 16;
sys/net/if_spppsubr.c
2248
opt[i++] = sp->lcp.magic >> 8;
sys/net/if_spppsubr.c
2249
opt[i++] = sp->lcp.magic;
sys/net/if_spppsubr.c
2253
opt[i++] = LCP_OPT_MRU;
sys/net/if_spppsubr.c
2254
opt[i++] = 4;
sys/net/if_spppsubr.c
2255
opt[i++] = sp->lcp.mru >> 8;
sys/net/if_spppsubr.c
2256
opt[i++] = sp->lcp.mru;
sys/net/if_spppsubr.c
2261
opt[i++] = LCP_OPT_AUTH_PROTO;
sys/net/if_spppsubr.c
2262
opt[i++] = authproto == PPP_CHAP? 5: 4;
sys/net/if_spppsubr.c
2263
opt[i++] = authproto >> 8;
sys/net/if_spppsubr.c
2264
opt[i++] = authproto;
sys/net/if_spppsubr.c
2266
opt[i++] = CHAP_MD5;
sys/net/if_spppsubr.c
2270
sppp_cp_send (sp, PPP_LCP, CONF_REQ, sp->confid[IDX_LCP], i, opt);
sys/net/if_spppsubr.c
2741
char opt[6 /* compression */ + 6 /* address */ + 12 /* dns addrs */];
sys/net/if_spppsubr.c
2747
opt[i++] = IPCP_OPT_COMPRESSION;
sys/net/if_spppsubr.c
2748
opt[i++] = 6;
sys/net/if_spppsubr.c
2749
opt[i++] = 0; /* VJ header compression */
sys/net/if_spppsubr.c
2750
opt[i++] = 0x2d; /* VJ header compression */
sys/net/if_spppsubr.c
2751
opt[i++] = max_slot_id;
sys/net/if_spppsubr.c
2752
opt[i++] = comp_slot_id;
sys/net/if_spppsubr.c
2762
opt[i++] = IPCP_OPT_ADDRESS;
sys/net/if_spppsubr.c
2763
opt[i++] = 6;
sys/net/if_spppsubr.c
2764
opt[i++] = ouraddr >> 24;
sys/net/if_spppsubr.c
2765
opt[i++] = ouraddr >> 16;
sys/net/if_spppsubr.c
2766
opt[i++] = ouraddr >> 8;
sys/net/if_spppsubr.c
2767
opt[i++] = ouraddr;
sys/net/if_spppsubr.c
2771
opt[i++] = IPCP_OPT_PRIMDNS;
sys/net/if_spppsubr.c
2772
opt[i++] = 6;
sys/net/if_spppsubr.c
2773
memcpy(&opt[i], &sp->ipcp.dns[0].s_addr,
sys/net/if_spppsubr.c
2779
opt[i++] = IPCP_OPT_SECDNS;
sys/net/if_spppsubr.c
2780
opt[i++] = 6;
sys/net/if_spppsubr.c
2781
memcpy(&opt[i], &sp->ipcp.dns[1].s_addr,
sys/net/if_spppsubr.c
2787
sppp_cp_send(sp, PPP_IPCP, CONF_REQ, sp->confid[IDX_IPCP], i, opt);
sys/net/if_spppsubr.c
301
const char *sppp_ipv6cp_opt_name(u_char opt);
sys/net/if_spppsubr.c
3173
char opt[10 /* ifid */ + 4 /* compression, minimum */];
sys/net/if_spppsubr.c
3182
opt[i++] = IPV6CP_OPT_IFID;
sys/net/if_spppsubr.c
3183
opt[i++] = 10;
sys/net/if_spppsubr.c
3184
bcopy(&ouraddr.s6_addr[8], &opt[i], 8);
sys/net/if_spppsubr.c
3190
opt[i++] = IPV6CP_OPT_COMPRESSION;
sys/net/if_spppsubr.c
3191
opt[i++] = 4;
sys/net/if_spppsubr.c
3192
opt[i++] = 0; /* TBD */
sys/net/if_spppsubr.c
3193
opt[i++] = 0; /* TBD */
sys/net/if_spppsubr.c
3199
sppp_cp_send(sp, PPP_IPV6CP, CONF_REQ, sp->confid[IDX_IPV6CP], i, opt);
sys/net/if_spppsubr.c
330
const char *sppp_ipcp_opt_name(u_char opt);
sys/net/if_spppsubr.c
331
const char *sppp_lcp_opt_name(u_char opt);
sys/net/if_spppsubr.c
4812
sppp_lcp_opt_name(u_char opt)
sys/net/if_spppsubr.c
4815
switch (opt) {
sys/net/if_spppsubr.c
4824
snprintf (buf, sizeof buf, "0x%x", opt);
sys/net/if_spppsubr.c
4829
sppp_ipcp_opt_name(u_char opt)
sys/net/if_spppsubr.c
4832
switch (opt) {
sys/net/if_spppsubr.c
4839
snprintf (buf, sizeof buf, "0x%x", opt);
sys/net/if_spppsubr.c
4845
sppp_ipv6cp_opt_name(u_char opt)
sys/net/if_spppsubr.c
4848
switch (opt) {
sys/net/if_spppsubr.c
4852
snprintf (buf, sizeof buf, "0x%x", opt);
sys/net/pf.c
3588
u_int8_t opts[MAX_TCPOPTLEN], *opt, *eoh;
sys/net/pf.c
3598
opt = opts;
sys/net/pf.c
3599
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
3602
size_t safelen = MIN(opt[1], (eoh - opt));
sys/net/pf.c
3604
size_t startoff = (opt + i) - opts;
sys/net/pf.c
3605
memcpy(&sack, &opt[i], sizeof(sack));
sys/net/pf.c
3612
memcpy(&opt[i], &sack, sizeof(sack));
sys/net/pf.c
3615
opt += opt[1];
sys/net/pf.c
3637
char *opt;
sys/net/pf.c
3721
opt = (char *)(th + 1);
sys/net/pf.c
3723
opt[0] = TCPOPT_MAXSEG;
sys/net/pf.c
3724
opt[1] = 4;
sys/net/pf.c
3726
memcpy((opt + 2), &mss, 2);
sys/net/pf.c
3727
opt += 4;
sys/net/pf.c
3730
opt[0] = TCPOPT_SACK_PERMITTED;
sys/net/pf.c
3731
opt[1] = 2;
sys/net/pf.c
3732
opt += 2;
sys/net/pf.c
4233
pf_find_tcpopt(u_int8_t *opt, u_int8_t *opts, size_t hlen, u_int8_t type,
sys/net/pf.c
4241
while ((eoh - opt) >= min_typelen) {
sys/net/pf.c
4242
switch (*opt) {
sys/net/pf.c
4248
opt++;
sys/net/pf.c
4251
if (opt[0] == type &&
sys/net/pf.c
4252
opt[1] >= min_typelen)
sys/net/pf.c
4253
return (opt);
sys/net/pf.c
4256
opt += MAX(opt[1], 2); /* evade infinite loops */
sys/net/pf.c
4266
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf.c
4274
opt = opts;
sys/net/pf.c
4275
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
4277
wscale = opt[2];
sys/net/pf.c
4281
opt += opt[1];
sys/net/pf.c
4291
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf.c
4300
opt = opts;
sys/net/pf.c
4301
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
4303
memcpy(&mss, (opt + 2), 2);
sys/net/pf.c
4306
opt += opt[1];
sys/net/pf.c
7749
struct ip6_opt opt;
sys/net/pf.c
7753
if (!pf_pull_hdr(pd->m, off, &opt.ip6o_type,
sys/net/pf.c
7754
sizeof(opt.ip6o_type), reason, AF_INET6)) {
sys/net/pf.c
7758
if (opt.ip6o_type == IP6OPT_PAD1) {
sys/net/pf.c
7762
if (!pf_pull_hdr(pd->m, off, &opt, sizeof(opt),
sys/net/pf.c
7767
if (off + sizeof(opt) + opt.ip6o_len > end) {
sys/net/pf.c
7772
switch (opt.ip6o_type) {
sys/net/pf.c
7808
off += sizeof(opt) + opt.ip6o_len;
sys/net/pf_norm.c
1181
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1218
opt = opts;
sys/net/pf_norm.c
1219
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf_norm.c
1225
memcpy(&tsval, &opt[2], sizeof(u_int32_t));
sys/net/pf_norm.c
1226
memcpy(&tsecr, &opt[6], sizeof(u_int32_t));
sys/net/pf_norm.c
1232
opt += opt[1];
sys/net/pf_norm.c
1261
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1304
opt = opts;
sys/net/pf_norm.c
1305
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf_norm.c
1308
u_int8_t *ts = opt + 2;
sys/net/pf_norm.c
1309
u_int8_t *tsr = opt + 6;
sys/net/pf_norm.c
1348
opt += opt[1];
sys/net/pf_norm.c
1627
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1635
opt = opts;
sys/net/pf_norm.c
1636
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf_norm.c
1639
u_int8_t *mssp = opt + 2;
sys/net/pf_norm.c
1651
opt += opt[1];
sys/net/pipex.c
2839
int opt, optlen, acc, mss, maxmss, lpktp;
sys/net/pipex.c
2881
GETCHAR(opt, pktp);
sys/net/pipex.c
2882
switch (opt) {
sys/netinet/ip_icmp.c
781
int opt, cnt;
sys/netinet/ip_icmp.c
801
opt = cp[IPOPT_OPTVAL];
sys/netinet/ip_icmp.c
802
if (opt == IPOPT_EOL)
sys/netinet/ip_icmp.c
804
if (opt == IPOPT_NOP)
sys/netinet/ip_icmp.c
818
if (opt == IPOPT_RR || opt == IPOPT_TS ||
sys/netinet/ip_icmp.c
819
opt == IPOPT_SECURITY) {
sys/netinet/ip_input.c
1205
int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0;
sys/netinet/ip_input.c
1215
opt = cp[IPOPT_OPTVAL];
sys/netinet/ip_input.c
1216
if (opt == IPOPT_EOL)
sys/netinet/ip_input.c
1218
if (opt == IPOPT_NOP)
sys/netinet/ip_input.c
1232
switch (opt) {
sys/netinet/ip_input.c
1268
if (opt == IPOPT_SSRR) {
sys/netinet/ip_input.c
1298
if (!rtisvalid(rt) || ((opt == IPOPT_SSRR) &&
sys/netinet/ip_output.c
120
if (opt)
sys/netinet/ip_output.c
121
m = ip_insertoptions(m, opt, &hlen);
sys/netinet/ip_output.c
1245
u_char opt;
sys/netinet/ip_output.c
1273
opt = cp[IPOPT_OPTVAL];
sys/netinet/ip_output.c
1275
if (opt == IPOPT_NOP || opt == IPOPT_EOL) {
sys/netinet/ip_output.c
1284
switch (opt) {
sys/netinet/ip_output.c
1308
p->ipopt_list[off + IPOPT_OPTVAL] = opt;
sys/netinet/ip_output.c
1329
if (opt == IPOPT_EOL)
sys/netinet/ip_output.c
772
ip_insertoptions(struct mbuf *m, struct mbuf *opt, int *phlen)
sys/netinet/ip_output.c
774
struct ipoption *p = mtod(opt, struct ipoption *);
sys/netinet/ip_output.c
779
optlen = opt->m_len - sizeof(p->ipopt_dst);
sys/netinet/ip_output.c
825
int opt, optlen, cnt;
sys/netinet/ip_output.c
831
opt = cp[0];
sys/netinet/ip_output.c
832
if (opt == IPOPT_EOL)
sys/netinet/ip_output.c
834
if (opt == IPOPT_NOP) {
sys/netinet/ip_output.c
852
if (IPOPT_COPIED(opt)) {
sys/netinet/ip_output.c
99
ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags,
sys/netinet/raw_ip.c
342
int hlen, opt, optlen, cnt;
sys/netinet/raw_ip.c
387
opt = cp[IPOPT_OPTVAL];
sys/netinet/raw_ip.c
388
if (opt == IPOPT_EOL)
sys/netinet/raw_ip.c
390
if (opt == IPOPT_NOP)
sys/netinet/tcp_input.c
2137
int opt, optlen;
sys/netinet/tcp_input.c
2144
opt = cp[0];
sys/netinet/tcp_input.c
2145
if (opt == TCPOPT_EOL)
sys/netinet/tcp_input.c
2147
if (opt == TCPOPT_NOP)
sys/netinet/tcp_input.c
2156
switch (opt) {
sys/netinet/tcp_output.c
194
u_char *opt = (u_char *)optbuf;
sys/netinet/tcp_output.c
513
opt[0] = TCPOPT_MAXSEG;
sys/netinet/tcp_output.c
514
opt[1] = 4;
sys/netinet/tcp_output.c
516
memcpy(opt + 2, &mss, sizeof(mss));
sys/netinet/tcp_output.c
529
*((u_int32_t *) (opt + optlen)) =
sys/netinet/tcp_output.c
536
*((u_int32_t *) (opt + optlen)) = htonl(
sys/netinet/tcp_output.c
555
u_int32_t *lp = (u_int32_t *)(opt + optlen);
sys/netinet/tcp_output.c
571
u_int8_t *bp = (u_int8_t *)(opt + optlen);
sys/netinet/tcp_output.c
604
u_int32_t *lp = (u_int32_t *)(opt + optlen);
sys/netinet/tcp_output.c
795
memcpy(th + 1, opt, optlen);
sys/netinet6/dest6.c
53
u_int8_t *opt;
sys/netinet6/dest6.c
66
opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest);
sys/netinet6/dest6.c
69
for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) {
sys/netinet6/dest6.c
70
if (*opt != IP6OPT_PAD1 &&
sys/netinet6/dest6.c
71
(dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) {
sys/netinet6/dest6.c
76
switch (*opt) {
sys/netinet6/dest6.c
81
optlen = *(opt + 1) + 2;
sys/netinet6/dest6.c
84
optlen = ip6_unknown_opt(mp, opt,
sys/netinet6/dest6.c
85
opt - mtod(*mp, u_int8_t *));
sys/netinet6/ip6_input.c
847
u_int8_t *opt = opthead;
sys/netinet6/ip6_input.c
852
for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
sys/netinet6/ip6_input.c
853
switch (*opt) {
sys/netinet6/ip6_input.c
862
optlen = *(opt + 1) + 2;
sys/netinet6/ip6_input.c
870
if (*(opt + 1) != IP6OPT_RTALERT_LEN - 2) {
sys/netinet6/ip6_input.c
874
erroff + opt + 1 - opthead);
sys/netinet6/ip6_input.c
878
memcpy((caddr_t)&rtalert_val, (caddr_t)(opt + 2), 2);
sys/netinet6/ip6_input.c
887
if (*(opt + 1) != IP6OPT_JUMBO_LEN - 2) {
sys/netinet6/ip6_input.c
891
erroff + opt + 1 - opthead);
sys/netinet6/ip6_input.c
905
erroff + opt - opthead);
sys/netinet6/ip6_input.c
913
memcpy(&jumboplen, opt + 2, sizeof(jumboplen));
sys/netinet6/ip6_input.c
929
erroff + opt + 2 - opthead);
sys/netinet6/ip6_input.c
941
erroff + opt + 2 - opthead);
sys/netinet6/ip6_input.c
952
optlen = ip6_unknown_opt(mp, opt,
sys/netinet6/ip6_input.c
953
erroff + opt - opthead);
sys/netinet6/ip6_output.c
159
ip6_output(struct mbuf *m, struct ip6_pktopts *opt, struct route *ro,
sys/netinet6/ip6_output.c
1669
ip6_initpktopts(struct ip6_pktopts *opt)
sys/netinet6/ip6_output.c
1671
bzero(opt, sizeof(*opt));
sys/netinet6/ip6_output.c
1672
opt->ip6po_hlim = -1; /* -1 means default hop limit */
sys/netinet6/ip6_output.c
1673
opt->ip6po_tclass = -1; /* -1 means default traffic class */
sys/netinet6/ip6_output.c
1674
opt->ip6po_minmtu = IP6PO_MINMTU_MCASTONLY;
sys/netinet6/ip6_output.c
1681
struct ip6_pktopts *opt;
sys/netinet6/ip6_output.c
1688
opt = *pktopt;
sys/netinet6/ip6_output.c
1690
return (ip6_setpktopt(optname, buf, len, opt, priv, 1, uproto));
sys/netinet6/ip6_output.c
201
if (opt) {
sys/netinet6/ip6_output.c
203
MAKE_EXTHDR(opt->ip6po_hbh, &exthdrs.ip6e_hbh);
sys/netinet6/ip6_output.c
205
MAKE_EXTHDR(opt->ip6po_dest1, &exthdrs.ip6e_dest1);
sys/netinet6/ip6_output.c
207
MAKE_EXTHDR(opt->ip6po_rthdr, &exthdrs.ip6e_rthdr);
sys/netinet6/ip6_output.c
209
MAKE_EXTHDR(opt->ip6po_dest2, &exthdrs.ip6e_dest2);
sys/netinet6/ip6_output.c
2216
ip6_setpktopts(struct mbuf *control, struct ip6_pktopts *opt,
sys/netinet6/ip6_output.c
2224
if (control == NULL || opt == NULL)
sys/netinet6/ip6_output.c
2227
ip6_initpktopts(opt);
sys/netinet6/ip6_output.c
2240
if ((error = copypktopts(opt, stickyopt)) != 0)
sys/netinet6/ip6_output.c
2262
cm->cmsg_len - CMSG_LEN(0), opt, priv, 0, uproto);
sys/netinet6/ip6_output.c
2279
ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt,
sys/netinet6/ip6_output.c
2301
if (opt->ip6po_pktinfo &&
sys/netinet6/ip6_output.c
2304
ip6_clearpktopts(opt, optname);
sys/netinet6/ip6_output.c
2330
if (opt->ip6po_pktinfo == NULL) {
sys/netinet6/ip6_output.c
2331
opt->ip6po_pktinfo = malloc(sizeof(*pktinfo),
sys/netinet6/ip6_output.c
2333
if (opt->ip6po_pktinfo == NULL)
sys/netinet6/ip6_output.c
2336
bcopy(pktinfo, opt->ip6po_pktinfo, sizeof(*pktinfo));
sys/netinet6/ip6_output.c
2357
opt->ip6po_hlim = *hlimp;
sys/netinet6/ip6_output.c
2371
opt->ip6po_tclass = tclass;
sys/netinet6/ip6_output.c
2388
ip6_clearpktopts(opt, IPV6_HOPOPTS);
sys/netinet6/ip6_output.c
2401
ip6_clearpktopts(opt, IPV6_HOPOPTS);
sys/netinet6/ip6_output.c
2402
opt->ip6po_hbh = malloc(hbhlen, M_IP6OPT, M_NOWAIT);
sys/netinet6/ip6_output.c
2403
if (opt->ip6po_hbh == NULL)
sys/netinet6/ip6_output.c
2405
memcpy(opt->ip6po_hbh, hbh, hbhlen);
sys/netinet6/ip6_output.c
2420
ip6_clearpktopts(opt, optname);
sys/netinet6/ip6_output.c
2437
newdest = &opt->ip6po_dest1;
sys/netinet6/ip6_output.c
2440
newdest = &opt->ip6po_dest2;
sys/netinet6/ip6_output.c
2445
ip6_clearpktopts(opt, optname);
sys/netinet6/ip6_output.c
2460
ip6_clearpktopts(opt, IPV6_RTHDR);
sys/netinet6/ip6_output.c
2485
ip6_clearpktopts(opt, IPV6_RTHDR);
sys/netinet6/ip6_output.c
2486
opt->ip6po_rthdr = malloc(rthlen, M_IP6OPT, M_NOWAIT);
sys/netinet6/ip6_output.c
2487
if (opt->ip6po_rthdr == NULL)
sys/netinet6/ip6_output.c
2489
memcpy(opt->ip6po_rthdr, rth, rthlen);
sys/netinet6/ip6_output.c
2502
opt->ip6po_minmtu = minmtupolicy;
sys/netinet6/ip6_output.c
2514
opt->ip6po_flags &= ~IP6PO_DONTFRAG;
sys/netinet6/ip6_output.c
2516
opt->ip6po_flags |= IP6PO_DONTFRAG;
sys/netinet6/ip6_output.c
395
if (opt && opt->ip6po_rthdr)
sys/netinet6/ip6_output.c
396
ro = &opt->ip6po_route;
sys/netinet6/ip6_output.c
404
if (opt && opt->ip6po_tclass >= 0) {
sys/netinet6/ip6_output.c
413
htonl((opt->ip6po_tclass & mask) << 20);
sys/netinet6/ip6_output.c
417
if (opt && opt->ip6po_hlim != -1)
sys/netinet6/ip6_output.c
418
ip6->ip6_hlim = opt->ip6po_hlim & 0xff;
sys/netinet6/ip6_output.c
450
if (opt != NULL && (pi = opt->ip6po_pktinfo) != NULL)
sys/netinet6/ip6_output.c
458
rt = in6_selectroute(&ip6->ip6_dst, opt, ro,
sys/netinet6/ip6_output.c
591
else if (opt && opt->ip6po_minmtu == IP6PO_MINMTU_ALL)
sys/netinet6/ip6_output.c
593
else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && (opt == NULL ||
sys/netinet6/ip6_output.c
594
opt->ip6po_minmtu != IP6PO_MINMTU_DISABLE)) {
sys/netinet6/ip6_output.c
686
} else if (opt && ISSET(opt->ip6po_flags, IP6PO_DONTFRAG))
sys/netinet6/nd6.c
150
nd6_options(void *opt, int icmp6len, struct nd_opts *ndopts)
sys/netinet6/nd6.c
160
next_opt = opt;
sys/netinet6/nd6.c
161
last_opt = (struct nd_opt_hdr *)((u_char *)opt + icmp6len);
sys/netinet6/raw_ip6.c
391
struct ip6_pktopts opt, *optp = NULL;
sys/netinet6/raw_ip6.c
402
if ((error = ip6_setpktopts(control, &opt,
sys/netinet6/raw_ip6.c
406
optp = &opt;
sys/netinet6/raw_ip6.c
532
ip6_clearpktopts(&opt, -1);
sys/netinet6/udp6_output.c
101
struct ip6_pktopts *optp, opt;
sys/netinet6/udp6_output.c
109
if ((error = ip6_setpktopts(control, &opt,
sys/netinet6/udp6_output.c
112
optp = &opt;
sys/netinet6/udp6_output.c
245
ip6_clearpktopts(&opt, -1);
sys/sys/syscallargs.h
257
syscallarg(int) opt;
usr.bin/col/col.c
113
int adjust, opt, warned;
usr.bin/col/col.c
121
while ((opt = getopt(argc, argv, "bfhl:x")) != -1)
usr.bin/col/col.c
122
switch (opt) {
usr.bin/cu/cu.c
112
while ((opt = getopt(argc, argv, "drE:l:s:")) != -1) {
usr.bin/cu/cu.c
113
switch (opt) {
usr.bin/cu/cu.c
87
int opt, i, flags;
usr.bin/cvs/config.c
42
char *val, *opt, *ep;
usr.bin/cvs/config.c
44
opt = line;
usr.bin/cvs/config.c
45
if ((val = strrchr(opt, '=')) == NULL)
usr.bin/cvs/config.c
46
fatal("cvs_parse_configfile: bad option '%s'", opt);
usr.bin/cvs/config.c
50
if (!strcmp(opt, "tag")) {
usr.bin/cvs/config.c
53
} else if (!strcmp(opt, "umask")) {
usr.bin/cvs/config.c
62
} else if (!strcmp(opt, "dlimit")) {
usr.bin/cvs/config.c
73
cvs_log(LP_ERR, "ignoring unknown option '%s'", opt);
usr.bin/cvs/rcsparse.c
100
int opt;
usr.bin/cvs/rcsparse.c
1118
if (sec[i].opt) {
usr.bin/cvs/update.c
501
char sticky[CVS_ENT_MAXLINELEN], opt[4];
usr.bin/cvs/update.c
512
opt[0] = '\0';
usr.bin/cvs/update.c
514
strlcpy(opt, cf->file_ent->ce_opts, sizeof(opt));
usr.bin/cvs/update.c
518
opt[0] != '\0' ? opt : "", sticky, 0, 0,
usr.bin/dig/dig.c
1284
char opt, *value, *ptr, *ptr2, *ptr3;
usr.bin/dig/dig.c
1301
opt = option[0];
usr.bin/dig/dig.c
1302
switch (opt) {
usr.bin/dig/dig.c
1348
opt = option[0];
usr.bin/dig/dig.c
1358
switch (opt) {
usr.bin/dig/dig.c
484
query->lookup->edns != -1 && msg->opt == NULL &&
usr.bin/dig/dig.h
319
set_nameserver(char *opt);
usr.bin/dig/dighost.c
3166
dns_rdataset_t *opt = msg->opt;
usr.bin/dig/dighost.c
3169
result = dns_rdataset_first(opt);
usr.bin/dig/dighost.c
3172
dns_rdataset_current(opt, &rdata);
usr.bin/dig/dighost.c
3199
ednsvers(dns_rdataset_t *opt) {
usr.bin/dig/dighost.c
3200
return ((opt->ttl >> 16) & 0xff);
usr.bin/dig/dighost.c
3447
if (msg->rcode == dns_rcode_badvers && msg->opt != NULL &&
usr.bin/dig/dighost.c
3448
(newedns = ednsvers(msg->opt)) < l->edns && l->ednsneg) {
usr.bin/dig/dighost.c
3468
if (l->sitvalue == NULL && l->sit && msg->opt != NULL)
usr.bin/dig/dighost.c
3570
if (msg->opt == NULL)
usr.bin/dig/dighost.c
3574
} else if (l->sit && msg->opt != NULL)
usr.bin/dig/dighost.c
553
set_nameserver(char *opt) {
usr.bin/dig/dighost.c
560
if (opt == NULL)
usr.bin/dig/dighost.c
563
result = get_addresses(opt, 0, sockaddrs,
usr.bin/dig/dighost.c
577
srv = make_server(tmp, opt);
usr.bin/dig/host.c
369
dns_rdataset_t *opt, *tsig = NULL;
usr.bin/dig/host.c
486
opt = dns_message_getopt(msg);
usr.bin/dig/host.c
487
if (opt != NULL)
usr.bin/dig/host.c
489
(unsigned int)((opt->ttl & 0x00ff0000) >> 16),
usr.bin/dig/host.c
490
(unsigned int)opt->rdclass);
usr.bin/dig/lib/dns/include/dns/message.h
182
dns_rdataset_t *opt;
usr.bin/dig/lib/dns/include/dns/message.h
837
dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt);
usr.bin/dig/lib/dns/include/dns/message.h
991
dns_message_buildopt(dns_message_t *msg, dns_rdataset_t **opt,
usr.bin/dig/lib/dns/message.c
1147
msg->opt != NULL)
usr.bin/dig/lib/dns/message.c
1314
if (rdtype == dns_rdatatype_opt && msg->opt == NULL) {
usr.bin/dig/lib/dns/message.c
1317
msg->opt = rdataset;
usr.bin/dig/lib/dns/message.c
1321
((msg->opt->ttl & DNS_MESSAGE_EDNSRCODE_MASK)
usr.bin/dig/lib/dns/message.c
1740
if ((msg->rcode & ~DNS_MESSAGE_RCODE_MASK) != 0 && msg->opt == NULL) {
usr.bin/dig/lib/dns/message.c
1753
if ((msg->tsigkey != NULL || msg->opt) &&
usr.bin/dig/lib/dns/message.c
1773
if (msg->opt != NULL) {
usr.bin/dig/lib/dns/message.c
1779
msg->opt->ttl &= ~DNS_MESSAGE_EDNSRCODE_MASK;
usr.bin/dig/lib/dns/message.c
1780
msg->opt->ttl |= ((msg->rcode << 20) &
usr.bin/dig/lib/dns/message.c
1786
result = renderset(msg->opt, dns_rootname, msg->cctx,
usr.bin/dig/lib/dns/message.c
2082
return (msg->opt);
usr.bin/dig/lib/dns/message.c
2086
dns_message_setopt(dns_message_t *msg, dns_rdataset_t *opt) {
usr.bin/dig/lib/dns/message.c
2108
REQUIRE(opt->type == dns_rdatatype_opt);
usr.bin/dig/lib/dns/message.c
2114
result = dns_rdataset_first(opt);
usr.bin/dig/lib/dns/message.c
2117
dns_rdataset_current(opt, &rdata);
usr.bin/dig/lib/dns/message.c
2125
msg->opt = opt;
usr.bin/dig/lib/dns/message.c
2130
dns_rdataset_disassociate(opt);
usr.bin/dig/lib/dns/message.c
2131
dns_message_puttemprdataset(msg, &opt);
usr.bin/dig/lib/dns/message.c
297
m->opt = NULL;
usr.bin/dig/lib/dns/message.c
383
if (msg->opt != NULL) {
usr.bin/dig/lib/dns/message.c
388
INSIST(dns_rdataset_isassociated(msg->opt));
usr.bin/dig/lib/dns/message.c
389
dns_rdataset_disassociate(msg->opt);
usr.bin/dig/lib/dns/message.c
390
free(msg->opt);
usr.bin/dig/lib/dns/message.c
391
msg->opt = NULL;
usr.bin/dig/lib/dns/rdata/generic/opt_41.c
74
uint16_t opt;
usr.bin/dig/lib/dns/rdata/generic/opt_41.c
92
opt = uint16_fromregion(&sregion);
usr.bin/dig/lib/dns/rdata/generic/opt_41.c
99
switch (opt) {
usr.bin/dig/nslookup.c
578
setoption(char *opt) {
usr.bin/dig/nslookup.c
579
size_t l = strlen(opt);
usr.bin/dig/nslookup.c
582
((l >= N) && (l < sizeof(A)) && (strncasecmp(opt, A, l) == 0))
usr.bin/dig/nslookup.c
586
} else if (strncasecmp(opt, "class=", 6) == 0) {
usr.bin/dig/nslookup.c
587
if (testclass(&opt[6]))
usr.bin/dig/nslookup.c
588
strlcpy(defclass, &opt[6], sizeof(defclass));
usr.bin/dig/nslookup.c
589
} else if (strncasecmp(opt, "cl=", 3) == 0) {
usr.bin/dig/nslookup.c
590
if (testclass(&opt[3]))
usr.bin/dig/nslookup.c
591
strlcpy(defclass, &opt[3], sizeof(defclass));
usr.bin/dig/nslookup.c
592
} else if (strncasecmp(opt, "type=", 5) == 0) {
usr.bin/dig/nslookup.c
593
if (testtype(&opt[5]))
usr.bin/dig/nslookup.c
594
strlcpy(deftype, &opt[5], sizeof(deftype));
usr.bin/dig/nslookup.c
595
} else if (strncasecmp(opt, "ty=", 3) == 0) {
usr.bin/dig/nslookup.c
596
if (testtype(&opt[3]))
usr.bin/dig/nslookup.c
597
strlcpy(deftype, &opt[3], sizeof(deftype));
usr.bin/dig/nslookup.c
598
} else if (strncasecmp(opt, "querytype=", 10) == 0) {
usr.bin/dig/nslookup.c
599
if (testtype(&opt[10]))
usr.bin/dig/nslookup.c
600
strlcpy(deftype, &opt[10], sizeof(deftype));
usr.bin/dig/nslookup.c
601
} else if (strncasecmp(opt, "query=", 6) == 0) {
usr.bin/dig/nslookup.c
602
if (testtype(&opt[6]))
usr.bin/dig/nslookup.c
603
strlcpy(deftype, &opt[6], sizeof(deftype));
usr.bin/dig/nslookup.c
604
} else if (strncasecmp(opt, "qu=", 3) == 0) {
usr.bin/dig/nslookup.c
605
if (testtype(&opt[3]))
usr.bin/dig/nslookup.c
606
strlcpy(deftype, &opt[3], sizeof(deftype));
usr.bin/dig/nslookup.c
607
} else if (strncasecmp(opt, "q=", 2) == 0) {
usr.bin/dig/nslookup.c
608
if (testtype(&opt[2]))
usr.bin/dig/nslookup.c
609
strlcpy(deftype, &opt[2], sizeof(deftype));
usr.bin/dig/nslookup.c
610
} else if (strncasecmp(opt, "domain=", 7) == 0) {
usr.bin/dig/nslookup.c
611
strlcpy(domainopt, &opt[7], sizeof(domainopt));
usr.bin/dig/nslookup.c
614
} else if (strncasecmp(opt, "do=", 3) == 0) {
usr.bin/dig/nslookup.c
615
strlcpy(domainopt, &opt[3], sizeof(domainopt));
usr.bin/dig/nslookup.c
618
} else if (strncasecmp(opt, "port=", 5) == 0) {
usr.bin/dig/nslookup.c
619
set_port(&opt[5]);
usr.bin/dig/nslookup.c
620
} else if (strncasecmp(opt, "po=", 3) == 0) {
usr.bin/dig/nslookup.c
621
set_port(&opt[3]);
usr.bin/dig/nslookup.c
622
} else if (strncasecmp(opt, "timeout=", 8) == 0) {
usr.bin/dig/nslookup.c
623
set_timeout(&opt[8]);
usr.bin/dig/nslookup.c
624
} else if (strncasecmp(opt, "t=", 2) == 0) {
usr.bin/dig/nslookup.c
625
set_timeout(&opt[2]);
usr.bin/dig/nslookup.c
630
} else if (strncasecmp(opt, "retry=", 6) == 0) {
usr.bin/dig/nslookup.c
631
set_tries(&opt[6]);
usr.bin/dig/nslookup.c
632
} else if (strncasecmp(opt, "ret=", 4) == 0) {
usr.bin/dig/nslookup.c
633
set_tries(&opt[4]);
usr.bin/dig/nslookup.c
662
} else if (strncasecmp(opt, "ndots=", 6) == 0) {
usr.bin/dig/nslookup.c
663
set_ndots(&opt[6]);
usr.bin/dig/nslookup.c
665
printf("*** Invalid option: %s\n", opt);
usr.bin/dig/nslookup.c
670
addlookup(char *opt) {
usr.bin/dig/nslookup.c
694
if (get_reverse(store, sizeof(store), opt, lookup->ip6_int, 1)
usr.bin/dig/nslookup.c
700
strlcpy(lookup->textname, opt, sizeof(lookup->textname));
usr.bin/encrypt/encrypt.c
107
while ((opt = getopt(argc, argv, "pb:c:")) != -1) {
usr.bin/encrypt/encrypt.c
108
switch (opt) {
usr.bin/encrypt/encrypt.c
92
int opt;
usr.bin/file/file.c
122
int opt, pair[2], fd, idx;
usr.bin/file/file.c
134
opt = getopt_long(argc, argv, "bchiLsW", longopts, NULL);
usr.bin/file/file.c
135
if (opt == -1)
usr.bin/file/file.c
137
switch (opt) {
usr.bin/lex/scanopt.c
180
const struct optspec_t *opt;
usr.bin/lex/scanopt.c
183
opt = s->options + i;
usr.bin/lex/scanopt.c
188
if (opt->opt_fmt[0] == '-' && opt->opt_fmt[1] == '-') {
usr.bin/lex/scanopt.c
190
pname = (const u_char *)(opt->opt_fmt + 2);
usr.bin/lex/scanopt.c
194
pname = (const u_char *)(opt->opt_fmt + 1);
usr.bin/lex/scanopt.c
197
aux->printlen = strlen (opt->opt_fmt);
usr.bin/locale/locale.c
180
int opt, aflag = 0, mflag = 0;
usr.bin/locale/locale.c
192
while ((opt = getopt(argc, argv, "am")) != -1) {
usr.bin/locale/locale.c
193
switch (opt) {
usr.bin/make/main.c
119
char opt[3];
usr.bin/make/main.c
121
opt[0] = '-';
usr.bin/make/main.c
122
opt[1] = c;
usr.bin/make/main.c
123
opt[2] = '\0';
usr.bin/make/main.c
124
Var_Append(MAKEFLAGS, opt);
usr.bin/openssl/apps.c
1977
const struct option *opt;
usr.bin/openssl/apps.c
2022
opt = &opts[j];
usr.bin/openssl/apps.c
2023
if (opt->name == NULL && opt->type == 0)
usr.bin/openssl/apps.c
2026
if (opt->type == OPTION_ARG ||
usr.bin/openssl/apps.c
2027
opt->type == OPTION_ARG_FORMAT ||
usr.bin/openssl/apps.c
2028
opt->type == OPTION_ARG_FUNC ||
usr.bin/openssl/apps.c
2029
opt->type == OPTION_ARG_INT ||
usr.bin/openssl/apps.c
2030
opt->type == OPTION_ARG_LONG ||
usr.bin/openssl/apps.c
2031
opt->type == OPTION_ARG_TIME) {
usr.bin/openssl/apps.c
2034
opt->argname, opt->name);
usr.bin/openssl/apps.c
2039
switch (opt->type) {
usr.bin/openssl/apps.c
2041
*opt->opt.arg = argv[i];
usr.bin/openssl/apps.c
2045
if (opt->opt.argvfunc(argc - i, &argv[i], &used) != 0)
usr.bin/openssl/apps.c
2054
opt->argname, argv[i], opt->name);
usr.bin/openssl/apps.c
2057
*opt->opt.value = fmt;
usr.bin/openssl/apps.c
2061
if (opt->opt.argfunc(argv[i]) != 0)
usr.bin/openssl/apps.c
2069
errstr, opt->argname, opt->name);
usr.bin/openssl/apps.c
2072
*opt->opt.value = (int)val;
usr.bin/openssl/apps.c
2079
errstr, opt->argname, opt->name);
usr.bin/openssl/apps.c
2082
*opt->opt.lvalue = (long)val;
usr.bin/openssl/apps.c
2089
errstr, opt->argname, opt->name);
usr.bin/openssl/apps.c
2092
*opt->opt.tvalue = val;
usr.bin/openssl/apps.c
2099
if (opt->opt.func() != 0)
usr.bin/openssl/apps.c
2104
*opt->opt.flag = 1;
usr.bin/openssl/apps.c
2108
*opt->opt.flag = ++ord;
usr.bin/openssl/apps.c
2112
*opt->opt.value = opt->value;
usr.bin/openssl/apps.c
2116
*opt->opt.value &= opt->value;
usr.bin/openssl/apps.c
2120
*opt->opt.value |= opt->value;
usr.bin/openssl/apps.c
2124
*opt->opt.ulvalue |= opt->ulvalue;
usr.bin/openssl/apps.c
2128
*opt->opt.order = ++(*opt->order);
usr.bin/openssl/apps.c
2133
opt->name, opt->type);
usr.bin/openssl/apps.h
313
} opt;
usr.bin/openssl/asn1pars.c
134
.opt.value = &cfg.dump,
usr.bin/openssl/asn1pars.c
141
.opt.argfunc = asn1pars_opt_dlimit,
usr.bin/openssl/asn1pars.c
148
.opt.arg = &cfg.genconf,
usr.bin/openssl/asn1pars.c
155
.opt.arg = &cfg.genstr,
usr.bin/openssl/asn1pars.c
161
.opt.flag = &cfg.indent,
usr.bin/openssl/asn1pars.c
168
.opt.arg = &cfg.infile,
usr.bin/openssl/asn1pars.c
175
.opt.value = &cfg.informat,
usr.bin/openssl/asn1pars.c
182
.opt.argfunc = asn1pars_opt_length,
usr.bin/openssl/asn1pars.c
188
.opt.flag = &cfg.noout,
usr.bin/openssl/asn1pars.c
195
.opt.value = &cfg.offset,
usr.bin/openssl/asn1pars.c
202
.opt.arg = &cfg.oidfile,
usr.bin/openssl/asn1pars.c
209
.opt.arg = &cfg.derfile,
usr.bin/openssl/asn1pars.c
217
.opt.argfunc = asn1pars_opt_strparse,
usr.bin/openssl/ca.c
295
.opt.flag = &cfg.batch,
usr.bin/openssl/ca.c
302
.opt.arg = &cfg.certfile,
usr.bin/openssl/ca.c
309
.opt.arg = &cfg.configfile,
usr.bin/openssl/ca.c
315
.opt.flag = &cfg.create_serial,
usr.bin/openssl/ca.c
323
.opt.argfunc = ca_opt_crl_ca_compromise,
usr.bin/openssl/ca.c
331
.opt.argfunc = ca_opt_crl_compromise,
usr.bin/openssl/ca.c
339
.opt.argfunc = ca_opt_crl_hold,
usr.bin/openssl/ca.c
346
.opt.argfunc = ca_opt_crl_reason,
usr.bin/openssl/ca.c
353
.opt.lvalue = &cfg.crldays,
usr.bin/openssl/ca.c
360
.opt.arg = &cfg.crl_ext,
usr.bin/openssl/ca.c
367
.opt.lvalue = &cfg.crlhours,
usr.bin/openssl/ca.c
374
.opt.lvalue = &cfg.crlsec,
usr.bin/openssl/ca.c
381
.opt.lvalue = &cfg.days,
usr.bin/openssl/ca.c
388
.opt.arg = &cfg.enddate,
usr.bin/openssl/ca.c
395
.opt.arg = &cfg.extensions,
usr.bin/openssl/ca.c
402
.opt.arg = &cfg.extfile,
usr.bin/openssl/ca.c
408
.opt.flag = &cfg.gencrl,
usr.bin/openssl/ca.c
415
.opt.argfunc = ca_opt_in,
usr.bin/openssl/ca.c
422
.opt.argvfunc = ca_opt_infiles,
usr.bin/openssl/ca.c
429
.opt.arg = &cfg.key,
usr.bin/openssl/ca.c
436
.opt.arg = &cfg.keyfile,
usr.bin/openssl/ca.c
443
.opt.value = &cfg.keyform,
usr.bin/openssl/ca.c
450
.opt.arg = &cfg.md,
usr.bin/openssl/ca.c
456
.opt.flag = &cfg.multirdn,
usr.bin/openssl/ca.c
463
.opt.arg = &cfg.section,
usr.bin/openssl/ca.c
469
.opt.value = &cfg.email_dn,
usr.bin/openssl/ca.c
476
.opt.flag = &cfg.notext,
usr.bin/openssl/ca.c
483
.opt.arg = &cfg.outfile,
usr.bin/openssl/ca.c
490
.opt.arg = &cfg.outdir,
usr.bin/openssl/ca.c
497
.opt.arg = &cfg.passargin,
usr.bin/openssl/ca.c
504
.opt.arg = &cfg.policy,
usr.bin/openssl/ca.c
510
.opt.flag = &cfg.preserve,
usr.bin/openssl/ca.c
517
.opt.argfunc = ca_opt_revoke,
usr.bin/openssl/ca.c
523
.opt.flag = &cfg.selfsign,
usr.bin/openssl/ca.c
530
.opt.argfunc = ca_opt_sigopt,
usr.bin/openssl/ca.c
537
.opt.argfunc = ca_opt_ss_cert,
usr.bin/openssl/ca.c
544
.opt.arg = &cfg.startdate,
usr.bin/openssl/ca.c
551
.opt.arg = &cfg.serial_status,
usr.bin/openssl/ca.c
558
.opt.arg = &cfg.subj,
usr.bin/openssl/ca.c
564
.opt.flag = &cfg.doupdatedb,
usr.bin/openssl/ca.c
570
.opt.func = ca_opt_chtype_utf8,
usr.bin/openssl/ca.c
576
.opt.flag = &cfg.verbose,
usr.bin/openssl/certhash.c
46
.opt.flag = &cfg.dryrun,
usr.bin/openssl/certhash.c
52
.opt.flag = &cfg.verbose,
usr.bin/openssl/ciphers.c
37
.opt.flag = &cfg.usage,
usr.bin/openssl/ciphers.c
42
.opt.flag = &cfg.usage,
usr.bin/openssl/ciphers.c
48
.opt.flag = &cfg.use_supported,
usr.bin/openssl/ciphers.c
54
.opt.value = &cfg.version,
usr.bin/openssl/ciphers.c
61
.opt.value = &cfg.version,
usr.bin/openssl/ciphers.c
68
.opt.value = &cfg.verbose,
usr.bin/openssl/ciphers.c
75
.opt.value = &cfg.verbose,
usr.bin/openssl/cms.c
1003
.opt.argfunc = cms_opt_verify_receipt,
usr.bin/openssl/cms.c
1009
.opt.flag = &cfg.verify_retcode,
usr.bin/openssl/cms.c
1014
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1019
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1024
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1029
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1034
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1039
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1044
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1049
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1054
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1059
.opt.argvfunc = cms_opt_verify_param,
usr.bin/openssl/cms.c
1064
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
484
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
490
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
496
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
504
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
510
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
516
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
524
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
530
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
538
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
544
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
550
.opt.argvfunc = cms_opt_cipher,
usr.bin/openssl/cms.c
558
.opt.arg = &cfg.CAfile,
usr.bin/openssl/cms.c
565
.opt.arg = &cfg.CApath,
usr.bin/openssl/cms.c
572
.opt.arg = &cfg.crlfile,
usr.bin/openssl/cms.c
578
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
586
.opt.arg = &cfg.certfile,
usr.bin/openssl/cms.c
593
.opt.arg = &cfg.certsoutfile,
usr.bin/openssl/cms.c
599
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
607
.opt.arg = &cfg.contfile,
usr.bin/openssl/cms.c
613
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
620
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
627
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
634
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
641
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
648
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
655
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
663
.opt.argfunc = cms_opt_econtent_type,
usr.bin/openssl/cms.c
669
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
676
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
683
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
691
.opt.arg = &cfg.from,
usr.bin/openssl/cms.c
698
.opt.arg = &cfg.infile,
usr.bin/openssl/cms.c
704
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
712
.opt.value = &cfg.informat,
usr.bin/openssl/cms.c
719
.opt.argfunc = cms_opt_inkey,
usr.bin/openssl/cms.c
726
.opt.value = &cfg.keyform,
usr.bin/openssl/cms.c
732
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
740
.opt.argfunc = cms_opt_keyopt,
usr.bin/openssl/cms.c
747
.opt.argfunc = cms_opt_md,
usr.bin/openssl/cms.c
753
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
760
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
767
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
774
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
781
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
788
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
795
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
802
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
809
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
816
.opt.flag = &cfg.noout,
usr.bin/openssl/cms.c
822
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
829
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
836
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
844
.opt.arg = &cfg.outfile,
usr.bin/openssl/cms.c
851
.opt.value = &cfg.outformat,
usr.bin/openssl/cms.c
858
.opt.arg = &cfg.passargin,
usr.bin/openssl/cms.c
864
.opt.func = cms_opt_print,
usr.bin/openssl/cms.c
871
.opt.argfunc = cms_opt_pwri_pass,
usr.bin/openssl/cms.c
878
.opt.value = &cfg.rctformat,
usr.bin/openssl/cms.c
884
.opt.value = &cfg.rr_allorfirst,
usr.bin/openssl/cms.c
891
.opt.value = &cfg.rr_allorfirst,
usr.bin/openssl/cms.c
899
.opt.argfunc = cms_opt_receipt_request_from,
usr.bin/openssl/cms.c
905
.opt.flag = &cfg.rr_print,
usr.bin/openssl/cms.c
912
.opt.argfunc = cms_opt_receipt_request_to,
usr.bin/openssl/cms.c
919
.opt.argfunc = cms_opt_recip,
usr.bin/openssl/cms.c
925
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
933
.opt.argfunc = cms_opt_secretkey,
usr.bin/openssl/cms.c
940
.opt.argfunc = cms_opt_secretkeyid,
usr.bin/openssl/cms.c
946
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
953
.opt.value = &cfg.operation,
usr.bin/openssl/cms.c
961
.opt.argfunc = cms_opt_signer,
usr.bin/openssl/cms.c
967
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
975
.opt.arg = &cfg.subject,
usr.bin/openssl/cms.c
981
.opt.value = &cfg.flags,
usr.bin/openssl/cms.c
989
.opt.arg = &cfg.to,
usr.bin/openssl/cms.c
995
.opt.value = &cfg.operation,
usr.bin/openssl/crl.c
104
.opt.arg = &cfg.capath,
usr.bin/openssl/crl.c
110
.opt.flag = &cfg.crlnumber,
usr.bin/openssl/crl.c
116
.opt.flag = &cfg.fingerprint,
usr.bin/openssl/crl.c
122
.opt.flag = &cfg.hash,
usr.bin/openssl/crl.c
128
.opt.flag = &cfg.hash_old,
usr.bin/openssl/crl.c
135
.opt.arg = &cfg.infile,
usr.bin/openssl/crl.c
142
.opt.value = &cfg.informat,
usr.bin/openssl/crl.c
148
.opt.flag = &cfg.issuer,
usr.bin/openssl/crl.c
154
.opt.flag = &cfg.lastupdate,
usr.bin/openssl/crl.c
161
.opt.arg = &cfg.nameopt,
usr.bin/openssl/crl.c
167
.opt.flag = &cfg.nextupdate,
usr.bin/openssl/crl.c
173
.opt.flag = &cfg.noout,
usr.bin/openssl/crl.c
180
.opt.arg = &cfg.outfile,
usr.bin/openssl/crl.c
187
.opt.value = &cfg.outformat,
usr.bin/openssl/crl.c
193
.opt.flag = &cfg.text,
usr.bin/openssl/crl.c
199
.opt.flag = &cfg.verify,
usr.bin/openssl/crl.c
97
.opt.arg = &cfg.cafile,
usr.bin/openssl/crl2p7.c
111
.opt.argfunc = crl2p7_opt_certfile,
usr.bin/openssl/crl2p7.c
118
.opt.arg = &cfg.infile,
usr.bin/openssl/crl2p7.c
125
.opt.value = &cfg.informat,
usr.bin/openssl/crl2p7.c
131
.opt.flag = &cfg.nocrl,
usr.bin/openssl/crl2p7.c
138
.opt.arg = &cfg.outfile,
usr.bin/openssl/crl2p7.c
145
.opt.value = &cfg.outformat,
usr.bin/openssl/dgst.c
175
.opt.value = &cfg.out_bin,
usr.bin/openssl/dgst.c
182
.opt.value = &cfg.separator,
usr.bin/openssl/dgst.c
189
.opt.flag = &cfg.debug,
usr.bin/openssl/dgst.c
195
.opt.value = &cfg.out_bin,
usr.bin/openssl/dgst.c
203
.opt.arg = &cfg.hmac_key,
usr.bin/openssl/dgst.c
210
.opt.value = &cfg.keyform,
usr.bin/openssl/dgst.c
217
.opt.arg = &cfg.mac_name,
usr.bin/openssl/dgst.c
224
.opt.argfunc = dgst_opt_macopt,
usr.bin/openssl/dgst.c
231
.opt.arg = &cfg.outfile,
usr.bin/openssl/dgst.c
238
.opt.arg = &cfg.passargin,
usr.bin/openssl/dgst.c
245
.opt.argfunc = dgst_opt_prverify,
usr.bin/openssl/dgst.c
251
.opt.value = &cfg.separator,
usr.bin/openssl/dgst.c
259
.opt.arg = &cfg.keyfile,
usr.bin/openssl/dgst.c
266
.opt.arg = &cfg.sigfile,
usr.bin/openssl/dgst.c
273
.opt.argfunc = dgst_opt_sigopt,
usr.bin/openssl/dgst.c
280
.opt.argfunc = dgst_opt_verify,
usr.bin/openssl/dgst.c
286
.opt.argvfunc = dgst_opt_md,
usr.bin/openssl/dh.c
106
.opt.value = &cfg.informat,
usr.bin/openssl/dh.c
112
.opt.flag = &cfg.noout,
usr.bin/openssl/dh.c
119
.opt.arg = &cfg.outfile,
usr.bin/openssl/dh.c
126
.opt.value = &cfg.outformat,
usr.bin/openssl/dh.c
132
.opt.flag = &cfg.text,
usr.bin/openssl/dh.c
92
.opt.flag = &cfg.check,
usr.bin/openssl/dh.c
99
.opt.arg = &cfg.infile,
usr.bin/openssl/dhparam.c
152
.opt.value = &cfg.g,
usr.bin/openssl/dhparam.c
159
.opt.value = &cfg.g,
usr.bin/openssl/dhparam.c
166
.opt.flag = &cfg.check,
usr.bin/openssl/dhparam.c
172
.opt.flag = &cfg.dsaparam,
usr.bin/openssl/dhparam.c
179
.opt.arg = &cfg.infile,
usr.bin/openssl/dhparam.c
186
.opt.value = &cfg.informat,
usr.bin/openssl/dhparam.c
192
.opt.flag = &cfg.noout,
usr.bin/openssl/dhparam.c
199
.opt.arg = &cfg.outfile,
usr.bin/openssl/dhparam.c
206
.opt.value = &cfg.outformat,
usr.bin/openssl/dhparam.c
212
.opt.flag = &cfg.text,
usr.bin/openssl/dsa.c
114
.opt.arg = &cfg.infile,
usr.bin/openssl/dsa.c
122
.opt.value = &cfg.informat,
usr.bin/openssl/dsa.c
128
.opt.flag = &cfg.modulus,
usr.bin/openssl/dsa.c
134
.opt.flag = &cfg.noout,
usr.bin/openssl/dsa.c
141
.opt.arg = &cfg.outfile,
usr.bin/openssl/dsa.c
148
.opt.value = &cfg.outformat,
usr.bin/openssl/dsa.c
155
.opt.arg = &cfg.passargin,
usr.bin/openssl/dsa.c
162
.opt.arg = &cfg.passargout,
usr.bin/openssl/dsa.c
169
.opt.flag = &cfg.pubin,
usr.bin/openssl/dsa.c
175
.opt.flag = &cfg.pubout,
usr.bin/openssl/dsa.c
182
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/dsa.c
189
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/dsa.c
196
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/dsa.c
202
.opt.flag = &cfg.text,
usr.bin/openssl/dsa.c
207
.opt.argvfunc = dsa_opt_enc,
usr.bin/openssl/dsaparam.c
104
.opt.arg = &cfg.infile,
usr.bin/openssl/dsaparam.c
111
.opt.value = &cfg.informat,
usr.bin/openssl/dsaparam.c
117
.opt.flag = &cfg.noout,
usr.bin/openssl/dsaparam.c
124
.opt.arg = &cfg.outfile,
usr.bin/openssl/dsaparam.c
131
.opt.value = &cfg.outformat,
usr.bin/openssl/dsaparam.c
137
.opt.flag = &cfg.text,
usr.bin/openssl/dsaparam.c
97
.opt.flag = &cfg.genkey,
usr.bin/openssl/ec.c
150
.opt.argfunc = ec_opt_form,
usr.bin/openssl/ec.c
157
.opt.arg = &cfg.infile,
usr.bin/openssl/ec.c
164
.opt.value = &cfg.informat,
usr.bin/openssl/ec.c
170
.opt.flag = &cfg.noout,
usr.bin/openssl/ec.c
177
.opt.arg = &cfg.outfile,
usr.bin/openssl/ec.c
184
.opt.value = &cfg.outformat,
usr.bin/openssl/ec.c
192
.opt.argfunc = ec_opt_named,
usr.bin/openssl/ec.c
198
.opt.flag = &cfg.param_out,
usr.bin/openssl/ec.c
205
.opt.arg = &cfg.passargin,
usr.bin/openssl/ec.c
212
.opt.arg = &cfg.passargout,
usr.bin/openssl/ec.c
218
.opt.flag = &cfg.pubin,
usr.bin/openssl/ec.c
224
.opt.flag = &cfg.pubout,
usr.bin/openssl/ec.c
230
.opt.flag = &cfg.text,
usr.bin/openssl/ec.c
236
.opt.argvfunc = ec_opt_enc,
usr.bin/openssl/ecparam.c
143
.opt.flag = &cfg.check,
usr.bin/openssl/ecparam.c
151
.opt.argfunc = ecparam_opt_form,
usr.bin/openssl/ecparam.c
158
.opt.flag = &cfg.genkey,
usr.bin/openssl/ecparam.c
165
.opt.arg = &cfg.infile,
usr.bin/openssl/ecparam.c
172
.opt.value = &cfg.informat,
usr.bin/openssl/ecparam.c
179
.opt.flag = &cfg.list_curves,
usr.bin/openssl/ecparam.c
186
.opt.arg = &cfg.curve_name,
usr.bin/openssl/ecparam.c
192
.opt.flag = &cfg.no_seed,
usr.bin/openssl/ecparam.c
198
.opt.flag = &cfg.noout,
usr.bin/openssl/ecparam.c
205
.opt.arg = &cfg.outfile,
usr.bin/openssl/ecparam.c
212
.opt.value = &cfg.outformat,
usr.bin/openssl/ecparam.c
220
.opt.argfunc = ecparam_opt_enctype,
usr.bin/openssl/ecparam.c
226
.opt.flag = &cfg.text,
usr.bin/openssl/enc.c
127
.opt.flag = &cfg.olb64,
usr.bin/openssl/enc.c
133
.opt.flag = &cfg.base64,
usr.bin/openssl/enc.c
138
.opt.flag = &cfg.base64,
usr.bin/openssl/enc.c
145
.opt.arg = &cfg.bufsize,
usr.bin/openssl/enc.c
151
.opt.value = &cfg.enc,
usr.bin/openssl/enc.c
158
.opt.flag = &cfg.debug,
usr.bin/openssl/enc.c
164
.opt.value = &cfg.enc,
usr.bin/openssl/enc.c
172
.opt.arg = &cfg.inf,
usr.bin/openssl/enc.c
179
.opt.value = &cfg.iter,
usr.bin/openssl/enc.c
186
.opt.arg = &cfg.hiv,
usr.bin/openssl/enc.c
193
.opt.arg = &cfg.hkey,
usr.bin/openssl/enc.c
198
.opt.arg = &cfg.keystr,
usr.bin/openssl/enc.c
203
.opt.arg = &cfg.keyfile,
usr.bin/openssl/enc.c
210
.opt.arg = &cfg.md,
usr.bin/openssl/enc.c
216
.opt.argvfunc = enc_opt_cipher,
usr.bin/openssl/enc.c
222
.opt.flag = &cfg.nopad,
usr.bin/openssl/enc.c
227
.opt.value = &cfg.nosalt,
usr.bin/openssl/enc.c
235
.opt.arg = &cfg.outf,
usr.bin/openssl/enc.c
242
.opt.value = &cfg.printkey,
usr.bin/openssl/enc.c
249
.opt.value = &cfg.printkey,
usr.bin/openssl/enc.c
257
.opt.arg = &cfg.passarg,
usr.bin/openssl/enc.c
263
.opt.flag = &cfg.pbkdf2,
usr.bin/openssl/enc.c
270
.opt.arg = &cfg.hsalt,
usr.bin/openssl/enc.c
276
.opt.value = &cfg.nosalt,
usr.bin/openssl/enc.c
283
.opt.flag = &cfg.verbose,
usr.bin/openssl/enc.c
288
.opt.argvfunc = enc_opt_cipher,
usr.bin/openssl/gendh.c
101
.opt.value = &cfg.g,
usr.bin/openssl/gendh.c
108
.opt.value = &cfg.g,
usr.bin/openssl/gendh.c
115
.opt.arg = &cfg.outfile,
usr.bin/openssl/gendsa.c
139
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
145
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
151
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
159
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
165
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
171
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
179
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
185
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
193
.opt.argvfunc = set_enc,
usr.bin/openssl/gendsa.c
201
.opt.arg = &cfg.outfile,
usr.bin/openssl/gendsa.c
208
.opt.arg = &cfg.passargout,
usr.bin/openssl/genpkey.c
150
.opt.argfunc = genpkey_opt_algorithm,
usr.bin/openssl/genpkey.c
156
.opt.flag = &cfg.do_param,
usr.bin/openssl/genpkey.c
163
.opt.arg = &cfg.outfile,
usr.bin/openssl/genpkey.c
170
.opt.value = &cfg.outformat,
usr.bin/openssl/genpkey.c
178
.opt.argfunc = genpkey_opt_paramfile,
usr.bin/openssl/genpkey.c
185
.opt.arg = &cfg.passarg,
usr.bin/openssl/genpkey.c
192
.opt.argfunc = genpkey_opt_pkeyopt,
usr.bin/openssl/genpkey.c
198
.opt.flag = &cfg.text,
usr.bin/openssl/genpkey.c
203
.opt.argvfunc = genpkey_opt_cipher,
usr.bin/openssl/genrsa.c
166
.opt.argvfunc = set_public_exponent,
usr.bin/openssl/genrsa.c
172
.opt.argvfunc = set_public_exponent,
usr.bin/openssl/genrsa.c
178
.opt.argvfunc = set_public_exponent,
usr.bin/openssl/genrsa.c
185
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
191
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
197
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
205
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
211
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
217
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
225
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
231
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
239
.opt.argvfunc = set_enc,
usr.bin/openssl/genrsa.c
247
.opt.arg = &cfg.outfile,
usr.bin/openssl/genrsa.c
254
.opt.arg = &cfg.passargout,
usr.bin/openssl/ocsp.c
429
.opt.arg = &cfg.rca_filename,
usr.bin/openssl/ocsp.c
436
.opt.arg = &cfg.CAfile,
usr.bin/openssl/ocsp.c
443
.opt.arg = &cfg.CApath,
usr.bin/openssl/ocsp.c
450
.opt.argfunc = ocsp_opt_cert,
usr.bin/openssl/ocsp.c
457
.opt.argvfunc = ocsp_opt_header,
usr.bin/openssl/ocsp.c
464
.opt.argfunc = ocsp_opt_host,
usr.bin/openssl/ocsp.c
470
.opt.flag = &cfg.ignore_err,
usr.bin/openssl/ocsp.c
477
.opt.arg = &cfg.ridx_filename,
usr.bin/openssl/ocsp.c
484
.opt.argfunc = ocsp_opt_issuer,
usr.bin/openssl/ocsp.c
491
.opt.argfunc = ocsp_opt_ndays,
usr.bin/openssl/ocsp.c
498
.opt.argfunc = ocsp_opt_nmin,
usr.bin/openssl/ocsp.c
504
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
511
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
518
.opt.ulvalue = &cfg.sign_flags,
usr.bin/openssl/ocsp.c
525
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
532
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
539
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
546
.opt.value = &cfg.add_nonce,
usr.bin/openssl/ocsp.c
553
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
560
.opt.value = &cfg.add_nonce,
usr.bin/openssl/ocsp.c
567
.opt.flag = &cfg.noverify,
usr.bin/openssl/ocsp.c
574
.opt.argfunc = ocsp_opt_nrequest,
usr.bin/openssl/ocsp.c
581
.opt.arg = &cfg.outfile,
usr.bin/openssl/ocsp.c
588
.opt.arg = &cfg.path,
usr.bin/openssl/ocsp.c
595
.opt.argfunc = ocsp_opt_port,
usr.bin/openssl/ocsp.c
601
.opt.flag = &cfg.req_text,
usr.bin/openssl/ocsp.c
608
.opt.arg = &cfg.reqin,
usr.bin/openssl/ocsp.c
615
.opt.arg = &cfg.reqout,
usr.bin/openssl/ocsp.c
621
.opt.ulvalue = &cfg.rflags,
usr.bin/openssl/ocsp.c
628
.opt.ulvalue = &cfg.rflags,
usr.bin/openssl/ocsp.c
635
.opt.flag = &cfg.resp_text,
usr.bin/openssl/ocsp.c
642
.opt.arg = &cfg.respin,
usr.bin/openssl/ocsp.c
649
.opt.arg = &cfg.respout,
usr.bin/openssl/ocsp.c
656
.opt.arg = &cfg.rkeyfile,
usr.bin/openssl/ocsp.c
663
.opt.arg = &cfg.rcertfile,
usr.bin/openssl/ocsp.c
670
.opt.arg = &cfg.rsignfile,
usr.bin/openssl/ocsp.c
677
.opt.argfunc = ocsp_opt_serial,
usr.bin/openssl/ocsp.c
684
.opt.arg = &cfg.sign_certfile,
usr.bin/openssl/ocsp.c
691
.opt.arg = &cfg.signfile,
usr.bin/openssl/ocsp.c
698
.opt.arg = &cfg.keyfile,
usr.bin/openssl/ocsp.c
705
.opt.argfunc = ocsp_opt_status_age,
usr.bin/openssl/ocsp.c
711
.opt.func = ocsp_opt_text,
usr.bin/openssl/ocsp.c
718
.opt.argfunc = ocsp_opt_timeout,
usr.bin/openssl/ocsp.c
724
.opt.ulvalue = &cfg.verify_flags,
usr.bin/openssl/ocsp.c
732
.opt.argfunc = ocsp_opt_url,
usr.bin/openssl/ocsp.c
739
.opt.argfunc = ocsp_opt_vafile,
usr.bin/openssl/ocsp.c
746
.opt.argfunc = ocsp_opt_validity_period,
usr.bin/openssl/ocsp.c
753
.opt.arg = &cfg.verify_certfile,
usr.bin/openssl/ocsp.c
759
.opt.argvfunc = ocsp_opt_cert_id_md,
usr.bin/openssl/passwd.c
102
.opt.flag = &cfg.reverse,
usr.bin/openssl/passwd.c
109
.opt.arg = &cfg.salt,
usr.bin/openssl/passwd.c
115
.opt.flag = &cfg.in_stdin,
usr.bin/openssl/passwd.c
121
.opt.flag = &cfg.table,
usr.bin/openssl/passwd.c
62
.opt.flag = &cfg.use1,
usr.bin/openssl/passwd.c
68
.opt.flag = &cfg.useapr1,
usr.bin/openssl/passwd.c
76
.opt.flag = &cfg.usecrypt,
usr.bin/openssl/passwd.c
84
.opt.arg = &cfg.infile,
usr.bin/openssl/passwd.c
90
.opt.flag = &cfg.noverify,
usr.bin/openssl/passwd.c
96
.opt.flag = &cfg.quiet,
usr.bin/openssl/pkcs12.c
212
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
218
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
224
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
232
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
238
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
244
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
251
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
257
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
264
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
271
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
279
.opt.arg = &cfg.CAfile,
usr.bin/openssl/pkcs12.c
286
.opt.argfunc = pkcs12_opt_canames,
usr.bin/openssl/pkcs12.c
293
.opt.arg = &cfg.CApath,
usr.bin/openssl/pkcs12.c
300
.opt.arg = &cfg.certfile,
usr.bin/openssl/pkcs12.c
307
.opt.argfunc = pkcs12_opt_cert_pbe,
usr.bin/openssl/pkcs12.c
313
.opt.flag = &cfg.chain,
usr.bin/openssl/pkcs12.c
319
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
326
.opt.value = &cfg.cert_pbe,
usr.bin/openssl/pkcs12.c
333
.opt.flag = &cfg.export_cert,
usr.bin/openssl/pkcs12.c
340
.opt.arg = &cfg.infile,
usr.bin/openssl/pkcs12.c
346
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
354
.opt.arg = &cfg.keyname,
usr.bin/openssl/pkcs12.c
360
.opt.value = &cfg.keytype,
usr.bin/openssl/pkcs12.c
368
.opt.argfunc = pkcs12_opt_key_pbe,
usr.bin/openssl/pkcs12.c
374
.opt.value = &cfg.keytype,
usr.bin/openssl/pkcs12.c
382
.opt.arg = &cfg.macalg,
usr.bin/openssl/pkcs12.c
388
.opt.value = &cfg.maciter,
usr.bin/openssl/pkcs12.c
396
.opt.arg = &cfg.name,
usr.bin/openssl/pkcs12.c
402
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
409
.opt.argvfunc = pkcs12_opt_enc,
usr.bin/openssl/pkcs12.c
415
.opt.value = &cfg.iter,
usr.bin/openssl/pkcs12.c
422
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
429
.opt.value = &cfg.maciter,
usr.bin/openssl/pkcs12.c
436
.opt.value = &cfg.maciter,
usr.bin/openssl/pkcs12.c
443
.opt.value = &cfg.macver,
usr.bin/openssl/pkcs12.c
450
.opt.value = &cfg.options,
usr.bin/openssl/pkcs12.c
458
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkcs12.c
465
.opt.arg = &cfg.passargin,
usr.bin/openssl/pkcs12.c
472
.opt.arg = &cfg.passargout,
usr.bin/openssl/pkcs12.c
479
.opt.argfunc = pkcs12_opt_passarg,
usr.bin/openssl/pkcs12.c
485
.opt.flag = &cfg.twopass,
usr.bin/openssl/pkcs7.c
103
.opt.flag = &cfg.noout,
usr.bin/openssl/pkcs7.c
110
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkcs7.c
117
.opt.value = &cfg.outformat,
usr.bin/openssl/pkcs7.c
123
.opt.flag = &cfg.p7_print,
usr.bin/openssl/pkcs7.c
129
.opt.flag = &cfg.print_certs,
usr.bin/openssl/pkcs7.c
135
.opt.flag = &cfg.text,
usr.bin/openssl/pkcs7.c
90
.opt.arg = &cfg.infile,
usr.bin/openssl/pkcs7.c
97
.opt.value = &cfg.informat,
usr.bin/openssl/pkcs8.c
111
.opt.arg = &cfg.infile,
usr.bin/openssl/pkcs8.c
118
.opt.value = &cfg.informat,
usr.bin/openssl/pkcs8.c
124
.opt.flag = &cfg.nocrypt,
usr.bin/openssl/pkcs8.c
131
.opt.value = &cfg.iter,
usr.bin/openssl/pkcs8.c
138
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkcs8.c
145
.opt.value = &cfg.outformat,
usr.bin/openssl/pkcs8.c
152
.opt.arg = &cfg.passargin,
usr.bin/openssl/pkcs8.c
159
.opt.arg = &cfg.passargout,
usr.bin/openssl/pkcs8.c
166
.opt.flag = &cfg.topk8,
usr.bin/openssl/pkcs8.c
173
.opt.argfunc = pkcs8_opt_v1,
usr.bin/openssl/pkcs8.c
180
.opt.argfunc = pkcs8_opt_v2,
usr.bin/openssl/pkey.c
106
.opt.arg = &cfg.infile,
usr.bin/openssl/pkey.c
113
.opt.value = &cfg.informat,
usr.bin/openssl/pkey.c
119
.opt.flag = &cfg.noout,
usr.bin/openssl/pkey.c
126
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkey.c
133
.opt.value = &cfg.outformat,
usr.bin/openssl/pkey.c
140
.opt.arg = &cfg.passargin,
usr.bin/openssl/pkey.c
147
.opt.arg = &cfg.passargout,
usr.bin/openssl/pkey.c
154
.opt.value = &cfg.pubin,
usr.bin/openssl/pkey.c
161
.opt.value = &cfg.pubout,
usr.bin/openssl/pkey.c
167
.opt.flag = &cfg.text,
usr.bin/openssl/pkey.c
173
.opt.flag = &cfg.pubtext,
usr.bin/openssl/pkey.c
178
.opt.argvfunc = pkey_opt_cipher,
usr.bin/openssl/pkeyparam.c
100
.opt.flag = &cfg.text,
usr.bin/openssl/pkeyparam.c
81
.opt.arg = &cfg.infile,
usr.bin/openssl/pkeyparam.c
87
.opt.flag = &cfg.noout,
usr.bin/openssl/pkeyparam.c
94
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkeyutl.c
104
.opt.flag = &cfg.asn1parse,
usr.bin/openssl/pkeyutl.c
111
.opt.value = &cfg.key_type,
usr.bin/openssl/pkeyutl.c
118
.opt.value = &cfg.pkey_op,
usr.bin/openssl/pkeyutl.c
125
.opt.value = &cfg.pkey_op,
usr.bin/openssl/pkeyutl.c
132
.opt.value = &cfg.pkey_op,
usr.bin/openssl/pkeyutl.c
138
.opt.flag = &cfg.hexdump,
usr.bin/openssl/pkeyutl.c
145
.opt.arg = &cfg.infile,
usr.bin/openssl/pkeyutl.c
152
.opt.argfunc = init_ctx,
usr.bin/openssl/pkeyutl.c
159
.opt.value = &cfg.keyform,
usr.bin/openssl/pkeyutl.c
166
.opt.arg = &cfg.outfile,
usr.bin/openssl/pkeyutl.c
173
.opt.arg = &cfg.passargin,
usr.bin/openssl/pkeyutl.c
180
.opt.value = &cfg.peerform,
usr.bin/openssl/pkeyutl.c
187
.opt.argfunc = setup_peer,
usr.bin/openssl/pkeyutl.c
194
.opt.argfunc = pkeyutl_pkeyopt,
usr.bin/openssl/pkeyutl.c
201
.opt.value = &cfg.key_type,
usr.bin/openssl/pkeyutl.c
207
.opt.flag = &cfg.rev,
usr.bin/openssl/pkeyutl.c
214
.opt.arg = &cfg.sigfile,
usr.bin/openssl/pkeyutl.c
221
.opt.value = &cfg.pkey_op,
usr.bin/openssl/pkeyutl.c
228
.opt.value = &cfg.pkey_op,
usr.bin/openssl/pkeyutl.c
235
.opt.value = &cfg.pkey_op,
usr.bin/openssl/prime.c
73
.opt.value = &cfg.bits,
usr.bin/openssl/prime.c
80
.opt.value = &cfg.checks,
usr.bin/openssl/prime.c
86
.opt.flag = &cfg.generate,
usr.bin/openssl/prime.c
92
.opt.flag = &cfg.hex,
usr.bin/openssl/prime.c
98
.opt.flag = &cfg.safe,
usr.bin/openssl/rand.c
76
.opt.flag = &cfg.base64,
usr.bin/openssl/rand.c
82
.opt.flag = &cfg.hex,
usr.bin/openssl/rand.c
89
.opt.arg = &cfg.outfile,
usr.bin/openssl/req.c
295
.opt.argfunc = req_opt_addext,
usr.bin/openssl/req.c
301
.opt.flag = &cfg.batch,
usr.bin/openssl/req.c
308
.opt.arg = &cfg.template,
usr.bin/openssl/req.c
315
.opt.argfunc = req_opt_days,
usr.bin/openssl/req.c
322
.opt.arg = &cfg.extensions,
usr.bin/openssl/req.c
329
.opt.arg = &cfg.infile,
usr.bin/openssl/req.c
336
.opt.value = &cfg.informat,
usr.bin/openssl/req.c
343
.opt.arg = &cfg.keyfile,
usr.bin/openssl/req.c
350
.opt.value = &cfg.keyform,
usr.bin/openssl/req.c
357
.opt.arg = &cfg.keyout,
usr.bin/openssl/req.c
363
.opt.flag = &cfg.modulus,
usr.bin/openssl/req.c
369
.opt.flag = &cfg.multirdn,
usr.bin/openssl/req.c
376
.opt.argfunc = req_opt_nameopt,
usr.bin/openssl/req.c
382
.opt.flag = &cfg.newreq,
usr.bin/openssl/req.c
388
.opt.flag = &cfg.newhdr,
usr.bin/openssl/req.c
395
.opt.argfunc = req_opt_newkey,
usr.bin/openssl/req.c
401
.opt.flag = &cfg.nodes,
usr.bin/openssl/req.c
407
.opt.flag = &cfg.noout,
usr.bin/openssl/req.c
414
.opt.arg = &cfg.outfile,
usr.bin/openssl/req.c
421
.opt.value = &cfg.outformat,
usr.bin/openssl/req.c
428
.opt.arg = &cfg.passargin,
usr.bin/openssl/req.c
435
.opt.arg = &cfg.passargout,
usr.bin/openssl/req.c
442
.opt.argfunc = req_opt_pkeyopt,
usr.bin/openssl/req.c
448
.opt.flag = &cfg.pubkey,
usr.bin/openssl/req.c
455
.opt.arg = &cfg.req_exts,
usr.bin/openssl/req.c
462
.opt.argfunc = req_opt_reqopt,
usr.bin/openssl/req.c
469
.opt.argfunc = req_opt_set_serial,
usr.bin/openssl/req.c
476
.opt.argfunc = req_opt_sigopt,
usr.bin/openssl/req.c
483
.opt.arg = &cfg.subj,
usr.bin/openssl/req.c
489
.opt.flag = &cfg.subject,
usr.bin/openssl/req.c
495
.opt.flag = &cfg.text,
usr.bin/openssl/req.c
501
.opt.func = req_opt_utf8,
usr.bin/openssl/req.c
507
.opt.flag = &cfg.verbose,
usr.bin/openssl/req.c
513
.opt.flag = &cfg.verify,
usr.bin/openssl/req.c
519
.opt.flag = &cfg.x509,
usr.bin/openssl/req.c
525
.opt.argvfunc = req_opt_digest,
usr.bin/openssl/rsa.c
115
.opt.flag = &cfg.check,
usr.bin/openssl/rsa.c
122
.opt.arg = &cfg.infile,
usr.bin/openssl/rsa.c
129
.opt.value = &cfg.informat,
usr.bin/openssl/rsa.c
135
.opt.flag = &cfg.modulus,
usr.bin/openssl/rsa.c
141
.opt.flag = &cfg.noout,
usr.bin/openssl/rsa.c
148
.opt.arg = &cfg.outfile,
usr.bin/openssl/rsa.c
155
.opt.value = &cfg.outformat,
usr.bin/openssl/rsa.c
162
.opt.arg = &cfg.passargin,
usr.bin/openssl/rsa.c
169
.opt.arg = &cfg.passargout,
usr.bin/openssl/rsa.c
176
.opt.value = &cfg.pubin,
usr.bin/openssl/rsa.c
183
.opt.value = &cfg.pubout,
usr.bin/openssl/rsa.c
189
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/rsa.c
195
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/rsa.c
201
.opt.value = &cfg.pvk_encr,
usr.bin/openssl/rsa.c
207
.opt.value = &cfg.pubin,
usr.bin/openssl/rsa.c
213
.opt.value = &cfg.pubout,
usr.bin/openssl/rsa.c
219
.opt.flag = &cfg.text,
usr.bin/openssl/rsa.c
224
.opt.argvfunc = rsa_opt_cipher,
usr.bin/openssl/rsautl.c
104
.opt.value = &cfg.key_type,
usr.bin/openssl/rsautl.c
111
.opt.value = &cfg.rsa_mode,
usr.bin/openssl/rsautl.c
118
.opt.value = &cfg.rsa_mode,
usr.bin/openssl/rsautl.c
124
.opt.flag = &cfg.hexdump,
usr.bin/openssl/rsautl.c
131
.opt.arg = &cfg.infile,
usr.bin/openssl/rsautl.c
138
.opt.arg = &cfg.keyfile,
usr.bin/openssl/rsautl.c
145
.opt.value = &cfg.keyform,
usr.bin/openssl/rsautl.c
152
.opt.value = &cfg.pad,
usr.bin/openssl/rsautl.c
159
.opt.arg = &cfg.outfile,
usr.bin/openssl/rsautl.c
166
.opt.arg = &cfg.passargin,
usr.bin/openssl/rsautl.c
173
.opt.value = &cfg.pad,
usr.bin/openssl/rsautl.c
180
.opt.value = &cfg.key_type,
usr.bin/openssl/rsautl.c
187
.opt.value = &cfg.pad,
usr.bin/openssl/rsautl.c
193
.opt.flag = &cfg.rev,
usr.bin/openssl/rsautl.c
200
.opt.value = &cfg.rsa_mode,
usr.bin/openssl/rsautl.c
207
.opt.value = &cfg.rsa_mode,
usr.bin/openssl/rsautl.c
214
.opt.value = &cfg.pad,
usr.bin/openssl/rsautl.c
97
.opt.flag = &cfg.asn1parse,
usr.bin/openssl/s_client.c
389
.opt.value = &cfg.af,
usr.bin/openssl/s_client.c
396
.opt.value = &cfg.af,
usr.bin/openssl/s_client.c
405
.opt.arg = &cfg.alpn_in,
usr.bin/openssl/s_client.c
411
.opt.flag = &cfg.bugs,
usr.bin/openssl/s_client.c
418
.opt.arg = &cfg.CAfile,
usr.bin/openssl/s_client.c
425
.opt.arg = &cfg.CApath,
usr.bin/openssl/s_client.c
432
.opt.arg = &cfg.cert_file,
usr.bin/openssl/s_client.c
439
.opt.value = &cfg.cert_format,
usr.bin/openssl/s_client.c
446
.opt.arg = &cfg.cipher,
usr.bin/openssl/s_client.c
453
.opt.arg = &cfg.connect,
usr.bin/openssl/s_client.c
459
.opt.flag = &cfg.crlf,
usr.bin/openssl/s_client.c
465
.opt.flag = &cfg.debug,
usr.bin/openssl/s_client.c
472
.opt.func = s_client_opt_protocol_version_dtls,
usr.bin/openssl/s_client.c
480
.opt.func = s_client_opt_protocol_version_dtls1_2,
usr.bin/openssl/s_client.c
488
.opt.arg = &cfg.groups_in,
usr.bin/openssl/s_client.c
495
.opt.arg = &cfg.host,
usr.bin/openssl/s_client.c
501
.opt.value = &cfg.ign_eof,
usr.bin/openssl/s_client.c
509
.opt.arg = &cfg.key_file,
usr.bin/openssl/s_client.c
516
.opt.value = &cfg.key_format,
usr.bin/openssl/s_client.c
523
.opt.arg = &cfg.keymatexportlabel,
usr.bin/openssl/s_client.c
530
.opt.argfunc = s_client_opt_keymatexportlen,
usr.bin/openssl/s_client.c
540
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
547
.opt.flag = &cfg.msg,
usr.bin/openssl/s_client.c
555
.opt.argfunc = s_client_opt_mtu,
usr.bin/openssl/s_client.c
562
.opt.flag = &cfg.nbio,
usr.bin/openssl/s_client.c
568
.opt.flag = &cfg.nbio_test,
usr.bin/openssl/s_client.c
574
.opt.arg = &cfg.npn_in, /* Ignored. */
usr.bin/openssl/s_client.c
579
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
586
.opt.value = &cfg.ign_eof,
usr.bin/openssl/s_client.c
593
.opt.value = &cfg.clr,
usr.bin/openssl/s_client.c
600
.opt.value = &cfg.no_servername,
usr.bin/openssl/s_client.c
605
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
611
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
618
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
633
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
640
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
646
.opt.value = &cfg.no_servername,
usr.bin/openssl/s_client.c
653
.opt.arg = &cfg.passarg,
usr.bin/openssl/s_client.c
662
.opt.flag = &cfg.peekaboo,
usr.bin/openssl/s_client.c
669
.opt.argfunc = s_client_opt_port,
usr.bin/openssl/s_client.c
675
.opt.flag = &cfg.prexit,
usr.bin/openssl/s_client.c
682
.opt.arg = &cfg.proxy,
usr.bin/openssl/s_client.c
688
.opt.func = s_client_opt_quiet,
usr.bin/openssl/s_client.c
694
.opt.value = &cfg.reconnect,
usr.bin/openssl/s_client.c
702
.opt.arg = &cfg.servername,
usr.bin/openssl/s_client.c
708
.opt.value = &cfg.off,
usr.bin/openssl/s_client.c
716
.opt.arg = &cfg.sess_in,
usr.bin/openssl/s_client.c
723
.opt.arg = &cfg.sess_out,
usr.bin/openssl/s_client.c
729
.opt.flag = &cfg.showcerts,
usr.bin/openssl/s_client.c
738
.opt.argfunc = s_client_opt_starttls,
usr.bin/openssl/s_client.c
744
.opt.flag = &cfg.state,
usr.bin/openssl/s_client.c
750
.opt.flag = &cfg.status_req,
usr.bin/openssl/s_client.c
757
.opt.flag = &cfg.enable_timeouts,
usr.bin/openssl/s_client.c
764
.opt.func = s_client_opt_protocol_version_tls1_2,
usr.bin/openssl/s_client.c
770
.opt.func = s_client_opt_protocol_version_tls1_3,
usr.bin/openssl/s_client.c
776
.opt.flag = &cfg.tlsextdebug,
usr.bin/openssl/s_client.c
784
.opt.arg = &cfg.srtp_profiles,
usr.bin/openssl/s_client.c
792
.opt.argfunc = s_client_opt_verify,
usr.bin/openssl/s_client.c
798
.opt.flag = &verify_return_error,
usr.bin/openssl/s_client.c
805
.opt.arg = &cfg.xmpphost,
usr.bin/openssl/s_client.c
811
.opt.argvfunc = s_client_opt_verify_param,
usr.bin/openssl/s_server.c
484
.opt.argfunc = s_server_opt_port,
usr.bin/openssl/s_server.c
492
.opt.arg = &cfg.alpn_in,
usr.bin/openssl/s_server.c
498
.opt.flag = &cfg.bugs,
usr.bin/openssl/s_server.c
505
.opt.arg = &cfg.CAfile,
usr.bin/openssl/s_server.c
512
.opt.arg = &cfg.CApath,
usr.bin/openssl/s_server.c
520
.opt.arg = &cfg.cert_file,
usr.bin/openssl/s_server.c
528
.opt.arg = &cfg.cert_file2,
usr.bin/openssl/s_server.c
535
.opt.value = &cfg.cert_format,
usr.bin/openssl/s_server.c
541
.opt.flag = &cfg.cert_chain,
usr.bin/openssl/s_server.c
549
.opt.arg = &cfg.cipher,
usr.bin/openssl/s_server.c
556
.opt.argfunc = s_server_opt_context,
usr.bin/openssl/s_server.c
562
.opt.flag = &cfg.crlf,
usr.bin/openssl/s_server.c
569
.opt.arg = &cfg.dcert_file,
usr.bin/openssl/s_server.c
576
.opt.value = &cfg.dcert_format,
usr.bin/openssl/s_server.c
582
.opt.flag = &cfg.debug,
usr.bin/openssl/s_server.c
589
.opt.arg = &cfg.dhfile,
usr.bin/openssl/s_server.c
596
.opt.arg = &cfg.dkey_file,
usr.bin/openssl/s_server.c
603
.opt.value = &cfg.dkey_format,
usr.bin/openssl/s_server.c
610
.opt.arg = &cfg.dpassarg,
usr.bin/openssl/s_server.c
617
.opt.func = s_server_opt_protocol_version_dtls,
usr.bin/openssl/s_server.c
625
.opt.func = s_server_opt_protocol_version_dtls1_2,
usr.bin/openssl/s_server.c
633
.opt.arg = &cfg.groups_in,
usr.bin/openssl/s_server.c
639
.opt.value = &cfg.www,
usr.bin/openssl/s_server.c
647
.opt.arg = &cfg.session_id_prefix,
usr.bin/openssl/s_server.c
655
.opt.arg = &cfg.key_file,
usr.bin/openssl/s_server.c
663
.opt.arg = &cfg.key_file2,
usr.bin/openssl/s_server.c
670
.opt.value = &cfg.key_format,
usr.bin/openssl/s_server.c
677
.opt.arg = &cfg.keymatexportlabel,
usr.bin/openssl/s_server.c
684
.opt.argfunc = s_server_opt_keymatexportlen,
usr.bin/openssl/s_server.c
694
.opt.flag = &cfg.msg,
usr.bin/openssl/s_server.c
702
.opt.argfunc = s_server_opt_mtu,
usr.bin/openssl/s_server.c
710
.opt.value = &cfg.naccept
usr.bin/openssl/s_server.c
716
.opt.arg = &cfg.named_curve,
usr.bin/openssl/s_server.c
722
.opt.flag = &cfg.nbio,
usr.bin/openssl/s_server.c
728
.opt.func = s_server_opt_nbio_test,
usr.bin/openssl/s_server.c
734
.opt.arg = &cfg.npn_in, /* Ignored. */
usr.bin/openssl/s_server.c
740
.opt.flag = &cfg.no_cache,
usr.bin/openssl/s_server.c
746
.opt.value = &cfg.off,
usr.bin/openssl/s_server.c
753
.opt.flag = &cfg.no_dhe,
usr.bin/openssl/s_server.c
759
.opt.flag = &cfg.no_ecdhe,
usr.bin/openssl/s_server.c
765
.opt.value = &cfg.off,
usr.bin/openssl/s_server.c
788
.opt.value = &cfg.off,
usr.bin/openssl/s_server.c
795
.opt.value = &cfg.off,
usr.bin/openssl/s_server.c
806
.opt.flag = &cfg.nocert,
usr.bin/openssl/s_server.c
813
.opt.arg = &cfg.passarg,
usr.bin/openssl/s_server.c
819
.opt.argfunc = s_server_opt_port,
usr.bin/openssl/s_server.c
825
.opt.flag = &cfg.quiet,
usr.bin/openssl/s_server.c
832
.opt.arg = &cfg.tlsextcbp.servername,
usr.bin/openssl/s_server.c
838
.opt.value = &cfg.tlsextcbp.extension_error,
usr.bin/openssl/s_server.c
845
.opt.value = &cfg.off,
usr.bin/openssl/s_server.c
852
.opt.flag = &cfg.state,
usr.bin/openssl/s_server.c
858
.opt.flag = &cfg.tlsextstatus,
usr.bin/openssl/s_server.c
865
.opt.argfunc = s_server_opt_status_timeout,
usr.bin/openssl/s_server.c
872
.opt.argfunc = s_server_opt_status_url,
usr.bin/openssl/s_server.c
878
.opt.func = s_server_opt_status_verbose,
usr.bin/openssl/s_server.c
885
.opt.flag = &cfg.enable_timeouts,
usr.bin/openssl/s_server.c
892
.opt.func = s_server_opt_protocol_version_tls1_2,
usr.bin/openssl/s_server.c
898
.opt.func = s_server_opt_protocol_version_tls1_3,
usr.bin/openssl/s_server.c
904
.opt.flag = &cfg.tlsextdebug,
usr.bin/openssl/s_server.c
912
.opt.arg = &cfg.srtp_profiles,
usr.bin/openssl/s_server.c
920
.opt.argfunc = s_server_opt_verify_fail,
usr.bin/openssl/s_server.c
927
.opt.argfunc = s_server_opt_verify,
usr.bin/openssl/s_server.c
933
.opt.flag = &verify_return_error,
usr.bin/openssl/s_server.c
939
.opt.value = &cfg.www,
usr.bin/openssl/s_server.c
946
.opt.value = &cfg.www,
usr.bin/openssl/s_server.c
953
.opt.argvfunc = s_server_opt_verify_param,
usr.bin/openssl/s_time.c
121
.opt.flag = &cfg.bugs,
usr.bin/openssl/s_time.c
128
.opt.arg = &cfg.CAfile,
usr.bin/openssl/s_time.c
135
.opt.arg = &cfg.CApath,
usr.bin/openssl/s_time.c
142
.opt.arg = &cfg.certfile,
usr.bin/openssl/s_time.c
149
.opt.arg = &cfg.cipher,
usr.bin/openssl/s_time.c
157
.opt.arg = &cfg.host,
usr.bin/openssl/s_time.c
164
.opt.arg = &cfg.keyfile,
usr.bin/openssl/s_time.c
170
.opt.flag = &cfg.nbio,
usr.bin/openssl/s_time.c
176
.opt.value = &cfg.perform,
usr.bin/openssl/s_time.c
183
.opt.flag = &cfg.no_shutdown,
usr.bin/openssl/s_time.c
189
.opt.value = &cfg.perform,
usr.bin/openssl/s_time.c
197
.opt.tvalue = &cfg.maxtime,
usr.bin/openssl/s_time.c
204
.opt.value = &cfg.verify_depth,
usr.bin/openssl/s_time.c
211
.opt.arg = &cfg.www_path,
usr.bin/openssl/sess_id.c
101
.opt.arg = &cfg.infile,
usr.bin/openssl/sess_id.c
108
.opt.value = &cfg.informat,
usr.bin/openssl/sess_id.c
114
.opt.flag = &cfg.noout,
usr.bin/openssl/sess_id.c
121
.opt.arg = &cfg.outfile,
usr.bin/openssl/sess_id.c
128
.opt.value = &cfg.outformat,
usr.bin/openssl/sess_id.c
135
.opt.flag = &cfg.text,
usr.bin/openssl/sess_id.c
87
.opt.flag = &cfg.cert,
usr.bin/openssl/sess_id.c
94
.opt.arg = &cfg.context,
usr.bin/openssl/smime.c
264
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
270
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
276
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
284
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
290
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
296
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
304
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
310
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
318
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
324
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
330
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/smime.c
338
.opt.arg = &cfg.CAfile,
usr.bin/openssl/smime.c
345
.opt.arg = &cfg.CApath,
usr.bin/openssl/smime.c
351
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
359
.opt.arg = &cfg.certfile,
usr.bin/openssl/smime.c
366
.opt.arg = &cfg.contfile,
usr.bin/openssl/smime.c
372
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
379
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
386
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
394
.opt.arg = &cfg.from,
usr.bin/openssl/smime.c
401
.opt.arg = &cfg.infile,
usr.bin/openssl/smime.c
407
.opt.value = &cfg.indef,
usr.bin/openssl/smime.c
415
.opt.value = &cfg.informat,
usr.bin/openssl/smime.c
422
.opt.argfunc = smime_opt_inkey,
usr.bin/openssl/smime.c
429
.opt.value = &cfg.keyform,
usr.bin/openssl/smime.c
436
.opt.argfunc = smime_opt_md,
usr.bin/openssl/smime.c
442
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
449
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
456
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
463
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
470
.opt.value = &cfg.indef,
usr.bin/openssl/smime.c
477
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
484
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
491
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
498
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
505
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
513
.opt.arg = &cfg.outfile,
usr.bin/openssl/smime.c
520
.opt.value = &cfg.outformat,
usr.bin/openssl/smime.c
527
.opt.arg = &cfg.passargin,
usr.bin/openssl/smime.c
533
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
541
.opt.arg = &cfg.recipfile,
usr.bin/openssl/smime.c
547
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
554
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
562
.opt.argfunc = smime_opt_signer,
usr.bin/openssl/smime.c
568
.opt.value = &cfg.indef,
usr.bin/openssl/smime.c
576
.opt.arg = &cfg.subject,
usr.bin/openssl/smime.c
582
.opt.value = &cfg.flags,
usr.bin/openssl/smime.c
590
.opt.arg = &cfg.to,
usr.bin/openssl/smime.c
596
.opt.value = &cfg.operation,
usr.bin/openssl/smime.c
602
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
607
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
612
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
617
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
622
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
627
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
632
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
637
.opt.argvfunc = smime_opt_verify_param,
usr.bin/openssl/smime.c
642
.opt.argvfunc = smime_opt_cipher,
usr.bin/openssl/ts.c
191
.opt.arg = &cfg.ca_file,
usr.bin/openssl/ts.c
198
.opt.arg = &cfg.ca_path,
usr.bin/openssl/ts.c
204
.opt.flag = &cfg.cert,
usr.bin/openssl/ts.c
211
.opt.arg = &cfg.chain,
usr.bin/openssl/ts.c
218
.opt.arg = &cfg.configfile,
usr.bin/openssl/ts.c
225
.opt.arg = &cfg.data,
usr.bin/openssl/ts.c
232
.opt.arg = &cfg.digest,
usr.bin/openssl/ts.c
239
.opt.arg = &cfg.in,
usr.bin/openssl/ts.c
246
.opt.arg = &cfg.inkey,
usr.bin/openssl/ts.c
252
.opt.flag = &cfg.no_nonce,
usr.bin/openssl/ts.c
259
.opt.arg = &cfg.out,
usr.bin/openssl/ts.c
266
.opt.arg = &cfg.passin,
usr.bin/openssl/ts.c
273
.opt.arg = &cfg.policy,
usr.bin/openssl/ts.c
279
.opt.func = ts_opt_query,
usr.bin/openssl/ts.c
286
.opt.arg = &cfg.queryfile,
usr.bin/openssl/ts.c
292
.opt.func = ts_opt_reply,
usr.bin/openssl/ts.c
299
.opt.arg = &cfg.section,
usr.bin/openssl/ts.c
306
.opt.arg = &cfg.signer,
usr.bin/openssl/ts.c
312
.opt.flag = &cfg.text,
usr.bin/openssl/ts.c
318
.opt.flag = &cfg.token_in,
usr.bin/openssl/ts.c
324
.opt.flag = &cfg.token_out,
usr.bin/openssl/ts.c
331
.opt.arg = &cfg.untrusted,
usr.bin/openssl/ts.c
337
.opt.func = ts_opt_verify,
usr.bin/openssl/ts.c
343
.opt.argvfunc = ts_opt_md,
usr.bin/openssl/verify.c
108
.opt.arg = &cfg.CAfile,
usr.bin/openssl/verify.c
115
.opt.arg = &cfg.CApath,
usr.bin/openssl/verify.c
122
.opt.arg = &cfg.crlfile,
usr.bin/openssl/verify.c
129
.opt.arg = &cfg.trustfile,
usr.bin/openssl/verify.c
136
.opt.arg = &cfg.untfile,
usr.bin/openssl/verify.c
142
.opt.flag = &cfg.verbose,
usr.bin/openssl/verify.c
148
.opt.argvfunc = verify_opt_args,
usr.bin/openssl/version.c
165
.opt.func = version_all_opts,
usr.bin/openssl/version.c
171
.opt.flag = &cfg.date,
usr.bin/openssl/version.c
177
.opt.flag = &cfg.dir,
usr.bin/openssl/version.c
183
.opt.flag = &cfg.cflags,
usr.bin/openssl/version.c
188
.opt.flag = &cfg.options,
usr.bin/openssl/version.c
194
.opt.flag = &cfg.platform,
usr.bin/openssl/version.c
200
.opt.flag = &cfg.version,
usr.bin/openssl/x509.c
334
.opt.argfunc = x509_opt_addreject,
usr.bin/openssl/x509.c
341
.opt.argfunc = x509_opt_addtrust,
usr.bin/openssl/x509.c
347
.opt.order = &cfg.aliasout,
usr.bin/openssl/x509.c
355
.opt.argfunc = x509_opt_ca,
usr.bin/openssl/x509.c
361
.opt.order = &cfg.CA_createserial,
usr.bin/openssl/x509.c
369
.opt.value = &cfg.CAformat,
usr.bin/openssl/x509.c
377
.opt.arg = &cfg.CAkeyfile,
usr.bin/openssl/x509.c
384
.opt.value = &cfg.CAkeyformat,
usr.bin/openssl/x509.c
391
.opt.arg = &cfg.CAserial,
usr.bin/openssl/x509.c
398
.opt.argfunc = x509_opt_certopt,
usr.bin/openssl/x509.c
406
.opt.argfunc = x509_opt_checkend,
usr.bin/openssl/x509.c
412
.opt.flag = &cfg.clrext,
usr.bin/openssl/x509.c
418
.opt.order = &cfg.clrreject,
usr.bin/openssl/x509.c
425
.opt.order = &cfg.clrtrust,
usr.bin/openssl/x509.c
432
.opt.func = x509_opt_dates,
usr.bin/openssl/x509.c
439
.opt.argfunc = x509_opt_days,
usr.bin/openssl/x509.c
445
.opt.order = &cfg.email,
usr.bin/openssl/x509.c
452
.opt.order = &cfg.enddate,
usr.bin/openssl/x509.c
460
.opt.arg = &cfg.extsect,
usr.bin/openssl/x509.c
467
.opt.arg = &cfg.extfile,
usr.bin/openssl/x509.c
473
.opt.order = &cfg.fingerprint,
usr.bin/openssl/x509.c
481
.opt.arg = &cfg.force_pubkey,
usr.bin/openssl/x509.c
487
.opt.order = &cfg.subject_hash,
usr.bin/openssl/x509.c
495
.opt.arg = &cfg.infile,
usr.bin/openssl/x509.c
502
.opt.value = &cfg.informat,
usr.bin/openssl/x509.c
508
.opt.order = &cfg.issuer,
usr.bin/openssl/x509.c
515
.opt.order = &cfg.issuer_hash,
usr.bin/openssl/x509.c
523
.opt.order = &cfg.issuer_hash_old,
usr.bin/openssl/x509.c
531
.opt.argfunc = x509_opt_signkey,
usr.bin/openssl/x509.c
538
.opt.value = &cfg.keyformat,
usr.bin/openssl/x509.c
544
.opt.order = &cfg.modulus,
usr.bin/openssl/x509.c
551
.opt.flag = &cfg.multirdn,
usr.bin/openssl/x509.c
558
.opt.argfunc = x509_opt_nameopt,
usr.bin/openssl/x509.c
564
.opt.flag = &cfg.new,
usr.bin/openssl/x509.c
570
.opt.order = &cfg.next_serial,
usr.bin/openssl/x509.c
577
.opt.order = &cfg.noout,
usr.bin/openssl/x509.c
584
.opt.order = &cfg.ocsp_uri,
usr.bin/openssl/x509.c
591
.opt.order = &cfg.ocspid,
usr.bin/openssl/x509.c
599
.opt.arg = &cfg.outfile,
usr.bin/openssl/x509.c
606
.opt.value = &cfg.outformat,
usr.bin/openssl/x509.c
613
.opt.arg = &cfg.passargin,
usr.bin/openssl/x509.c
619
.opt.order = &cfg.pubkey,
usr.bin/openssl/x509.c
626
.opt.order = &cfg.pprint,
usr.bin/openssl/x509.c
633
.opt.flag = &cfg.reqfile,
usr.bin/openssl/x509.c
639
.opt.order = &cfg.serial,
usr.bin/openssl/x509.c
647
.opt.arg = &cfg.set_issuer,
usr.bin/openssl/x509.c
654
.opt.argfunc = x509_opt_set_serial,
usr.bin/openssl/x509.c
661
.opt.arg = &cfg.set_subject,
usr.bin/openssl/x509.c
668
.opt.argfunc = x509_opt_setalias,
usr.bin/openssl/x509.c
675
.opt.argfunc = x509_opt_signkey,
usr.bin/openssl/x509.c
682
.opt.argfunc = x509_opt_sigopt,
usr.bin/openssl/x509.c
688
.opt.order = &cfg.startdate,
usr.bin/openssl/x509.c
694
.opt.arg = &cfg.set_subject,
usr.bin/openssl/x509.c
700
.opt.order = &cfg.subject,
usr.bin/openssl/x509.c
707
.opt.order = &cfg.subject_hash,
usr.bin/openssl/x509.c
715
.opt.order = &cfg.subject_hash_old,
usr.bin/openssl/x509.c
723
.opt.order = &cfg.text,
usr.bin/openssl/x509.c
730
.opt.flag = &cfg.trustout,
usr.bin/openssl/x509.c
736
.opt.func = x509_opt_utf8,
usr.bin/openssl/x509.c
742
.opt.order = &cfg.x509req,
usr.bin/openssl/x509.c
749
.opt.argvfunc = x509_opt_digest,
usr.bin/quota/quota.c
492
char *opt, *cp;
usr.bin/quota/quota.c
504
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
usr.bin/quota/quota.c
505
if ((cp = strchr(opt, '=')))
usr.bin/quota/quota.c
507
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
usr.bin/quota/quota.c
509
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
usr.bin/quota/quota.c
512
if (!opt)
usr.bin/radioctl/radioctl.c
131
struct opt_t opt;
usr.bin/radioctl/radioctl.c
197
if (parse_opt(*argv, &opt))
usr.bin/radioctl/radioctl.c
198
do_ioctls(rd, &opt, silent);
usr.bin/radioctl/radioctl.c
201
if (parse_opt(*argv, &opt)) {
usr.bin/radioctl/radioctl.c
202
show_verbose(varname[opt.option],
usr.bin/radioctl/radioctl.c
204
print_value(opt.option, show_choices);
usr.bin/radioctl/radioctl.c
205
free(opt.string);
usr.bin/rcs/rcsparse.c
100
int opt;
usr.bin/rcs/rcsparse.c
1116
if (sec[i].opt) {
usr.bin/rcs/rcsutil.c
105
opt = *a;
usr.bin/rcs/rcsutil.c
107
if (*c == opt) {
usr.bin/rcs/rcsutil.c
109
ret = opt;
usr.bin/rcs/rcsutil.c
128
if (ret == opt)
usr.bin/rcs/rcsutil.c
135
warnx("unknown option -%c", opt);
usr.bin/rcs/rcsutil.c
137
warnx("missing argument for option -%c", opt);
usr.bin/rcs/rcsutil.c
92
int opt, hasargument, ret;
usr.bin/rdist/gram.y
335
opt_t opt = 0;
usr.bin/rdist/gram.y
340
if (parsedistopts(&yytext[2], &opt, TRUE)) {
usr.bin/rdist/gram.y
351
case 'b': opt = DO_COMPARE; break;
usr.bin/rdist/gram.y
352
case 'R': opt = DO_REMOVE; break;
usr.bin/rdist/gram.y
353
case 'v': opt = DO_VERIFY; break;
usr.bin/rdist/gram.y
354
case 'w': opt = DO_WHOLE; break;
usr.bin/rdist/gram.y
355
case 'y': opt = DO_YOUNGER; break;
usr.bin/rdist/gram.y
356
case 'h': opt = DO_FOLLOW; break;
usr.bin/rdist/gram.y
357
case 'i': opt = DO_IGNLNKS; break;
usr.bin/rdist/gram.y
358
case 'q': opt = DO_QUIET; break;
usr.bin/rdist/gram.y
359
case 'x': opt = DO_NOEXEC; break;
usr.bin/rdist/gram.y
360
case 'N': opt = DO_CHKNFS; break;
usr.bin/rdist/gram.y
361
case 'O': opt = DO_CHKREADONLY; break;
usr.bin/rdist/gram.y
362
case 's': opt = DO_SAVETARGETS; break;
usr.bin/rdist/gram.y
363
case 'r': opt = DO_NODESCEND; break;
usr.bin/rdist/gram.y
371
yylval.optval = opt;
usr.bin/sndiod/dev.c
1118
struct opt *o;
usr.bin/sndiod/dev.c
1148
if (s->opt == NULL || s->opt->mtc != mtc)
usr.bin/sndiod/dev.c
1161
if (s->opt == NULL || s->opt->mtc != mtc)
usr.bin/sndiod/dev.c
1230
struct opt *o;
usr.bin/sndiod/dev.c
1264
struct dev *d = s->opt->dev;
usr.bin/sndiod/dev.c
1268
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1269
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1271
s->opt->pmin, s->opt->pmax,
usr.bin/sndiod/dev.c
1272
s->opt->dup);
usr.bin/sndiod/dev.c
1295
s->opt->rmin, s->opt->rmax,
usr.bin/sndiod/dev.c
1296
s->opt->rmin, s->opt->rmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1297
s->opt->rmin, s->opt->rmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1298
s->opt->dup);
usr.bin/sndiod/dev.c
1302
s->opt->pmin, s->opt->pmax,
usr.bin/sndiod/dev.c
1303
s->opt->pmin, s->opt->pmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1304
s->opt->pmin, s->opt->pmin + s->sub.nch - 1,
usr.bin/sndiod/dev.c
1305
s->opt->dup);
usr.bin/sndiod/dev.c
1379
slot_new(struct opt *opt, unsigned int id, char *who,
usr.bin/sndiod/dev.c
1386
a = opt_mkapp(opt, who);
usr.bin/sndiod/dev.c
1402
if (!opt_ref(opt))
usr.bin/sndiod/dev.c
1406
s->opt = opt;
usr.bin/sndiod/dev.c
1413
s->mix.nch = s->opt->pmax - s->opt->pmin + 1;
usr.bin/sndiod/dev.c
1415
s->sub.nch = s->opt->rmax - s->opt->rmin + 1;
usr.bin/sndiod/dev.c
1416
s->xrun = s->opt->mtc != NULL ? XRUN_SYNC : XRUN_IGNORE;
usr.bin/sndiod/dev.c
1417
s->appbufsz = s->opt->dev->bufsz;
usr.bin/sndiod/dev.c
1418
s->round = s->opt->dev->round;
usr.bin/sndiod/dev.c
1419
s->rate = s->opt->dev->rate;
usr.bin/sndiod/dev.c
1421
logx(3, "slot%zu: %s/%s", s - slot_array, s->opt->name, s->app->name);
usr.bin/sndiod/dev.c
1445
opt_unref(s->opt);
usr.bin/sndiod/dev.c
1454
struct opt *o = s->opt;
usr.bin/sndiod/dev.c
1473
struct dev *d = s->opt->dev;
usr.bin/sndiod/dev.c
1476
if (((s->mode & MODE_PLAY) && !(s->opt->mode & MODE_PLAY)) ||
usr.bin/sndiod/dev.c
1477
((s->mode & MODE_RECMASK) && !(s->opt->mode & MODE_RECMASK))) {
usr.bin/sndiod/dev.c
1478
logx(1, "slot%zu at %s: mode not allowed", s - slot_array, s->opt->name);
usr.bin/sndiod/dev.c
1535
if (s->opt->dev->pstate == DEV_CFG)
usr.bin/sndiod/dev.c
1537
if (s->opt->mtc == NULL) {
usr.bin/sndiod/dev.c
1541
mtc_trigger(s->opt->mtc);
usr.bin/sndiod/dev.c
1551
struct dev *d = s->opt->dev;
usr.bin/sndiod/dev.c
1564
s->opt->pmin, s->opt->pmin + s->mix.nch - 1,
usr.bin/sndiod/dev.c
1565
s->opt->rmin, s->opt->rmin + s->sub.nch - 1), chans_str),
usr.bin/sndiod/dev.c
1601
struct dev *d = s->opt->dev;
usr.bin/sndiod/dev.c
164
struct opt *o;
usr.bin/sndiod/dev.c
1749
ctlslot_new(struct opt *o, struct ctlops *ops, void *arg)
usr.bin/sndiod/dev.c
1764
s->opt = o;
usr.bin/sndiod/dev.c
1796
opt_unref(s->opt);
usr.bin/sndiod/dev.c
1802
if (s->opt == NULL)
usr.bin/sndiod/dev.c
1815
return (s->opt->dev == c->u.any.arg0);
usr.bin/sndiod/dev.c
1817
return (s->opt == c->u.any.arg0);
usr.bin/sndiod/dev.c
1819
return (s->opt == c->u.app_level.opt);
usr.bin/sndiod/dev.c
1893
c->u.app_level.opt->name, c->u.app_level.app->name);
usr.bin/sndiod/dev.c
1896
c->u.opt_dev.opt->name, c->u.opt_dev.dev->name);
usr.bin/sndiod/dev.c
1954
opt_appvol(c->u.app_level.opt, c->u.app_level.app, val);
usr.bin/sndiod/dev.c
1955
opt_midi_vol(c->u.app_level.opt, c->u.app_level.app);
usr.bin/sndiod/dev.c
1960
if (opt_setdev(c->u.opt_dev.opt, c->u.opt_dev.dev)) {
usr.bin/sndiod/dev.c
1962
opt_setalt(c->u.opt_dev.opt, c->u.opt_dev.dev);
usr.bin/sndiod/dev.c
2218
if (s->opt->dev == d)
usr.bin/sndiod/dev.c
379
if (!(s->opt->mode & MODE_PLAY)) {
usr.bin/sndiod/dev.c
429
icmax = i->opt->pmin + i->mix.nch - 1;
usr.bin/sndiod/dev.c
440
jcmax = j->opt->pmin + j->mix.nch - 1;
usr.bin/sndiod/dev.c
441
if (i->opt->pmin <= jcmax &&
usr.bin/sndiod/dev.c
442
icmax >= j->opt->pmin)
usr.bin/sndiod/dev.c
447
if (weight > i->opt->maxweight)
usr.bin/sndiod/dev.c
448
weight = i->opt->maxweight;
usr.bin/sndiod/dev.c
453
i->opt->maxweight);
usr.bin/sndiod/dev.c
475
if ((s->opt->mode & MODE_RECMASK) == 0) {
usr.bin/sndiod/dev.c
500
if (s->opt->mode & MODE_MON) {
usr.bin/sndiod/dev.c
507
if (s->opt->mode & MODE_REC) {
usr.bin/sndiod/dev.c
901
struct opt *o;
usr.bin/sndiod/dev.c
904
if (s->opt == NULL || s->opt->dev != d)
usr.bin/sndiod/dev.c
919
if (c->opt == o) {
usr.bin/sndiod/dev.h
141
struct opt *opt;
usr.bin/sndiod/dev.h
145
struct opt *opt;
usr.bin/sndiod/dev.h
173
struct opt *opt;
usr.bin/sndiod/dev.h
319
struct slot *slot_new(struct opt *, unsigned int, char *,
usr.bin/sndiod/dev.h
347
struct ctlslot *ctlslot_new(struct opt *, struct ctlops *, void *);
usr.bin/sndiod/dev.h
60
struct opt *opt; /* config used */
usr.bin/sndiod/dev.h
90
((s)->appbufsz + (s)->opt->dev->bufsz / (s)->opt->dev->round * (s)->round)
usr.bin/sndiod/listen.c
167
int s, error, opt = 1, n = 0;
usr.bin/sndiod/listen.c
194
opt = 1;
usr.bin/sndiod/listen.c
196
&opt, sizeof(int)) == -1) {
usr.bin/sndiod/listen.c
259
int sock, opt;
usr.bin/sndiod/listen.c
274
opt = 1;
usr.bin/sndiod/listen.c
276
&opt, sizeof(int)) == -1) {
usr.bin/sndiod/opt.c
120
opt_appvol(struct opt *o, struct app *a, int vol)
usr.bin/sndiod/opt.c
128
if (s->app != a || s->opt != o)
usr.bin/sndiod/opt.c
141
struct opt *o = arg;
usr.bin/sndiod/opt.c
151
struct opt *o = arg;
usr.bin/sndiod/opt.c
250
struct opt *o = arg;
usr.bin/sndiod/opt.c
259
opt_midi_vol(struct opt *o, struct app *a)
usr.bin/sndiod/opt.c
26
struct opt *opt_list;
usr.bin/sndiod/opt.c
273
opt_midi_appdesc(struct opt *o, struct app *a)
usr.bin/sndiod/opt.c
293
opt_midi_dump(struct opt *o)
usr.bin/sndiod/opt.c
316
struct opt *
usr.bin/sndiod/opt.c
321
struct opt *o, **po;
usr.bin/sndiod/opt.c
365
o = xmalloc(sizeof(struct opt));
usr.bin/sndiod/opt.c
41
opt_mkapp(struct opt *o, char *who)
usr.bin/sndiod/opt.c
410
opt_setalt(struct opt *o, struct dev *d)
usr.bin/sndiod/opt.c
439
struct opt *
usr.bin/sndiod/opt.c
442
struct opt *o;
usr.bin/sndiod/opt.c
451
struct opt *
usr.bin/sndiod/opt.c
454
struct opt *o;
usr.bin/sndiod/opt.c
464
opt_del(struct opt *o)
usr.bin/sndiod/opt.c
466
struct opt **po;
usr.bin/sndiod/opt.c
487
opt_init(struct opt *o)
usr.bin/sndiod/opt.c
492
opt_done(struct opt *o)
usr.bin/sndiod/opt.c
509
opt_setdev(struct opt *o, struct dev *ndev)
usr.bin/sndiod/opt.c
528
if (s->opt != o)
usr.bin/sndiod/opt.c
554
if (s->opt != o)
usr.bin/sndiod/opt.c
576
if (s->opt != o)
usr.bin/sndiod/opt.c
589
if (p->opt == o)
usr.bin/sndiod/opt.c
601
opt_migrate(struct opt *o, struct dev *odev)
usr.bin/sndiod/opt.c
614
if (s->opt != o)
usr.bin/sndiod/opt.c
627
opt_ref(struct opt *o)
usr.bin/sndiod/opt.c
667
opt_unref(struct opt *o)
usr.bin/sndiod/opt.h
38
struct opt *next;
usr.bin/sndiod/opt.h
58
extern struct opt *opt_list;
usr.bin/sndiod/opt.h
60
struct app *opt_mkapp(struct opt *o, char *who);
usr.bin/sndiod/opt.h
61
void opt_appvol(struct opt *o, struct app *a, int vol);
usr.bin/sndiod/opt.h
62
void opt_midi_vol(struct opt *, struct app *);
usr.bin/sndiod/opt.h
63
void opt_midi_appdesc(struct opt *o, struct app *a);
usr.bin/sndiod/opt.h
64
void opt_midi_dump(struct opt *o);
usr.bin/sndiod/opt.h
65
struct opt *opt_new(struct dev *, char *, int, int, int, int,
usr.bin/sndiod/opt.h
67
void opt_del(struct opt *);
usr.bin/sndiod/opt.h
68
void opt_setalt(struct opt *, struct dev *);
usr.bin/sndiod/opt.h
69
struct opt *opt_byname(char *);
usr.bin/sndiod/opt.h
70
struct opt *opt_bynum(int);
usr.bin/sndiod/opt.h
71
void opt_init(struct opt *);
usr.bin/sndiod/opt.h
72
void opt_done(struct opt *);
usr.bin/sndiod/opt.h
73
int opt_setdev(struct opt *, struct dev *);
usr.bin/sndiod/opt.h
74
void opt_migrate(struct opt *, struct dev *);
usr.bin/sndiod/opt.h
75
struct dev *opt_ref(struct opt *);
usr.bin/sndiod/opt.h
76
void opt_unref(struct opt *);
usr.bin/sndiod/sndiod.c
109
struct opt *mkopt(char *, struct dev *, struct opt_alt *,
usr.bin/sndiod/sndiod.c
264
struct opt *o;
usr.bin/sndiod/sndiod.c
405
struct opt *
usr.bin/sndiod/sndiod.c
410
struct opt *o;
usr.bin/sndiod/sndiod.c
514
struct opt *o;
usr.bin/sndiod/sock.c
109
static struct opt *
usr.bin/sndiod/sock.c
113
struct opt *o;
usr.bin/sndiod/sock.c
138
if (f->ctlslot->opt == NULL)
usr.bin/sndiod/sock.c
140
if (strcmp(c->group, f->ctlslot->opt->name) == 0)
usr.bin/sndiod/sock.c
142
if (strcmp(c->group, f->ctlslot->opt->dev->name) == 0)
usr.bin/sndiod/sock.c
150
struct opt *o;
usr.bin/sndiod/sock.c
589
struct dev *d = s->opt->dev;
usr.bin/sndiod/sock.c
660
if (s->opt->mtc != NULL && s->xrun == XRUN_IGNORE)
usr.bin/sndiod/sock.c
714
struct opt *opt;
usr.bin/sndiod/sock.c
754
opt = opt_byname(p->opt);
usr.bin/sndiod/sock.c
755
if (opt == NULL)
usr.bin/sndiod/sock.c
757
if (!opt_ref(opt))
usr.bin/sndiod/sock.c
759
midi_tag(f->midi, opt->num);
usr.bin/sndiod/sock.c
761
opt = legacy_opt(p->devnum, p->opt);
usr.bin/sndiod/sock.c
762
if (opt == NULL)
usr.bin/sndiod/sock.c
764
if (!opt_ref(opt))
usr.bin/sndiod/sock.c
766
midi_tag(f->midi, opt->num);
usr.bin/sndiod/sock.c
781
opt = opt_byname(p->opt);
usr.bin/sndiod/sock.c
782
if (opt == NULL)
usr.bin/sndiod/sock.c
785
opt = legacy_opt(p->devnum, p->opt);
usr.bin/sndiod/sock.c
786
if (opt == NULL)
usr.bin/sndiod/sock.c
789
f->ctlslot = ctlslot_new(opt, &sock_ctlops, f);
usr.bin/sndiod/sock.c
799
opt = (p->devnum == AMSG_NODEV) ?
usr.bin/sndiod/sock.c
800
opt_byname(p->opt) : legacy_opt(p->devnum, p->opt);
usr.bin/sndiod/sock.c
801
if (opt == NULL)
usr.bin/sndiod/sock.c
803
f->slot = slot_new(opt, id, p->who, &sock_slotops, f, mode);
usr.bin/ssh/auth-options.c
254
char *opt, *tmp, *cp, *host, **permits = *permitsp;
usr.bin/ssh/auth-options.c
262
if ((opt = opt_dequote(optsp, &errstr)) == NULL) {
usr.bin/ssh/auth-options.c
265
if (allow_bare_port && strchr(opt, ':') == NULL) {
usr.bin/ssh/auth-options.c
270
if (asprintf(&tmp, "*:%s", opt) == -1) {
usr.bin/ssh/auth-options.c
271
free(opt);
usr.bin/ssh/auth-options.c
275
free(opt);
usr.bin/ssh/auth-options.c
276
opt = tmp;
usr.bin/ssh/auth-options.c
278
if ((tmp = strdup(opt)) == NULL) {
usr.bin/ssh/auth-options.c
279
free(opt);
usr.bin/ssh/auth-options.c
288
free(opt);
usr.bin/ssh/auth-options.c
299
free(opt);
usr.bin/ssh/auth-options.c
308
free(opt);
usr.bin/ssh/auth-options.c
313
permits[npermits++] = opt;
usr.bin/ssh/auth-options.c
322
char **oarray, *opt, *cp, *tmp;
usr.bin/ssh/auth-options.c
388
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
390
if (parse_absolute_time(opt, &valid_before) != 0 ||
usr.bin/ssh/auth-options.c
392
free(opt);
usr.bin/ssh/auth-options.c
396
free(opt);
usr.bin/ssh/auth-options.c
405
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
408
if ((tmp = strchr(opt, '=')) == NULL) {
usr.bin/ssh/auth-options.c
409
free(opt);
usr.bin/ssh/auth-options.c
413
if ((cp = strdup(opt)) == NULL) {
usr.bin/ssh/auth-options.c
414
free(opt);
usr.bin/ssh/auth-options.c
417
l = (size_t)(tmp - opt);
usr.bin/ssh/auth-options.c
421
free(opt);
usr.bin/ssh/auth-options.c
439
free(opt);
usr.bin/ssh/auth-options.c
444
ret->env[ret->nenv++] = opt;
usr.bin/ssh/auth-options.c
445
opt = NULL; /* transferred */
usr.bin/ssh/auth-options.c
447
free(opt);
usr.bin/ssh/auth-options.c
457
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
459
ret->force_tun_device = a2tun(opt, NULL);
usr.bin/ssh/auth-options.c
460
free(opt);
usr.bin/ssh/misc.c
205
int opt;
usr.bin/ssh/misc.c
208
optlen = sizeof opt;
usr.bin/ssh/misc.c
209
if (getsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, &optlen) == -1) {
usr.bin/ssh/misc.c
213
if (opt == 1) {
usr.bin/ssh/misc.c
217
opt = 1;
usr.bin/ssh/misc.c
219
if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof opt) == -1)
usr.bin/ssh/misc.c
2580
opt_flag(const char *opt, int allow_negate, const char **optsp)
usr.bin/ssh/misc.c
2582
size_t opt_len = strlen(opt);
usr.bin/ssh/misc.c
2590
if (strncasecmp(opts, opt, opt_len) == 0) {
usr.bin/ssh/misc.h
217
int opt_flag(const char *opt, int allow_negate, const char **optsp);
usr.bin/ssh/sk-usbhid.c
315
check_sk_options(fido_dev_t *dev, const char *opt, int *ret)
usr.bin/ssh/sk-usbhid.c
342
if (!strcmp(name[i], opt)) {
usr.bin/ssh/sk-usbhid.c
349
skdebug(__func__, "option %s is unknown", opt);
usr.bin/ssh/sk-usbhid.c
351
skdebug(__func__, "option %s is %s", opt, *ret ? "on" : "off");
usr.bin/ssh/ssh-keygen.c
1942
add_cert_option(char *opt)
usr.bin/ssh/ssh-keygen.c
1948
if (strcasecmp(opt, "clear") == 0)
usr.bin/ssh/ssh-keygen.c
1950
else if (strcasecmp(opt, "no-x11-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1952
else if (strcasecmp(opt, "permit-x11-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1954
else if (strcasecmp(opt, "no-agent-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1956
else if (strcasecmp(opt, "permit-agent-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1958
else if (strcasecmp(opt, "no-port-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1960
else if (strcasecmp(opt, "permit-port-forwarding") == 0)
usr.bin/ssh/ssh-keygen.c
1962
else if (strcasecmp(opt, "no-pty") == 0)
usr.bin/ssh/ssh-keygen.c
1964
else if (strcasecmp(opt, "permit-pty") == 0)
usr.bin/ssh/ssh-keygen.c
1966
else if (strcasecmp(opt, "no-user-rc") == 0)
usr.bin/ssh/ssh-keygen.c
1968
else if (strcasecmp(opt, "permit-user-rc") == 0)
usr.bin/ssh/ssh-keygen.c
1970
else if (strcasecmp(opt, "touch-required") == 0)
usr.bin/ssh/ssh-keygen.c
1972
else if (strcasecmp(opt, "no-touch-required") == 0)
usr.bin/ssh/ssh-keygen.c
1974
else if (strcasecmp(opt, "no-verify-required") == 0)
usr.bin/ssh/ssh-keygen.c
1976
else if (strcasecmp(opt, "verify-required") == 0)
usr.bin/ssh/ssh-keygen.c
1978
else if ((p = strprefix(opt, "force-command=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
1984
} else if ((p = strprefix(opt, "source-address=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
1992
} else if (strprefix(opt, "extension:", 1) != NULL ||
usr.bin/ssh/ssh-keygen.c
1993
(iscrit = (strprefix(opt, "critical:", 1) != NULL))) {
usr.bin/ssh/ssh-keygen.c
1994
val = xstrdup(strchr(opt, ':') + 1);
usr.bin/ssh/ssh-keygen.c
2000
fatal("Unsupported certificate option \"%s\"", opt);
usr.bin/ssh/ssh-keygen.c
3275
int ret = 0, r, opt, type;
usr.bin/ssh/ssh-keygen.c
3315
while ((opt = getopt(argc, argv, "ABHKLQUXceghiklopquvy"
usr.bin/ssh/ssh-keygen.c
3318
switch (opt) {
usr.bin/ssh/ssh-keyscan.c
634
int opt, fopt_count = 0, j;
usr.bin/ssh/ssh-keyscan.c
650
while ((opt = getopt(argc, argv, "cDHqv46O:p:T:t:f:")) != -1) {
usr.bin/ssh/ssh-keyscan.c
651
switch (opt) {
usr.bin/ssh/ssh.c
630
int i, r, opt, exit_status, use_syslog, direct, timeout_ms;
usr.bin/ssh/ssh.c
700
while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx"
usr.bin/ssh/ssh.c
702
switch (opt) {
usr.bin/ssh/sshd-auth.c
427
int r, opt, have_key = 0;
usr.bin/ssh/sshd-auth.c
451
while ((opt = getopt(ac, av,
usr.bin/ssh/sshd-auth.c
453
switch (opt) {
usr.bin/ssh/sshd-session.c
737
int devnull, r, opt, on = 1, remote_port;
usr.bin/ssh/sshd-session.c
763
while ((opt = getopt(ac, av,
usr.bin/ssh/sshd-session.c
765
switch (opt) {
usr.bin/ssh/sshd.c
1265
int r, opt, do_dump_cfg = 0, keytype, already_daemon, have_agent = 0;
usr.bin/ssh/sshd.c
1295
while ((opt = getopt(ac, av,
usr.bin/ssh/sshd.c
1297
switch (opt) {
usr.bin/ssh/sshsig.c
643
char *opt;
usr.bin/ssh/sshsig.c
668
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/sshsig.c
670
if (parse_absolute_time(opt, &ret->valid_after) != 0 ||
usr.bin/ssh/sshsig.c
672
free(opt);
usr.bin/ssh/sshsig.c
676
free(opt);
usr.bin/ssh/sshsig.c
682
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/sshsig.c
684
if (parse_absolute_time(opt, &ret->valid_before) != 0 ||
usr.bin/ssh/sshsig.c
686
free(opt);
usr.bin/ssh/sshsig.c
690
free(opt);
usr.bin/systat/engine.c
585
set_view(const char *opt)
usr.bin/systat/engine.c
591
if (opt == NULL || (len = strlen(opt)) == 0)
usr.bin/systat/engine.c
596
if (strncasecmp(opt, v->name, len) == 0) {
usr.bin/systat/engine.c
908
set_order(const char *opt)
usr.bin/systat/engine.c
917
if (opt == NULL)
usr.bin/systat/engine.c
926
if (strcasecmp(opt, o->match) == 0) {
usr.bin/systat/engine.h
135
int set_view(const char *opt);
usr.bin/systat/engine.h
140
void set_order(const char *opt);
usr.bin/telnet/externs.h
101
#define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
usr.bin/telnet/externs.h
102
#define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
usr.bin/telnet/externs.h
103
#define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
usr.bin/telnet/externs.h
104
#define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
usr.bin/telnet/externs.h
106
#define my_state_is_dont(opt) (!my_state_is_do(opt))
usr.bin/telnet/externs.h
107
#define my_state_is_wont(opt) (!my_state_is_will(opt))
usr.bin/telnet/externs.h
108
#define my_want_state_is_dont(opt) (!my_want_state_is_do(opt))
usr.bin/telnet/externs.h
109
#define my_want_state_is_wont(opt) (!my_want_state_is_will(opt))
usr.bin/telnet/externs.h
111
#define set_my_state_do(opt) {options[opt] |= MY_STATE_DO;}
usr.bin/telnet/externs.h
112
#define set_my_state_will(opt) {options[opt] |= MY_STATE_WILL;}
usr.bin/telnet/externs.h
113
#define set_my_want_state_do(opt) {options[opt] |= MY_WANT_STATE_DO;}
usr.bin/telnet/externs.h
114
#define set_my_want_state_will(opt) {options[opt] |= MY_WANT_STATE_WILL;}
usr.bin/telnet/externs.h
116
#define set_my_state_dont(opt) {options[opt] &= ~MY_STATE_DO;}
usr.bin/telnet/externs.h
117
#define set_my_state_wont(opt) {options[opt] &= ~MY_STATE_WILL;}
usr.bin/telnet/externs.h
118
#define set_my_want_state_dont(opt) {options[opt] &= ~MY_WANT_STATE_DO;}
usr.bin/telnet/externs.h
119
#define set_my_want_state_wont(opt) {options[opt] &= ~MY_WANT_STATE_WILL;}
usr.bin/tftp/tftp.c
586
char *opt, *val;
usr.bin/tftp/tftp.c
590
opt = tp->th_u.tu_stuff;
usr.bin/tftp/tftp.c
594
len = strlen(opt) + 1;
usr.bin/tftp/tftp.c
595
opt = strchr(opt, '\0');
usr.bin/tftp/tftp.c
596
opt++;
usr.bin/tftp/tftp.c
597
len += strlen(opt) + 1;
usr.bin/tftp/tftp.c
598
opt = strchr(opt, '\0');
usr.bin/tftp/tftp.c
599
opt++;
usr.bin/tftp/tftp.c
600
val = opt;
usr.bin/tftp/tftp.c
615
printf("%s=%s", opt, val);
usr.bin/tftp/tftp.c
617
if (oack_set(opt, val) == -1)
usr.bin/tftp/tftp.c
621
opt = val;
usr.bin/tic/progs.priv.h
237
#define VtoTrace(opt) (unsigned) ((opt > 0) ? opt : (opt == 0))
usr.bin/tmux/tmux.c
365
int opt, keys, feat = 0, fflag = 0;
usr.bin/tmux/tmux.c
392
while ((opt = getopt(argc, argv, "2c:CDdf:hlL:NqS:T:uUvV")) != -1) {
usr.bin/tmux/tmux.c
393
switch (opt) {
usr.bin/unifdef/unifdef.c
266
int opt;
usr.bin/unifdef/unifdef.c
271
while ((opt = getopt(argc, argv, "i:D:U:f:I:M:o:x:bBcdehKklmnsStV")) != -1)
usr.bin/unifdef/unifdef.c
272
switch (opt) {
usr.bin/unifdef/unifdef.c
279
opt = *optarg++;
usr.bin/unifdef/unifdef.c
280
if (opt == 'D')
usr.bin/unifdef/unifdef.c
282
else if (opt == 'U')
usr.bin/vi/cl/cl_term.c
204
cl_optchange(SCR *sp, int opt, char *str, u_long *valp)
usr.bin/vi/cl/cl_term.c
210
switch (opt) {
usr.bin/vi/common/options.c
698
o_set(SCR *sp, int opt, u_int flags, char *str, u_long val)
usr.bin/vi/common/options.c
703
op = F_ISSET(&sp->opts[opt], OPT_GLOBAL) ?
usr.bin/vi/common/options.c
704
&sp->gp->opts[sp->opts[opt].o_cur.val] : &sp->opts[opt];
usr.sbin/amd/amd/get_args.c
86
debug_option(char *opt)
usr.sbin/amd/amd/get_args.c
88
return cmdoption(opt, dbg_opt, &debug_flags);
usr.sbin/amd/amd/mapc.c
378
mapc_create(char *map, char *opt)
usr.sbin/amd/amd/mapc.c
385
(void) cmdoption(opt, mapc_opt, &alloc);
usr.sbin/amd/amd/mapc.c
399
plog(XLOG_USER, "Ambiguous map cache type \"%s\"; using \"inc\"", opt);
usr.sbin/amd/amd/mapc.c
486
mapc_find(char *map, char *opt)
usr.sbin/amd/amd/mapc.c
501
m = mapc_create(map, opt);
usr.sbin/amd/amd/mount_fs.c
152
hasmntopt(struct mntent *mnt, char *opt)
usr.sbin/amd/amd/mount_fs.c
157
int l = strlen(opt);
usr.sbin/amd/amd/mount_fs.c
162
if (strncmp(opt, f, l) == 0)
usr.sbin/amd/amd/mount_fs.c
59
struct opt_tab *opt;
usr.sbin/amd/amd/mount_fs.c
66
for (opt = mnt_flags; opt->opt; opt++)
usr.sbin/amd/amd/mount_fs.c
67
flags |= hasmntopt(mnt, opt->opt) ? opt->flag : 0;
usr.sbin/amd/amd/mtab.c
84
hasmntval(struct mntent *mnt, char *opt)
usr.sbin/amd/amd/mtab.c
86
char *str = hasmntopt(mnt, opt);
usr.sbin/amd/amd/mtab.c
92
plog(XLOG_USER, "bad numeric option \"%s\" in \"%s\"", opt, str);
usr.sbin/amd/amd/opts.c
105
char **opt;
usr.sbin/amd/amd/opts.c
220
while (*(f = opt(&o))) {
usr.sbin/amd/amd/opts.c
221
struct opt *op;
usr.sbin/amd/amd/opts.c
224
char *opt;
usr.sbin/amd/amd/opts.c
243
opt = eq + 1;
usr.sbin/amd/amd/opts.c
247
opt = eq + 1;
usr.sbin/amd/amd/opts.c
251
opt = eq + 2;
usr.sbin/amd/amd/opts.c
255
opt = eq + 2;
usr.sbin/amd/amd/opts.c
259
opt = eq + 1;
usr.sbin/amd/amd/opts.c
273
plog(XLOG_WARNING, "key %s: Old syntax selector found: %s=%s", mapkey, f, opt);
usr.sbin/amd/amd/opts.c
275
*op->optp = opt;
usr.sbin/amd/amd/opts.c
282
if (op->sel_p && (STREQ(*op->sel_p, opt) == (vs_opt == SelNE))) {
usr.sbin/amd/amd/opts.c
288
opt);
usr.sbin/amd/amd/opts.c
298
*op->optp = opt;
usr.sbin/amd/amd/opts.c
318
if (*p->opt) {
usr.sbin/amd/amd/opts.c
319
free(*p->opt);
usr.sbin/amd/amd/opts.c
320
*p->opt = 0;
usr.sbin/amd/amd/opts.c
384
char *cp = *p->opt;
usr.sbin/amd/amd/opts.c
387
char *cp_orig = *p->opt;
usr.sbin/amd/amd/opts.c
389
struct opt *op;
usr.sbin/amd/amd/opts.c
401
plog(XLOG_ERROR, expand_error, *p->opt);
usr.sbin/amd/amd/opts.c
411
plog(XLOG_ERROR, expand_error, *p->opt);
usr.sbin/amd/amd/opts.c
429
plog(XLOG_USER, "No closing '}' in \"%s\"", *p->opt);
usr.sbin/amd/amd/opts.c
572
plog(XLOG_ERROR, expand_error, *p->opt);
usr.sbin/amd/amd/opts.c
599
plog(XLOG_ERROR, expand_error, *p->opt);
usr.sbin/amd/amd/opts.c
614
plog(XLOG_USER, "Unknown $ sequence in \"%s\"", *p->opt);
usr.sbin/amd/amd/opts.c
622
if (cp == *p->opt) {
usr.sbin/amd/amd/opts.c
623
*p->opt = strdup(cp);
usr.sbin/amd/amd/opts.c
631
plog(XLOG_ERROR, expand_error, *p->opt);
usr.sbin/amd/amd/opts.c
637
*p->opt = strdup(expbuf);
usr.sbin/amd/amd/opts.c
640
normalize_slash(*p->opt);
usr.sbin/amd/amd/opts.c
645
plog(XLOG_DEBUG, "... is \"%s\"", *p->opt);
usr.sbin/amd/amd/opts.c
656
if (*p->opt) {
usr.sbin/amd/amd/opts.c
664
char *s = *p->opt = expand_key(p->val);
usr.sbin/amd/amd/opts.c
677
for (pp = ppp; pp->opt; pp++)
usr.sbin/amd/amd/opts.c
706
oa.opt = &key; oa.val = 0;
usr.sbin/amd/amd/xutil.c
233
for (i = 0; opts[i].opt; i++) {
usr.sbin/amd/amd/xutil.c
234
fprintf(stderr, "%c%s", s, opts[i].opt);
usr.sbin/amd/amd/xutil.c
248
char *opt;
usr.sbin/amd/amd/xutil.c
257
opt = s + 2;
usr.sbin/amd/amd/xutil.c
260
opt = s;
usr.sbin/amd/amd/xutil.c
270
for (dp = optb; dp->opt; dp++) {
usr.sbin/amd/amd/xutil.c
271
if (strcmp(opt, dp->opt) == 0)
usr.sbin/amd/amd/xutil.c
273
if (opt != s && !dpn && strcmp(s, dp->opt) == 0)
usr.sbin/amd/amd/xutil.c
277
if (dp->opt || dpn) {
usr.sbin/amd/amd/xutil.c
278
if (!dp->opt) {
usr.sbin/amd/amd/xutil.c
308
switch_option(char *opt)
usr.sbin/amd/amd/xutil.c
311
int rc = cmdoption(opt, xlog_opt, &xl);
usr.sbin/amd/amq/amq.c
339
amq_setopt opt;
usr.sbin/amd/amq/amq.c
340
opt.as_opt = AMOPT_DEBUG;
usr.sbin/amd/amq/amq.c
341
opt.as_str = debug_opts;
usr.sbin/amd/amq/amq.c
342
rc = amqproc_setopt_57(&opt, clnt);
usr.sbin/amd/amq/amq.c
360
amq_setopt opt;
usr.sbin/amd/amq/amq.c
361
opt.as_opt = AMOPT_XLOG;
usr.sbin/amd/amq/amq.c
362
opt.as_str = xlog_optstr;
usr.sbin/amd/amq/amq.c
363
rc = amqproc_setopt_57(&opt, clnt);
usr.sbin/amd/amq/amq.c
376
amq_setopt opt;
usr.sbin/amd/amq/amq.c
377
opt.as_opt = AMOPT_LOGFILE;
usr.sbin/amd/amq/amq.c
378
opt.as_str = logfile;
usr.sbin/amd/amq/amq.c
379
rc = amqproc_setopt_57(&opt, clnt);
usr.sbin/amd/amq/amq.c
392
amq_setopt opt;
usr.sbin/amd/amq/amq.c
393
opt.as_opt = AMOPT_FLUSHMAPC;
usr.sbin/amd/amq/amq.c
394
opt.as_str = "";
usr.sbin/amd/amq/amq.c
395
rc = amqproc_setopt_57(&opt, clnt);
usr.sbin/amd/include/config.h
83
char *opt;
usr.sbin/bgpd/config.c
586
int opt = 1;
usr.sbin/bgpd/config.c
605
opt = 1;
usr.sbin/bgpd/config.c
607
&opt, sizeof(opt)) == -1)
usr.sbin/bgpd/kroute.c
211
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/bgpd/kroute.c
223
&opt, sizeof(opt)) == -1)
usr.sbin/bgpd/pfkey.c
837
int opt;
usr.sbin/bgpd/pfkey.c
844
len = sizeof(opt);
usr.sbin/bgpd/pfkey.c
846
&opt, &len) == -1)
usr.sbin/bgpd/pfkey.c
848
if (!opt) { /* non-md5'd connection! */
usr.sbin/bgpd/pfkey.c
860
int opt = 1;
usr.sbin/bgpd/pfkey.c
868
&opt, sizeof(opt)) == -1)
usr.sbin/bgpd/pfkey.c
878
int opt = 1;
usr.sbin/bgpd/pfkey.c
881
&opt, sizeof(opt)) == -1) {
usr.sbin/bgpd/rde.c
2692
struct ibuf *opt)
usr.sbin/bgpd/rde.c
2697
if (opt != NULL) {
usr.sbin/bgpd/rde.c
2698
ibuf_rewind(opt);
usr.sbin/bgpd/rde.c
2699
size = ibuf_size(opt);
usr.sbin/bgpd/rde.c
2707
if (opt != NULL)
usr.sbin/bgpd/rde.c
2708
if (ibuf_add_ibuf(wbuf, opt) == -1)
usr.sbin/config/cmd.c
72
cmd_table[i].opt, cmd_table[i].help);
usr.sbin/config/cmd.h
47
char *opt;
usr.sbin/config/main.c
746
const struct opt *sp1 = v1, *sp2 = v2;
usr.sbin/config/main.c
768
struct opt *newopts;
usr.sbin/config/main.c
773
newopts = ereallocarray(NULL, nnewopts, sizeof(struct opt));
usr.sbin/config/main.c
780
qsort(newopts, nnewopts, sizeof (struct opt), optcmp);
usr.sbin/dhcrelay/dhcrelay.c
247
opt = 1;
usr.sbin/dhcrelay/dhcrelay.c
249
&opt, sizeof(opt)) == -1)
usr.sbin/dhcrelay/dhcrelay.c
269
opt = 1;
usr.sbin/dhcrelay/dhcrelay.c
271
&opt, sizeof(opt)) == -1)
usr.sbin/dhcrelay/dhcrelay.c
98
int ch, daemonize = 1, opt, rdomain;
usr.sbin/dvmrpd/kroute.c
85
int opt, fd;
usr.sbin/dvmrpd/kroute.c
94
if (setsockopt(fd, SOL_SOCKET, SO_USELOOPBACK, &opt, sizeof(opt)) == -1)
usr.sbin/edquota/edquota.c
715
char *opt;
usr.sbin/edquota/edquota.c
728
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
usr.sbin/edquota/edquota.c
729
if ((cp = strchr(opt, '=')))
usr.sbin/edquota/edquota.c
731
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
usr.sbin/edquota/edquota.c
733
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
usr.sbin/edquota/edquota.c
736
if (!opt)
usr.sbin/eigrpd/kroute.c
143
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/eigrpd/kroute.c
157
&opt, sizeof(opt)) == -1)
usr.sbin/inetd/inetd.c
822
#define turnon(fd, opt) \
usr.sbin/inetd/inetd.c
823
setsockopt(fd, SOL_SOCKET, opt, &on, sizeof (on))
usr.sbin/installboot/efi_bootmgr.c
102
const char *path, EFI_LOAD_OPTION **opt)
usr.sbin/installboot/efi_bootmgr.c
144
if ((*opt = malloc(optlen)) == NULL)
usr.sbin/installboot/efi_bootmgr.c
146
memset(*opt, 0, optlen);
usr.sbin/installboot/efi_bootmgr.c
148
(*opt)->Attributes = LOAD_OPTION_ACTIVE;
usr.sbin/installboot/efi_bootmgr.c
149
(*opt)->FilePathListLength = htole16(dplen);
usr.sbin/installboot/efi_bootmgr.c
150
memcpy(((UINT8 *)(*opt)) + sizeof(**opt), desc, sizeof(desc));
usr.sbin/installboot/efi_bootmgr.c
151
memcpy(((UINT8 *)(*opt)) + sizeof(**opt) + sizeof(desc), dp0, dplen);
usr.sbin/installboot/efi_bootmgr.c
157
write_efi_load_option(EFI_LOAD_OPTION *opt, size_t optlen)
usr.sbin/installboot/efi_bootmgr.c
212
if (memcmp(data, opt, optlen) != 0)
usr.sbin/installboot/efi_bootmgr.c
263
var.data = opt;
usr.sbin/installboot/efi_bootmgr.c
330
EFI_LOAD_OPTION *opt;
usr.sbin/installboot/efi_bootmgr.c
344
optlen = create_efi_load_option(gpart, gp, path, &opt);
usr.sbin/installboot/efi_bootmgr.c
345
write_efi_load_option(opt, optlen);
usr.sbin/installboot/installboot.c
64
int devfd, opt;
usr.sbin/installboot/installboot.c
68
while ((opt = getopt(argc, argv, "cnpr:v")) != -1) {
usr.sbin/installboot/installboot.c
69
switch (opt) {
usr.sbin/ldpd/kroute.c
156
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/ldpd/kroute.c
171
&opt, sizeof(opt)) == -1)
usr.sbin/ldpd/neighbor.c
573
int opt = 1;
usr.sbin/ldpd/neighbor.c
589
&opt, sizeof(opt)) == -1) {
usr.sbin/ldpd/packet.c
391
int opt;
usr.sbin/ldpd/packet.c
407
len = sizeof(opt);
usr.sbin/ldpd/packet.c
408
if (getsockopt(fd, IPPROTO_TCP, TCP_MD5SIG, &opt, &len) == -1)
usr.sbin/ldpd/packet.c
410
if (!opt) { /* non-md5'd connection! */
usr.sbin/ldpd/socket.c
166
opt = 1;
usr.sbin/ldpd/socket.c
167
if (setsockopt(fd, IPPROTO_TCP, TCP_MD5SIG, &opt,
usr.sbin/ldpd/socket.c
168
sizeof(opt)) == -1) {
usr.sbin/ldpd/socket.c
40
int opt;
usr.sbin/lldpd/lldpd.c
541
int opt;
usr.sbin/lldpd/lldpd.c
548
opt = 1;
usr.sbin/lldpd/lldpd.c
550
&opt, sizeof(opt)) == -1)
usr.sbin/lpd/lpd.c
280
int opt, sock, r;
usr.sbin/lpd/lpd.c
314
opt = 1;
usr.sbin/lpd/lpd.c
315
if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &opt,
usr.sbin/lpd/lpd.c
316
sizeof(opt)) == -1)
usr.sbin/makefs/ffs/mkfs.c
101
static int opt; /* optimization preference (space or time) */
usr.sbin/makefs/ffs/mkfs.c
128
opt = ffs_opts->optimization;
usr.sbin/makefs/ffs/mkfs.c
412
sblock.fs_optim = opt;
usr.sbin/npppd/l2tp/l2tpd.c
263
int af, lvl, opt, sock, ival;
usr.sbin/npppd/l2tp/l2tpd.c
308
opt = (af == AF_INET)? IP_RECVDSTADDR : IPV6_RECVPKTINFO;
usr.sbin/npppd/l2tp/l2tpd.c
310
if (setsockopt(sock, lvl, opt, &ival, sizeof(ival)) != 0) {
usr.sbin/npppd/l2tp/l2tpd.c
330
opt = (af == AF_INET)? IP_PIPEX : IPV6_PIPEX;
usr.sbin/npppd/l2tp/l2tpd.c
332
if (setsockopt(sock, lvl, opt, &ival, sizeof(ival)) != 0)
usr.sbin/npppd/l2tp/l2tpd.c
340
opt = (af == AF_INET)? IP_IPSEC_POLICY : IPV6_IPSEC_POLICY;
usr.sbin/npppd/l2tp/l2tpd.c
351
} else if (setsockopt(sock, lvl, opt, ipsec_policy_in,
usr.sbin/npppd/l2tp/l2tpd.c
364
setsockopt(sock, lvl, opt, ipsec_policy_out,
usr.sbin/npppd/l2tp/l2tpd.c
373
opt = (af == AF_INET)
usr.sbin/npppd/l2tp/l2tpd.c
376
if (setsockopt(sock, lvl, opt, &ival, sizeof(ival)) != 0) {
usr.sbin/npppd/npppd/lcp.c
1184
#define LCP_OPT_PEER_ACCEPTED(opt) \
usr.sbin/npppd/npppd/lcp.c
1185
psm_peer_opt_set_rejected(&f->ppp->lcp, opt, 0); \
usr.sbin/npppd/npppd/lcp.c
1186
psm_peer_opt_set_requested(&f->ppp->lcp, opt, 1); \
usr.sbin/npppd/npppd/lcp.c
1187
psm_peer_opt_set_accepted(&f->ppp->lcp, opt, 1);
usr.sbin/npppd/npppd/lcp.c
1258
#define LCP_OPT_ACCEPTED(opt) \
usr.sbin/npppd/npppd/lcp.c
1260
psm_opt_set_rejected(&f->ppp->lcp, opt, 0); \
usr.sbin/npppd/npppd/lcp.c
1261
psm_opt_set_requested(&f->ppp->lcp, opt, 1); \
usr.sbin/npppd/npppd/lcp.c
1262
psm_opt_set_accepted(&f->ppp->lcp, opt, 1); \
usr.sbin/npppd/npppd/lcp.c
285
memset(&f->ppp->lcp.opt, 0, sizeof(f->ppp->lcp.opt));
usr.sbin/npppd/npppd/lcp.c
449
#define LCP_OPT_PEER_ACCEPTED(opt) \
usr.sbin/npppd/npppd/lcp.c
450
psm_peer_opt_set_accepted(&f->ppp->lcp, opt, 1);
usr.sbin/npppd/npppd/lcp.c
552
#define LCP_OPT_ACCEPTED(opt) \
usr.sbin/npppd/npppd/lcp.c
553
if (!psm_opt_is_requested(&f->ppp->lcp, opt)) \
usr.sbin/npppd/npppd/lcp.c
555
psm_opt_set_accepted(&f->ppp->lcp, opt, 1);
usr.sbin/npppd/npppd/lcp.c
652
#define LCP_OPT_REJECTED(opt) \
usr.sbin/npppd/npppd/lcp.c
653
if (!psm_opt_is_requested(&f->ppp->lcp, opt)) \
usr.sbin/npppd/npppd/lcp.c
655
psm_opt_set_rejected(&f->ppp->lcp, opt, 1);
usr.sbin/npppd/npppd/lcp.c
791
#define LCP_OPT_REJECTED(opt) \
usr.sbin/npppd/npppd/lcp.c
792
if (!psm_opt_is_requested(&f->ppp->lcp, opt)) \
usr.sbin/npppd/npppd/lcp.c
794
psm_opt_set_rejected(&f->ppp->lcp, opt, 1);
usr.sbin/npppd/npppd/npppd_subr.c
484
int opt, optlen, acc, ip_off, mss, maxmss;
usr.sbin/npppd/npppd/npppd_subr.c
517
GETCHAR(opt, pktp);
usr.sbin/npppd/npppd/npppd_subr.c
518
switch (opt) {
usr.sbin/npppd/npppd/ppp.h
243
} opt;
usr.sbin/npppd/npppd/psm-opt.h
100
(((psm)->opt.confopt & PSM_OPT_REJECT_PEERS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
104
(psm)->opt.confopt |= PSM_OPT_REJECT_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
106
(psm)->opt.confopt &= ~PSM_OPT_REJECT_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
110
(((psm)->opt.confopt & PSM_OPT_REJECT_OURS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
114
(psm)->opt.confopt |= PSM_OPT_REJECT_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
116
(psm)->opt.confopt &= ~PSM_OPT_REJECT_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
120
(((psm)->opt.confopt & PSM_OPT_ENABLED_PEERS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
124
(psm)->opt.confopt |= PSM_OPT_ENABLED_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
126
(psm)->opt.confopt &= ~PSM_OPT_ENABLED_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
130
(((psm)->opt.confopt & PSM_OPT_ENABLED_OURS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
134
(psm)->opt.confopt |= PSM_OPT_ENABLED_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
136
(psm)->opt.confopt &= ~PSM_OPT_ENABLED_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
60
(((psm)->opt.confopt & PSM_OPT_REQUEST_PEERS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
64
(psm)->opt.confopt |= PSM_OPT_REQUEST_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
66
(psm)->opt.confopt &= ~PSM_OPT_REQUEST_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
70
(((psm)->opt.confopt & PSM_OPT_REQUEST_OURS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
74
(psm)->opt.confopt |= PSM_OPT_REQUEST_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
76
(psm)->opt.confopt &= ~PSM_OPT_REQUEST_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
80
(((psm)->opt.confopt & PSM_OPT_ACCEPT_PEERS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
84
(psm)->opt.confopt |= PSM_OPT_ACCEPT_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
86
(psm)->opt.confopt &= ~PSM_OPT_ACCEPT_PEERS; \
usr.sbin/npppd/npppd/psm-opt.h
90
(((psm)->opt.confopt & PSM_OPT_ACCEPT_OURS) != 0)
usr.sbin/npppd/npppd/psm-opt.h
94
(psm)->opt.confopt |= PSM_OPT_ACCEPT_OURS; \
usr.sbin/npppd/npppd/psm-opt.h
96
(psm)->opt.confopt &= ~PSM_OPT_ACCEPT_OURS; \
usr.sbin/nsd/configparser.y
1002
cfg_parser->zone->name = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
1003
if(pattern_options_find(cfg_parser->opt, pname)) {
usr.sbin/nsd/configparser.y
1014
cfg_parser->pattern = pattern_options_create(cfg_parser->opt->region);
usr.sbin/nsd/configparser.y
1021
} else if(!nsd_options_insert_pattern(cfg_parser->opt, pattern)) {
usr.sbin/nsd/configparser.y
1036
cfg_parser->pattern->pname = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
1048
{ cfg_parser->pattern->zonefile = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
1050
{ cfg_parser->pattern->zonestats = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
1065
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
usr.sbin/nsd/configparser.y
1078
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $3, $4);
usr.sbin/nsd/configparser.y
1090
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $3, $4);
usr.sbin/nsd/configparser.y
1100
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
usr.sbin/nsd/configparser.y
1105
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
usr.sbin/nsd/configparser.y
1114
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
usr.sbin/nsd/configparser.y
1121
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
usr.sbin/nsd/configparser.y
1126
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, "NOKEY");
usr.sbin/nsd/configparser.y
1208
cfg_parser->pattern->catalog_member_pattern = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
1217
} else if(!(dname = (dname_type *)dname_parse(cfg_parser->opt->region, $2))) {
usr.sbin/nsd/configparser.y
1220
region_recycle(cfg_parser->opt->region, dname, dname_total_size(dname));
usr.sbin/nsd/configparser.y
1221
cfg_parser->pattern->catalog_producer_zone = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
1233
{ cfg_parser->opt->verify_enable = $2; }
usr.sbin/nsd/configparser.y
1236
struct ip_address_option *ip = cfg_parser->opt->verify_ip_addresses;
usr.sbin/nsd/configparser.y
1238
cfg_parser->opt->verify_ip_addresses = $2;
usr.sbin/nsd/configparser.y
1249
cfg_parser->opt->verify_port = region_strdup(cfg_parser->opt->region, buf);
usr.sbin/nsd/configparser.y
1252
{ cfg_parser->opt->verify_zones = $2; }
usr.sbin/nsd/configparser.y
1254
{ cfg_parser->opt->verifier = $2; }
usr.sbin/nsd/configparser.y
1256
{ cfg_parser->opt->verifier_count = (int)$2; }
usr.sbin/nsd/configparser.y
1258
{ cfg_parser->opt->verifier_timeout = (int)$2; }
usr.sbin/nsd/configparser.y
1260
{ cfg_parser->opt->verifier_feed_zone = $2; } ;
usr.sbin/nsd/configparser.y
1271
cfg_parser->opt->region, (argc + 1) * sizeof(char *));
usr.sbin/nsd/configparser.y
1277
region_recycle(cfg_parser->opt->region, i, sizeof(*i));
usr.sbin/nsd/configparser.y
1287
cfg_parser->opt->region, sizeof(*comp));
usr.sbin/nsd/configparser.y
1288
comp->str = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
1305
cfg_parser->opt->region, sizeof(*ip));
usr.sbin/nsd/configparser.y
1306
ip->address = region_strdup(cfg_parser->opt->region, $1);
usr.sbin/nsd/configparser.y
1331
{ char *tls_auth_name = region_strdup(cfg_parser->opt->region, $1);
usr.sbin/nsd/configparser.y
1336
{ char *tls_auth_name = region_strdup(cfg_parser->opt->region, $1);
usr.sbin/nsd/configparser.y
271
struct ip_address_option *ip = cfg_parser->opt->ip_addresses;
usr.sbin/nsd/configparser.y
274
cfg_parser->opt->ip_addresses = $2;
usr.sbin/nsd/configparser.y
289
cfg_parser->opt->server_count = (int)$2;
usr.sbin/nsd/configparser.y
295
{ cfg_parser->opt->ip_transparent = $2; }
usr.sbin/nsd/configparser.y
297
{ cfg_parser->opt->ip_freebind = $2; }
usr.sbin/nsd/configparser.y
301
cfg_parser->opt->send_buffer_size = (int)$2;
usr.sbin/nsd/configparser.y
311
cfg_parser->opt->receive_buffer_size = (int)$2;
usr.sbin/nsd/configparser.y
319
{ cfg_parser->opt->debug_mode = $2; }
usr.sbin/nsd/configparser.y
323
{ cfg_parser->opt->hide_version = $2; }
usr.sbin/nsd/configparser.y
325
{ cfg_parser->opt->hide_identity = $2; }
usr.sbin/nsd/configparser.y
327
{ cfg_parser->opt->drop_updates = $2; }
usr.sbin/nsd/configparser.y
329
{ if($2) { cfg_parser->opt->do_ip4 = 1; cfg_parser->opt->do_ip6 = 0; } }
usr.sbin/nsd/configparser.y
331
{ if($2) { cfg_parser->opt->do_ip4 = 0; cfg_parser->opt->do_ip6 = 1; } }
usr.sbin/nsd/configparser.y
333
{ cfg_parser->opt->do_ip4 = $2; }
usr.sbin/nsd/configparser.y
335
{ cfg_parser->opt->do_ip6 = $2; }
usr.sbin/nsd/configparser.y
339
{ cfg_parser->opt->identity = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
341
{ cfg_parser->opt->version = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
350
cfg_parser->opt->nsid = region_alloc(cfg_parser->opt->region, nsid_len*2+1);
usr.sbin/nsd/configparser.y
351
hex_ntop((uint8_t*)$2+6, nsid_len, (char*)cfg_parser->opt->nsid, nsid_len*2+1);
usr.sbin/nsd/configparser.y
364
cfg_parser->opt->nsid = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
373
{ cfg_parser->opt->logfile = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
375
{ cfg_parser->opt->log_only_syslog = $2; }
usr.sbin/nsd/configparser.y
379
cfg_parser->opt->tcp_count = (int)$2;
usr.sbin/nsd/configparser.y
385
{ cfg_parser->opt->tcp_reject_overflow = $2; }
usr.sbin/nsd/configparser.y
387
{ cfg_parser->opt->tcp_query_count = (int)$2; }
usr.sbin/nsd/configparser.y
389
{ cfg_parser->opt->tcp_timeout = (int)$2; }
usr.sbin/nsd/configparser.y
391
{ cfg_parser->opt->tcp_mss = (int)$2; }
usr.sbin/nsd/configparser.y
393
{ cfg_parser->opt->outgoing_tcp_mss = (int)$2; }
usr.sbin/nsd/configparser.y
396
cfg_parser->opt->tcp_listen_queue = atoi($2); }
usr.sbin/nsd/configparser.y
398
{ cfg_parser->opt->ipv4_edns_size = (size_t)$2; }
usr.sbin/nsd/configparser.y
400
{ cfg_parser->opt->ipv6_edns_size = (size_t)$2; }
usr.sbin/nsd/configparser.y
402
{ cfg_parser->opt->pidfile = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
408
cfg_parser->opt->port = region_strdup(cfg_parser->opt->region, buf);
usr.sbin/nsd/configparser.y
411
{ cfg_parser->opt->reuseport = $2; }
usr.sbin/nsd/configparser.y
413
{ cfg_parser->opt->statistics = (int)$2; }
usr.sbin/nsd/configparser.y
415
{ cfg_parser->opt->chroot = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
417
{ cfg_parser->opt->username = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
419
{ cfg_parser->opt->zonesdir = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
421
{ cfg_parser->opt->zonelistfile = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
425
{ cfg_parser->opt->xfrdfile = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
427
{ cfg_parser->opt->xfrdir = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
429
{ cfg_parser->opt->xfrd_reload_timeout = (int)$2; }
usr.sbin/nsd/configparser.y
431
{ cfg_parser->opt->verbosity = (int)$2; }
usr.sbin/nsd/configparser.y
436
cfg_parser->opt->rrl_size = (size_t)$2;
usr.sbin/nsd/configparser.y
445
cfg_parser->opt->rrl_ratelimit = (size_t)$2;
usr.sbin/nsd/configparser.y
451
cfg_parser->opt->rrl_slip = (size_t)$2;
usr.sbin/nsd/configparser.y
460
cfg_parser->opt->rrl_ipv4_prefix_length = (size_t)$2;
usr.sbin/nsd/configparser.y
470
cfg_parser->opt->rrl_ipv6_prefix_length = (size_t)$2;
usr.sbin/nsd/configparser.y
477
cfg_parser->opt->rrl_whitelist_ratelimit = (size_t)$2;
usr.sbin/nsd/configparser.y
481
{ cfg_parser->opt->reload_config = $2; }
usr.sbin/nsd/configparser.y
483
{ cfg_parser->opt->zonefiles_check = $2; }
usr.sbin/nsd/configparser.y
485
{ cfg_parser->opt->zonefiles_write = (int)$2; }
usr.sbin/nsd/configparser.y
488
cfg_parser->opt->log_time_ascii = $2;
usr.sbin/nsd/configparser.y
489
log_time_asc = cfg_parser->opt->log_time_ascii;
usr.sbin/nsd/configparser.y
493
cfg_parser->opt->log_time_iso = $2;
usr.sbin/nsd/configparser.y
494
log_time_iso = cfg_parser->opt->log_time_iso;
usr.sbin/nsd/configparser.y
498
cfg_parser->opt->round_robin = $2;
usr.sbin/nsd/configparser.y
499
round_robin = cfg_parser->opt->round_robin;
usr.sbin/nsd/configparser.y
503
cfg_parser->opt->minimal_responses = $2;
usr.sbin/nsd/configparser.y
504
minimal_responses = cfg_parser->opt->minimal_responses;
usr.sbin/nsd/configparser.y
507
{ cfg_parser->opt->confine_to_zone = $2; }
usr.sbin/nsd/configparser.y
509
{ cfg_parser->opt->refuse_any = $2; }
usr.sbin/nsd/configparser.y
511
{ cfg_parser->opt->tls_service_key = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
513
{ cfg_parser->opt->tls_service_ocsp = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
515
{ cfg_parser->opt->tls_service_pem = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
521
cfg_parser->opt->tls_port = region_strdup(cfg_parser->opt->region, buf);
usr.sbin/nsd/configparser.y
528
cfg_parser->opt->tls_auth_port = region_strdup(cfg_parser->opt->region, buf);
usr.sbin/nsd/configparser.y
532
if (!cfg_parser->opt->tls_auth_port) {
usr.sbin/nsd/configparser.y
536
cfg_parser->opt->tls_auth_xfr_only = $2;
usr.sbin/nsd/configparser.y
539
{ cfg_parser->opt->tls_cert_bundle = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
543
cfg_parser->opt->region, sizeof(*elem));
usr.sbin/nsd/configparser.y
545
elem->next = cfg_parser->opt->proxy_protocol_port;
usr.sbin/nsd/configparser.y
546
cfg_parser->opt->proxy_protocol_port = elem;
usr.sbin/nsd/configparser.y
549
{ cfg_parser->opt->answer_cookie = $2; }
usr.sbin/nsd/configparser.y
558
cfg_parser->opt->cookie_secret = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
569
cfg_parser->opt->cookie_staging_secret = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
580
if(*$2) cfg_parser->opt->cookie_secret_file = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
581
cfg_parser->opt->cookie_secret_file_is_default = 0;
usr.sbin/nsd/configparser.y
585
{ cfg_parser->opt->xfrd_tcp_max = (int)$2; }
usr.sbin/nsd/configparser.y
587
{ cfg_parser->opt->xfrd_tcp_pipeline = (int)$2; }
usr.sbin/nsd/configparser.y
590
cfg_parser->opt->cpu_affinity = $2;
usr.sbin/nsd/configparser.y
598
struct cpu_map_option *opt, *tail;
usr.sbin/nsd/configparser.y
600
opt = cfg_parser->opt->service_cpu_affinity;
usr.sbin/nsd/configparser.y
601
while(opt && opt->service != $1) { opt = opt->next; }
usr.sbin/nsd/configparser.y
603
if(opt) {
usr.sbin/nsd/configparser.y
604
opt->cpu = $2;
usr.sbin/nsd/configparser.y
606
opt = region_alloc_zero(cfg_parser->opt->region, sizeof(*opt));
usr.sbin/nsd/configparser.y
607
opt->service = (int)$1;
usr.sbin/nsd/configparser.y
608
opt->cpu = (int)$2;
usr.sbin/nsd/configparser.y
610
tail = cfg_parser->opt->service_cpu_affinity;
usr.sbin/nsd/configparser.y
613
tail->next = opt;
usr.sbin/nsd/configparser.y
615
cfg_parser->opt->service_cpu_affinity = opt;
usr.sbin/nsd/configparser.y
623
cfg_parser->opt->xdp_interface = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
629
cfg_parser->opt->xdp_program_path = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
635
cfg_parser->opt->xdp_program_load = $2;
usr.sbin/nsd/configparser.y
641
cfg_parser->opt->xdp_bpffs_path = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
647
cfg_parser->opt->xdp_force_copy = $2;
usr.sbin/nsd/configparser.y
653
cfg_parser->opt->metrics_enable = $2;
usr.sbin/nsd/configparser.y
659
struct ip_address_option *ip = cfg_parser->opt->metrics_interface;
usr.sbin/nsd/configparser.y
661
cfg_parser->opt->metrics_interface = $2;
usr.sbin/nsd/configparser.y
674
cfg_parser->opt->metrics_port = (int)$2;
usr.sbin/nsd/configparser.y
681
cfg_parser->opt->metrics_path = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
698
struct range_option *opt =
usr.sbin/nsd/configparser.y
699
region_alloc(cfg_parser->opt->region, sizeof(*opt));
usr.sbin/nsd/configparser.y
707
opt->next = NULL;
usr.sbin/nsd/configparser.y
708
opt->first = (int)first;
usr.sbin/nsd/configparser.y
709
opt->last = (int)last;
usr.sbin/nsd/configparser.y
711
servers = servers->next = opt;
usr.sbin/nsd/configparser.y
713
servers = cfg_parser->ip->servers = opt;
usr.sbin/nsd/configparser.y
739
struct cpu_option *opt =
usr.sbin/nsd/configparser.y
740
region_alloc_zero(cfg_parser->opt->region, sizeof(*opt));
usr.sbin/nsd/configparser.y
747
opt->cpu = (int)cpu;
usr.sbin/nsd/configparser.y
749
tail->next = opt;
usr.sbin/nsd/configparser.y
750
tail = opt;
usr.sbin/nsd/configparser.y
752
$$ = tail = opt;
usr.sbin/nsd/configparser.y
779
{ cfg_parser->opt->dnstap_enable = $2; }
usr.sbin/nsd/configparser.y
781
{ cfg_parser->opt->dnstap_socket_path = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
783
{ cfg_parser->opt->dnstap_ip = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
785
{ cfg_parser->opt->dnstap_tls = $2; }
usr.sbin/nsd/configparser.y
787
{ cfg_parser->opt->dnstap_tls_server_name = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
789
{ cfg_parser->opt->dnstap_tls_cert_bundle = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
791
{ cfg_parser->opt->dnstap_tls_client_key_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
793
{ cfg_parser->opt->dnstap_tls_client_cert_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
795
{ cfg_parser->opt->dnstap_send_identity = $2; }
usr.sbin/nsd/configparser.y
797
{ cfg_parser->opt->dnstap_send_version = $2; }
usr.sbin/nsd/configparser.y
799
{ cfg_parser->opt->dnstap_identity = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
801
{ cfg_parser->opt->dnstap_version = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
803
{ cfg_parser->opt->dnstap_log_auth_query_messages = $2; }
usr.sbin/nsd/configparser.y
805
{ cfg_parser->opt->dnstap_log_auth_response_messages = $2; }
usr.sbin/nsd/configparser.y
816
{ cfg_parser->opt->control_enable = $2; }
usr.sbin/nsd/configparser.y
819
struct ip_address_option *ip = cfg_parser->opt->control_interface;
usr.sbin/nsd/configparser.y
821
cfg_parser->opt->control_interface = $2;
usr.sbin/nsd/configparser.y
832
cfg_parser->opt->control_port = (int)$2;
usr.sbin/nsd/configparser.y
836
{ cfg_parser->opt->server_key_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
838
{ cfg_parser->opt->server_cert_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
840
{ cfg_parser->opt->control_key_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
842
{ cfg_parser->opt->control_cert_file = region_strdup(cfg_parser->opt->region, $2); }
usr.sbin/nsd/configparser.y
848
tls_auth_options_type *tls_auth = tls_auth_options_create(cfg_parser->opt->region);
usr.sbin/nsd/configparser.y
859
} else if(tls_auth_options_find(cfg_parser->opt, tls_auth->name)) {
usr.sbin/nsd/configparser.y
862
tls_auth_options_insert(cfg_parser->opt, tls_auth);
usr.sbin/nsd/configparser.y
874
dname = (dname_type *)dname_parse(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
875
cfg_parser->tls_auth->name = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
879
region_recycle(cfg_parser->opt->region, dname, dname_total_size(dname));
usr.sbin/nsd/configparser.y
884
cfg_parser->tls_auth->auth_domain_name = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
888
cfg_parser->tls_auth->client_cert = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
892
cfg_parser->tls_auth->client_key = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
896
cfg_parser->tls_auth->client_key_pw = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
903
key_options_type *key = key_options_create(cfg_parser->opt->region);
usr.sbin/nsd/configparser.y
904
key->algorithm = region_strdup(cfg_parser->opt->region, "sha256");
usr.sbin/nsd/configparser.y
917
} else if(key_options_find(cfg_parser->opt, key->name)) {
usr.sbin/nsd/configparser.y
920
key_options_insert(cfg_parser->opt, key);
usr.sbin/nsd/configparser.y
933
dname = (dname_type *)dname_parse(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
934
cfg_parser->key->name = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
938
region_recycle(cfg_parser->opt->region, dname, dname_total_size(dname));
usr.sbin/nsd/configparser.y
946
cfg_parser->key->algorithm = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
954
cfg_parser->key->secret = region_strdup(cfg_parser->opt->region, $2);
usr.sbin/nsd/configparser.y
971
cfg_parser->zone = zone_options_create(cfg_parser->opt->region);
usr.sbin/nsd/configparser.y
974
pattern_options_create(cfg_parser->opt->region);
usr.sbin/nsd/configparser.y
982
} else if(!nsd_options_insert_zone(cfg_parser->opt, cfg_parser->zone)) {
usr.sbin/nsd/configparser.y
984
} else if(!nsd_options_insert_pattern(cfg_parser->opt, cfg_parser->zone->pattern)) {
usr.sbin/nsd/configparser.y
998
char *pname = region_alloc(cfg_parser->opt->region, strlen($2) + strlen(marker) + 1);
usr.sbin/nsd/dbaccess.c
170
namedb_open (struct nsd_options* opt)
usr.sbin/nsd/dbaccess.c
180
(void)opt;
usr.sbin/nsd/dbaccess.c
380
void namedb_check_zonefiles(struct nsd* nsd, struct nsd_options* opt,
usr.sbin/nsd/dbaccess.c
385
RBTREE_FOR(zo, struct zone_options*, opt->zone_options) {
usr.sbin/nsd/difffile.c
1061
struct nsd_options* opt, const char* zstr, const char* patname)
usr.sbin/nsd/difffile.c
1069
zopt = zone_options_find(opt, zone_name);
usr.sbin/nsd/difffile.c
1074
zopt = zone_options_create(opt->region);
usr.sbin/nsd/difffile.c
1077
zopt->name = region_strdup(opt->region, zstr);
usr.sbin/nsd/difffile.c
1078
zopt->pattern = pattern_options_find(opt, patname);
usr.sbin/nsd/difffile.c
1080
if(!nsd_options_insert_zone(opt, zopt)) {
usr.sbin/nsd/difffile.c
1089
zopt = zone_list_zone_insert(opt, zstr, patname);
usr.sbin/nsd/difffile.c
1467
struct nsd_options* ATTR_UNUSED(opt), udb_base* taskudb, uint32_t xfrfilenr)
usr.sbin/nsd/difffile.c
1950
void task_new_opt_change(udb_base* udb, udb_ptr* last, struct nsd_options* opt)
usr.sbin/nsd/difffile.c
1961
TASKLIST(&e)->oldserial = opt->rrl_ratelimit;
usr.sbin/nsd/difffile.c
1962
TASKLIST(&e)->newserial = opt->rrl_whitelist_ratelimit;
usr.sbin/nsd/difffile.c
1963
TASKLIST(&e)->yesno = (uint64_t) opt->rrl_slip;
usr.sbin/nsd/difffile.c
1965
(void)opt;
usr.sbin/nsd/difffile.h
152
void task_new_opt_change(udb_base* udb, udb_ptr* last, struct nsd_options* opt);
usr.sbin/nsd/difffile.h
75
struct nsd_options* opt, udb_base* taskudb, uint32_t xfrfilenr);
usr.sbin/nsd/namedb.h
384
struct namedb *namedb_open(struct nsd_options* opt);
usr.sbin/nsd/namedb.h
388
void namedb_check_zonefiles(struct nsd* nsd, struct nsd_options* opt,
usr.sbin/nsd/nsd-checkconf.c
102
for(ip = opt->MEMBER; ip; ip=ip->next) \
usr.sbin/nsd/nsd-checkconf.c
188
quotepath(nsd_options_type* opt, int final, const char *f)
usr.sbin/nsd/nsd-checkconf.c
190
const char* chr = opt->chroot;
usr.sbin/nsd/nsd-checkconf.c
285
config_print_zone(nsd_options_type* opt, const char* k, int s, const char *o,
usr.sbin/nsd/nsd-checkconf.c
292
key_options_type* key = key_options_find(opt, k);
usr.sbin/nsd/nsd-checkconf.c
307
tls_auth_options_type* tlsauth = tls_auth_options_find(opt, tls);
usr.sbin/nsd/nsd-checkconf.c
322
const dname_type *dname = dname_parse(opt->region, z);
usr.sbin/nsd/nsd-checkconf.c
327
zone = zone_options_find(opt, dname);
usr.sbin/nsd/nsd-checkconf.c
365
pattern_options_type* p = pattern_options_find(opt, pat);
usr.sbin/nsd/nsd-checkconf.c
504
RBTREE_FOR(zone, zone_options_type*, opt->zone_options)
usr.sbin/nsd/nsd-checkconf.c
510
RBTREE_FOR(p, pattern_options_type*, opt->patterns)
usr.sbin/nsd/nsd-checkconf.c
516
for(p = opt->proxy_protocol_port; p; p = p->next)
usr.sbin/nsd/nsd-checkconf.c
54
quotepath(opt, FINAL, PATTERN->NAME); \
usr.sbin/nsd/nsd-checkconf.c
614
config_test_print_server(nsd_options_type* opt)
usr.sbin/nsd/nsd-checkconf.c
624
printf("\tdebug-mode: %s\n", opt->debug_mode?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
625
printf("\tip-transparent: %s\n", opt->ip_transparent?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
626
printf("\tip-freebind: %s\n", opt->ip_freebind?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
627
printf("\treuseport: %s\n", opt->reuseport?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
628
printf("\tdo-ip4: %s\n", opt->do_ip4?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
629
printf("\tdo-ip6: %s\n", opt->do_ip6?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
630
printf("\tsend-buffer-size: %d\n", opt->send_buffer_size);
usr.sbin/nsd/nsd-checkconf.c
631
printf("\treceive-buffer-size: %d\n", opt->receive_buffer_size);
usr.sbin/nsd/nsd-checkconf.c
632
printf("\thide-version: %s\n", opt->hide_version?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
633
printf("\thide-identity: %s\n", opt->hide_identity?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
634
printf("\tdrop-updates: %s\n", opt->drop_updates?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
636
opt->tcp_reject_overflow ? "yes" : "no");
usr.sbin/nsd/nsd-checkconf.c
637
print_string_var("identity:", opt->identity);
usr.sbin/nsd/nsd-checkconf.c
638
print_string_var("version:", opt->version);
usr.sbin/nsd/nsd-checkconf.c
639
print_string_var("nsid:", opt->nsid);
usr.sbin/nsd/nsd-checkconf.c
640
print_string_var("logfile:", opt->logfile);
usr.sbin/nsd/nsd-checkconf.c
641
printf("\tlog-only-syslog: %s\n", opt->log_only_syslog?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
642
printf("\tserver-count: %d\n", opt->server_count);
usr.sbin/nsd/nsd-checkconf.c
643
if(opt->cpu_affinity) {
usr.sbin/nsd/nsd-checkconf.c
646
for(n = opt->cpu_affinity; n; n = n->next) {
usr.sbin/nsd/nsd-checkconf.c
651
if(opt->cpu_affinity && opt->service_cpu_affinity) {
usr.sbin/nsd/nsd-checkconf.c
653
for(n = opt->service_cpu_affinity; n; n = n->next) {
usr.sbin/nsd/nsd-checkconf.c
663
printf("\ttcp-count: %d\n", opt->tcp_count);
usr.sbin/nsd/nsd-checkconf.c
664
printf("\ttcp-query-count: %d\n", opt->tcp_query_count);
usr.sbin/nsd/nsd-checkconf.c
665
printf("\ttcp-timeout: %d\n", opt->tcp_timeout);
usr.sbin/nsd/nsd-checkconf.c
666
printf("\ttcp-mss: %d\n", opt->tcp_mss);
usr.sbin/nsd/nsd-checkconf.c
667
printf("\toutgoing-tcp-mss: %d\n", opt->outgoing_tcp_mss);
usr.sbin/nsd/nsd-checkconf.c
668
printf("\txfrd-tcp-max: %d\n", opt->xfrd_tcp_max);
usr.sbin/nsd/nsd-checkconf.c
669
printf("\txfrd-tcp-pipeline: %d\n", opt->xfrd_tcp_pipeline);
usr.sbin/nsd/nsd-checkconf.c
670
printf("\tipv4-edns-size: %d\n", (int) opt->ipv4_edns_size);
usr.sbin/nsd/nsd-checkconf.c
671
printf("\tipv6-edns-size: %d\n", (int) opt->ipv6_edns_size);
usr.sbin/nsd/nsd-checkconf.c
672
print_string_var("pidfile:", opt->pidfile);
usr.sbin/nsd/nsd-checkconf.c
673
print_string_var("port:", opt->port);
usr.sbin/nsd/nsd-checkconf.c
674
printf("\tstatistics: %d\n", opt->statistics);
usr.sbin/nsd/nsd-checkconf.c
675
print_string_var("chroot:", opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
676
print_string_var("username:", opt->username);
usr.sbin/nsd/nsd-checkconf.c
677
print_string_var("zonesdir:", opt->zonesdir);
usr.sbin/nsd/nsd-checkconf.c
678
print_string_var("xfrdfile:", opt->xfrdfile);
usr.sbin/nsd/nsd-checkconf.c
679
print_string_var("zonelistfile:", opt->zonelistfile);
usr.sbin/nsd/nsd-checkconf.c
680
print_string_var("xfrdir:", opt->xfrdir);
usr.sbin/nsd/nsd-checkconf.c
681
printf("\txfrd-reload-timeout: %d\n", opt->xfrd_reload_timeout);
usr.sbin/nsd/nsd-checkconf.c
682
printf("\tlog-time-ascii: %s\n", opt->log_time_ascii?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
683
printf("\tlog-time-iso: %s\n", opt->log_time_iso?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
684
printf("\tround-robin: %s\n", opt->round_robin?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
685
printf("\tminimal-responses: %s\n", opt->minimal_responses?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
687
opt->confine_to_zone ? "yes" : "no");
usr.sbin/nsd/nsd-checkconf.c
688
printf("\trefuse-any: %s\n", opt->refuse_any?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
689
printf("\tverbosity: %d\n", opt->verbosity);
usr.sbin/nsd/nsd-checkconf.c
690
for(ip = opt->ip_addresses; ip; ip=ip->next)
usr.sbin/nsd/nsd-checkconf.c
712
printf("\trrl-size: %d\n", (int)opt->rrl_size);
usr.sbin/nsd/nsd-checkconf.c
713
printf("\trrl-ratelimit: %d\n", (int)opt->rrl_ratelimit);
usr.sbin/nsd/nsd-checkconf.c
714
printf("\trrl-slip: %d\n", (int)opt->rrl_slip);
usr.sbin/nsd/nsd-checkconf.c
715
printf("\trrl-ipv4-prefix-length: %d\n", (int)opt->rrl_ipv4_prefix_length);
usr.sbin/nsd/nsd-checkconf.c
716
printf("\trrl-ipv6-prefix-length: %d\n", (int)opt->rrl_ipv6_prefix_length);
usr.sbin/nsd/nsd-checkconf.c
717
printf("\trrl-whitelist-ratelimit: %d\n", (int)opt->rrl_whitelist_ratelimit);
usr.sbin/nsd/nsd-checkconf.c
719
printf("\treload-config: %s\n", opt->reload_config?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
720
printf("\tzonefiles-check: %s\n", opt->zonefiles_check?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
721
printf("\tzonefiles-write: %d\n", opt->zonefiles_write);
usr.sbin/nsd/nsd-checkconf.c
722
print_string_var("tls-service-key:", opt->tls_service_key);
usr.sbin/nsd/nsd-checkconf.c
723
print_string_var("tls-service-pem:", opt->tls_service_pem);
usr.sbin/nsd/nsd-checkconf.c
724
print_string_var("tls-service-ocsp:", opt->tls_service_ocsp);
usr.sbin/nsd/nsd-checkconf.c
725
print_string_var("tls-port:", opt->tls_port);
usr.sbin/nsd/nsd-checkconf.c
726
print_string_var("tls-cert-bundle:", opt->tls_cert_bundle);
usr.sbin/nsd/nsd-checkconf.c
727
printf("\tanswer-cookie: %s\n", opt->answer_cookie?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
728
print_string_var("cookie-secret:", opt->cookie_secret);
usr.sbin/nsd/nsd-checkconf.c
729
print_string_var("cookie-staging-secret:", opt->cookie_staging_secret);
usr.sbin/nsd/nsd-checkconf.c
730
if(opt->cookie_secret_file_is_default) {
usr.sbin/nsd/nsd-checkconf.c
731
print_string_var("#cookie-secret-file:", opt->cookie_secret_file);
usr.sbin/nsd/nsd-checkconf.c
732
} else if(opt->cookie_secret_file) {
usr.sbin/nsd/nsd-checkconf.c
733
print_string_var("cookie-secret-file:", opt->cookie_secret_file);
usr.sbin/nsd/nsd-checkconf.c
737
if(opt->proxy_protocol_port) {
usr.sbin/nsd/nsd-checkconf.c
739
for(p = opt->proxy_protocol_port; p; p = p->next)
usr.sbin/nsd/nsd-checkconf.c
744
printf("\tmetrics-enable: %s\n", opt->metrics_enable?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
745
for(ip = opt->metrics_interface; ip; ip=ip->next)
usr.sbin/nsd/nsd-checkconf.c
747
printf("\tmetrics-port: %d\n", opt->metrics_port);
usr.sbin/nsd/nsd-checkconf.c
748
print_string_var("metrics-path:", opt->metrics_path);
usr.sbin/nsd/nsd-checkconf.c
753
printf("\tdnstap-enable: %s\n", opt->dnstap_enable?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
754
print_string_var("dnstap-socket-path:", opt->dnstap_socket_path);
usr.sbin/nsd/nsd-checkconf.c
755
print_string_var("dnstap-ip:", opt->dnstap_ip);
usr.sbin/nsd/nsd-checkconf.c
756
printf("\tdnstap-tls: %s\n", opt->dnstap_tls?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
757
print_string_var("dnstap-tls-server-name:", opt->dnstap_tls_server_name);
usr.sbin/nsd/nsd-checkconf.c
758
print_string_var("dnstap-tls-cert-bundle:", opt->dnstap_tls_cert_bundle);
usr.sbin/nsd/nsd-checkconf.c
759
print_string_var("dnstap-tls-client-key-file:", opt->dnstap_tls_client_key_file);
usr.sbin/nsd/nsd-checkconf.c
760
print_string_var("dnstap-tls-client-cert-file:", opt->dnstap_tls_client_cert_file);
usr.sbin/nsd/nsd-checkconf.c
761
printf("\tdnstap-send-identity: %s\n", opt->dnstap_send_identity?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
762
printf("\tdnstap-send-version: %s\n", opt->dnstap_send_version?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
763
print_string_var("dnstap-identity:", opt->dnstap_identity);
usr.sbin/nsd/nsd-checkconf.c
764
print_string_var("dnstap-version:", opt->dnstap_version);
usr.sbin/nsd/nsd-checkconf.c
765
printf("\tdnstap-log-auth-query-messages: %s\n", opt->dnstap_log_auth_query_messages?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
766
printf("\tdnstap-log-auth-response-messages: %s\n", opt->dnstap_log_auth_response_messages?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
770
printf("\tcontrol-enable: %s\n", opt->control_enable?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
771
for(ip = opt->control_interface; ip; ip=ip->next)
usr.sbin/nsd/nsd-checkconf.c
773
printf("\tcontrol-port: %d\n", opt->control_port);
usr.sbin/nsd/nsd-checkconf.c
774
print_string_var("server-key-file:", opt->server_key_file);
usr.sbin/nsd/nsd-checkconf.c
775
print_string_var("server-cert-file:", opt->server_cert_file);
usr.sbin/nsd/nsd-checkconf.c
776
print_string_var("control-key-file:", opt->control_key_file);
usr.sbin/nsd/nsd-checkconf.c
777
print_string_var("control-cert-file:", opt->control_cert_file);
usr.sbin/nsd/nsd-checkconf.c
78
printf("%s\n", opt->NAME?"yes":"no"); \
usr.sbin/nsd/nsd-checkconf.c
780
printf("\tenable: %s\n", opt->verify_enable?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
781
for(ip = opt->verify_ip_addresses; ip; ip=ip->next) {
usr.sbin/nsd/nsd-checkconf.c
784
printf("\tport: %s\n", opt->verify_port);
usr.sbin/nsd/nsd-checkconf.c
785
printf("\tverify-zones: %s\n", opt->verify_zones?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
786
if(opt->verifier) {
usr.sbin/nsd/nsd-checkconf.c
788
for(char **s = opt->verifier; *s; s++) {
usr.sbin/nsd/nsd-checkconf.c
793
printf("\tverifier-count: %d\n", opt->verifier_count);
usr.sbin/nsd/nsd-checkconf.c
794
printf("\tverifier-feed-zone: %s\n", opt->verifier_feed_zone?"yes":"no");
usr.sbin/nsd/nsd-checkconf.c
795
printf("\tverifier-timeout: %d\n", opt->verifier_timeout);
usr.sbin/nsd/nsd-checkconf.c
797
RBTREE_FOR(key, key_options_type*, opt->keys)
usr.sbin/nsd/nsd-checkconf.c
804
RBTREE_FOR(tlsauth, tls_auth_options_type*, opt->tls_auths)
usr.sbin/nsd/nsd-checkconf.c
810
RBTREE_FOR(pat, pattern_options_type*, opt->patterns)
usr.sbin/nsd/nsd-checkconf.c
817
RBTREE_FOR(zone, zone_options_type*, opt->zone_options)
usr.sbin/nsd/nsd-checkconf.c
828
additional_checks(nsd_options_type* opt, const char* filename)
usr.sbin/nsd/nsd-checkconf.c
833
RBTREE_FOR(zone, zone_options_type*, opt->zone_options)
usr.sbin/nsd/nsd-checkconf.c
835
const dname_type* dname = dname_parse(opt->region, zone->name); /* memory leak. */
usr.sbin/nsd/nsd-checkconf.c
84
quote(opt->NAME); \
usr.sbin/nsd/nsd-checkconf.c
857
if(opt->statistics > 0)
usr.sbin/nsd/nsd-checkconf.c
860
filename, opt->statistics);
usr.sbin/nsd/nsd-checkconf.c
865
if(opt->chroot != 0)
usr.sbin/nsd/nsd-checkconf.c
868
filename, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
872
if (opt->identity && strlen(opt->identity) > UCHAR_MAX) {
usr.sbin/nsd/nsd-checkconf.c
874
filename, (unsigned) strlen(opt->identity));
usr.sbin/nsd/nsd-checkconf.c
877
if (opt->version && strlen(opt->version) > UCHAR_MAX) {
usr.sbin/nsd/nsd-checkconf.c
879
filename, (unsigned) strlen(opt->version));
usr.sbin/nsd/nsd-checkconf.c
885
if (opt->chroot && opt->chroot[0]) {
usr.sbin/nsd/nsd-checkconf.c
887
append_trailing_slash(&opt->chroot, opt->region);
usr.sbin/nsd/nsd-checkconf.c
888
append_trailing_slash(&opt->xfrdir, opt->region);
usr.sbin/nsd/nsd-checkconf.c
889
append_trailing_slash(&opt->zonesdir, opt->region);
usr.sbin/nsd/nsd-checkconf.c
893
if (strncmp(opt->zonesdir, opt->chroot, strlen(opt->chroot)) != 0) {
usr.sbin/nsd/nsd-checkconf.c
895
filename, opt->zonesdir, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
898
if (!file_inside_chroot(opt->pidfile, opt->chroot)) {
usr.sbin/nsd/nsd-checkconf.c
90
quotepath(opt, FINAL, opt->NAME); \
usr.sbin/nsd/nsd-checkconf.c
900
filename, opt->pidfile, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
903
if (!file_inside_chroot(opt->xfrdfile, opt->chroot)) {
usr.sbin/nsd/nsd-checkconf.c
905
filename, opt->xfrdfile, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
908
if (!file_inside_chroot(opt->zonelistfile, opt->chroot)) {
usr.sbin/nsd/nsd-checkconf.c
910
filename, opt->zonelistfile, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
913
if (!file_inside_chroot(opt->xfrdir, opt->chroot)) {
usr.sbin/nsd/nsd-checkconf.c
915
filename, opt->xfrdir, opt->chroot);
usr.sbin/nsd/nsd-checkconf.c
920
if (atoi(opt->port) <= 0) {
usr.sbin/nsd/nsd-checkconf.c
922
filename, opt->port);
usr.sbin/nsd/nsd-checkconf.c
927
filename, errors, (int)nsd_options_num_zones(opt),
usr.sbin/nsd/nsd-checkconf.c
928
(int)opt->keys->count,
usr.sbin/nsd/nsd-checkconf.c
929
(int)opt->tls_auths->count);
usr.sbin/nsd/nsd-checkconf.c
96
printf("%d\n", (int) opt->NAME); \
usr.sbin/nsd/nsd-control.c
517
struct nsd_options* opt;
usr.sbin/nsd/nsd-control.c
525
if(!(opt = nsd_options_create(region_create(xalloc, free)))) {
usr.sbin/nsd/nsd-control.c
529
tsig_init(opt->region);
usr.sbin/nsd/nsd-control.c
530
if(!parse_options_file(opt, cfgfile, NULL, NULL, NULL)) {
usr.sbin/nsd/nsd-control.c
534
if(!opt->control_enable)
usr.sbin/nsd/nsd-control.c
536
resolve_interface_names(opt);
usr.sbin/nsd/nsd-control.c
538
ctx = setup_ctx(opt);
usr.sbin/nsd/nsd-control.c
540
if(options_remote_is_address(opt)) {
usr.sbin/nsd/nsd-control.c
547
fd = contact_server(svr, opt, argc>0&&strcmp(argv[0],"status")==0);
usr.sbin/nsd/nsd-control.c
562
region_destroy(opt->region);
usr.sbin/nsd/nsd-mem.c
143
account_total(struct nsd_options* opt, struct tot_mem* t)
usr.sbin/nsd/nsd-mem.c
145
t->opt_data = region_get_mem(opt->region);
usr.sbin/nsd/nsd-mem.c
146
t->opt_unused = region_get_mem_unused(opt->region);
usr.sbin/nsd/nsd-mem.c
147
t->opt_recycle_bin = region_get_recycle_size(opt->region);
usr.sbin/nsd/nsd-mem.c
150
t->compresstable *= opt->server_count;
usr.sbin/nsd/nsd-mem.c
154
t->rrl = opt->rrl_size * SIZE_RRL_BUCKET;
usr.sbin/nsd/nsd-mem.c
155
t->rrl *= opt->server_count;
usr.sbin/nsd/nsd-mem.c
193
struct nsd_options* opt, struct tot_mem* totmem)
usr.sbin/nsd/nsd-mem.c
209
nsd.db = db = namedb_open(opt);
usr.sbin/nsd/nsd-mem.c
236
check_mem(struct nsd_options* opt)
usr.sbin/nsd/nsd-mem.c
245
RBTREE_FOR(zo, struct zone_options*, opt->zone_options) {
usr.sbin/nsd/nsd-mem.c
246
check_zone_mem(tf, zo, opt, &totmem);
usr.sbin/nsd/nsd-mem.c
250
account_total(opt, &totmem);
usr.sbin/nsd/nsd-mem.c
254
nsd_options_destroy(opt);
usr.sbin/nsd/nsd.c
1227
struct cpu_option* opt = nsd.options->cpu_affinity;
usr.sbin/nsd/nsd.c
1235
for(; opt; opt = opt->next) {
usr.sbin/nsd/nsd.c
1236
assert(opt->cpu >= 0);
usr.sbin/nsd/nsd.c
1237
if(opt->cpu >= ncpus) {
usr.sbin/nsd/nsd.c
1239
"cpu-affinity", opt->cpu);
usr.sbin/nsd/nsd.c
1241
cpuset_set((cpuid_t)opt->cpu, nsd.cpuset);
usr.sbin/nsd/nsd.c
1246
struct cpu_map_option *opt
usr.sbin/nsd/nsd.c
1250
for(; opt && cpu == -1; opt = opt->next) {
usr.sbin/nsd/nsd.c
1251
if(opt->service == -1) {
usr.sbin/nsd/nsd.c
1252
cpu = opt->cpu;
usr.sbin/nsd/nsd.c
1291
struct cpu_map_option *opt
usr.sbin/nsd/nsd.c
1296
for(; opt && cpu == -1; opt = opt->next) {
usr.sbin/nsd/nsd.c
1297
if(opt->service == server) {
usr.sbin/nsd/nsd.c
1298
cpu = opt->cpu;
usr.sbin/nsd/options.c
100
opt->pidfile = PIDFILE;
usr.sbin/nsd/options.c
101
opt->port = UDP_PORT;
usr.sbin/nsd/options.c
103
opt->reuseport = 0;
usr.sbin/nsd/options.c
104
opt->xfrd_tcp_max = 128;
usr.sbin/nsd/options.c
105
opt->xfrd_tcp_pipeline = 128;
usr.sbin/nsd/options.c
106
opt->statistics = 0;
usr.sbin/nsd/options.c
107
opt->chroot = 0;
usr.sbin/nsd/options.c
108
opt->username = USER;
usr.sbin/nsd/options.c
109
opt->zonesdir = ZONESDIR;
usr.sbin/nsd/options.c
110
opt->xfrdfile = XFRDFILE;
usr.sbin/nsd/options.c
111
opt->xfrdir = XFRDIR;
usr.sbin/nsd/options.c
112
opt->zonelistfile = ZONELISTFILE;
usr.sbin/nsd/options.c
114
opt->rrl_size = RRL_BUCKETS;
usr.sbin/nsd/options.c
115
opt->rrl_slip = RRL_SLIP;
usr.sbin/nsd/options.c
116
opt->rrl_ipv4_prefix_length = RRL_IPV4_PREFIX_LENGTH;
usr.sbin/nsd/options.c
117
opt->rrl_ipv6_prefix_length = RRL_IPV6_PREFIX_LENGTH;
usr.sbin/nsd/options.c
119
opt->rrl_ratelimit = 0;
usr.sbin/nsd/options.c
1190
pattern_options_remove(struct nsd_options* opt, const char* name)
usr.sbin/nsd/options.c
1193
opt->patterns, name);
usr.sbin/nsd/options.c
1198
region_recycle(opt->region, (void*)p->pname,
usr.sbin/nsd/options.c
120
opt->rrl_whitelist_ratelimit = 0;
usr.sbin/nsd/options.c
1201
region_recycle(opt->region, (void*)p->zonefile,
usr.sbin/nsd/options.c
1204
region_recycle(opt->region, (void*)p->zonestats,
usr.sbin/nsd/options.c
1206
acl_list_delete(opt->region, p->allow_notify);
usr.sbin/nsd/options.c
1207
acl_list_delete(opt->region, p->request_xfr);
usr.sbin/nsd/options.c
1208
acl_list_delete(opt->region, p->notify);
usr.sbin/nsd/options.c
1209
acl_list_delete(opt->region, p->provide_xfr);
usr.sbin/nsd/options.c
1210
acl_list_delete(opt->region, p->allow_query);
usr.sbin/nsd/options.c
1211
acl_list_delete(opt->region, p->outgoing_interface);
usr.sbin/nsd/options.c
1212
verifier_delete(opt->region, p->verifier);
usr.sbin/nsd/options.c
1214
region_recycle(opt->region, p, sizeof(struct pattern_options));
usr.sbin/nsd/options.c
122
opt->rrl_ratelimit = RRL_LIMIT/2;
usr.sbin/nsd/options.c
123
opt->rrl_whitelist_ratelimit = RRL_WLIST_LIMIT/2;
usr.sbin/nsd/options.c
1239
copy_acl_list(struct nsd_options* opt, struct acl_options* a)
usr.sbin/nsd/options.c
1243
b = copy_acl(opt->region, a);
usr.sbin/nsd/options.c
1246
b->key_options = key_options_find(opt, b->key_name);
usr.sbin/nsd/options.c
1250
b->tls_auth_options = tls_auth_options_find(opt, b->tls_auth_name);
usr.sbin/nsd/options.c
1265
copy_changed_acl(struct nsd_options* opt, struct acl_options** orig,
usr.sbin/nsd/options.c
1269
acl_list_delete(opt->region, *orig);
usr.sbin/nsd/options.c
127
opt->dnstap_enable = 0;
usr.sbin/nsd/options.c
1270
*orig = copy_acl_list(opt, anew);
usr.sbin/nsd/options.c
1275
copy_changed_verifier(struct nsd_options* opt, char ***ov, char **nv)
usr.sbin/nsd/options.c
128
opt->dnstap_socket_path = DNSTAP_SOCKET_PATH;
usr.sbin/nsd/options.c
1283
verifier_delete(opt->region, *ov);
usr.sbin/nsd/options.c
129
opt->dnstap_ip = "";
usr.sbin/nsd/options.c
1294
verifier_delete(opt->region, *ov);
usr.sbin/nsd/options.c
1297
*ov = region_alloc(opt->region, (nvc + 1) * sizeof(*nv));
usr.sbin/nsd/options.c
1299
(*ov)[ovc] = region_strdup(opt->region, nv[ovc]);
usr.sbin/nsd/options.c
130
opt->dnstap_tls = 1;
usr.sbin/nsd/options.c
131
opt->dnstap_tls_server_name = NULL;
usr.sbin/nsd/options.c
132
opt->dnstap_tls_cert_bundle = NULL;
usr.sbin/nsd/options.c
133
opt->dnstap_tls_client_key_file = NULL;
usr.sbin/nsd/options.c
134
opt->dnstap_tls_client_cert_file = NULL;
usr.sbin/nsd/options.c
135
opt->dnstap_send_identity = 0;
usr.sbin/nsd/options.c
136
opt->dnstap_send_version = 0;
usr.sbin/nsd/options.c
1362
pattern_options_add_modify(struct nsd_options* opt, struct pattern_options* p)
usr.sbin/nsd/options.c
1364
struct pattern_options* orig = pattern_options_find(opt, p->pname);
usr.sbin/nsd/options.c
1367
orig = pattern_options_create(opt->region);
usr.sbin/nsd/options.c
1368
orig->pname = region_strdup(opt->region, p->pname);
usr.sbin/nsd/options.c
1369
copy_pat_fixed(opt->region, orig, p);
usr.sbin/nsd/options.c
137
opt->dnstap_identity = NULL;
usr.sbin/nsd/options.c
1370
orig->allow_notify = copy_acl_list(opt, p->allow_notify);
usr.sbin/nsd/options.c
1371
orig->request_xfr = copy_acl_list(opt, p->request_xfr);
usr.sbin/nsd/options.c
1372
orig->notify = copy_acl_list(opt, p->notify);
usr.sbin/nsd/options.c
1373
orig->provide_xfr = copy_acl_list(opt, p->provide_xfr);
usr.sbin/nsd/options.c
1374
orig->allow_query = copy_acl_list(opt, p->allow_query);
usr.sbin/nsd/options.c
1375
orig->outgoing_interface = copy_acl_list(opt,
usr.sbin/nsd/options.c
1377
copy_changed_verifier(opt, &orig->verifier, p->verifier);
usr.sbin/nsd/options.c
1378
nsd_options_insert_pattern(opt, orig);
usr.sbin/nsd/options.c
138
opt->dnstap_version = NULL;
usr.sbin/nsd/options.c
1383
region_recycle(opt->region, (char*)orig->zonefile,
usr.sbin/nsd/options.c
1386
region_recycle(opt->region, (char*)orig->zonestats,
usr.sbin/nsd/options.c
1388
copy_pat_fixed(opt->region, orig, p);
usr.sbin/nsd/options.c
1389
copy_changed_acl(opt, &orig->allow_notify, p->allow_notify);
usr.sbin/nsd/options.c
139
opt->dnstap_log_auth_query_messages = 0;
usr.sbin/nsd/options.c
1390
copy_changed_acl(opt, &orig->request_xfr, p->request_xfr);
usr.sbin/nsd/options.c
1391
copy_changed_acl(opt, &orig->notify, p->notify);
usr.sbin/nsd/options.c
1392
copy_changed_acl(opt, &orig->provide_xfr, p->provide_xfr);
usr.sbin/nsd/options.c
1393
copy_changed_acl(opt, &orig->allow_query, p->allow_query);
usr.sbin/nsd/options.c
1394
copy_changed_acl(opt, &orig->outgoing_interface,
usr.sbin/nsd/options.c
1396
copy_changed_verifier(opt, &orig->verifier, p->verifier);
usr.sbin/nsd/options.c
140
opt->dnstap_log_auth_response_messages = 0;
usr.sbin/nsd/options.c
1401
pattern_options_find(struct nsd_options* opt, const char* name)
usr.sbin/nsd/options.c
1403
return (struct pattern_options*)rbtree_search(opt->patterns, name);
usr.sbin/nsd/options.c
142
opt->reload_config = 0;
usr.sbin/nsd/options.c
143
opt->zonefiles_check = 1;
usr.sbin/nsd/options.c
144
opt->zonefiles_write = ZONEFILES_WRITE_INTERVAL;
usr.sbin/nsd/options.c
145
opt->xfrd_reload_timeout = 1;
usr.sbin/nsd/options.c
146
opt->tls_service_key = NULL;
usr.sbin/nsd/options.c
147
opt->tls_service_ocsp = NULL;
usr.sbin/nsd/options.c
148
opt->tls_service_pem = NULL;
usr.sbin/nsd/options.c
149
opt->tls_port = TLS_PORT;
usr.sbin/nsd/options.c
150
opt->tls_auth_port = NULL;
usr.sbin/nsd/options.c
151
opt->tls_cert_bundle = NULL;
usr.sbin/nsd/options.c
152
opt->tls_auth_xfr_only = 0;
usr.sbin/nsd/options.c
153
opt->proxy_protocol_port = NULL;
usr.sbin/nsd/options.c
154
opt->answer_cookie = 1;
usr.sbin/nsd/options.c
155
opt->cookie_secret = NULL;
usr.sbin/nsd/options.c
156
opt->cookie_staging_secret = NULL;
usr.sbin/nsd/options.c
157
opt->cookie_secret_file = NULL;
usr.sbin/nsd/options.c
158
opt->cookie_secret_file_is_default = 1;
usr.sbin/nsd/options.c
159
opt->control_enable = 0;
usr.sbin/nsd/options.c
160
opt->control_interface = NULL;
usr.sbin/nsd/options.c
161
opt->control_port = NSD_CONTROL_PORT;
usr.sbin/nsd/options.c
162
opt->server_key_file = CONFIGDIR"/nsd_server.key";
usr.sbin/nsd/options.c
163
opt->server_cert_file = CONFIGDIR"/nsd_server.pem";
usr.sbin/nsd/options.c
164
opt->control_key_file = CONFIGDIR"/nsd_control.key";
usr.sbin/nsd/options.c
165
opt->control_cert_file = CONFIGDIR"/nsd_control.pem";
usr.sbin/nsd/options.c
167
opt->xdp_interface = NULL;
usr.sbin/nsd/options.c
168
opt->xdp_program_path = SHAREDFILESDIR"/xdp-dns-redirect_kern.o";
usr.sbin/nsd/options.c
169
opt->xdp_program_load = 1;
usr.sbin/nsd/options.c
170
opt->xdp_bpffs_path = "/sys/fs/bpf";
usr.sbin/nsd/options.c
171
opt->xdp_force_copy = 0;
usr.sbin/nsd/options.c
174
opt->metrics_enable = 0;
usr.sbin/nsd/options.c
175
opt->metrics_interface = NULL;
usr.sbin/nsd/options.c
176
opt->metrics_port = NSD_METRICS_PORT;
usr.sbin/nsd/options.c
177
opt->metrics_path = "/metrics";
usr.sbin/nsd/options.c
180
opt->verify_enable = 0;
usr.sbin/nsd/options.c
1809
key_options_insert(struct nsd_options* opt, struct key_options* key)
usr.sbin/nsd/options.c
181
opt->verify_ip_addresses = NULL;
usr.sbin/nsd/options.c
1813
(void)rbtree_insert(opt->keys, &key->node);
usr.sbin/nsd/options.c
1817
key_options_find(struct nsd_options* opt, const char* name)
usr.sbin/nsd/options.c
1819
return (struct key_options*)rbtree_search(opt->keys, name);
usr.sbin/nsd/options.c
182
opt->verify_port = VERIFY_PORT;
usr.sbin/nsd/options.c
1823
tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth)
usr.sbin/nsd/options.c
1827
(void)rbtree_insert(opt->tls_auths, &auth->node);
usr.sbin/nsd/options.c
183
opt->verify_zones = 1;
usr.sbin/nsd/options.c
1831
tls_auth_options_find(struct nsd_options* opt, const char* name)
usr.sbin/nsd/options.c
1833
return (struct tls_auth_options*)rbtree_search(opt->tls_auths, name);
usr.sbin/nsd/options.c
184
opt->verifier = NULL;
usr.sbin/nsd/options.c
185
opt->verifier_count = 1;
usr.sbin/nsd/options.c
186
opt->verifier_feed_zone = 1;
usr.sbin/nsd/options.c
187
opt->verifier_timeout = 0;
usr.sbin/nsd/options.c
1887
key_options_remove(struct nsd_options* opt, const char* name)
usr.sbin/nsd/options.c
1889
struct key_options* k = key_options_find(opt, name);
usr.sbin/nsd/options.c
189
return opt;
usr.sbin/nsd/options.c
1891
(void)rbtree_delete(opt->keys, name);
usr.sbin/nsd/options.c
1893
region_recycle(opt->region, k->name, strlen(k->name)+1);
usr.sbin/nsd/options.c
1895
region_recycle(opt->region, k->algorithm, strlen(k->algorithm)+1);
usr.sbin/nsd/options.c
1898
region_recycle(opt->region, k->secret, strlen(k->secret)+1);
usr.sbin/nsd/options.c
1903
region_recycle(opt->region, (void*)k->tsig_key->name,
usr.sbin/nsd/options.c
1905
key_options_desetup(opt->region, k);
usr.sbin/nsd/options.c
1906
region_recycle(opt->region, k->tsig_key, sizeof(tsig_key_type));
usr.sbin/nsd/options.c
1908
region_recycle(opt->region, k, sizeof(struct key_options));
usr.sbin/nsd/options.c
1919
key_options_add_modify(struct nsd_options* opt, struct key_options* key)
usr.sbin/nsd/options.c
1921
struct key_options* orig = key_options_find(opt, key->name);
usr.sbin/nsd/options.c
1924
orig = key_options_create(opt->region);
usr.sbin/nsd/options.c
1925
orig->name = region_strdup(opt->region, key->name);
usr.sbin/nsd/options.c
1926
orig->algorithm = region_strdup(opt->region, key->algorithm);
usr.sbin/nsd/options.c
1927
orig->secret = region_strdup(opt->region, key->secret);
usr.sbin/nsd/options.c
1928
key_options_setup(opt->region, orig);
usr.sbin/nsd/options.c
193
nsd_options_insert_zone(struct nsd_options* opt, struct zone_options* zone)
usr.sbin/nsd/options.c
1930
key_options_insert(opt, orig);
usr.sbin/nsd/options.c
1933
key_options_desetup(opt->region, orig);
usr.sbin/nsd/options.c
1934
region_recycle(opt->region, orig->algorithm,
usr.sbin/nsd/options.c
1936
orig->algorithm = region_strdup(opt->region, key->algorithm);
usr.sbin/nsd/options.c
1937
region_recycle(opt->region, orig->secret,
usr.sbin/nsd/options.c
1939
orig->secret = region_strdup(opt->region, key->secret);
usr.sbin/nsd/options.c
1940
key_options_setup(opt->region, orig);
usr.sbin/nsd/options.c
196
const dname_type* dname = dname_parse(opt->region, zone->name);
usr.sbin/nsd/options.c
200
if(!rbtree_insert(opt->zone_options, (rbnode_type*)zone))
usr.sbin/nsd/options.c
206
nsd_options_insert_pattern(struct nsd_options* opt,
usr.sbin/nsd/options.c
212
if(!rbtree_insert(opt->patterns, (rbnode_type*)pat))
usr.sbin/nsd/options.c
232
parse_options_file(struct nsd_options* opt, const char* file,
usr.sbin/nsd/options.c
242
opt->region, sizeof(config_parser_state_type));
usr.sbin/nsd/options.c
2471
key_options_tsig_add(struct nsd_options* opt)
usr.sbin/nsd/options.c
2474
RBTREE_FOR(optkey, struct key_options*, opt->keys) {
usr.sbin/nsd/options.c
2475
key_options_setup(opt->region, optkey);
usr.sbin/nsd/options.c
2482
zone_is_slave(struct zone_options* opt)
usr.sbin/nsd/options.c
2484
return opt && opt->pattern && opt->pattern->request_xfr != 0;
usr.sbin/nsd/options.c
250
cfg_parser->opt = opt;
usr.sbin/nsd/options.c
2610
zone_options_find(struct nsd_options* opt, const struct dname* apex)
usr.sbin/nsd/options.c
2612
return (struct zone_options*) rbtree_search(opt->zone_options, apex);
usr.sbin/nsd/options.c
274
opt->configfile = region_strdup(opt->region, file);
usr.sbin/nsd/options.c
277
if(opt->cookie_secret_file_is_default && !opt->cookie_secret_file) {
usr.sbin/nsd/options.c
278
opt->cookie_secret_file =
usr.sbin/nsd/options.c
2783
struct acl_options* acl = copy_acl(cfg_parser->opt->region,
usr.sbin/nsd/options.c
279
region_strdup(opt->region, COOKIESECRETSFILE);
usr.sbin/nsd/options.c
2800
struct pattern_options* pat = pattern_options_find(cfg_parser->opt,
usr.sbin/nsd/options.c
282
if(opt->cookie_staging_secret && !opt->cookie_secret) {
usr.sbin/nsd/options.c
2821
dest->zonefile = region_strdup(cfg_parser->opt->region,
usr.sbin/nsd/options.c
2824
dest->zonestats = region_strdup(cfg_parser->opt->region,
usr.sbin/nsd/options.c
286
RBTREE_FOR(pat, struct pattern_options*, opt->patterns)
usr.sbin/nsd/options.c
2899
region_type *region = cfg_parser->opt->region;
usr.sbin/nsd/options.c
2925
cfg_parser->opt->region, pat->catalog_member_pattern);
usr.sbin/nsd/options.c
2928
cfg_parser->opt->region, pat->catalog_producer_zone);
usr.sbin/nsd/options.c
2932
nsd_options_destroy(struct nsd_options* opt)
usr.sbin/nsd/options.c
2934
region_destroy(opt->region);
usr.sbin/nsd/options.c
2940
unsigned getzonestatid(struct nsd_options* opt, struct zone_options* zopt)
usr.sbin/nsd/options.c
2950
res = rbtree_search(opt->zonestatnames, statname);
usr.sbin/nsd/options.c
2954
n = (struct zonestatname*)region_alloc_zero(opt->region, sizeof(*n));
usr.sbin/nsd/options.c
2955
n->node.key = region_strdup(opt->region, statname);
usr.sbin/nsd/options.c
2960
n->id = (unsigned)(opt->zonestatnames->count);
usr.sbin/nsd/options.c
2961
rbtree_insert(opt->zonestatnames, (rbnode_type*)n);
usr.sbin/nsd/options.c
2964
(void)opt; (void)zopt;
usr.sbin/nsd/options.c
297
acl->key_options = key_options_find(opt, acl->key_name);
usr.sbin/nsd/options.c
306
acl->key_options = key_options_find(opt, acl->key_name);
usr.sbin/nsd/options.c
317
tls_auth_options_find(opt, acl->tls_auth_name)))
usr.sbin/nsd/options.c
323
acl->key_options = key_options_find(opt, acl->key_name);
usr.sbin/nsd/options.c
333
tls_auth_options_find(opt, acl->tls_auth_name)))
usr.sbin/nsd/options.c
339
acl->key_options = key_options_find(opt, acl->key_name);
usr.sbin/nsd/options.c
348
acl->key_options = key_options_find(opt, acl->key_name);
usr.sbin/nsd/options.c
356
const dname_type *dname = dname_parse(opt->region,
usr.sbin/nsd/options.c
361
} else if (!(zopt = zone_options_find(opt, dname))) {
usr.sbin/nsd/options.c
410
void options_zonestatnames_create(struct nsd_options* opt)
usr.sbin/nsd/options.c
414
if(!rbtree_search(opt->zonestatnames, "")) {
usr.sbin/nsd/options.c
416
n = (struct zonestatname*)region_alloc_zero(opt->region,
usr.sbin/nsd/options.c
418
n->node.key = region_strdup(opt->region, "");
usr.sbin/nsd/options.c
423
n->id = (unsigned)(opt->zonestatnames->count);
usr.sbin/nsd/options.c
424
rbtree_insert(opt->zonestatnames, (rbnode_type*)n);
usr.sbin/nsd/options.c
426
RBTREE_FOR(zopt, struct zone_options*, opt->zone_options) {
usr.sbin/nsd/options.c
428
(void)getzonestatid(opt, zopt);
usr.sbin/nsd/options.c
443
zone_list_free_insert(struct nsd_options* opt, int linesize, off_t off)
usr.sbin/nsd/options.c
447
opt->zonefree, &linesize);
usr.sbin/nsd/options.c
449
b = region_alloc_zero(opt->region, sizeof(*b));
usr.sbin/nsd/options.c
453
rbtree_insert(opt->zonefree, &b->node);
usr.sbin/nsd/options.c
455
e = (struct zonelist_free*)region_alloc_zero(opt->region, sizeof(*e));
usr.sbin/nsd/options.c
459
opt->zonefree_number++;
usr.sbin/nsd/options.c
463
zone_list_member_zone_insert(struct nsd_options* opt, const char* nm,
usr.sbin/nsd/options.c
467
struct pattern_options* pat = pattern_options_find(opt, patnm);
usr.sbin/nsd/options.c
480
? &(cmz = catalog_member_zone_create(opt->region))->options
usr.sbin/nsd/options.c
481
: zone_options_create(opt->region);
usr.sbin/nsd/options.c
483
zone->name = region_strdup(opt->region, nm);
usr.sbin/nsd/options.c
487
if(!nsd_options_insert_zone(opt, zone)) {
usr.sbin/nsd/options.c
490
region_recycle(opt->region, (void*)zone->name, strlen(nm)+1);
usr.sbin/nsd/options.c
491
region_recycle(opt->region, zone, sizeof(*zone));
usr.sbin/nsd/options.c
516
else if(!(cmz->member_id = dname_parse(opt->region, member_id_str)))
usr.sbin/nsd/options.c
523
zone_list_zone_insert(struct nsd_options* opt,const char* nm,const char* patnm)
usr.sbin/nsd/options.c
525
return zone_list_member_zone_insert(opt, nm, patnm, 0, 0, NULL, NULL);
usr.sbin/nsd/options.c
529
parse_zone_list_file(struct nsd_options* opt)
usr.sbin/nsd/options.c
54
struct nsd_options* opt;
usr.sbin/nsd/options.c
542
opt->zonefree = rbtree_create(opt->region, comp_zonebucket);
usr.sbin/nsd/options.c
543
opt->zonelist = NULL;
usr.sbin/nsd/options.c
544
opt->zonefree_number = 0;
usr.sbin/nsd/options.c
545
opt->zonelist_off = 0;
usr.sbin/nsd/options.c
548
opt->zonelist = fopen(opt->zonelistfile, "r+");
usr.sbin/nsd/options.c
549
if(!opt->zonelist) {
usr.sbin/nsd/options.c
55
opt = (struct nsd_options*)region_alloc(region, sizeof(
usr.sbin/nsd/options.c
552
log_msg(LOG_ERR, "could not open zone list %s: %s", opt->zonelistfile,
usr.sbin/nsd/options.c
558
if(fread(hdr, 1, strlen(ZONELIST_HEADER), opt->zonelist) !=
usr.sbin/nsd/options.c
561
log_msg(LOG_ERR, "zone list %s contains bad header\n", opt->zonelistfile);
usr.sbin/nsd/options.c
562
fclose(opt->zonelist);
usr.sbin/nsd/options.c
563
opt->zonelist = NULL;
usr.sbin/nsd/options.c
569
while(fgets(buf, sizeof(buf), opt->zonelist)) {
usr.sbin/nsd/options.c
57
opt->region = region;
usr.sbin/nsd/options.c
58
opt->zone_options = rbtree_create(region,
usr.sbin/nsd/options.c
583
opt->zonelistfile, buf);
usr.sbin/nsd/options.c
594
(void)zone_list_member_zone_insert(opt, nm, patnm,
usr.sbin/nsd/options.c
595
linesize, ftello(opt->zonelist)-linesize,
usr.sbin/nsd/options.c
60
opt->configfile = NULL;
usr.sbin/nsd/options.c
608
opt->zonelistfile, buf);
usr.sbin/nsd/options.c
61
opt->zonestatnames = rbtree_create(opt->region, rbtree_strcmp);
usr.sbin/nsd/options.c
617
opt->zonelistfile, buf);
usr.sbin/nsd/options.c
62
opt->patterns = rbtree_create(region, rbtree_strcmp);
usr.sbin/nsd/options.c
626
(void)zone_list_member_zone_insert(opt, nm, patnm,
usr.sbin/nsd/options.c
627
linesize, ftello(opt->zonelist)-linesize,
usr.sbin/nsd/options.c
63
opt->keys = rbtree_create(region, rbtree_strcmp);
usr.sbin/nsd/options.c
633
zone_list_free_insert(opt, linesize,
usr.sbin/nsd/options.c
634
ftello(opt->zonelist)-linesize);
usr.sbin/nsd/options.c
636
log_msg(LOG_WARNING, "bad data in %s, '%s'", opt->zonelistfile,
usr.sbin/nsd/options.c
64
opt->tls_auths = rbtree_create(region, rbtree_strcmp);
usr.sbin/nsd/options.c
641
opt->zonelist_off = ftello(opt->zonelist);
usr.sbin/nsd/options.c
646
zone_options_delete(struct nsd_options* opt, struct zone_options* zone)
usr.sbin/nsd/options.c
65
opt->ip_addresses = NULL;
usr.sbin/nsd/options.c
650
rbtree_delete(opt->zone_options, zone->node.key);
usr.sbin/nsd/options.c
651
region_recycle(opt->region, (void*)zone->node.key, dname_total_size(
usr.sbin/nsd/options.c
654
region_recycle(opt->region, zone, sizeof(*zone));
usr.sbin/nsd/options.c
66
opt->ip_transparent = 0;
usr.sbin/nsd/options.c
668
region_recycle(opt->region, (void*)member_zone->member_id,
usr.sbin/nsd/options.c
67
opt->ip_freebind = 0;
usr.sbin/nsd/options.c
671
region_recycle(opt->region, member_zone, sizeof(*member_zone));
usr.sbin/nsd/options.c
677
zone_list_add_or_cat(struct nsd_options* opt, const char* zname,
usr.sbin/nsd/options.c
68
opt->send_buffer_size = 4*1024*1024;
usr.sbin/nsd/options.c
688
opt, zname, pname, 6 + strlen(zname) + strlen(pname),
usr.sbin/nsd/options.c
69
opt->receive_buffer_size = 1*1024*1024;
usr.sbin/nsd/options.c
70
opt->debug_mode = 0;
usr.sbin/nsd/options.c
705
if(!opt->zonelist || opt->zonelist_off == 0) {
usr.sbin/nsd/options.c
707
if(opt->zonelist) fclose(opt->zonelist);
usr.sbin/nsd/options.c
708
opt->zonelist = fopen(opt->zonelistfile, "w+");
usr.sbin/nsd/options.c
709
if(!opt->zonelist) {
usr.sbin/nsd/options.c
71
opt->verbosity = 0;
usr.sbin/nsd/options.c
711
opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
713
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
716
r = fprintf(opt->zonelist, ZONELIST_HEADER);
usr.sbin/nsd/options.c
72
opt->hide_version = 0;
usr.sbin/nsd/options.c
720
opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
722
opt->zonelistfile);
usr.sbin/nsd/options.c
724
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
727
zone->off = ftello(opt->zonelist);
usr.sbin/nsd/options.c
729
log_msg(LOG_ERR, "ftello(%s): %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
73
opt->hide_identity = 0;
usr.sbin/nsd/options.c
730
r = fprintf(opt->zonelist, "%s", zone_list_line);
usr.sbin/nsd/options.c
734
opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
736
opt->zonelistfile);
usr.sbin/nsd/options.c
738
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
74
opt->drop_updates = 0;
usr.sbin/nsd/options.c
741
opt->zonelist_off = ftello(opt->zonelist);
usr.sbin/nsd/options.c
742
if(opt->zonelist_off == -1)
usr.sbin/nsd/options.c
743
log_msg(LOG_ERR, "ftello(%s): %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
744
if(fflush(opt->zonelist) != 0) {
usr.sbin/nsd/options.c
745
log_msg(LOG_ERR, "fflush %s: %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
749
b = (struct zonelist_bucket*)rbtree_search(opt->zonefree,
usr.sbin/nsd/options.c
75
opt->do_ip4 = 1;
usr.sbin/nsd/options.c
753
zone->off = opt->zonelist_off;
usr.sbin/nsd/options.c
754
if(fseeko(opt->zonelist, zone->off, SEEK_SET) == -1) {
usr.sbin/nsd/options.c
755
log_msg(LOG_ERR, "fseeko(%s): %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
757
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
76
opt->do_ip6 = 1;
usr.sbin/nsd/options.c
760
r = fprintf(opt->zonelist, "%s", zone_list_line);
usr.sbin/nsd/options.c
764
opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
766
opt->zonelistfile);
usr.sbin/nsd/options.c
768
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
77
opt->identity = 0;
usr.sbin/nsd/options.c
771
opt->zonelist_off += zone->linesize;
usr.sbin/nsd/options.c
772
if(fflush(opt->zonelist) != 0) {
usr.sbin/nsd/options.c
773
log_msg(LOG_ERR, "fflush %s: %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
78
opt->version = 0;
usr.sbin/nsd/options.c
780
if(fseeko(opt->zonelist, zone->off, SEEK_SET) == -1) {
usr.sbin/nsd/options.c
781
log_msg(LOG_ERR, "fseeko(%s): %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
783
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
786
r = fprintf(opt->zonelist, "%s", zone_list_line);
usr.sbin/nsd/options.c
79
opt->nsid = 0;
usr.sbin/nsd/options.c
790
opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
792
opt->zonelistfile);
usr.sbin/nsd/options.c
794
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
797
if(fflush(opt->zonelist) != 0) {
usr.sbin/nsd/options.c
798
log_msg(LOG_ERR, "fflush %s: %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
80
opt->logfile = 0;
usr.sbin/nsd/options.c
803
region_recycle(opt->region, e, sizeof(*e));
usr.sbin/nsd/options.c
805
rbtree_delete(opt->zonefree, &b->linesize);
usr.sbin/nsd/options.c
806
region_recycle(opt->region, b, sizeof(*b));
usr.sbin/nsd/options.c
808
opt->zonefree_number--;
usr.sbin/nsd/options.c
81
opt->log_only_syslog = 0;
usr.sbin/nsd/options.c
814
zone_list_del(struct nsd_options* opt, struct zone_options* zone)
usr.sbin/nsd/options.c
818
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
82
opt->log_time_ascii = 1;
usr.sbin/nsd/options.c
822
if(fseeko(opt->zonelist, zone->off, SEEK_SET) == -1) {
usr.sbin/nsd/options.c
823
log_msg(LOG_ERR, "fseeko(%s): %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
826
fprintf(opt->zonelist, "del");
usr.sbin/nsd/options.c
827
zone_list_free_insert(opt, zone->linesize, zone->off);
usr.sbin/nsd/options.c
83
opt->log_time_iso = 0;
usr.sbin/nsd/options.c
830
zone_options_delete(opt, zone);
usr.sbin/nsd/options.c
833
if(opt->zonefree_number > opt->zone_options->count) {
usr.sbin/nsd/options.c
834
zone_list_compact(opt);
usr.sbin/nsd/options.c
836
if(fflush(opt->zonelist) != 0) {
usr.sbin/nsd/options.c
837
log_msg(LOG_ERR, "fflush %s: %s", opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
84
opt->round_robin = 0; /* also packet.h::round_robin */
usr.sbin/nsd/options.c
85
opt->minimal_responses = 1; /* also packet.h::minimal_responses */
usr.sbin/nsd/options.c
86
opt->confine_to_zone = 0;
usr.sbin/nsd/options.c
861
zone_list_compact(struct nsd_options* opt)
usr.sbin/nsd/options.c
868
snprintf(outname, sizeof(outname), "%s~", opt->zonelistfile);
usr.sbin/nsd/options.c
87
opt->refuse_any = 1;
usr.sbin/nsd/options.c
88
opt->server_count = 1;
usr.sbin/nsd/options.c
89
opt->cpu_affinity = NULL;
usr.sbin/nsd/options.c
894
RBTREE_FOR(zone, struct zone_options*, opt->zone_options) {
usr.sbin/nsd/options.c
90
opt->service_cpu_affinity = NULL;
usr.sbin/nsd/options.c
91
opt->tcp_count = 100;
usr.sbin/nsd/options.c
92
opt->tcp_reject_overflow = 0;
usr.sbin/nsd/options.c
927
if(rename(outname, opt->zonelistfile) == -1) {
usr.sbin/nsd/options.c
929
outname, opt->zonelistfile, strerror(errno));
usr.sbin/nsd/options.c
93
opt->tcp_query_count = 0;
usr.sbin/nsd/options.c
933
fclose(opt->zonelist);
usr.sbin/nsd/options.c
935
RBTREE_FOR(zone, struct zone_options*, opt->zone_options) {
usr.sbin/nsd/options.c
94
opt->tcp_timeout = TCP_TIMEOUT;
usr.sbin/nsd/options.c
942
delbucket(opt->region, (struct zonelist_bucket*)opt->zonefree->root);
usr.sbin/nsd/options.c
943
opt->zonefree->root = RBTREE_NULL;
usr.sbin/nsd/options.c
944
opt->zonefree->count = 0;
usr.sbin/nsd/options.c
945
opt->zonefree_number = 0;
usr.sbin/nsd/options.c
947
opt->zonelist = out;
usr.sbin/nsd/options.c
948
opt->zonelist_off = off;
usr.sbin/nsd/options.c
95
opt->tcp_mss = 0;
usr.sbin/nsd/options.c
953
zone_list_close(struct nsd_options* opt)
usr.sbin/nsd/options.c
955
if(opt->zonelist) {
usr.sbin/nsd/options.c
956
fclose(opt->zonelist);
usr.sbin/nsd/options.c
957
opt->zonelist = NULL;
usr.sbin/nsd/options.c
96
opt->outgoing_tcp_mss = 0;
usr.sbin/nsd/options.c
97
opt->tcp_listen_queue = TCP_BACKLOG;
usr.sbin/nsd/options.c
98
opt->ipv4_edns_size = EDNS_MAX_MESSAGE_LEN;
usr.sbin/nsd/options.c
99
opt->ipv6_edns_size = EDNS_MAX_MESSAGE_LEN;
usr.sbin/nsd/options.h
500
struct nsd_options* opt;
usr.sbin/nsd/options.h
515
static inline size_t nsd_options_num_zones(struct nsd_options* opt)
usr.sbin/nsd/options.h
516
{ return opt->zone_options->count; }
usr.sbin/nsd/options.h
518
int nsd_options_insert_zone(struct nsd_options* opt, struct zone_options* zone);
usr.sbin/nsd/options.h
520
int nsd_options_insert_pattern(struct nsd_options* opt,
usr.sbin/nsd/options.h
525
int parse_options_file(struct nsd_options* opt, const char* file,
usr.sbin/nsd/options.h
529
void zone_options_delete(struct nsd_options* opt, struct zone_options* zone);
usr.sbin/nsd/options.h
534
struct zone_options* zone_options_find(struct nsd_options* opt,
usr.sbin/nsd/options.h
537
struct pattern_options* pattern_options_find(struct nsd_options* opt, const char* name);
usr.sbin/nsd/options.h
539
void pattern_options_remove(struct nsd_options* opt, const char* name);
usr.sbin/nsd/options.h
540
void pattern_options_add_modify(struct nsd_options* opt,
usr.sbin/nsd/options.h
546
void key_options_insert(struct nsd_options* opt, struct key_options* key);
usr.sbin/nsd/options.h
547
struct key_options* key_options_find(struct nsd_options* opt, const char* name);
usr.sbin/nsd/options.h
548
void key_options_remove(struct nsd_options* opt, const char* name);
usr.sbin/nsd/options.h
550
void key_options_add_modify(struct nsd_options* opt, struct key_options* key);
usr.sbin/nsd/options.h
555
void tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth);
usr.sbin/nsd/options.h
556
struct tls_auth_options* tls_auth_options_find(struct nsd_options* opt, const char* name);
usr.sbin/nsd/options.h
558
int parse_zone_list_file(struct nsd_options* opt);
usr.sbin/nsd/options.h
560
struct zone_options* zone_list_add_or_cat(struct nsd_options* opt,
usr.sbin/nsd/options.h
563
static inline struct zone_options* zone_list_add(struct nsd_options* opt,
usr.sbin/nsd/options.h
565
{ return zone_list_add_or_cat(opt, zname, pname, NULL); }
usr.sbin/nsd/options.h
567
struct zone_options* zone_list_zone_insert(struct nsd_options* opt,
usr.sbin/nsd/options.h
569
void zone_list_del(struct nsd_options* opt, struct zone_options* zone);
usr.sbin/nsd/options.h
570
void zone_list_compact(struct nsd_options* opt);
usr.sbin/nsd/options.h
571
void zone_list_close(struct nsd_options* opt);
usr.sbin/nsd/options.h
574
void options_zonestatnames_create(struct nsd_options* opt);
usr.sbin/nsd/options.h
577
unsigned getzonestatid(struct nsd_options* opt, struct zone_options* zopt);
usr.sbin/nsd/options.h
587
void key_options_tsig_add(struct nsd_options* opt);
usr.sbin/nsd/options.h
621
int zone_is_slave(struct zone_options* opt);
usr.sbin/nsd/options.h
623
static inline int zone_is_catalog_consumer(struct zone_options* opt)
usr.sbin/nsd/options.h
624
{ return opt && opt->pattern
usr.sbin/nsd/options.h
625
&& opt->pattern->catalog_role == CATALOG_ROLE_CONSUMER; }
usr.sbin/nsd/options.h
626
static inline int zone_is_catalog_producer(struct zone_options* opt)
usr.sbin/nsd/options.h
627
{ return opt && opt->pattern
usr.sbin/nsd/options.h
628
&& opt->pattern->catalog_role == CATALOG_ROLE_PRODUCER; }
usr.sbin/nsd/options.h
629
static inline int zone_is_catalog_member(struct zone_options* opt)
usr.sbin/nsd/options.h
630
{ return opt && opt->is_catalog_member_zone; }
usr.sbin/nsd/options.h
631
static inline const char* zone_is_catalog_producer_member(struct zone_options* opt)
usr.sbin/nsd/options.h
632
{ return opt && opt->pattern && opt->pattern->catalog_producer_zone
usr.sbin/nsd/options.h
633
? opt->pattern->catalog_producer_zone : NULL; }
usr.sbin/nsd/options.h
634
static inline int zone_is_catalog_consumer_member(struct zone_options* opt)
usr.sbin/nsd/options.h
635
{ return zone_is_catalog_member(opt) && !zone_is_catalog_producer_member(opt); }
usr.sbin/nsd/options.h
654
void nsd_options_destroy(struct nsd_options* opt);
usr.sbin/nsd/remote.c
2157
struct nsd_options* opt;
usr.sbin/nsd/remote.c
2177
opt = nsd_options_create(region);
usr.sbin/nsd/remote.c
2178
if(!parse_options_file(opt, cfgfile, &print_ssl_cfg_err, &ssl,
usr.sbin/nsd/remote.c
2186
repat_keys(xfrd, opt);
usr.sbin/nsd/remote.c
2187
repat_patterns(xfrd, opt);
usr.sbin/nsd/remote.c
2188
repat_options(xfrd, opt);
usr.sbin/nsd/server.c
1023
int opt = IPV6_USE_MIN_MTU;
usr.sbin/nsd/server.c
1030
int opt = IPV6_MTU;
usr.sbin/nsd/server.c
1035
sock->s, IPPROTO_IPV6, opt, &optval, sizeof(optval)))
usr.sbin/nsd/server.c
1057
int opt = IP_MTU_DISCOVER;
usr.sbin/nsd/server.c
1069
sock->s, IPPROTO_IP, opt, &optval, sizeof(optval)))
usr.sbin/nsd/server.c
1081
sock->s, IPPROTO_IP, opt, &optval, sizeof(optval)))
usr.sbin/nsd/server.c
851
int opt = SO_REUSEPORT_LB;
usr.sbin/nsd/server.c
854
int opt = SO_REUSEPORT;
usr.sbin/nsd/server.c
858
if (0 == setsockopt(sock->s, SOL_SOCKET, opt, &on, sizeof(on))) {
usr.sbin/ospf6d/area.c
127
u_int32_t opt = OSPF_OPTION_V6 | OSPF_OPTION_R;
usr.sbin/ospf6d/area.c
130
opt |= OSPF_OPTION_E;
usr.sbin/ospf6d/area.c
132
return (opt);
usr.sbin/ospf6d/kroute.c
111
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/ospf6d/kroute.c
128
&opt, sizeof(opt)) == -1)
usr.sbin/ospfd/area.c
133
u_int8_t opt = 0;
usr.sbin/ospfd/area.c
136
opt |= OSPF_OPTION_E;
usr.sbin/ospfd/area.c
138
return (opt);
usr.sbin/ospfd/kroute.c
133
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/ospfd/kroute.c
150
&opt, sizeof(opt)) == -1)
usr.sbin/pppd/cbcp.c
186
int code, opt, id, len, olen, delay;
usr.sbin/pppd/cbcp.c
211
GETCHAR(opt, p);
usr.sbin/pppd/cbcp.c
221
if (opt >= 1 && opt <= sizeof(cbcp_optionnames) / sizeof(char *))
usr.sbin/pppd/cbcp.c
222
printer(arg, " %s", cbcp_optionnames[opt-1]);
usr.sbin/pppd/cbcp.c
224
printer(arg, " option=0x%x", opt);
usr.sbin/pppd/ccp.c
123
#define ANY_COMPRESS(opt) ((opt).deflate || (opt).bsd_compress \
usr.sbin/pppd/ccp.c
124
|| (opt).predictor_1 || (opt).predictor_2)
usr.sbin/pppd/ccp.c
837
method_name(ccp_options *opt, ccp_options *opt2)
usr.sbin/pppd/ccp.c
841
if (!ANY_COMPRESS(*opt))
usr.sbin/pppd/ccp.c
843
switch (opt->method) {
usr.sbin/pppd/ccp.c
846
if (opt2 != NULL && opt2->deflate_size != opt->deflate_size)
usr.sbin/pppd/ccp.c
848
(opt->method == CI_DEFLATE_DRAFT? "(old#)": ""),
usr.sbin/pppd/ccp.c
849
opt->deflate_size, opt2->deflate_size);
usr.sbin/pppd/ccp.c
852
(opt->method == CI_DEFLATE_DRAFT? "(old#)": ""),
usr.sbin/pppd/ccp.c
853
opt->deflate_size);
usr.sbin/pppd/ccp.c
856
if (opt2 != NULL && opt2->bsd_bits != opt->bsd_bits)
usr.sbin/pppd/ccp.c
858
"BSD-Compress (%d/%d)", opt->bsd_bits,
usr.sbin/pppd/ccp.c
861
snprintf(result, sizeof result, "BSD-Compress (%d)", opt->bsd_bits);
usr.sbin/pppd/ccp.c
868
snprintf(result, sizeof result, "Method %d", opt->method);
usr.sbin/pppd/ipcp.c
350
#define ADDCIVJ(opt, neg, val, old, maxslotindex, cflag) \
usr.sbin/pppd/ipcp.c
354
PUTCHAR(opt, ucp); \
usr.sbin/pppd/ipcp.c
366
#define ADDCIADDR(opt, neg, old, val1, val2) \
usr.sbin/pppd/ipcp.c
371
PUTCHAR(opt, ucp); \
usr.sbin/pppd/ipcp.c
415
#define ACKCIVJ(opt, neg, val, old, maxslotindex, cflag) \
usr.sbin/pppd/ipcp.c
423
citype != opt) \
usr.sbin/pppd/ipcp.c
438
#define ACKCIADDR(opt, neg, old, val1, val2) \
usr.sbin/pppd/ipcp.c
447
citype != opt) \
usr.sbin/pppd/ipcp.c
507
#define NAKCIADDR(opt, neg, old, code) \
usr.sbin/pppd/ipcp.c
511
p[0] == opt) { \
usr.sbin/pppd/ipcp.c
526
#define NAKCIVJ(opt, neg, code) \
usr.sbin/pppd/ipcp.c
530
p[0] == opt) { \
usr.sbin/pppd/ipcp.c
672
#define REJCIADDR(opt, neg, old, val1, val2) \
usr.sbin/pppd/ipcp.c
676
p[0] == opt) { \
usr.sbin/pppd/ipcp.c
695
#define REJCIVJ(opt, neg, val, old, maxslot, cflag) \
usr.sbin/pppd/ipcp.c
699
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1002
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1006
LCPDEBUG((LOG_INFO, "lcp_rejci rejected void opt %d", opt)); \
usr.sbin/pppd/lcp.c
1008
#define REJCISHORT(opt, neg, val) \
usr.sbin/pppd/lcp.c
1012
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1020
LCPDEBUG((LOG_INFO,"lcp_rejci rejected short opt %d", opt)); \
usr.sbin/pppd/lcp.c
1022
#define REJCICHAP(opt, neg, val, digest) \
usr.sbin/pppd/lcp.c
1026
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1036
LCPDEBUG((LOG_INFO,"lcp_rejci rejected chap opt %d", opt)); \
usr.sbin/pppd/lcp.c
1038
#define REJCILONG(opt, neg, val) \
usr.sbin/pppd/lcp.c
1042
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1050
LCPDEBUG((LOG_INFO,"lcp_rejci rejected long opt %d", opt)); \
usr.sbin/pppd/lcp.c
1052
#define REJCILQR(opt, neg, val) \
usr.sbin/pppd/lcp.c
1056
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1065
LCPDEBUG((LOG_INFO,"lcp_rejci rejected LQR opt %d", opt)); \
usr.sbin/pppd/lcp.c
1067
#define REJCICBCP(opt, neg, val) \
usr.sbin/pppd/lcp.c
1071
p[0] == opt) { \
usr.sbin/pppd/lcp.c
1079
LCPDEBUG((LOG_INFO,"lcp_rejci rejected Callback opt %d", opt)); \
usr.sbin/pppd/lcp.c
487
#define ADDCIVOID(opt, neg) \
usr.sbin/pppd/lcp.c
489
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
492
#define ADDCISHORT(opt, neg, val) \
usr.sbin/pppd/lcp.c
494
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
498
#define ADDCICHAP(opt, neg, val, digest) \
usr.sbin/pppd/lcp.c
500
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
505
#define ADDCILONG(opt, neg, val) \
usr.sbin/pppd/lcp.c
507
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
511
#define ADDCILQR(opt, neg, val) \
usr.sbin/pppd/lcp.c
513
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
518
#define ADDCICHAR(opt, neg, val) \
usr.sbin/pppd/lcp.c
520
PUTCHAR(opt, ucp); \
usr.sbin/pppd/lcp.c
564
#define ACKCIVOID(opt, neg) \
usr.sbin/pppd/lcp.c
571
citype != opt) \
usr.sbin/pppd/lcp.c
574
#define ACKCISHORT(opt, neg, val) \
usr.sbin/pppd/lcp.c
581
citype != opt) \
usr.sbin/pppd/lcp.c
587
#define ACKCICHAR(opt, neg, val) \
usr.sbin/pppd/lcp.c
594
citype != opt) \
usr.sbin/pppd/lcp.c
600
#define ACKCICHAP(opt, neg, val, digest) \
usr.sbin/pppd/lcp.c
607
citype != opt) \
usr.sbin/pppd/lcp.c
616
#define ACKCILONG(opt, neg, val) \
usr.sbin/pppd/lcp.c
623
citype != opt) \
usr.sbin/pppd/lcp.c
629
#define ACKCILQR(opt, neg, val) \
usr.sbin/pppd/lcp.c
636
citype != opt) \
usr.sbin/pppd/lcp.c
699
#define NAKCIVOID(opt, neg, code) \
usr.sbin/pppd/lcp.c
703
p[0] == opt) { \
usr.sbin/pppd/lcp.c
709
#define NAKCICHAP(opt, neg, code) \
usr.sbin/pppd/lcp.c
713
p[0] == opt) { \
usr.sbin/pppd/lcp.c
721
#define NAKCICHAR(opt, neg, code) \
usr.sbin/pppd/lcp.c
725
p[0] == opt) { \
usr.sbin/pppd/lcp.c
732
#define NAKCISHORT(opt, neg, code) \
usr.sbin/pppd/lcp.c
736
p[0] == opt) { \
usr.sbin/pppd/lcp.c
743
#define NAKCILONG(opt, neg, code) \
usr.sbin/pppd/lcp.c
747
p[0] == opt) { \
usr.sbin/pppd/lcp.c
754
#define NAKCILQR(opt, neg, code) \
usr.sbin/pppd/lcp.c
758
p[0] == opt) { \
usr.sbin/pppd/lcp.c
998
#define REJCIVOID(opt, neg) \
usr.sbin/quotaon/quotaon.c
198
char *opt;
usr.sbin/quotaon/quotaon.c
211
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
usr.sbin/quotaon/quotaon.c
212
if ((cp = strchr(opt, '=')) != NULL)
usr.sbin/quotaon/quotaon.c
214
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
usr.sbin/quotaon/quotaon.c
216
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
usr.sbin/quotaon/quotaon.c
219
if (!force && !opt)
usr.sbin/repquota/repquota.c
257
char *opt;
usr.sbin/repquota/repquota.c
270
for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) {
usr.sbin/repquota/repquota.c
271
if ((cp = strchr(opt, '=')))
usr.sbin/repquota/repquota.c
273
if (type == USRQUOTA && strcmp(opt, usrname) == 0)
usr.sbin/repquota/repquota.c
275
if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
usr.sbin/repquota/repquota.c
278
if (!opt)
usr.sbin/ripd/kroute.c
114
int opt = 0, rcvbuf, default_rcvbuf;
usr.sbin/ripd/kroute.c
125
&opt, sizeof(opt)) == -1)
usr.sbin/smtpd/smtp.c
128
int opt;
usr.sbin/smtpd/smtp.c
142
opt = 1;
usr.sbin/smtpd/smtp.c
143
if (setsockopt(l->fd, SOL_SOCKET, SO_REUSEADDR, &opt,
usr.sbin/smtpd/smtp.c
144
sizeof(opt)) == -1)
usr.sbin/smtpd/smtp_session.c
2341
char *opt;
usr.sbin/smtpd/smtp_session.c
2356
while ((opt = strsep(©, " "))) {
usr.sbin/smtpd/smtp_session.c
2357
if (*opt == '\0')
usr.sbin/smtpd/smtp_session.c
2360
if (strncasecmp(opt, "AUTH=", 5) == 0)
usr.sbin/smtpd/smtp_session.c
2362
else if (strncasecmp(opt, "SIZE=", 5) == 0)
usr.sbin/smtpd/smtp_session.c
2364
else if (strcasecmp(opt, "BODY=7BIT") == 0)
usr.sbin/smtpd/smtp_session.c
2367
else if (strcasecmp(opt, "BODY=8BITMIME") == 0)
usr.sbin/smtpd/smtp_session.c
2369
else if (ADVERTISE_EXT_DSN(tx->session) && strncasecmp(opt, "RET=", 4) == 0) {
usr.sbin/smtpd/smtp_session.c
2370
opt += 4;
usr.sbin/smtpd/smtp_session.c
2371
if (strcasecmp(opt, "HDRS") == 0)
usr.sbin/smtpd/smtp_session.c
2373
else if (strcasecmp(opt, "FULL") == 0)
usr.sbin/smtpd/smtp_session.c
2375
} else if (ADVERTISE_EXT_DSN(tx->session) && strncasecmp(opt, "ENVID=", 6) == 0) {
usr.sbin/smtpd/smtp_session.c
2376
opt += 6;
usr.sbin/smtpd/smtp_session.c
2377
if (strlcpy(tx->evp.dsn_envid, opt, sizeof(tx->evp.dsn_envid))
usr.sbin/smtpd/smtp_session.c
2382
esc_description(ESC_INVALID_COMMAND_ARGUMENTS), opt);
usr.sbin/smtpd/smtp_session.c
2389
esc_description(ESC_INVALID_COMMAND_ARGUMENTS), opt);
usr.sbin/smtpd/smtp_session.c
2422
char *opt, *p;
usr.sbin/smtpd/smtp_session.c
2445
while ((opt = strsep(©, " "))) {
usr.sbin/smtpd/smtp_session.c
2446
if (*opt == '\0')
usr.sbin/smtpd/smtp_session.c
2449
if (ADVERTISE_EXT_DSN(tx->session) && strncasecmp(opt, "NOTIFY=", 7) == 0) {
usr.sbin/smtpd/smtp_session.c
2450
opt += 7;
usr.sbin/smtpd/smtp_session.c
2451
while ((p = strsep(&opt, ","))) {
usr.sbin/smtpd/smtp_session.c
2471
strncasecmp(opt, "ORCPT=", 6) == 0) {
usr.sbin/smtpd/smtp_session.c
2474
opt += 6;
usr.sbin/smtpd/smtp_session.c
2476
if ((p = strchr(opt, ';')) == NULL ||
usr.sbin/smtpd/smtp_session.c
2478
strlcpy(tx->evp.dsn_orcpt, opt, len) >= len) {
usr.sbin/smtpd/smtp_session.c
2484
smtp_reply(tx->session, "503 Unsupported option %s", opt);
usr.sbin/smtpd/smtpc.c
63
parse_tls_options(char *opt)
usr.sbin/smtpd/smtpc.c
81
while (*opt) {
usr.sbin/smtpd/smtpc.c
82
switch (getsubopt(&opt, tokens, &value)) {
usr.sbin/tcpdump/ospf6.h
128
u_int32_t opt;
usr.sbin/tcpdump/ospf6.h
131
#define rla_options rla_flgandopt.opt
usr.sbin/tcpdump/ospf6.h
184
u_int32_t opt;
usr.sbin/tcpdump/ospf6.h
187
#define llsa_options llsa_priandopt.opt
usr.sbin/tcpdump/ospf6.h
235
u_int32_t opt;
usr.sbin/tcpdump/ospf6.h
238
#define hello_options hello_priandopt.opt
usr.sbin/tcpdump/pfctl_osfp.c
1038
opt = fp->fp_tcpopts >> (i * PF_OSFP_TCPOPT_BITS);
usr.sbin/tcpdump/pfctl_osfp.c
1039
opt &= (1 << PF_OSFP_TCPOPT_BITS) - 1;
usr.sbin/tcpdump/pfctl_osfp.c
1040
switch (opt) {
usr.sbin/tcpdump/pfctl_osfp.c
881
int i, opt;
usr.sbin/tcpdump/pfctl_osfp.c
894
switch ((opt = toupper(tcpopts[i++]))) {
usr.sbin/tcpdump/pfctl_osfp.c
898
(opt == 'N' ? PF_OSFP_TCPOPT_NOP :
usr.sbin/tcpdump/pfctl_osfp.c
905
if (opt == 'W') {
usr.sbin/tcpdump/pfctl_osfp.c
916
(opt == 'W' ? PF_OSFP_TCPOPT_WSCALE :
usr.sbin/tcpdump/pfctl_osfp.c
933
filename, lineno, tcpopts[i], opt);
usr.sbin/tcpdump/pfctl_osfp.c
954
filename, lineno, opt);
usr.sbin/tcpdump/pfctl_osfp.c
998
int i, opt;
usr.sbin/tcpdump/print-bgp.c
757
bgp_open_capa_print(const u_char *opt, int length)
usr.sbin/tcpdump/print-bgp.c
763
TCHECK2(opt[i], 2);
usr.sbin/tcpdump/print-bgp.c
765
cap_type=opt[i];
usr.sbin/tcpdump/print-bgp.c
766
cap_len=opt[i+1];
usr.sbin/tcpdump/print-bgp.c
771
TCHECK2(opt[i+2],cap_len);
usr.sbin/tcpdump/print-bgp.c
781
af_name(EXTRACT_16BITS(opt+i)),
usr.sbin/tcpdump/print-bgp.c
782
bgp_attr_nlri_safi(opt[i+3]));
usr.sbin/tcpdump/print-bgp.c
795
printf(" [%s]", bgp_roletype(opt[i]));
usr.sbin/tcpdump/print-bgp.c
803
((opt[i])&0x80) ? "R" : "none",
usr.sbin/tcpdump/print-bgp.c
804
EXTRACT_16BITS(opt+i)&0xfff);
usr.sbin/tcpdump/print-bgp.c
809
af_name(EXTRACT_16BITS(opt+i+cap_offset)),
usr.sbin/tcpdump/print-bgp.c
810
bgp_attr_nlri_safi(opt[i+cap_offset+2]),
usr.sbin/tcpdump/print-bgp.c
811
((opt[i+cap_offset+3])&0x80) ?
usr.sbin/tcpdump/print-bgp.c
823
printf("%u", EXTRACT_32BITS(opt+i));
usr.sbin/tcpdump/print-bgp.c
845
const u_char *opt;
usr.sbin/tcpdump/print-bgp.c
862
opt = &((const struct bgp_open *)dat)->bgpo_optlen;
usr.sbin/tcpdump/print-bgp.c
863
opt++;
usr.sbin/tcpdump/print-bgp.c
867
TCHECK2(opt[i], BGP_OPT_SIZE);
usr.sbin/tcpdump/print-bgp.c
868
memcpy(&bgpopt, &opt[i], BGP_OPT_SIZE);
usr.sbin/tcpdump/print-bgp.c
881
bgp_open_capa_print(opt + i + BGP_OPT_SIZE,
usr.sbin/tcpdump/print-dhcp6.c
339
uint16_t opt, len;
usr.sbin/tcpdump/print-dhcp6.c
341
if (l < sizeof(opt)) {
usr.sbin/tcpdump/print-dhcp6.c
345
opt = EXTRACT_16BITS(p);
usr.sbin/tcpdump/print-dhcp6.c
346
p += sizeof(opt);
usr.sbin/tcpdump/print-dhcp6.c
347
l -= sizeof(opt);
usr.sbin/tcpdump/print-dhcp6.c
363
if (opt == 5)
usr.sbin/tcpdump/print-dhcp6.c
366
printf("option %u", opt);
usr.sbin/tcpdump/print-dhcp6.c
369
dhcp6opt_default(opt, p, len);
usr.sbin/tcpdump/print-dhcp6.c
373
return (sizeof(opt) + sizeof(len) + len);
usr.sbin/tcpdump/print-dhcp6.c
591
uint16_t opt, len;
usr.sbin/tcpdump/print-dhcp6.c
593
if (l < sizeof(opt)) {
usr.sbin/tcpdump/print-dhcp6.c
597
opt = EXTRACT_16BITS(p);
usr.sbin/tcpdump/print-dhcp6.c
598
p += sizeof(opt);
usr.sbin/tcpdump/print-dhcp6.c
599
l -= sizeof(opt);
usr.sbin/tcpdump/print-dhcp6.c
615
if (opt == 26)
usr.sbin/tcpdump/print-dhcp6.c
618
printf("option %u", opt);
usr.sbin/tcpdump/print-dhcp6.c
621
dhcp6opt_default(opt, p, len);
usr.sbin/tcpdump/print-dhcp6.c
625
return (sizeof(opt) + sizeof(len) + len);
usr.sbin/tcpdump/print-tcp.c
456
int i, opt, len, datalen;
usr.sbin/tcpdump/print-tcp.c
464
opt = *cp++;
usr.sbin/tcpdump/print-tcp.c
465
if (ZEROLENOPT(opt))
usr.sbin/tcpdump/print-tcp.c
480
switch (opt) {
usr.sbin/tcpdump/print-tcp.c
594
printf("opt-%d:", opt);
usr.sbin/tcpdump/print-tcp.c
609
if (!ZEROLENOPT(opt))
usr.sbin/tcpdump/print-tcp.c
614
if (opt == TCPOPT_EOL)
usr.sbin/unbound/libunbound/libunbound.c
413
ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val)
usr.sbin/unbound/libunbound/libunbound.c
420
if(!config_set_option(ctx->env->cfg, opt, val)) {
usr.sbin/unbound/libunbound/libunbound.c
429
ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str)
usr.sbin/unbound/libunbound/libunbound.c
433
r = config_get_option_collate(ctx->env->cfg, opt, str);
usr.sbin/unbound/libunbound/unbound.h
293
int ub_ctx_set_option(struct ub_ctx* ctx, const char* opt, const char* val);
usr.sbin/unbound/libunbound/unbound.h
309
int ub_ctx_get_option(struct ub_ctx* ctx, const char* opt, char** str);
usr.sbin/unbound/services/listen_dnsport.c
1187
int opt = SOF_TIMESTAMPING_RX_SOFTWARE | SOF_TIMESTAMPING_SOFTWARE;
usr.sbin/unbound/services/listen_dnsport.c
1188
if (setsockopt(s, SOL_SOCKET, SO_TIMESTAMPNS, (void*)&opt, (socklen_t)sizeof(opt)) < 0) {
usr.sbin/unbound/services/mesh.c
1603
struct edns_option* opt;
usr.sbin/unbound/services/mesh.c
1614
opt = edns_opt_list_find(qstate->edns_opts_back_in,
usr.sbin/unbound/services/mesh.c
1616
if(!opt) return;
usr.sbin/unbound/services/mesh.c
1617
agent_domain_len = opt->opt_len;
usr.sbin/unbound/services/mesh.c
1618
agent_domain = opt->opt_data;
usr.sbin/unbound/services/mesh.c
783
struct edns_option* opt = NULL;
usr.sbin/unbound/services/mesh.c
804
opt = edns_opt_list_find(edns_list, mesh->env->cfg->client_subnet_opcode);
usr.sbin/unbound/services/mesh.c
805
if(opt) {
usr.sbin/unbound/services/mesh.c
807
if(!edns_opt_list_append(&s->s.edns_opts_front_in, opt->opt_code,
usr.sbin/unbound/services/mesh.c
808
opt->opt_len, opt->opt_data, s->s.region)) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
1021
checkconf(const char* cfgfile, const char* opt, int final, int quiet)
usr.sbin/unbound/smallapp/unbound-checkconf.c
1039
if(opt) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
1040
print_option(cfg, opt, final);
usr.sbin/unbound/smallapp/unbound-checkconf.c
107
print_option(struct config_file* cfg, const char* opt, int final)
usr.sbin/unbound/smallapp/unbound-checkconf.c
1070
const char* opt = NULL;
usr.sbin/unbound/smallapp/unbound-checkconf.c
1087
opt = optarg;
usr.sbin/unbound/smallapp/unbound-checkconf.c
109
if(strcmp(opt, "pidfile") == 0 && final) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
1109
checkconf(f, opt, final, quiet);
usr.sbin/unbound/smallapp/unbound-checkconf.c
116
if(strcmp(opt, "auto-trust-anchor-file") == 0 && final) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
126
if(!config_get_option(cfg, opt, config_print_func, stdout))
usr.sbin/unbound/smallapp/unbound-checkconf.c
127
fatal_exit("cannot print option '%s'", opt);
usr.sbin/unbound/testcode/readzone.c
67
int opt;
usr.sbin/unbound/testcode/readzone.c
70
while ((opt = getopt(argc, argv, "hu")) != -1) {
usr.sbin/unbound/testcode/readzone.c
71
switch (opt) {
usr.sbin/unbound/testcode/unitmain.c
1053
struct edns_option* opt;
usr.sbin/unbound/testcode/unitmain.c
1054
for(opt = edns->opt_list_in; opt; opt = opt->next) {
usr.sbin/unbound/testcode/unitmain.c
1055
if(opt->opt_code == LDNS_EDNS_EDE) {
usr.sbin/unbound/testcode/unitmain.c
1057
if(opt->opt_len > 2)
usr.sbin/unbound/testcode/unitmain.c
1059
if(opt->opt_len >= 2 && sldns_read_uint16(
usr.sbin/unbound/testcode/unitmain.c
1060
opt->opt_data) == LDNS_EDE_OTHER)
usr.sbin/unbound/util/config_file.c
1025
#define O_DEC(opt, str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
1029
#define O_UNS(opt, str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
1033
#define O_YNO(opt, str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
1036
#define O_STR(opt, str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
1039
#define O_IFC(opt, str, num, arr) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
1042
#define O_MEM(opt, str, var) if(strcmp(opt, str)==0) { \
usr.sbin/unbound/util/config_file.c
1049
#define O_LST(opt, name, lst) if(strcmp(opt, name)==0) { \
usr.sbin/unbound/util/config_file.c
1055
#define O_LS2(opt, name, lst) if(strcmp(opt, name)==0) { \
usr.sbin/unbound/util/config_file.c
1063
#define O_LS3(opt, name, lst) if(strcmp(opt, name)==0) { \
usr.sbin/unbound/util/config_file.c
1071
#define O_LTG(opt, name, lst) if(strcmp(opt, name)==0) { \
usr.sbin/unbound/util/config_file.c
1085
config_get_option(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/config_file.c
1090
if(!opt) return 0;
usr.sbin/unbound/util/config_file.c
1091
if(opt && opt[strlen(opt)-1] == ':' && strlen(opt)<sizeof(nopt)) {
usr.sbin/unbound/util/config_file.c
1092
memmove(nopt, opt, strlen(opt));
usr.sbin/unbound/util/config_file.c
1093
nopt[strlen(opt)-1] = 0;
usr.sbin/unbound/util/config_file.c
1094
opt = nopt;
usr.sbin/unbound/util/config_file.c
1097
O_DEC(opt, "verbosity", verbosity)
usr.sbin/unbound/util/config_file.c
1098
else O_DEC(opt, "statistics-interval", stat_interval)
usr.sbin/unbound/util/config_file.c
1099
else O_YNO(opt, "statistics-cumulative", stat_cumulative)
usr.sbin/unbound/util/config_file.c
1100
else O_YNO(opt, "extended-statistics", stat_extended)
usr.sbin/unbound/util/config_file.c
1101
else O_YNO(opt, "statistics-inhibit-zero", stat_inhibit_zero)
usr.sbin/unbound/util/config_file.c
1102
else O_YNO(opt, "shm-enable", shm_enable)
usr.sbin/unbound/util/config_file.c
1103
else O_DEC(opt, "shm-key", shm_key)
usr.sbin/unbound/util/config_file.c
1104
else O_YNO(opt, "use-syslog", use_syslog)
usr.sbin/unbound/util/config_file.c
1105
else O_STR(opt, "log-identity", log_identity)
usr.sbin/unbound/util/config_file.c
1106
else O_YNO(opt, "log-time-ascii", log_time_ascii)
usr.sbin/unbound/util/config_file.c
1107
else O_YNO(opt, "log-time-iso", log_time_iso)
usr.sbin/unbound/util/config_file.c
1108
else O_DEC(opt, "num-threads", num_threads)
usr.sbin/unbound/util/config_file.c
1109
else O_IFC(opt, "interface", num_ifs, ifs)
usr.sbin/unbound/util/config_file.c
1110
else O_IFC(opt, "outgoing-interface", num_out_ifs, out_ifs)
usr.sbin/unbound/util/config_file.c
1111
else O_YNO(opt, "interface-automatic", if_automatic)
usr.sbin/unbound/util/config_file.c
1112
else O_STR(opt, "interface-automatic-ports", if_automatic_ports)
usr.sbin/unbound/util/config_file.c
1113
else O_DEC(opt, "port", port)
usr.sbin/unbound/util/config_file.c
1114
else O_DEC(opt, "outgoing-range", outgoing_num_ports)
usr.sbin/unbound/util/config_file.c
1115
else O_DEC(opt, "outgoing-num-tcp", outgoing_num_tcp)
usr.sbin/unbound/util/config_file.c
1116
else O_DEC(opt, "incoming-num-tcp", incoming_num_tcp)
usr.sbin/unbound/util/config_file.c
1117
else O_MEM(opt, "stream-wait-size", stream_wait_size)
usr.sbin/unbound/util/config_file.c
1118
else O_DEC(opt, "edns-buffer-size", edns_buffer_size)
usr.sbin/unbound/util/config_file.c
1119
else O_DEC(opt, "msg-buffer-size", msg_buffer_size)
usr.sbin/unbound/util/config_file.c
1120
else O_MEM(opt, "msg-cache-size", msg_cache_size)
usr.sbin/unbound/util/config_file.c
1121
else O_DEC(opt, "msg-cache-slabs", msg_cache_slabs)
usr.sbin/unbound/util/config_file.c
1122
else O_DEC(opt, "num-queries-per-thread", num_queries_per_thread)
usr.sbin/unbound/util/config_file.c
1123
else O_UNS(opt, "jostle-timeout", jostle_time)
usr.sbin/unbound/util/config_file.c
1124
else O_MEM(opt, "so-rcvbuf", so_rcvbuf)
usr.sbin/unbound/util/config_file.c
1125
else O_MEM(opt, "so-sndbuf", so_sndbuf)
usr.sbin/unbound/util/config_file.c
1126
else O_YNO(opt, "so-reuseport", so_reuseport)
usr.sbin/unbound/util/config_file.c
1127
else O_YNO(opt, "ip-transparent", ip_transparent)
usr.sbin/unbound/util/config_file.c
1128
else O_YNO(opt, "ip-freebind", ip_freebind)
usr.sbin/unbound/util/config_file.c
1129
else O_DEC(opt, "ip-dscp", ip_dscp)
usr.sbin/unbound/util/config_file.c
1130
else O_MEM(opt, "rrset-cache-size", rrset_cache_size)
usr.sbin/unbound/util/config_file.c
1131
else O_DEC(opt, "rrset-cache-slabs", rrset_cache_slabs)
usr.sbin/unbound/util/config_file.c
1132
else O_YNO(opt, "prefetch-key", prefetch_key)
usr.sbin/unbound/util/config_file.c
1133
else O_YNO(opt, "prefetch", prefetch)
usr.sbin/unbound/util/config_file.c
1134
else O_YNO(opt, "deny-any", deny_any)
usr.sbin/unbound/util/config_file.c
1135
else O_DEC(opt, "cache-max-ttl", max_ttl)
usr.sbin/unbound/util/config_file.c
1136
else O_DEC(opt, "cache-max-negative-ttl", max_negative_ttl)
usr.sbin/unbound/util/config_file.c
1137
else O_DEC(opt, "cache-min-negative-ttl", min_negative_ttl)
usr.sbin/unbound/util/config_file.c
1138
else O_DEC(opt, "cache-min-ttl", min_ttl)
usr.sbin/unbound/util/config_file.c
1139
else O_DEC(opt, "infra-host-ttl", host_ttl)
usr.sbin/unbound/util/config_file.c
1140
else O_DEC(opt, "infra-cache-slabs", infra_cache_slabs)
usr.sbin/unbound/util/config_file.c
1141
else O_DEC(opt, "infra-cache-min-rtt", infra_cache_min_rtt)
usr.sbin/unbound/util/config_file.c
1142
else O_UNS(opt, "infra-cache-max-rtt", infra_cache_max_rtt)
usr.sbin/unbound/util/config_file.c
1143
else O_YNO(opt, "infra-keep-probing", infra_keep_probing)
usr.sbin/unbound/util/config_file.c
1144
else O_MEM(opt, "infra-cache-numhosts", infra_cache_numhosts)
usr.sbin/unbound/util/config_file.c
1145
else O_UNS(opt, "delay-close", delay_close)
usr.sbin/unbound/util/config_file.c
1146
else O_YNO(opt, "udp-connect", udp_connect)
usr.sbin/unbound/util/config_file.c
1147
else O_YNO(opt, "do-ip4", do_ip4)
usr.sbin/unbound/util/config_file.c
1148
else O_YNO(opt, "do-ip6", do_ip6)
usr.sbin/unbound/util/config_file.c
1149
else O_YNO(opt, "do-udp", do_udp)
usr.sbin/unbound/util/config_file.c
1150
else O_YNO(opt, "do-tcp", do_tcp)
usr.sbin/unbound/util/config_file.c
1151
else O_YNO(opt, "prefer-ip4", prefer_ip4)
usr.sbin/unbound/util/config_file.c
1152
else O_YNO(opt, "prefer-ip6", prefer_ip6)
usr.sbin/unbound/util/config_file.c
1153
else O_YNO(opt, "tcp-upstream", tcp_upstream)
usr.sbin/unbound/util/config_file.c
1154
else O_YNO(opt, "udp-upstream-without-downstream", udp_upstream_without_downstream)
usr.sbin/unbound/util/config_file.c
1155
else O_DEC(opt, "tcp-mss", tcp_mss)
usr.sbin/unbound/util/config_file.c
1156
else O_DEC(opt, "outgoing-tcp-mss", outgoing_tcp_mss)
usr.sbin/unbound/util/config_file.c
1157
else O_DEC(opt, "tcp-auth-query-timeout", tcp_auth_query_timeout)
usr.sbin/unbound/util/config_file.c
1158
else O_DEC(opt, "tcp-idle-timeout", tcp_idle_timeout)
usr.sbin/unbound/util/config_file.c
1159
else O_DEC(opt, "max-reuse-tcp-queries", max_reuse_tcp_queries)
usr.sbin/unbound/util/config_file.c
1160
else O_DEC(opt, "tcp-reuse-timeout", tcp_reuse_timeout)
usr.sbin/unbound/util/config_file.c
1161
else O_YNO(opt, "edns-tcp-keepalive", do_tcp_keepalive)
usr.sbin/unbound/util/config_file.c
1162
else O_DEC(opt, "edns-tcp-keepalive-timeout", tcp_keepalive_timeout)
usr.sbin/unbound/util/config_file.c
1163
else O_DEC(opt, "sock-queue-timeout", sock_queue_timeout)
usr.sbin/unbound/util/config_file.c
1164
else O_YNO(opt, "ssl-upstream", ssl_upstream)
usr.sbin/unbound/util/config_file.c
1165
else O_YNO(opt, "tls-upstream", ssl_upstream)
usr.sbin/unbound/util/config_file.c
1166
else O_STR(opt, "ssl-service-key", ssl_service_key)
usr.sbin/unbound/util/config_file.c
1167
else O_STR(opt, "tls-service-key", ssl_service_key)
usr.sbin/unbound/util/config_file.c
1168
else O_STR(opt, "ssl-service-pem", ssl_service_pem)
usr.sbin/unbound/util/config_file.c
1169
else O_STR(opt, "tls-service-pem", ssl_service_pem)
usr.sbin/unbound/util/config_file.c
1170
else O_DEC(opt, "ssl-port", ssl_port)
usr.sbin/unbound/util/config_file.c
1171
else O_DEC(opt, "tls-port", ssl_port)
usr.sbin/unbound/util/config_file.c
1172
else O_STR(opt, "ssl-cert-bundle", tls_cert_bundle)
usr.sbin/unbound/util/config_file.c
1173
else O_STR(opt, "tls-cert-bundle", tls_cert_bundle)
usr.sbin/unbound/util/config_file.c
1174
else O_YNO(opt, "tls-win-cert", tls_win_cert)
usr.sbin/unbound/util/config_file.c
1175
else O_YNO(opt, "tls-system-cert", tls_win_cert)
usr.sbin/unbound/util/config_file.c
1176
else O_LST(opt, "additional-ssl-port", tls_additional_port)
usr.sbin/unbound/util/config_file.c
1177
else O_LST(opt, "additional-tls-port", tls_additional_port)
usr.sbin/unbound/util/config_file.c
1178
else O_LST(opt, "tls-additional-ports", tls_additional_port)
usr.sbin/unbound/util/config_file.c
1179
else O_LST(opt, "tls-additional-port", tls_additional_port)
usr.sbin/unbound/util/config_file.c
1180
else O_LST(opt, "tls-session-ticket-keys", tls_session_ticket_keys.first)
usr.sbin/unbound/util/config_file.c
1181
else O_STR(opt, "tls-ciphers", tls_ciphers)
usr.sbin/unbound/util/config_file.c
1182
else O_STR(opt, "tls-ciphersuites", tls_ciphersuites)
usr.sbin/unbound/util/config_file.c
1183
else O_YNO(opt, "tls-use-sni", tls_use_sni)
usr.sbin/unbound/util/config_file.c
1184
else O_DEC(opt, "https-port", https_port)
usr.sbin/unbound/util/config_file.c
1185
else O_STR(opt, "http-endpoint", http_endpoint)
usr.sbin/unbound/util/config_file.c
1186
else O_UNS(opt, "http-max-streams", http_max_streams)
usr.sbin/unbound/util/config_file.c
1187
else O_MEM(opt, "http-query-buffer-size", http_query_buffer_size)
usr.sbin/unbound/util/config_file.c
1188
else O_MEM(opt, "http-response-buffer-size", http_response_buffer_size)
usr.sbin/unbound/util/config_file.c
1189
else O_YNO(opt, "http-nodelay", http_nodelay)
usr.sbin/unbound/util/config_file.c
1190
else O_YNO(opt, "http-notls-downstream", http_notls_downstream)
usr.sbin/unbound/util/config_file.c
1191
else O_DEC(opt, "quic-port", quic_port)
usr.sbin/unbound/util/config_file.c
1192
else O_MEM(opt, "quic-size", quic_size)
usr.sbin/unbound/util/config_file.c
1193
else O_YNO(opt, "use-systemd", use_systemd)
usr.sbin/unbound/util/config_file.c
1194
else O_YNO(opt, "do-daemonize", do_daemonize)
usr.sbin/unbound/util/config_file.c
1195
else O_STR(opt, "chroot", chrootdir)
usr.sbin/unbound/util/config_file.c
1196
else O_STR(opt, "username", username)
usr.sbin/unbound/util/config_file.c
1197
else O_STR(opt, "directory", directory)
usr.sbin/unbound/util/config_file.c
1198
else O_STR(opt, "logfile", logfile)
usr.sbin/unbound/util/config_file.c
1199
else O_YNO(opt, "log-queries", log_queries)
usr.sbin/unbound/util/config_file.c
1200
else O_YNO(opt, "log-replies", log_replies)
usr.sbin/unbound/util/config_file.c
1201
else O_YNO(opt, "log-tag-queryreply", log_tag_queryreply)
usr.sbin/unbound/util/config_file.c
1202
else O_YNO(opt, "log-local-actions", log_local_actions)
usr.sbin/unbound/util/config_file.c
1203
else O_YNO(opt, "log-servfail", log_servfail)
usr.sbin/unbound/util/config_file.c
1204
else O_YNO(opt, "log-destaddr", log_destaddr)
usr.sbin/unbound/util/config_file.c
1205
else O_STR(opt, "pidfile", pidfile)
usr.sbin/unbound/util/config_file.c
1206
else O_YNO(opt, "hide-identity", hide_identity)
usr.sbin/unbound/util/config_file.c
1207
else O_YNO(opt, "hide-version", hide_version)
usr.sbin/unbound/util/config_file.c
1208
else O_YNO(opt, "hide-trustanchor", hide_trustanchor)
usr.sbin/unbound/util/config_file.c
1209
else O_YNO(opt, "hide-http-user-agent", hide_http_user_agent)
usr.sbin/unbound/util/config_file.c
1210
else O_STR(opt, "identity", identity)
usr.sbin/unbound/util/config_file.c
1211
else O_STR(opt, "version", version)
usr.sbin/unbound/util/config_file.c
1212
else O_STR(opt, "http-user-agent", http_user_agent)
usr.sbin/unbound/util/config_file.c
1213
else O_STR(opt, "nsid", nsid_cfg_str)
usr.sbin/unbound/util/config_file.c
1214
else O_STR(opt, "target-fetch-policy", target_fetch_policy)
usr.sbin/unbound/util/config_file.c
1215
else O_YNO(opt, "harden-short-bufsize", harden_short_bufsize)
usr.sbin/unbound/util/config_file.c
1216
else O_YNO(opt, "harden-large-queries", harden_large_queries)
usr.sbin/unbound/util/config_file.c
1217
else O_YNO(opt, "harden-glue", harden_glue)
usr.sbin/unbound/util/config_file.c
1218
else O_YNO(opt, "harden-unverified-glue", harden_unverified_glue)
usr.sbin/unbound/util/config_file.c
1219
else O_YNO(opt, "harden-dnssec-stripped", harden_dnssec_stripped)
usr.sbin/unbound/util/config_file.c
1220
else O_YNO(opt, "harden-below-nxdomain", harden_below_nxdomain)
usr.sbin/unbound/util/config_file.c
1221
else O_YNO(opt, "harden-referral-path", harden_referral_path)
usr.sbin/unbound/util/config_file.c
1222
else O_YNO(opt, "harden-algo-downgrade", harden_algo_downgrade)
usr.sbin/unbound/util/config_file.c
1223
else O_YNO(opt, "harden-unknown-additional", harden_unknown_additional)
usr.sbin/unbound/util/config_file.c
1224
else O_YNO(opt, "use-caps-for-id", use_caps_bits_for_id)
usr.sbin/unbound/util/config_file.c
1225
else O_LST(opt, "caps-whitelist", caps_whitelist)
usr.sbin/unbound/util/config_file.c
1226
else O_DEC(opt, "unwanted-reply-threshold", unwanted_threshold)
usr.sbin/unbound/util/config_file.c
1227
else O_YNO(opt, "do-not-query-localhost", donotquery_localhost)
usr.sbin/unbound/util/config_file.c
1228
else O_STR(opt, "module-config", module_conf)
usr.sbin/unbound/util/config_file.c
1229
else O_DEC(opt, "val-bogus-ttl", bogus_ttl)
usr.sbin/unbound/util/config_file.c
1230
else O_YNO(opt, "val-clean-additional", val_clean_additional)
usr.sbin/unbound/util/config_file.c
1231
else O_DEC(opt, "val-log-level", val_log_level)
usr.sbin/unbound/util/config_file.c
1232
else O_YNO(opt, "val-permissive-mode", val_permissive_mode)
usr.sbin/unbound/util/config_file.c
1233
else O_YNO(opt, "aggressive-nsec", aggressive_nsec)
usr.sbin/unbound/util/config_file.c
1234
else O_YNO(opt, "ignore-cd-flag", ignore_cd)
usr.sbin/unbound/util/config_file.c
1235
else O_YNO(opt, "disable-edns-do", disable_edns_do)
usr.sbin/unbound/util/config_file.c
1236
else O_YNO(opt, "serve-expired", serve_expired)
usr.sbin/unbound/util/config_file.c
1237
else O_DEC(opt, "serve-expired-ttl", serve_expired_ttl)
usr.sbin/unbound/util/config_file.c
1238
else O_YNO(opt, "serve-expired-ttl-reset", serve_expired_ttl_reset)
usr.sbin/unbound/util/config_file.c
1239
else O_DEC(opt, "serve-expired-reply-ttl", serve_expired_reply_ttl)
usr.sbin/unbound/util/config_file.c
1240
else O_DEC(opt, "serve-expired-client-timeout", serve_expired_client_timeout)
usr.sbin/unbound/util/config_file.c
1241
else O_YNO(opt, "ede", ede)
usr.sbin/unbound/util/config_file.c
1242
else O_YNO(opt, "ede-serve-expired", ede_serve_expired)
usr.sbin/unbound/util/config_file.c
1243
else O_YNO(opt, "dns-error-reporting", dns_error_reporting)
usr.sbin/unbound/util/config_file.c
1244
else O_DEC(opt, "iter-scrub-ns", iter_scrub_ns)
usr.sbin/unbound/util/config_file.c
1245
else O_DEC(opt, "iter-scrub-cname", iter_scrub_cname)
usr.sbin/unbound/util/config_file.c
1246
else O_YNO(opt, "iter-scrub-promiscuous", iter_scrub_promiscuous)
usr.sbin/unbound/util/config_file.c
1247
else O_DEC(opt, "max-global-quota", max_global_quota)
usr.sbin/unbound/util/config_file.c
1248
else O_YNO(opt, "serve-original-ttl", serve_original_ttl)
usr.sbin/unbound/util/config_file.c
1249
else O_STR(opt, "val-nsec3-keysize-iterations",val_nsec3_key_iterations)
usr.sbin/unbound/util/config_file.c
1250
else O_YNO(opt, "zonemd-permissive-mode", zonemd_permissive_mode)
usr.sbin/unbound/util/config_file.c
1251
else O_UNS(opt, "add-holddown", add_holddown)
usr.sbin/unbound/util/config_file.c
1252
else O_UNS(opt, "del-holddown", del_holddown)
usr.sbin/unbound/util/config_file.c
1253
else O_UNS(opt, "keep-missing", keep_missing)
usr.sbin/unbound/util/config_file.c
1254
else O_YNO(opt, "permit-small-holddown", permit_small_holddown)
usr.sbin/unbound/util/config_file.c
1255
else O_MEM(opt, "key-cache-size", key_cache_size)
usr.sbin/unbound/util/config_file.c
1256
else O_DEC(opt, "key-cache-slabs", key_cache_slabs)
usr.sbin/unbound/util/config_file.c
1257
else O_MEM(opt, "neg-cache-size", neg_cache_size)
usr.sbin/unbound/util/config_file.c
1258
else O_YNO(opt, "control-enable", remote_control_enable)
usr.sbin/unbound/util/config_file.c
1259
else O_DEC(opt, "control-port", control_port)
usr.sbin/unbound/util/config_file.c
1260
else O_STR(opt, "server-key-file", server_key_file)
usr.sbin/unbound/util/config_file.c
1261
else O_STR(opt, "server-cert-file", server_cert_file)
usr.sbin/unbound/util/config_file.c
1262
else O_STR(opt, "control-key-file", control_key_file)
usr.sbin/unbound/util/config_file.c
1263
else O_STR(opt, "control-cert-file", control_cert_file)
usr.sbin/unbound/util/config_file.c
1264
else O_LST(opt, "root-hints", root_hints)
usr.sbin/unbound/util/config_file.c
1265
else O_LS2(opt, "access-control", acls)
usr.sbin/unbound/util/config_file.c
1266
else O_LS2(opt, "tcp-connection-limit", tcp_connection_limits)
usr.sbin/unbound/util/config_file.c
1267
else O_LST(opt, "do-not-query-address", donotqueryaddrs)
usr.sbin/unbound/util/config_file.c
1268
else O_LST(opt, "private-address", private_address)
usr.sbin/unbound/util/config_file.c
1269
else O_LST(opt, "private-domain", private_domain)
usr.sbin/unbound/util/config_file.c
1270
else O_LST(opt, "auto-trust-anchor-file", auto_trust_anchor_file_list)
usr.sbin/unbound/util/config_file.c
1271
else O_LST(opt, "trust-anchor-file", trust_anchor_file_list)
usr.sbin/unbound/util/config_file.c
1272
else O_LST(opt, "trust-anchor", trust_anchor_list)
usr.sbin/unbound/util/config_file.c
1273
else O_LST(opt, "trusted-keys-file", trusted_keys_file_list)
usr.sbin/unbound/util/config_file.c
1274
else O_YNO(opt, "trust-anchor-signaling", trust_anchor_signaling)
usr.sbin/unbound/util/config_file.c
1275
else O_YNO(opt, "root-key-sentinel", root_key_sentinel)
usr.sbin/unbound/util/config_file.c
1276
else O_LST(opt, "control-interface", control_ifs.first)
usr.sbin/unbound/util/config_file.c
1277
else O_LST(opt, "domain-insecure", domain_insecure)
usr.sbin/unbound/util/config_file.c
1278
else O_UNS(opt, "val-override-date", val_date_override)
usr.sbin/unbound/util/config_file.c
1279
else O_YNO(opt, "minimal-responses", minimal_responses)
usr.sbin/unbound/util/config_file.c
1280
else O_YNO(opt, "rrset-roundrobin", rrset_roundrobin)
usr.sbin/unbound/util/config_file.c
1281
else O_DEC(opt, "unknown-server-time-limit", unknown_server_time_limit)
usr.sbin/unbound/util/config_file.c
1282
else O_DEC(opt, "discard-timeout", discard_timeout)
usr.sbin/unbound/util/config_file.c
1283
else O_DEC(opt, "wait-limit", wait_limit)
usr.sbin/unbound/util/config_file.c
1284
else O_DEC(opt, "wait-limit-cookie", wait_limit_cookie)
usr.sbin/unbound/util/config_file.c
1285
else O_LS2(opt, "wait-limit-netblock", wait_limit_netblock)
usr.sbin/unbound/util/config_file.c
1286
else O_LS2(opt, "wait-limit-cookie-netblock", wait_limit_cookie_netblock)
usr.sbin/unbound/util/config_file.c
1288
else O_LST(opt, "send-client-subnet", client_subnet)
usr.sbin/unbound/util/config_file.c
1289
else O_LST(opt, "client-subnet-zone", client_subnet_zone)
usr.sbin/unbound/util/config_file.c
1290
else O_DEC(opt, "max-client-subnet-ipv4", max_client_subnet_ipv4)
usr.sbin/unbound/util/config_file.c
1291
else O_DEC(opt, "max-client-subnet-ipv6", max_client_subnet_ipv6)
usr.sbin/unbound/util/config_file.c
1292
else O_DEC(opt, "min-client-subnet-ipv4", min_client_subnet_ipv4)
usr.sbin/unbound/util/config_file.c
1293
else O_DEC(opt, "min-client-subnet-ipv6", min_client_subnet_ipv6)
usr.sbin/unbound/util/config_file.c
1294
else O_DEC(opt, "max-ecs-tree-size-ipv4", max_ecs_tree_size_ipv4)
usr.sbin/unbound/util/config_file.c
1295
else O_DEC(opt, "max-ecs-tree-size-ipv6", max_ecs_tree_size_ipv6)
usr.sbin/unbound/util/config_file.c
1296
else O_YNO(opt, "client-subnet-always-forward:",
usr.sbin/unbound/util/config_file.c
1300
else O_YNO(opt, "dnstap-enable", dnstap)
usr.sbin/unbound/util/config_file.c
1301
else O_YNO(opt, "dnstap-bidirectional", dnstap_bidirectional)
usr.sbin/unbound/util/config_file.c
1302
else O_STR(opt, "dnstap-socket-path", dnstap_socket_path)
usr.sbin/unbound/util/config_file.c
1303
else O_STR(opt, "dnstap-ip", dnstap_ip)
usr.sbin/unbound/util/config_file.c
1304
else O_YNO(opt, "dnstap-tls", dnstap_tls)
usr.sbin/unbound/util/config_file.c
1305
else O_STR(opt, "dnstap-tls-server-name", dnstap_tls_server_name)
usr.sbin/unbound/util/config_file.c
1306
else O_STR(opt, "dnstap-tls-cert-bundle", dnstap_tls_cert_bundle)
usr.sbin/unbound/util/config_file.c
1307
else O_STR(opt, "dnstap-tls-client-key-file",
usr.sbin/unbound/util/config_file.c
1309
else O_STR(opt, "dnstap-tls-client-cert-file",
usr.sbin/unbound/util/config_file.c
1311
else O_YNO(opt, "dnstap-send-identity", dnstap_send_identity)
usr.sbin/unbound/util/config_file.c
1312
else O_YNO(opt, "dnstap-send-version", dnstap_send_version)
usr.sbin/unbound/util/config_file.c
1313
else O_STR(opt, "dnstap-identity", dnstap_identity)
usr.sbin/unbound/util/config_file.c
1314
else O_STR(opt, "dnstap-version", dnstap_version)
usr.sbin/unbound/util/config_file.c
1315
else O_UNS(opt, "dnstap-sample-rate", dnstap_sample_rate)
usr.sbin/unbound/util/config_file.c
1316
else O_YNO(opt, "dnstap-log-resolver-query-messages",
usr.sbin/unbound/util/config_file.c
1318
else O_YNO(opt, "dnstap-log-resolver-response-messages",
usr.sbin/unbound/util/config_file.c
1320
else O_YNO(opt, "dnstap-log-client-query-messages",
usr.sbin/unbound/util/config_file.c
1322
else O_YNO(opt, "dnstap-log-client-response-messages",
usr.sbin/unbound/util/config_file.c
1324
else O_YNO(opt, "dnstap-log-forwarder-query-messages",
usr.sbin/unbound/util/config_file.c
1326
else O_YNO(opt, "dnstap-log-forwarder-response-messages",
usr.sbin/unbound/util/config_file.c
1330
else O_YNO(opt, "dnscrypt-enable", dnscrypt)
usr.sbin/unbound/util/config_file.c
1331
else O_DEC(opt, "dnscrypt-port", dnscrypt_port)
usr.sbin/unbound/util/config_file.c
1332
else O_STR(opt, "dnscrypt-provider", dnscrypt_provider)
usr.sbin/unbound/util/config_file.c
1333
else O_LST(opt, "dnscrypt-provider-cert", dnscrypt_provider_cert)
usr.sbin/unbound/util/config_file.c
1334
else O_LST(opt, "dnscrypt-provider-cert-rotated", dnscrypt_provider_cert_rotated)
usr.sbin/unbound/util/config_file.c
1335
else O_LST(opt, "dnscrypt-secret-key", dnscrypt_secret_key)
usr.sbin/unbound/util/config_file.c
1336
else O_MEM(opt, "dnscrypt-shared-secret-cache-size",
usr.sbin/unbound/util/config_file.c
1338
else O_DEC(opt, "dnscrypt-shared-secret-cache-slabs",
usr.sbin/unbound/util/config_file.c
1340
else O_MEM(opt, "dnscrypt-nonce-cache-size",
usr.sbin/unbound/util/config_file.c
1342
else O_DEC(opt, "dnscrypt-nonce-cache-slabs",
usr.sbin/unbound/util/config_file.c
1345
else O_YNO(opt, "unblock-lan-zones", unblock_lan_zones)
usr.sbin/unbound/util/config_file.c
1346
else O_YNO(opt, "insecure-lan-zones", insecure_lan_zones)
usr.sbin/unbound/util/config_file.c
1347
else O_DEC(opt, "max-udp-size", max_udp_size)
usr.sbin/unbound/util/config_file.c
1348
else O_LST(opt, "python-script", python_script)
usr.sbin/unbound/util/config_file.c
1349
else O_LST(opt, "dynlib-file", dynlib_file)
usr.sbin/unbound/util/config_file.c
1350
else O_YNO(opt, "disable-dnssec-lame-check", disable_dnssec_lame_check)
usr.sbin/unbound/util/config_file.c
1351
else O_DEC(opt, "ip-ratelimit-cookie", ip_ratelimit_cookie)
usr.sbin/unbound/util/config_file.c
1352
else O_DEC(opt, "ip-ratelimit", ip_ratelimit)
usr.sbin/unbound/util/config_file.c
1353
else O_DEC(opt, "ratelimit", ratelimit)
usr.sbin/unbound/util/config_file.c
1354
else O_MEM(opt, "ip-ratelimit-size", ip_ratelimit_size)
usr.sbin/unbound/util/config_file.c
1355
else O_MEM(opt, "ratelimit-size", ratelimit_size)
usr.sbin/unbound/util/config_file.c
1356
else O_DEC(opt, "ip-ratelimit-slabs", ip_ratelimit_slabs)
usr.sbin/unbound/util/config_file.c
1357
else O_DEC(opt, "ratelimit-slabs", ratelimit_slabs)
usr.sbin/unbound/util/config_file.c
1358
else O_LS2(opt, "ratelimit-for-domain", ratelimit_for_domain)
usr.sbin/unbound/util/config_file.c
1359
else O_LS2(opt, "ratelimit-below-domain", ratelimit_below_domain)
usr.sbin/unbound/util/config_file.c
1360
else O_DEC(opt, "ip-ratelimit-factor", ip_ratelimit_factor)
usr.sbin/unbound/util/config_file.c
1361
else O_DEC(opt, "ratelimit-factor", ratelimit_factor)
usr.sbin/unbound/util/config_file.c
1362
else O_YNO(opt, "ip-ratelimit-backoff", ip_ratelimit_backoff)
usr.sbin/unbound/util/config_file.c
1363
else O_YNO(opt, "ratelimit-backoff", ratelimit_backoff)
usr.sbin/unbound/util/config_file.c
1364
else O_UNS(opt, "outbound-msg-retry", outbound_msg_retry)
usr.sbin/unbound/util/config_file.c
1365
else O_UNS(opt, "max-sent-count", max_sent_count)
usr.sbin/unbound/util/config_file.c
1366
else O_UNS(opt, "max-query-restarts", max_query_restarts)
usr.sbin/unbound/util/config_file.c
1367
else O_DEC(opt, "fast-server-num", fast_server_num)
usr.sbin/unbound/util/config_file.c
1368
else O_DEC(opt, "fast-server-permil", fast_server_permil)
usr.sbin/unbound/util/config_file.c
1369
else O_DEC(opt, "val-sig-skew-min", val_sig_skew_min)
usr.sbin/unbound/util/config_file.c
1370
else O_DEC(opt, "val-sig-skew-max", val_sig_skew_max)
usr.sbin/unbound/util/config_file.c
1371
else O_DEC(opt, "val-max-restart", val_max_restart)
usr.sbin/unbound/util/config_file.c
1372
else O_YNO(opt, "qname-minimisation", qname_minimisation)
usr.sbin/unbound/util/config_file.c
1373
else O_YNO(opt, "qname-minimisation-strict", qname_minimisation_strict)
usr.sbin/unbound/util/config_file.c
1374
else O_IFC(opt, "define-tag", num_tags, tagname)
usr.sbin/unbound/util/config_file.c
1375
else O_LTG(opt, "local-zone-tag", local_zone_tags)
usr.sbin/unbound/util/config_file.c
1376
else O_LTG(opt, "access-control-tag", acl_tags)
usr.sbin/unbound/util/config_file.c
1377
else O_LTG(opt, "response-ip-tag", respip_tags)
usr.sbin/unbound/util/config_file.c
1378
else O_LS3(opt, "local-zone-override", local_zone_overrides)
usr.sbin/unbound/util/config_file.c
1379
else O_LS3(opt, "access-control-tag-action", acl_tag_actions)
usr.sbin/unbound/util/config_file.c
1380
else O_LS3(opt, "access-control-tag-data", acl_tag_datas)
usr.sbin/unbound/util/config_file.c
1381
else O_LS2(opt, "access-control-view", acl_view)
usr.sbin/unbound/util/config_file.c
1382
else O_LS2(opt, "interface-action", interface_actions)
usr.sbin/unbound/util/config_file.c
1383
else O_LTG(opt, "interface-tag", interface_tags)
usr.sbin/unbound/util/config_file.c
1384
else O_LS3(opt, "interface-tag-action", interface_tag_actions)
usr.sbin/unbound/util/config_file.c
1385
else O_LS3(opt, "interface-tag-data", interface_tag_datas)
usr.sbin/unbound/util/config_file.c
1386
else O_LS2(opt, "interface-view", interface_view)
usr.sbin/unbound/util/config_file.c
1387
else O_YNO(opt, "pad-responses", pad_responses)
usr.sbin/unbound/util/config_file.c
1388
else O_DEC(opt, "pad-responses-block-size", pad_responses_block_size)
usr.sbin/unbound/util/config_file.c
1389
else O_YNO(opt, "pad-queries", pad_queries)
usr.sbin/unbound/util/config_file.c
1390
else O_DEC(opt, "pad-queries-block-size", pad_queries_block_size)
usr.sbin/unbound/util/config_file.c
1391
else O_LS2(opt, "edns-client-strings", edns_client_strings)
usr.sbin/unbound/util/config_file.c
1392
else O_LST(opt, "proxy-protocol-port", proxy_protocol_port)
usr.sbin/unbound/util/config_file.c
1394
else O_YNO(opt, "ipsecmod-enabled", ipsecmod_enabled)
usr.sbin/unbound/util/config_file.c
1395
else O_YNO(opt, "ipsecmod-ignore-bogus", ipsecmod_ignore_bogus)
usr.sbin/unbound/util/config_file.c
1396
else O_STR(opt, "ipsecmod-hook", ipsecmod_hook)
usr.sbin/unbound/util/config_file.c
1397
else O_DEC(opt, "ipsecmod-max-ttl", ipsecmod_max_ttl)
usr.sbin/unbound/util/config_file.c
1398
else O_LST(opt, "ipsecmod-whitelist", ipsecmod_whitelist)
usr.sbin/unbound/util/config_file.c
1399
else O_YNO(opt, "ipsecmod-strict", ipsecmod_strict)
usr.sbin/unbound/util/config_file.c
1401
else O_YNO(opt, "answer-cookie", do_answer_cookie)
usr.sbin/unbound/util/config_file.c
1402
else O_STR(opt, "cookie-secret-file", cookie_secret_file)
usr.sbin/unbound/util/config_file.c
1404
else O_STR(opt, "backend", cachedb_backend)
usr.sbin/unbound/util/config_file.c
1405
else O_STR(opt, "secret-seed", cachedb_secret)
usr.sbin/unbound/util/config_file.c
1406
else O_YNO(opt, "cachedb-no-store", cachedb_no_store)
usr.sbin/unbound/util/config_file.c
1407
else O_YNO(opt, "cachedb-check-when-serve-expired", cachedb_check_when_serve_expired)
usr.sbin/unbound/util/config_file.c
1409
else O_STR(opt, "redis-server-host", redis_server_host)
usr.sbin/unbound/util/config_file.c
1410
else O_STR(opt, "redis-replica-server-host", redis_replica_server_host)
usr.sbin/unbound/util/config_file.c
1411
else O_DEC(opt, "redis-server-port", redis_server_port)
usr.sbin/unbound/util/config_file.c
1412
else O_DEC(opt, "redis-replica-server-port", redis_replica_server_port)
usr.sbin/unbound/util/config_file.c
1413
else O_STR(opt, "redis-server-path", redis_server_path)
usr.sbin/unbound/util/config_file.c
1414
else O_STR(opt, "redis-replica-server-path", redis_replica_server_path)
usr.sbin/unbound/util/config_file.c
1415
else O_STR(opt, "redis-server-password", redis_server_password)
usr.sbin/unbound/util/config_file.c
1416
else O_STR(opt, "redis-replica-server-password", redis_replica_server_password)
usr.sbin/unbound/util/config_file.c
1417
else O_DEC(opt, "redis-timeout", redis_timeout)
usr.sbin/unbound/util/config_file.c
1418
else O_DEC(opt, "redis-replica-timeout", redis_replica_timeout)
usr.sbin/unbound/util/config_file.c
1419
else O_DEC(opt, "redis-command-timeout", redis_command_timeout)
usr.sbin/unbound/util/config_file.c
1420
else O_DEC(opt, "redis-replica-command-timeout", redis_replica_command_timeout)
usr.sbin/unbound/util/config_file.c
1421
else O_DEC(opt, "redis-connect-timeout", redis_connect_timeout)
usr.sbin/unbound/util/config_file.c
1422
else O_DEC(opt, "redis-replica-connect-timeout", redis_replica_connect_timeout)
usr.sbin/unbound/util/config_file.c
1423
else O_YNO(opt, "redis-expire-records", redis_expire_records)
usr.sbin/unbound/util/config_file.c
1424
else O_DEC(opt, "redis-logical-db", redis_logical_db)
usr.sbin/unbound/util/config_file.c
1425
else O_DEC(opt, "redis-replica-logical-db", redis_replica_logical_db)
usr.sbin/unbound/util/config_file.c
1429
else O_STR(opt, "name-v4", ipset_name_v4)
usr.sbin/unbound/util/config_file.c
1430
else O_STR(opt, "name-v6", ipset_name_v6)
usr.sbin/unbound/util/config_file.c
479
#define S_NUMBER_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
482
#define S_NUMBER_NONZERO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
485
#define S_UNSIGNED_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
488
#define S_SIZET_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
491
#define S_SIZET_NONZERO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
494
#define S_YNO(str, var) if(strcmp(opt, str) == 0) \
usr.sbin/unbound/util/config_file.c
497
#define S_MEMSIZE(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
500
#define S_POW2(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
503
#define S_STR(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
506
#define S_STRLIST(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
509
#define S_STRLIST_UNIQ(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
513
#define S_STRLIST_APPEND(str, var) if(strcmp(opt, str)==0) \
usr.sbin/unbound/util/config_file.c
535
int config_set_option(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/config_file.c
539
if(!opt) return 0;
usr.sbin/unbound/util/config_file.c
540
if(opt[strlen(opt)-1] != ':' && strlen(opt)+2<sizeof(buf)) {
usr.sbin/unbound/util/config_file.c
541
snprintf(buf, sizeof(buf), "%s:", opt);
usr.sbin/unbound/util/config_file.c
542
opt = buf;
usr.sbin/unbound/util/config_file.c
545
else if(strcmp(opt, "statistics-interval:") == 0) {
usr.sbin/unbound/util/config_file.c
551
} else if(strcmp(opt, "num-threads:") == 0) {
usr.sbin/unbound/util/config_file.c
554
} else if(strcmp(opt, "outgoing-port-permit:") == 0) {
usr.sbin/unbound/util/config_file.c
557
} else if(strcmp(opt, "outgoing-port-avoid:") == 0) {
usr.sbin/unbound/util/config_file.c
560
} else if(strcmp(opt, "local-zone:") == 0) {
usr.sbin/unbound/util/config_file.c
562
} else if(strcmp(opt, "val-override-date:") == 0) {
usr.sbin/unbound/util/config_file.c
572
} else if(strcmp(opt, "local-data-ptr:") == 0) {
usr.sbin/unbound/util/config_file.c
573
char* ptr = cfg_ptr_reverse((char*)opt);
usr.sbin/unbound/util/config_file.c
575
} else if(strcmp(opt, "logfile:") == 0) {
usr.sbin/unbound/util/config_file.c
580
else if(strcmp(opt, "log-time-ascii:") == 0)
usr.sbin/unbound/util/config_file.c
583
else if(strcmp(opt, "log-time-iso:") == 0)
usr.sbin/unbound/util/config_file.c
667
else if(strcmp(opt, "cache-max-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
669
else if(strcmp(opt, "cache-max-negative-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
671
else if(strcmp(opt, "cache-min-negative-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
673
else if(strcmp(opt, "cache-min-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
675
else if(strcmp(opt, "infra-cache-min-rtt:") == 0) {
usr.sbin/unbound/util/config_file.c
679
else if(strcmp(opt, "infra-cache-max-rtt:") == 0) {
usr.sbin/unbound/util/config_file.c
700
else if(strcmp(opt, "nsid:") == 0) {
usr.sbin/unbound/util/config_file.c
753
else if(strcmp(opt, "serve-expired:") == 0)
usr.sbin/unbound/util/config_file.c
756
else if(strcmp(opt, "serve-expired-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
758
else if(strcmp(opt, "serve-expired-ttl-reset:") == 0)
usr.sbin/unbound/util/config_file.c
761
else if(strcmp(opt, "serve-expired-reply-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
777
else if(strcmp(opt, "permit-small-holddown:") == 0)
usr.sbin/unbound/util/config_file.c
854
else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) {
usr.sbin/unbound/util/config_file.c
858
else if(strcmp(opt, "ip-ratelimit:") == 0) {
usr.sbin/unbound/util/config_file.c
862
else if(strcmp(opt, "ratelimit:") == 0) {
usr.sbin/unbound/util/config_file.c
889
else if(strcmp(opt, "ipsecmod-max-ttl:") == 0)
usr.sbin/unbound/util/config_file.c
899
else if(strcmp(opt, "define-tag:") ==0) {
usr.sbin/unbound/util/config_file.c
903
} else if(strcmp(opt, "val-sig-skew-min:") == 0)
usr.sbin/unbound/util/config_file.c
905
else if(strcmp(opt, "val-sig-skew-max:") == 0)
usr.sbin/unbound/util/config_file.c
907
else if(strcmp(opt, "val-max-restart:") == 0)
usr.sbin/unbound/util/config_file.c
909
else if (strcmp(opt, "outgoing-interface:") == 0) {
usr.sbin/unbound/util/config_file.c
962
int config_get_option_list(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/config_file.c
968
if(!config_get_option(cfg, opt, config_collate_func, &m))
usr.sbin/unbound/util/config_file.c
979
config_get_option_collate(struct config_file* cfg, const char* opt, char** str)
usr.sbin/unbound/util/config_file.c
984
if((r = config_get_option_list(cfg, opt, &list)) != 0)
usr.sbin/unbound/util/config_file.h
1036
int config_get_option(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/config_file.h
1046
int config_get_option_list(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/config_file.h
1056
int config_get_option_collate(struct config_file* cfg, const char* opt,
usr.sbin/unbound/util/data/msgencode.c
811
struct edns_option* opt;
usr.sbin/unbound/util/data/msgencode.c
814
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
815
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
817
for(opt = edns->opt_list_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
818
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
828
struct edns_option* opt;
usr.sbin/unbound/util/data/msgencode.c
831
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
832
if(opt->opt_code == code)
usr.sbin/unbound/util/data/msgencode.c
833
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
835
for(opt = edns->opt_list_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
836
if(opt->opt_code == code)
usr.sbin/unbound/util/data/msgencode.c
837
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
846
struct edns_option* opt;
usr.sbin/unbound/util/data/msgencode.c
850
for(opt = edns->opt_list_inplace_cb_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
851
if(opt->opt_code == LDNS_EDNS_EDE) {
usr.sbin/unbound/util/data/msgencode.c
852
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
853
if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
usr.sbin/unbound/util/data/msgencode.c
854
if(opt->opt_len >= 2 && sldns_read_uint16(
usr.sbin/unbound/util/data/msgencode.c
855
opt->opt_data) == LDNS_EDE_OTHER) {
usr.sbin/unbound/util/data/msgencode.c
860
for(opt = edns->opt_list_out; opt; opt = opt->next) {
usr.sbin/unbound/util/data/msgencode.c
861
if(opt->opt_code == LDNS_EDNS_EDE) {
usr.sbin/unbound/util/data/msgencode.c
862
rdatalen += 4 + opt->opt_len;
usr.sbin/unbound/util/data/msgencode.c
863
if(opt->opt_len > 2) *txt_size += opt->opt_len - 2;
usr.sbin/unbound/util/data/msgencode.c
864
if(opt->opt_len >= 2 && sldns_read_uint16(
usr.sbin/unbound/util/data/msgencode.c
865
opt->opt_data) == LDNS_EDE_OTHER) {
usr.sbin/unbound/util/data/msgencode.c
922
struct edns_option* opt;
usr.sbin/unbound/util/data/msgencode.c
940
for(opt=edns->opt_list_inplace_cb_out; opt; opt=opt->next) {
usr.sbin/unbound/util/data/msgencode.c
941
if (opt->opt_code == LDNS_EDNS_PADDING) {
usr.sbin/unbound/util/data/msgencode.c
942
padding_option = opt;
usr.sbin/unbound/util/data/msgencode.c
945
sldns_buffer_write_u16(pkt, opt->opt_code);
usr.sbin/unbound/util/data/msgencode.c
946
sldns_buffer_write_u16(pkt, opt->opt_len);
usr.sbin/unbound/util/data/msgencode.c
947
if(opt->opt_len != 0)
usr.sbin/unbound/util/data/msgencode.c
948
sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
usr.sbin/unbound/util/data/msgencode.c
950
for(opt=edns->opt_list_out; opt; opt=opt->next) {
usr.sbin/unbound/util/data/msgencode.c
951
if (opt->opt_code == LDNS_EDNS_PADDING) {
usr.sbin/unbound/util/data/msgencode.c
952
padding_option = opt;
usr.sbin/unbound/util/data/msgencode.c
955
sldns_buffer_write_u16(pkt, opt->opt_code);
usr.sbin/unbound/util/data/msgencode.c
956
sldns_buffer_write_u16(pkt, opt->opt_len);
usr.sbin/unbound/util/data/msgencode.c
957
if(opt->opt_len != 0)
usr.sbin/unbound/util/data/msgencode.c
958
sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
usr.sbin/unbound/util/data/msgreply.c
1111
struct edns_option* opt;
usr.sbin/unbound/util/data/msgreply.c
1115
opt = (struct edns_option*)regional_alloc(region, sizeof(*opt));
usr.sbin/unbound/util/data/msgreply.c
1116
if(!opt)
usr.sbin/unbound/util/data/msgreply.c
1118
opt->next = NULL;
usr.sbin/unbound/util/data/msgreply.c
1119
opt->opt_code = LDNS_EDNS_EDE;
usr.sbin/unbound/util/data/msgreply.c
1120
opt->opt_len = txt_len + sizeof(uint16_t);
usr.sbin/unbound/util/data/msgreply.c
1121
opt->opt_data = regional_alloc(region, txt_len + sizeof(uint16_t));
usr.sbin/unbound/util/data/msgreply.c
1122
if(!opt->opt_data)
usr.sbin/unbound/util/data/msgreply.c
1124
sldns_write_uint16(opt->opt_data, (uint16_t)code);
usr.sbin/unbound/util/data/msgreply.c
1126
memmove(opt->opt_data + 2, txt, txt_len);
usr.sbin/unbound/util/data/msgreply.c
1133
*prevp = opt;
usr.sbin/unbound/util/data/msgreply.c
1151
struct edns_option* opt;
usr.sbin/unbound/util/data/msgreply.c
1154
opt = (struct edns_option*)regional_alloc(region, sizeof(*opt));
usr.sbin/unbound/util/data/msgreply.c
1155
if(!opt)
usr.sbin/unbound/util/data/msgreply.c
1157
opt->next = NULL;
usr.sbin/unbound/util/data/msgreply.c
1158
opt->opt_code = code;
usr.sbin/unbound/util/data/msgreply.c
1159
opt->opt_len = len;
usr.sbin/unbound/util/data/msgreply.c
1160
opt->opt_data = NULL;
usr.sbin/unbound/util/data/msgreply.c
1162
opt->opt_data = regional_alloc_init(region, data, len);
usr.sbin/unbound/util/data/msgreply.c
1163
if(!opt->opt_data)
usr.sbin/unbound/util/data/msgreply.c
1172
*prevp = opt;
usr.sbin/wsmoused/wsmoused.c
439
int opt;
usr.sbin/wsmoused/wsmoused.c
443
while ((opt = (getopt(argc, argv, GETOPT_STRING))) != -1) {
usr.sbin/wsmoused/wsmoused.c
444
switch (opt) {