Symbol: opts
bin/ksh/misc.c
192
} opts[NELEM(sh_options)];
bin/ksh/misc.c
205
oi->opt_width, oi->opts[i].name,
bin/ksh/misc.c
206
Flag(oi->opts[i].flag) ? "on" : "off");
bin/ksh/misc.c
226
oi.opts[n].name = sh_options[ele].name;
bin/ksh/misc.c
227
oi.opts[n++].flag = ele;
bin/ksh/misc.c
327
char *opts;
bin/ksh/misc.c
362
opts = cmd_opts;
bin/ksh/misc.c
364
opts = set_opts;
bin/ksh/misc.c
366
while ((optc = ksh_getopt(argv, &go, opts)) != -1) {
bin/mt/mt.c
147
char *p, *tape, *realtape, *opts;
bin/mt/mt.c
151
opts = "t";
bin/mt/mt.c
155
opts = "f:";
bin/mt/mt.c
160
while ((ch = getopt(argc, argv, opts)) != -1) {
games/backgammon/teachgammon/ttext1.c
35
const char *const opts = " QIMRHEDSPT";
games/backgammon/teachgammon/ttext2.c
147
if (b == opts[i])
games/backgammon/teachgammon/tutor.h
56
extern const char *const opts;
games/hack/hack.options.c
100
if ((op = strchr(opts, ' '))) {
games/hack/hack.options.c
105
if (!*opts)
games/hack/hack.options.c
108
while((*opts == '!') || !strncmp(opts, "no", 2)) {
games/hack/hack.options.c
109
if(*opts == '!') opts++; else opts += 2;
games/hack/hack.options.c
113
if(!strncmp(opts,"standout",8)) {
games/hack/hack.options.c
118
if(!strncmp(opts,"null",3)) {
games/hack/hack.options.c
123
if(!strncmp(opts,"tombstone",4)) {
games/hack/hack.options.c
128
if(!strncmp(opts,"news",4)) {
games/hack/hack.options.c
133
if(!strncmp(opts,"time",4)) {
games/hack/hack.options.c
139
if(!strncmp(opts,"restonspace",4)) {
games/hack/hack.options.c
144
if(!strncmp(opts,"fixinv",4)) {
games/hack/hack.options.c
152
if(!strncmp(opts,"male",4)) {
games/hack/hack.options.c
156
if(!strncmp(opts,"female",6)) {
games/hack/hack.options.c
162
if(!strncmp(opts,"name",4)) {
games/hack/hack.options.c
168
op = strchr(opts,':');
games/hack/hack.options.c
175
if(!strncmp(opts,"endgame",3)) {
games/hack/hack.options.c
176
op = strchr(opts,':');
games/hack/hack.options.c
209
if(!strncmp(opts, "help", 4)) {
games/hack/hack.options.c
226
pline("Bad option: %s.", opts);
games/hack/hack.options.c
75
char *opts;
games/hack/hack.options.c
85
if ((opts = getenv("HACKOPTIONS")))
games/hack/hack.options.c
86
parseoptions(opts,TRUE);
games/hack/hack.options.c
90
parseoptions(char *opts, boolean from_env)
games/hack/hack.options.c
96
if ((op = strchr(opts, ','))) {
games/worms/worms.c
345
w->orientation = op->opts[0];
games/worms/worms.c
349
op->opts[arc4random_uniform(op->nopts)];
games/worms/worms.c
58
int opts[3];
lib/libc/rpc/svc_tcp.c
253
struct ipoption opts;
lib/libc/rpc/svc_tcp.c
254
socklen_t optsize = sizeof(opts);
lib/libc/rpc/svc_tcp.c
258
(char *)&opts, &optsize) == 0 &&
lib/libc/rpc/svc_tcp.c
260
for (i = 0; (char *)&opts.ipopt_list[i] - (char *)&opts <
lib/libc/rpc/svc_tcp.c
262
u_char c = (u_char)opts.ipopt_list[i];
lib/libc/rpc/svc_tcp.c
270
(u_char)opts.ipopt_list[i+1];
lib/libcrypto/crypto.h
419
int OPENSSL_init_crypto(uint64_t opts, const void *settings);
lib/libcrypto/crypto_init.c
79
OPENSSL_init_crypto(uint64_t opts, const void *settings)
lib/libcrypto/crypto_init.c
92
if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) &&
lib/libcrypto/crypto_init.c
96
if ((opts & OPENSSL_INIT_LOAD_CONFIG) &&
lib/libcurses/base/lib_chgat.c
55
const void *opts GCC_UNUSED)
lib/libcurses/base/lib_chgat.c
66
set_extended_pair(opts, color_pair);
lib/libcurses/base/lib_colorset.c
50
wcolor_set(WINDOW *win, NCURSES_PAIRS_T pair_arg, void *opts)
lib/libcurses/base/lib_colorset.c
56
set_extended_pair(opts, color_pair);
lib/libcurses/base/lib_slkatr_set.c
50
void *opts)
lib/libcurses/base/lib_slkatr_set.c
60
set_extended_pair(opts, color_pair);
lib/libcurses/base/lib_slkatr_set.c
78
slk_attr_set(const attr_t attr, NCURSES_COLOR_T pair_arg, void *opts)
lib/libcurses/base/lib_slkatr_set.c
81
pair_arg, opts);
lib/libcurses/base/lib_wattroff.c
51
wattr_off(WINDOW *win, attr_t at, void *opts GCC_UNUSED)
lib/libcurses/base/lib_wattron.c
51
wattr_on(WINDOW *win, attr_t at, void *opts GCC_UNUSED)
lib/libcurses/base/lib_wattron.c
62
set_extended_pair(opts, win->_color);
lib/libcurses/curses.h
1372
#define wattr_set(win,a,p,opts) \
lib/libcurses/curses.h
1375
(win)->_color = (opts) ? *(int *)(opts) : (p)), \
lib/libcurses/curses.h
1378
#define wattr_get(win,a,p,opts) \
lib/libcurses/curses.h
1386
(void)(NCURSES_OK_ADDR(opts) \
lib/libcurses/curses.h
1387
? (*(int *)(opts) = (win)->_color) \
lib/libcurses/curses.h
1392
#define wattr_set(win,a,p,opts) \
lib/libcurses/curses.h
1398
#define wattr_get(win,a,p,opts) \
lib/libcurses/curses.h
921
#define vid_attr(a,pair,opts) vidattr(a)
lib/libcurses/new_pair.h
67
#define get_extended_pair(opts, color_pair) \
lib/libcurses/new_pair.h
68
if ((opts) != NULL) { \
lib/libcurses/new_pair.h
69
*(int*)(opts) = color_pair; \
lib/libcurses/new_pair.h
71
#define set_extended_pair(opts, color_pair) \
lib/libcurses/new_pair.h
72
if ((opts) != NULL) { \
lib/libcurses/new_pair.h
73
color_pair = *(const int*)(opts); \
lib/libcurses/new_pair.h
77
#define get_extended_pair(opts, color_pair) /* nothing */
lib/libcurses/new_pair.h
78
#define set_extended_pair(opts, color_pair) \
lib/libcurses/new_pair.h
79
if ((opts) != NULL) { \
lib/libcurses/widechar/lib_cchar.c
107
void *opts)
lib/libcurses/widechar/lib_cchar.c
116
opts));
lib/libcurses/widechar/lib_cchar.c
119
if (opts != NULL) {
lib/libcurses/widechar/lib_cchar.c
149
get_extended_pair(opts, color_pair);
lib/libcurses/widechar/lib_cchar.c
55
const void *opts)
lib/libcurses/widechar/lib_cchar.c
63
(unsigned long) attrs, color_pair, opts));
lib/libcurses/widechar/lib_cchar.c
65
set_extended_pair(opts, color_pair);
lib/libcurses/widechar/lib_vid_attr.c
103
set_extended_pair(opts, color_pair);
lib/libcurses/widechar/lib_vid_attr.c
287
(void) opts;
lib/libcurses/widechar/lib_vid_attr.c
297
void *opts GCC_UNUSED,
lib/libcurses/widechar/lib_vid_attr.c
304
opts,
lib/libcurses/widechar/lib_vid_attr.c
314
void *opts)
lib/libcurses/widechar/lib_vid_attr.c
320
opts,
lib/libcurses/widechar/lib_vid_attr.c
326
vid_attr(attr_t newmode, NCURSES_PAIRS_T pair_arg, void *opts)
lib/libcurses/widechar/lib_vid_attr.c
328
return NCURSES_SP_NAME(vid_attr) (CURRENT_SCREEN, newmode, pair_arg, opts);
lib/libcurses/widechar/lib_vid_attr.c
82
void *opts OPTIONAL_PAIR,
lib/libform/fld_dup.c
79
New_Field->opts = field->opts;
lib/libform/fld_link.c
84
New_Field->opts = field->opts;
lib/libform/fld_max.c
73
if (!((unsigned)field->opts & O_STATIC))
lib/libform/fld_opts.c
101
T((T_CALLED("field_opts_on(%p,%d)"), (void *)field, opts));
lib/libform/fld_opts.c
103
opts &= ALL_FIELD_OPTS;
lib/libform/fld_opts.c
104
if (!(opts & ~ALL_FIELD_OPTS))
lib/libform/fld_opts.c
107
res = _nc_Synchronize_Options(field, field->opts | opts);
lib/libform/fld_opts.c
125
field_opts_off(FIELD *field, Field_Options opts)
lib/libform/fld_opts.c
129
T((T_CALLED("field_opts_off(%p,%d)"), (void *)field, opts));
lib/libform/fld_opts.c
131
opts &= ALL_FIELD_OPTS;
lib/libform/fld_opts.c
132
if (!(opts & ~ALL_FIELD_OPTS))
lib/libform/fld_opts.c
135
res = _nc_Synchronize_Options(field, field->opts & ~opts);
lib/libform/fld_opts.c
56
set_field_opts(FIELD *field, Field_Options opts)
lib/libform/fld_opts.c
60
T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts));
lib/libform/fld_opts.c
62
opts &= ALL_FIELD_OPTS;
lib/libform/fld_opts.c
63
if (!(opts & ~ALL_FIELD_OPTS))
lib/libform/fld_opts.c
64
res = _nc_Synchronize_Options(Normalize_Field(field), opts);
lib/libform/fld_opts.c
81
returnCode(ALL_FIELD_OPTS & Normalize_Field(field)->opts);
lib/libform/fld_opts.c
97
field_opts_on(FIELD *field, Field_Options opts)
lib/libform/form.h
108
Field_Options opts; /* options */
lib/libform/form.h
148
Form_Options opts; /* options */
lib/libform/form.priv.h
133
#define Field_Has_Option(f,o) ((((unsigned)(f)->opts) & o) != 0)
lib/libform/form.priv.h
136
#define Field_Is_Selectable(f) (((unsigned)((f)->opts) & O_SELECTABLE)==O_SELECTABLE)
lib/libform/form.priv.h
137
#define Field_Is_Not_Selectable(f) (((unsigned)((f)->opts) & O_SELECTABLE)!=O_SELECTABLE)
lib/libform/frm_driver.c
1359
oldopts = field->opts;
lib/libform/frm_driver.c
1361
field->opts = newopts;
lib/libform/frm_driver.c
1370
field->opts = oldopts;
lib/libform/frm_driver.c
2588
((unsigned)form->opts & O_BS_OVERLOAD) &&
lib/libform/frm_driver.c
2597
if (((unsigned)form->opts & O_NL_OVERLOAD) &&
lib/libform/frm_driver.c
2609
if ((unsigned)form->current->opts & O_EDIT)
lib/libform/frm_driver.c
2646
if (!((unsigned)form->opts & O_NL_OVERLOAD))
lib/libform/frm_driver.c
2680
if (!((unsigned)form->opts & O_NL_OVERLOAD))
lib/libform/frm_driver.c
3356
!((unsigned)proposed->opts & O_VISIBLE))
lib/libform/frm_driver.c
3896
if ((unsigned)field_on_page->opts & O_VISIBLE)
lib/libform/frm_opts.c
115
form_opts_off(FORM *form, Form_Options opts)
lib/libform/frm_opts.c
117
T((T_CALLED("form_opts_off(%p,%d)"), (void *)form, opts));
lib/libform/frm_opts.c
119
opts &= (Form_Options)ALL_FORM_OPTS;
lib/libform/frm_opts.c
120
if ((unsigned)opts & ~ALL_FORM_OPTS)
lib/libform/frm_opts.c
124
Normalize_Form(form)->opts &= ~opts;
lib/libform/frm_opts.c
50
set_form_opts(FORM *form, Form_Options opts)
lib/libform/frm_opts.c
52
T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts));
lib/libform/frm_opts.c
54
opts &= (Form_Options)ALL_FORM_OPTS;
lib/libform/frm_opts.c
55
if ((unsigned)opts & ~ALL_FORM_OPTS)
lib/libform/frm_opts.c
59
Normalize_Form(form)->opts = opts;
lib/libform/frm_opts.c
76
returnCode((Form_Options)((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS));
lib/libform/frm_opts.c
90
form_opts_on(FORM *form, Form_Options opts)
lib/libform/frm_opts.c
92
T((T_CALLED("form_opts_on(%p,%d)"), (void *)form, opts));
lib/libform/frm_opts.c
94
opts &= (Form_Options)ALL_FORM_OPTS;
lib/libform/frm_opts.c
95
if ((unsigned)opts & ~ALL_FORM_OPTS)
lib/libform/frm_opts.c
99
Normalize_Form(form)->opts |= opts;
lib/libfuse/fuse.c
124
struct fuse_mount_opts opts;
lib/libfuse/fuse.c
146
memset(&opts, 0, sizeof(opts));
lib/libfuse/fuse.c
147
if (fuse_opt_parse(args, &opts, fuse_mount_opts, NULL) == -1)
lib/libfuse/fuse.c
151
if (opts.rdonly)
lib/libfuse/fuse.c
153
if (opts.noatime)
lib/libfuse/fuse.c
156
if (opts.max_read > FUSEBUFMAXSIZE) {
lib/libfuse/fuse.c
158
opts.max_read, FUSEBUFMAXSIZE);
lib/libfuse/fuse.c
164
fargs.max_read = opts.max_read;
lib/libfuse/fuse.c
165
fargs.allow_other = opts.allow_other;
lib/libfuse/fuse_opt.c
103
if (*opts == NULL) {
lib/libfuse/fuse_opt.c
104
*opts = strdup(opt);
lib/libfuse/fuse_opt.c
105
if (*opts == NULL)
lib/libfuse/fuse_opt.c
110
if (asprintf(&new_opts, "%s,%s", *opts, opt) == -1)
lib/libfuse/fuse_opt.c
113
free(*opts);
lib/libfuse/fuse_opt.c
114
*opts = new_opts;
lib/libfuse/fuse_opt.c
119
fuse_opt_add_opt(char **opts, const char *opt)
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
177
ret = add_opt(opts, escaped_opt);
lib/libfuse/fuse_opt.c
415
fuse_opt_match(const struct fuse_opt *opts, const char *opt)
lib/libfuse/fuse_opt.c
417
const struct fuse_opt *this_opt = opts;
lib/libfuse/fuse_opt.c
99
add_opt(char **opts, const char *opt)
lib/libmenu/m_item_opt.c
100
item_opts_off(ITEM *item, Item_Options opts)
lib/libmenu/m_item_opt.c
106
T((T_CALLED("item_opts_off(%p,%d)"), (void *)item, opts));
lib/libmenu/m_item_opt.c
108
if (opts & ~ALL_ITEM_OPTS)
lib/libmenu/m_item_opt.c
113
opts = citem->opt & ~(opts & ALL_ITEM_OPTS);
lib/libmenu/m_item_opt.c
114
returnCode(set_item_opts(item, opts));
lib/libmenu/m_item_opt.c
128
item_opts_on(ITEM *item, Item_Options opts)
lib/libmenu/m_item_opt.c
134
T((T_CALLED("item_opts_on(%p,%d)"), (void *)item, opts));
lib/libmenu/m_item_opt.c
136
opts &= ALL_ITEM_OPTS;
lib/libmenu/m_item_opt.c
137
if (opts & ~ALL_ITEM_OPTS)
lib/libmenu/m_item_opt.c
142
opts = citem->opt | opts;
lib/libmenu/m_item_opt.c
143
returnCode(set_item_opts(item, opts));
lib/libmenu/m_item_opt.c
57
set_item_opts(ITEM *item, Item_Options opts)
lib/libmenu/m_item_opt.c
59
T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts));
lib/libmenu/m_item_opt.c
61
opts &= ALL_ITEM_OPTS;
lib/libmenu/m_item_opt.c
63
if (opts & ~ALL_ITEM_OPTS)
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
74
if ((!(opts & O_SELECTABLE)) && item->value)
lib/libmenu/m_item_opt.c
85
_nc_Default_Item.opt = opts;
lib/libmenu/m_opts.c
100
_nc_Default_Menu.opt = opts;
lib/libmenu/m_opts.c
119
menu_opts_off(MENU *menu, Menu_Options opts)
lib/libmenu/m_opts.c
125
T((T_CALLED("menu_opts_off(%p,%d)"), (void *)menu, opts));
lib/libmenu/m_opts.c
127
opts &= ALL_MENU_OPTS;
lib/libmenu/m_opts.c
128
if (opts & ~ALL_MENU_OPTS)
lib/libmenu/m_opts.c
133
opts = cmenu->opt & ~opts;
lib/libmenu/m_opts.c
134
returnCode(set_menu_opts(menu, opts));
lib/libmenu/m_opts.c
152
menu_opts_on(MENU *menu, Menu_Options opts)
lib/libmenu/m_opts.c
158
T((T_CALLED("menu_opts_on(%p,%d)"), (void *)menu, opts));
lib/libmenu/m_opts.c
160
opts &= ALL_MENU_OPTS;
lib/libmenu/m_opts.c
161
if (opts & ~ALL_MENU_OPTS)
lib/libmenu/m_opts.c
166
opts = cmenu->opt | opts;
lib/libmenu/m_opts.c
167
returnCode(set_menu_opts(menu, opts));
lib/libmenu/m_opts.c
59
set_menu_opts(MENU *menu, Menu_Options opts)
lib/libmenu/m_opts.c
61
T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts));
lib/libmenu/m_opts.c
63
opts &= ALL_MENU_OPTS;
lib/libmenu/m_opts.c
65
if (opts & ~ALL_MENU_OPTS)
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_opts.c
87
if (opts & O_ONEVALUE)
lib/libmenu/m_opts.c
96
if (opts & O_SHOWDESC) /* this also changes the geometry */
lib/libssl/ssl.h
2324
int OPENSSL_init_ssl(uint64_t opts, const void *settings);
lib/libssl/ssl_init.c
44
OPENSSL_init_ssl(uint64_t opts, const void *settings)
lib/libssl/ssl_init.c
51
OPENSSL_init_crypto(opts, settings);
regress/lib/libc/regex/main.c
205
try(f0, f1, f2, f3, f4, opts)
regress/lib/libc/regex/main.c
211
int opts; /* may not match f1 */
regress/lib/libc/regex/main.c
222
char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE";
regress/lib/libc/regex/main.c
229
re.re_endp = (opts&REG_PEND) ? f0copy + strlen(f0copy) : NULL;
regress/lib/libc/regex/main.c
231
err = regcomp(&re, f0copy, opts);
regress/lib/libc/regex/main.c
281
} else if (opts&REG_NOSUB) {
regress/lib/libfuse/fuse-opt-match.c
26
static const struct fuse_opt opts[] = {
regress/lib/libfuse/fuse-opt-match.c
51
assert(fuse_opt_match(opts, NULL) == 0);
regress/lib/libfuse/fuse-opt-match.c
52
assert(fuse_opt_match(opts, "-p ") == 1);
regress/lib/libfuse/fuse-opt-match.c
53
assert(fuse_opt_match(opts, "-C") == 1);
regress/lib/libfuse/fuse-opt-match.c
54
assert(fuse_opt_match(opts, "-c") == 0);
regress/lib/libfuse/fuse-opt-match.c
55
assert(fuse_opt_match(opts, "-V") == 1);
regress/lib/libfuse/fuse-opt-match.c
56
assert(fuse_opt_match(opts, "--version") == 1);
regress/lib/libfuse/fuse-opt-match.c
57
assert(fuse_opt_match(opts, "-h") == 1);
regress/lib/libfuse/fuse-opt-match.c
58
assert(fuse_opt_match(opts, "const=false") == 1);
regress/lib/libfuse/fuse-opt-match.c
59
assert(fuse_opt_match(opts, "const=falsefalse") == 0);
regress/lib/libfuse/fuse-opt-match.c
60
assert(fuse_opt_match(opts, "cache=no") == 1);
regress/lib/libfuse/fuse-opt-match.c
61
assert(fuse_opt_match(opts, "cache=yes") == 1);
regress/lib/libfuse/fuse-opt-match.c
62
assert(fuse_opt_match(opts, "debug") == 1);
regress/lib/libfuse/fuse-opt-match.c
63
assert(fuse_opt_match(opts, "ro") == 1);
regress/lib/libfuse/fuse-opt-match.c
64
assert(fuse_opt_match(opts, "ro_fallback") == 0);
regress/lib/libfuse/fuse-opt-match.c
65
assert(fuse_opt_match(opts, "--foo=bar") == 1);
regress/lib/libfuse/fuse-opt-match.c
66
assert(fuse_opt_match(opts, "bars=foo") == 1);
regress/lib/libfuse/fuse-opt-match.c
67
assert(fuse_opt_match(opts, "--fool=bool") == 1);
regress/lib/libfuse/fuse-opt-match.c
68
assert(fuse_opt_match(opts, "--fool=1") == 1);
regress/lib/libfuse/fuse-opt-match.c
69
assert(fuse_opt_match(opts, "-x bar") == 1);
regress/lib/libfuse/fuse-opt-match.c
70
assert(fuse_opt_match(opts, "-xbar") == 1);
regress/lib/libfuse/fuse-opt-match.c
71
assert(fuse_opt_match(opts, "-n 100") == 1);
regress/lib/libfuse/fuse-opt-match.c
72
assert(fuse_opt_match(opts, "-n100") == 1);
regress/lib/libfuse/fuse-opt-match.c
73
assert(fuse_opt_match(opts, "-P") == 1);
regress/lib/libfuse/fuse-opt-parse.c
109
assert(fuse_opt_parse(NULL, &data, opts, proc) == 0);
regress/lib/libfuse/fuse-opt-parse.c
198
assert(fuse_opt_parse(&args, &data, opts, NULL) == 0);
regress/lib/libfuse/fuse-opt-parse.c
257
assert(fuse_opt_parse(&args, &data, opts, proc) == 0);
regress/lib/libfuse/fuse-opt-parse.c
48
struct fuse_opt opts[] = {
regress/usr.bin/ssh/unittests/authopt/tests.c
107
ASSERT_PTR_EQ(opts->x, expected->x); \
regress/usr.bin/ssh/unittests/authopt/tests.c
109
ASSERT_STRING_EQ(opts->x, expected->x); \
regress/usr.bin/ssh/unittests/authopt/tests.c
119
ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \
regress/usr.bin/ssh/unittests/authopt/tests.c
123
ASSERT_STRING_EQ(opts->x[i], expected->x[i]); \
regress/usr.bin/ssh/unittests/authopt/tests.c
133
struct sshauthopt *opts, *expected;
regress/usr.bin/ssh/unittests/authopt/tests.c
139
opts = sshauthopt_parse(keywords, &errstr); \
regress/usr.bin/ssh/unittests/authopt/tests.c
140
ASSERT_PTR_EQ(opts, NULL); \
regress/usr.bin/ssh/unittests/authopt/tests.c
142
sshauthopt_free(opts); \
regress/usr.bin/ssh/unittests/authopt/tests.c
149
compare_opts(opts, expected); \
regress/usr.bin/ssh/unittests/authopt/tests.c
151
sshauthopt_free(opts); \
regress/usr.bin/ssh/unittests/authopt/tests.c
157
opts = sshauthopt_parse("", &errstr);
regress/usr.bin/ssh/unittests/authopt/tests.c
163
opts = sshauthopt_parse(" ", &errstr);
regress/usr.bin/ssh/unittests/authopt/tests.c
169
opts = sshauthopt_parse("restrict", &errstr);
regress/usr.bin/ssh/unittests/authopt/tests.c
184
opts = sshauthopt_parse("tunnel=\"1\"", &errstr);
regress/usr.bin/ssh/unittests/authopt/tests.c
191
opts = sshauthopt_parse("tunnel=\"any\"", &errstr);
regress/usr.bin/ssh/unittests/authopt/tests.c
203
opts = sshauthopt_parse(keyword, &errstr); \
regress/usr.bin/ssh/unittests/authopt/tests.c
207
opts = sshauthopt_parse("restrict,"keyword, &errstr); \
regress/usr.bin/ssh/unittests/authopt/tests.c
234
opts = sshauthopt_parse(keyword "=" #val, &errstr); \
regress/usr.bin/ssh/unittests/authopt/tests.c
239
opts = sshauthopt_parse( \
regress/usr.bin/ssh/unittests/authopt/tests.c
259
opts = sshauthopt_parse(keywords, &errstr); \
regress/usr.bin/ssh/unittests/authopt/tests.c
264
opts = sshauthopt_parse( \
regress/usr.bin/ssh/unittests/authopt/tests.c
290
struct sshauthopt *opts, *expected;
regress/usr.bin/ssh/unittests/authopt/tests.c
294
compare_opts(opts, expected); \
regress/usr.bin/ssh/unittests/authopt/tests.c
296
sshauthopt_free(opts); \
regress/usr.bin/ssh/unittests/authopt/tests.c
305
opts = sshauthopt_from_cert(cert); \
regress/usr.bin/ssh/unittests/authopt/tests.c
313
opts = sshauthopt_from_cert(cert); \
regress/usr.bin/ssh/unittests/authopt/tests.c
327
opts = sshauthopt_from_cert(cert);
regress/usr.bin/ssh/unittests/authopt/tests.c
335
opts = sshauthopt_from_cert(cert);
regress/usr.bin/ssh/unittests/authopt/tests.c
344
opts = sshauthopt_from_cert(cert);
regress/usr.bin/ssh/unittests/authopt/tests.c
353
opts = sshauthopt_from_cert(cert);
regress/usr.bin/ssh/unittests/authopt/tests.c
362
opts = sshauthopt_from_cert(cert); \
regress/usr.bin/ssh/unittests/authopt/tests.c
363
ASSERT_PTR_EQ(opts, NULL); \
regress/usr.bin/ssh/unittests/authopt/tests.c
85
compare_opts(const struct sshauthopt *opts,
regress/usr.bin/ssh/unittests/authopt/tests.c
90
ASSERT_PTR_NE(opts, NULL);
regress/usr.bin/ssh/unittests/authopt/tests.c
92
ASSERT_PTR_NE(expected, opts); /* bozo :) */
regress/usr.bin/ssh/unittests/authopt/tests.c
94
#define FLAG_EQ(x) ASSERT_INT_EQ(opts->x, expected->x)
sbin/fsck/fsck.c
409
addentry(struct fstypelist *list, const char *type, const char *opts)
sbin/fsck/fsck.c
415
e->options = estrdup(opts);
sbin/fsck/fsck.c
459
mangle(char *opts, int *argcp, const char ***argvp, int *maxargcp)
sbin/fsck/fsck.c
465
for (s = opts; (p = strsep(&s, ",")) != NULL;) {
sbin/iked/iked.c
113
opts |= IKED_OPT_NOACTION;
sbin/iked/iked.c
130
opts |= IKED_OPT_PASSIVE;
sbin/iked/iked.c
147
opts |= IKED_OPT_VERBOSE;
sbin/iked/iked.c
168
env->sc_opts = opts;
sbin/iked/iked.c
190
if (opts & IKED_OPT_NOACTION)
sbin/iked/iked.c
74
int opts = 0;
sbin/ipsecctl/ike.c
879
ike_print_config(struct ipsec_rule *r, int opts)
sbin/ipsecctl/ike.c
881
if (opts & IPSECCTL_OPT_DELETE)
sbin/ipsecctl/ipsecctl.c
104
ipsecctl_rules(char *filename, int opts)
sbin/ipsecctl/ipsecctl.c
111
ipsec.opts = opts;
sbin/ipsecctl/ipsecctl.c
119
if (opts & IPSECCTL_OPT_DELETE)
sbin/ipsecctl/ipsecctl.c
124
if ((opts & IPSECCTL_OPT_NOACTION) == 0)
sbin/ipsecctl/ipsecctl.c
196
if ((ipsec->opts & IPSECCTL_OPT_VERBOSE) && !(ipsec->opts &
sbin/ipsecctl/ipsecctl.c
198
ipsecctl_print_rule(r, ipsec->opts);
sbin/ipsecctl/ipsecctl.c
440
ipsecctl_print_flow(struct ipsec_rule *r, int opts)
sbin/ipsecctl/ipsecctl.c
451
if (opts & IPSECCTL_OPT_COLLAPSE) {
sbin/ipsecctl/ipsecctl.c
469
if (opts & IPSECCTL_OPT_COLLAPSE) {
sbin/ipsecctl/ipsecctl.c
507
ipsecctl_print_sa(struct ipsec_rule *r, int opts)
sbin/ipsecctl/ipsecctl.c
527
if (r->authkey && (opts & IPSECCTL_OPT_SHOWKEY)) {
sbin/ipsecctl/ipsecctl.c
535
if (r->enckey && (opts & IPSECCTL_OPT_SHOWKEY)) {
sbin/ipsecctl/ipsecctl.c
547
ipsecctl_print_sabundle(struct ipsec_rule *r, int opts)
sbin/ipsecctl/ipsecctl.c
559
ipsecctl_print_rule(struct ipsec_rule *r, int opts)
sbin/ipsecctl/ipsecctl.c
563
if (opts & IPSECCTL_OPT_VERBOSE2) {
sbin/ipsecctl/ipsecctl.c
565
if (opts & IPSECCTL_OPT_COLLAPSE) {
sbin/ipsecctl/ipsecctl.c
574
ipsecctl_print_flow(r, opts);
sbin/ipsecctl/ipsecctl.c
576
ipsecctl_print_sa(r, opts);
sbin/ipsecctl/ipsecctl.c
578
ike_print_config(r, opts);
sbin/ipsecctl/ipsecctl.c
580
ipsecctl_print_sabundle(r, opts);
sbin/ipsecctl/ipsecctl.c
584
ipsecctl_flush(int opts)
sbin/ipsecctl/ipsecctl.c
586
if (opts & IPSECCTL_OPT_NOACTION)
sbin/ipsecctl/ipsecctl.c
652
if ((ipsec->opts & IPSECCTL_OPT_COLLAPSE) && (last != NULL) &&
sbin/ipsecctl/ipsecctl.c
673
ipsecctl_show(int opts)
sbin/ipsecctl/ipsecctl.c
683
if (opts & IPSECCTL_OPT_SHOWFLOWS) {
sbin/ipsecctl/ipsecctl.c
685
ipsec.opts = opts;
sbin/ipsecctl/ipsecctl.c
690
if (opts & IPSECCTL_OPT_SHOWSAS) {
sbin/ipsecctl/ipsecctl.c
715
if (opts & IPSECCTL_OPT_SHOWALL)
sbin/ipsecctl/ipsecctl.c
722
ipsecctl_print_rule(rp, ipsec.opts);
sbin/ipsecctl/ipsecctl.c
744
} else if (opts & IPSECCTL_OPT_SHOWALL) {
sbin/ipsecctl/ipsecctl.c
746
if (opts & IPSECCTL_OPT_SHOWALL)
sbin/ipsecctl/ipsecctl.c
754
if (opts & IPSECCTL_OPT_SHOWALL)
sbin/ipsecctl/ipsecctl.c
780
pfkey_print_sa(sad[i].sad_msg, opts);
sbin/ipsecctl/ipsecctl.c
783
} else if (opts & IPSECCTL_OPT_SHOWALL) {
sbin/ipsecctl/ipsecctl.c
790
ipsecctl_monitor(int opts)
sbin/ipsecctl/ipsecctl.c
792
return (pfkey_monitor(opts));
sbin/ipsecctl/ipsecctl.c
820
int opts = 0;
sbin/ipsecctl/ipsecctl.c
829
opts |= IPSECCTL_OPT_COLLAPSE;
sbin/ipsecctl/ipsecctl.c
839
opts |= IPSECCTL_OPT_DELETE;
sbin/ipsecctl/ipsecctl.c
847
opts |= IPSECCTL_OPT_FLUSH;
sbin/ipsecctl/ipsecctl.c
855
opts |= IPSECCTL_OPT_SHOWKEY;
sbin/ipsecctl/ipsecctl.c
859
opts |= IPSECCTL_OPT_MONITOR;
sbin/ipsecctl/ipsecctl.c
863
opts |= IPSECCTL_OPT_NOACTION;
sbin/ipsecctl/ipsecctl.c
867
if (opts & IPSECCTL_OPT_VERBOSE)
sbin/ipsecctl/ipsecctl.c
868
opts |= IPSECCTL_OPT_VERBOSE2;
sbin/ipsecctl/ipsecctl.c
869
opts |= IPSECCTL_OPT_VERBOSE;
sbin/ipsecctl/ipsecctl.c
879
opts |= IPSECCTL_OPT_SHOW;
sbin/ipsecctl/ipsecctl.c
893
if (opts & IPSECCTL_OPT_FLUSH)
sbin/ipsecctl/ipsecctl.c
894
if (ipsecctl_flush(opts))
sbin/ipsecctl/ipsecctl.c
898
if (ipsecctl_rules(rulesopt, opts))
sbin/ipsecctl/ipsecctl.c
904
opts |= IPSECCTL_OPT_SHOWFLOWS;
sbin/ipsecctl/ipsecctl.c
907
opts |= IPSECCTL_OPT_SHOWSAS;
sbin/ipsecctl/ipsecctl.c
910
opts |= IPSECCTL_OPT_SHOWFLOWS;
sbin/ipsecctl/ipsecctl.c
911
opts |= IPSECCTL_OPT_SHOWSAS;
sbin/ipsecctl/ipsecctl.c
912
opts |= IPSECCTL_OPT_SHOWALL;
sbin/ipsecctl/ipsecctl.c
915
ipsecctl_show(opts);
sbin/ipsecctl/ipsecctl.c
918
if (opts & IPSECCTL_OPT_MONITOR)
sbin/ipsecctl/ipsecctl.c
919
if (ipsecctl_monitor(opts))
sbin/ipsecctl/ipsecctl.h
240
int opts;
sbin/ipsecctl/parse.y
1451
if ((ipsec->opts & IPSECCTL_OPT_VERBOSE2) && !sym->used)
sbin/ipsecctl/parse.y
984
if (ipsec->opts & IPSECCTL_OPT_VERBOSE)
sbin/ipsecctl/pfkdump.c
249
print_ext(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
260
(*entry->func)(ext, msg, opts);
sbin/ipsecctl/pfkdump.c
295
print_sa(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
314
print_addr(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
345
print_key(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
360
print_life(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
372
print_proto(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
387
print_flow(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
405
print_tag(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
417
print_replay(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
425
print_mtu(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
433
print_tap(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
441
print_satype(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
449
print_counter(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
456
#define p(f, m) if (scnt->f || opts & IPSECCTL_OPT_VERBOSE2) \
sbin/ipsecctl/pfkdump.c
471
print_iface(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
512
print_supp(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
531
print_comb(struct sadb_comb *comb, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
558
print_prop(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
568
print_comb(comb, msg, opts);
sbin/ipsecctl/pfkdump.c
572
print_sens(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
583
print_spir(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
592
print_ident(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
604
print_policy(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
612
print_udpenc(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
620
print_rdomain(struct sadb_ext *ext, struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
718
pfkey_print_sa(struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
880
if (!(opts & IPSECCTL_OPT_SHOWKEY)) {
sbin/ipsecctl/pfkdump.c
895
ipsecctl_print_rule(&r, opts);
sbin/ipsecctl/pfkdump.c
897
if (opts & IPSECCTL_OPT_VERBOSE) {
sbin/ipsecctl/pfkdump.c
900
print_ext(extensions[i], msg, opts);
sbin/ipsecctl/pfkdump.c
906
pfkey_monitor_sa(struct sadb_msg *msg, int opts)
sbin/ipsecctl/pfkdump.c
923
print_ext(extensions[i], msg, opts);
sbin/ipsecctl/pfkey.c
1314
pfkey_monitor(int opts)
sbin/ipsecctl/pfkey.c
1349
pfkey_monitor_sa(msg, opts);
sbin/ipsecctl/pfkey.c
1350
if (opts & IPSECCTL_OPT_VERBOSE)
sbin/mount_cd9660/mount_cd9660.c
116
args.flags = opts;
sbin/mount_cd9660/mount_cd9660.c
65
int ch, mntflags, opts, sess = 0;
sbin/mount_cd9660/mount_cd9660.c
69
mntflags = opts = 0;
sbin/mount_cd9660/mount_cd9660.c
73
opts |= ISOFSMNT_EXTATT;
sbin/mount_cd9660/mount_cd9660.c
76
opts |= ISOFSMNT_GENS;
sbin/mount_cd9660/mount_cd9660.c
79
opts |= ISOFSMNT_NOJOLIET;
sbin/mount_cd9660/mount_cd9660.c
85
opts |= ISOFSMNT_NORRIP;
sbin/mount_cd9660/mount_cd9660.c
88
opts |= ISOFSMNT_SESS;
sbin/mount_udf/mount_udf.c
34
const struct mntopt opts[] = { MOPT_STDOPTS, { NULL } };
sbin/mount_udf/mount_udf.c
84
getmntopts(optarg, opts, &flags);
sbin/newfs_msdos/newfs_msdos.c
229
static char opts[] = "NB:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:qr:s:t:u:";
sbin/newfs_msdos/newfs_msdos.c
257
while ((ch = getopt(argc, argv, opts)) != -1)
sbin/pfctl/parse.y
1302
if (process_tabledef($3, &$5, pf->opts)) {
sbin/pfctl/parse.y
215
u_int8_t opts;
sbin/pfctl/parse.y
2493
if ((filter_opts.divert.addr = host($2, pf->opts)) == NULL) {
sbin/pfctl/parse.y
3144
if (($$ = host($1, pf->opts)) == NULL) {
sbin/pfctl/parse.y
3156
if ((b = host($1, pf->opts)) == NULL ||
sbin/pfctl/parse.y
3157
(e = host($3, pf->opts)) == NULL) {
sbin/pfctl/parse.y
3193
if (($$ = host(buf, pf->opts)) == NULL) {
sbin/pfctl/parse.y
3207
if (($$ = host(buf, pf->opts)) == NULL) {
sbin/pfctl/parse.y
4200
pool_opts.opts |= PF_POOL_STICKYADDR;
sbin/pfctl/parse.y
4483
process_tabledef(char *name, struct table_opts *opts, int popts)
sbin/pfctl/parse.y
4491
SIMPLEQ_FOREACH(ti, &opts->init_nodes, entries) {
sbin/pfctl/parse.y
4509
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
4510
print_tabledef(name, opts->flags, opts->init_addr,
sbin/pfctl/parse.y
4511
&opts->init_nodes);
sbin/pfctl/parse.y
4512
if (!(pf->opts & PF_OPT_NOACTION) ||
sbin/pfctl/parse.y
4513
(pf->opts & PF_OPT_DUMMYACTION))
sbin/pfctl/parse.y
4515
else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
4534
if (!(pf->opts & PF_OPT_NOACTION) &&
sbin/pfctl/parse.y
4535
pfctl_define_table(name, opts->flags, opts->init_addr,
sbin/pfctl/parse.y
4543
ukt->pfrukt_init_addr = opts->init_addr;
sbin/pfctl/parse.y
4778
expand_queue(char *qname, struct node_if *interfaces, struct queue_opts *opts)
sbin/pfctl/parse.y
4784
if (!opts->parent && (opts->marker & QOM_BWSPEC))
sbin/pfctl/parse.y
4785
opts->flags |= PFQS_ROOTCLASS;
sbin/pfctl/parse.y
4786
if (!(opts->marker & QOM_BWSPEC) &&
sbin/pfctl/parse.y
4787
!(opts->marker & QOM_FLOWS)) {
sbin/pfctl/parse.y
4796
if (opts->parent && strlcpy(qspec.parent, opts->parent,
sbin/pfctl/parse.y
4806
qspec.realtime.m1.absolute = opts->realtime.m1.bw_absolute;
sbin/pfctl/parse.y
4807
qspec.realtime.m1.percent = opts->realtime.m1.bw_percent;
sbin/pfctl/parse.y
4808
qspec.realtime.m2.absolute = opts->realtime.m2.bw_absolute;
sbin/pfctl/parse.y
4809
qspec.realtime.m2.percent = opts->realtime.m2.bw_percent;
sbin/pfctl/parse.y
4810
qspec.realtime.d = opts->realtime.d;
sbin/pfctl/parse.y
4812
qspec.linkshare.m1.absolute = opts->linkshare.m1.bw_absolute;
sbin/pfctl/parse.y
4813
qspec.linkshare.m1.percent = opts->linkshare.m1.bw_percent;
sbin/pfctl/parse.y
4814
qspec.linkshare.m2.absolute = opts->linkshare.m2.bw_absolute;
sbin/pfctl/parse.y
4815
qspec.linkshare.m2.percent = opts->linkshare.m2.bw_percent;
sbin/pfctl/parse.y
4816
qspec.linkshare.d = opts->linkshare.d;
sbin/pfctl/parse.y
4818
qspec.upperlimit.m1.absolute = opts->upperlimit.m1.bw_absolute;
sbin/pfctl/parse.y
4819
qspec.upperlimit.m1.percent = opts->upperlimit.m1.bw_percent;
sbin/pfctl/parse.y
4820
qspec.upperlimit.m2.absolute = opts->upperlimit.m2.bw_absolute;
sbin/pfctl/parse.y
4821
qspec.upperlimit.m2.percent = opts->upperlimit.m2.bw_percent;
sbin/pfctl/parse.y
4822
qspec.upperlimit.d = opts->upperlimit.d;
sbin/pfctl/parse.y
4824
qspec.flowqueue.flows = opts->flowqueue.flows;
sbin/pfctl/parse.y
4825
qspec.flowqueue.quantum = opts->flowqueue.quantum;
sbin/pfctl/parse.y
4826
qspec.flowqueue.interval = opts->flowqueue.interval;
sbin/pfctl/parse.y
4827
qspec.flowqueue.target = opts->flowqueue.target;
sbin/pfctl/parse.y
4829
qspec.flags = opts->flags;
sbin/pfctl/parse.y
4830
qspec.qlimit = opts->qlimit;
sbin/pfctl/parse.y
5021
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/parse.y
5027
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5078
rpool->opts = rs->pool_opts.type;
sbin/pfctl/parse.y
5079
if ((rpool->opts & PF_POOL_TYPEMASK) == PF_POOL_NONE &&
sbin/pfctl/parse.y
5082
rpool->opts |= PF_POOL_ROUNDROBIN;
sbin/pfctl/parse.y
5084
if (!PF_POOL_DYNTYPE(rpool->opts) &&
sbin/pfctl/parse.y
5095
if (rs->pool_opts.opts)
sbin/pfctl/parse.y
5096
rpool->opts |= rs->pool_opts.opts;
sbin/pfctl/parse.y
5287
if ((pf->opts & PF_OPT_VERBOSE2) &&
sbin/pfctl/parse.y
5426
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5432
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5435
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
5447
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
6019
if ((pf->opts & PF_OPT_VERBOSE2) && !sym->used)
sbin/pfctl/parse.y
6332
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
6335
if (pfctl_rules(dev, la->filename, pf->opts, pf->optimize,
sbin/pfctl/parse.y
6427
filteropts_to_rule(struct pf_rule *r, struct filter_opts *opts)
sbin/pfctl/parse.y
6429
if (opts->marker & FOM_ONCE) {
sbin/pfctl/parse.y
6437
if (opts->statelim.id != PF_STATELIM_ID_NONE && r->action != PF_PASS) {
sbin/pfctl/parse.y
6441
if (opts->sourcelim.id != PF_SOURCELIM_ID_NONE && r->action != PF_PASS) {
sbin/pfctl/parse.y
6446
r->keep_state = opts->keep.action;
sbin/pfctl/parse.y
6447
r->pktrate.limit = opts->pktrate.limit;
sbin/pfctl/parse.y
6448
r->pktrate.seconds = opts->pktrate.seconds;
sbin/pfctl/parse.y
6449
r->prob = opts->prob;
sbin/pfctl/parse.y
6450
r->statelim.id = opts->statelim.id;
sbin/pfctl/parse.y
6451
r->statelim.limiter_action = opts->statelim.limiter_action;
sbin/pfctl/parse.y
6452
r->sourcelim.id = opts->sourcelim.id;
sbin/pfctl/parse.y
6453
r->sourcelim.limiter_action = opts->sourcelim.limiter_action;
sbin/pfctl/parse.y
6454
r->rtableid = opts->rtableid;
sbin/pfctl/parse.y
6455
r->tos = opts->tos;
sbin/pfctl/parse.y
6457
if (opts->nodf)
sbin/pfctl/parse.y
6459
if (opts->randomid)
sbin/pfctl/parse.y
6461
if (opts->minttl)
sbin/pfctl/parse.y
6462
r->min_ttl = opts->minttl;
sbin/pfctl/parse.y
6463
if (opts->max_mss)
sbin/pfctl/parse.y
6464
r->max_mss = opts->max_mss;
sbin/pfctl/parse.y
6466
if (opts->tag)
sbin/pfctl/parse.y
6467
if (strlcpy(r->tagname, opts->tag,
sbin/pfctl/parse.y
6473
if (opts->match_tag)
sbin/pfctl/parse.y
6474
if (strlcpy(r->match_tagname, opts->match_tag,
sbin/pfctl/parse.y
6480
r->match_tag_not = opts->match_tag_not;
sbin/pfctl/parse.y
6482
if (rule_label(r, opts->label))
sbin/pfctl/parse.y
6484
free(opts->label);
sbin/pfctl/parse.y
6486
if (opts->marker & FOM_AFTO)
sbin/pfctl/parse.y
6488
if ((opts->marker & FOM_AFTO) && r->direction != PF_IN) {
sbin/pfctl/parse.y
6492
if ((opts->marker & FOM_AFTO) && opts->rt) {
sbin/pfctl/parse.y
6497
if (opts->marker & FOM_SCRUB_TCP)
sbin/pfctl/parse.y
6499
if (opts->marker & FOM_SETDELAY) {
sbin/pfctl/parse.y
6500
r->delay = opts->delay;
sbin/pfctl/parse.y
6503
if (opts->marker & FOM_SETTOS) {
sbin/pfctl/parse.y
6505
r->set_tos = opts->settos;
sbin/pfctl/parse.y
6507
if (opts->marker & FOM_PRIO)
sbin/pfctl/parse.y
6508
r->prio = opts->prio ? opts->prio : PF_PRIO_ZERO;
sbin/pfctl/parse.y
6509
if (opts->marker & FOM_SETPRIO) {
sbin/pfctl/parse.y
6510
r->set_prio[0] = opts->set_prio[0];
sbin/pfctl/parse.y
6511
r->set_prio[1] = opts->set_prio[1];
sbin/pfctl/parse.y
6515
r->flags = opts->flags.b1;
sbin/pfctl/parse.y
6516
r->flagset = opts->flags.b2;
sbin/pfctl/parse.y
6517
if ((opts->flags.b1 & opts->flags.b2) != opts->flags.b1) {
sbin/pfctl/parse.y
6522
if (opts->queues.qname != NULL) {
sbin/pfctl/parse.y
6523
if (strlcpy(r->qname, opts->queues.qname,
sbin/pfctl/parse.y
6529
free(opts->queues.qname);
sbin/pfctl/parse.y
6531
if (opts->queues.pqname != NULL) {
sbin/pfctl/parse.y
6532
if (strlcpy(r->pqname, opts->queues.pqname,
sbin/pfctl/parse.y
6538
free(opts->queues.pqname);
sbin/pfctl/parse.y
6541
if (opts->fragment)
sbin/pfctl/parse.y
6543
r->allow_opts = opts->allowopts;
sbin/pfctl/parse.y
674
if (!(pf->opts & PF_OPT_OPTIMIZE)) {
sbin/pfctl/parse.y
675
pf->opts |= PF_OPT_OPTIMIZE;
sbin/pfctl/parse.y
699
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
704
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
709
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
713
pf->opts, $3)) {
sbin/pfctl/parse.y
723
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/parse.y
854
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pf_print_state.c
161
const char *proto, int opts)
sbin/pfctl/pf_print_state.c
170
if (opts & PF_OPT_USEDNS)
sbin/pfctl/pf_print_state.c
176
print_addr(&aw, af, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pf_print_state.c
181
if (opts & PF_OPT_PORTNAMES)
sbin/pfctl/pf_print_state.c
202
print_state(struct pfsync_state *s, int opts)
sbin/pfctl/pf_print_state.c
234
print_host(&nk->addr[1], nk->port[1], nk->af, nk->rdomain, pn, opts);
sbin/pfctl/pf_print_state.c
241
sk->rdomain, pn, opts);
sbin/pfctl/pf_print_state.c
253
print_host(&nk->addr[0], nk->port[0], nk->af, nk->rdomain, pn, opts);
sbin/pfctl/pf_print_state.c
260
sk->rdomain, pn, opts);
sbin/pfctl/pf_print_state.c
284
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pf_print_state.c
312
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pf_print_state.c
352
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl.c
1099
pfctl_show_sourcelims(int dev, enum pfctl_show format, int opts,
sbin/pfctl/pfctl.c
1153
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1155
format, opts) != 0)
sbin/pfctl/pfctl.c
1171
pfctl_kill_source(int dev, const char *idopt, const char *source, int opts)
sbin/pfctl/pfctl.c
1216
pfctl_init_show_rules(struct pfctl *pf, int dev, int opts)
sbin/pfctl/pfctl.c
1220
pf->opts = opts;
sbin/pfctl/pfctl.c
1245
ret = pfctl_show_sourcelims(pf->dev, format, pf->opts, NULL);
sbin/pfctl/pfctl.c
1274
if (pf->opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl.c
1287
if (pf->opts & PF_OPT_CLRRULECTRS)
sbin/pfctl/pfctl.c
1308
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1325
if (pr.rule.label[0] && (pf->opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
1327
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1328
print_rule(pf, &pr.rule, pr.anchor_call, pf->opts);
sbin/pfctl/pfctl.c
1338
pf->opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1340
pfctl_print_rule_counters(&pr.rule, pf->opts);
sbin/pfctl/pfctl.c
1344
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1348
!(pf->opts &
sbin/pfctl/pfctl.c
1352
pfctl_print_rule_counters(&pr.rule, pf->opts);
sbin/pfctl/pfctl.c
1371
if (wildcard && (pf->opts & PF_OPT_RECURSE)) {
sbin/pfctl/pfctl.c
1385
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1389
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
1404
pfctl_show_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
1436
if (psn.psn_len > 0 && (opts & PF_OPT_SHOWALL))
sbin/pfctl/pfctl.c
1439
print_src_node(p, opts);
sbin/pfctl/pfctl.c
1448
pfctl_show_states(int dev, const char *iface, int opts, long shownr)
sbin/pfctl/pfctl.c
1454
int dotitle = (opts & PF_OPT_SHOWALL);
sbin/pfctl/pfctl.c
1489
print_state(p, opts);
sbin/pfctl/pfctl.c
1497
pfctl_show_status(int dev, int opts)
sbin/pfctl/pfctl.c
1513
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
1515
print_status(&status, &wats, opts);
sbin/pfctl/pfctl.c
1520
pfctl_show_timeouts(int dev, int opts)
sbin/pfctl/pfctl.c
1525
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
1545
pfctl_show_limits(int dev, int opts)
sbin/pfctl/pfctl.c
1550
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl.c
1730
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
1733
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1770
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
1862
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1865
if (pf->opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl.c
1880
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
1894
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1897
if (pf->opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl.c
1912
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
1977
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
1979
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl.c
1986
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2005
} else if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2009
if (brace && pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2010
INDENT(depth - 1, (pf->opts & PF_OPT_VERBOSE));
sbin/pfctl/pfctl.c
2031
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2053
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2062
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2063
INDENT(depth, !(pf->opts & PF_OPT_VERBOSE2));
sbin/pfctl/pfctl.c
2064
print_rule(pf, r, name, pf->opts);
sbin/pfctl/pfctl.c
2071
pfctl_rules(int dev, char *filename, int opts, int optimize,
sbin/pfctl/pfctl.c
2108
pf.opts = opts;
sbin/pfctl/pfctl.c
2141
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2154
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2164
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2175
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2193
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2204
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2396
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2399
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2448
if (pf->opts & PF_OPT_VERBOSE && ! quiet)
sbin/pfctl/pfctl.c
2497
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2525
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
2569
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2588
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2620
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2669
if ((pf->opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl.c
2673
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
2702
if ((pf->opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
2715
pfctl_debug(int dev, u_int32_t level, int opts)
sbin/pfctl/pfctl.c
2726
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
2732
pfctl_walk_show(int opts, struct pfioc_ruleset *pr, void *warg)
sbin/pfctl/pfctl.c
2735
if (pr->path[0] != '_' || (opts & PF_OPT_VERBOSE))
sbin/pfctl/pfctl.c
2737
} else if (pr->name[0] != '_' || (opts & PF_OPT_VERBOSE))
sbin/pfctl/pfctl.c
2744
pfctl_walk_get(int opts, struct pfioc_ruleset *pr, void *warg)
sbin/pfctl/pfctl.c
2772
pfctl_walk_anchors(int dev, int opts, const char *anchor,
sbin/pfctl/pfctl.c
2793
if (walkf(opts, &pr, warg))
sbin/pfctl/pfctl.c
2802
if (pfctl_walk_anchors(dev, opts, sub, walkf, warg))
sbin/pfctl/pfctl.c
2809
pfctl_show_anchors(int dev, int opts, char *anchor)
sbin/pfctl/pfctl.c
2812
pfctl_walk_anchors(dev, opts, anchor, pfctl_walk_show, NULL));
sbin/pfctl/pfctl.c
2816
pfctl_get_anchors(int dev, const char *anchor, int opts)
sbin/pfctl/pfctl.c
2838
pfctl_walk_get(opts, &pr, &anchors);
sbin/pfctl/pfctl.c
2840
if (pfctl_walk_anchors(dev, opts, anchor, pfctl_walk_get, &anchors))
sbin/pfctl/pfctl.c
2849
pfctl_call_cleartables(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
2855
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
2856
return ((pfctl_clear_tables(pfra->pfra_anchorname, opts) == -1) ?
sbin/pfctl/pfctl.c
2861
pfctl_call_clearrules(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
2867
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
2868
return (pfctl_clear_rules(dev, opts, pfra->pfra_anchorname));
sbin/pfctl/pfctl.c
2872
pfctl_call_showtables(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
2874
pfctl_show_tables(pfra->pfra_anchorname, opts);
sbin/pfctl/pfctl.c
2879
pfctl_call_clearanchors(int dev, int opts, struct pfr_anchoritem *pfra)
sbin/pfctl/pfctl.c
2883
rv |= pfctl_call_cleartables(dev, opts, pfra);
sbin/pfctl/pfctl.c
2884
rv |= pfctl_call_clearrules(dev, opts, pfra);
sbin/pfctl/pfctl.c
2890
pfctl_recurse(int dev, int opts, const char *anchorname,
sbin/pfctl/pfctl.c
2897
anchors = pfctl_get_anchors(dev, anchorname, opts);
sbin/pfctl/pfctl.c
2902
opts |= PF_OPT_IGNFAIL;
sbin/pfctl/pfctl.c
2903
if ((opts & PF_OPT_CALLSHOW) == 0)
sbin/pfctl/pfctl.c
2906
if ((opts & PF_OPT_CALLSHOW) == 0)
sbin/pfctl/pfctl.c
2909
rv |= walkf(dev, opts, pfra);
sbin/pfctl/pfctl.c
3024
pfctl_reset(int dev, int opts)
sbin/pfctl/pfctl.c
3060
pfctl_clear_interface_flags(dev, opts);
sbin/pfctl/pfctl.c
3069
int opts = 0;
sbin/pfctl/pfctl.c
3092
opts |= PF_OPT_DISABLE;
sbin/pfctl/pfctl.c
3101
opts |= PF_OPT_ENABLE;
sbin/pfctl/pfctl.c
3105
opts |= PF_OPT_QUIET;
sbin/pfctl/pfctl.c
3140
opts |= PF_OPT_NODNS;
sbin/pfctl/pfctl.c
3143
opts |= PF_OPT_NOACTION;
sbin/pfctl/pfctl.c
3146
opts |= PF_OPT_USEDNS;
sbin/pfctl/pfctl.c
3160
opts |= PF_OPT_DEBUG;
sbin/pfctl/pfctl.c
3168
opts |= PF_OPT_OPTIMIZE;
sbin/pfctl/pfctl.c
3171
opts |= PF_OPT_PORTNAMES;
sbin/pfctl/pfctl.c
3194
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl.c
3195
opts |= PF_OPT_VERBOSE2;
sbin/pfctl/pfctl.c
3196
opts |= PF_OPT_VERBOSE;
sbin/pfctl/pfctl.c
3214
opts |= PF_OPT_CLRRULECTRS;
sbin/pfctl/pfctl.c
3232
if ((opts & PF_OPT_NODNS) && (opts & PF_OPT_USEDNS))
sbin/pfctl/pfctl.c
3269
opts |= PF_OPT_RECURSE;
sbin/pfctl/pfctl.c
3277
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
3285
opts |= PF_OPT_DUMMYACTION;
sbin/pfctl/pfctl.c
3289
opts &= ~ (PF_OPT_DISABLE | PF_OPT_ENABLE);
sbin/pfctl/pfctl.c
3294
if (opts & PF_OPT_DISABLE)
sbin/pfctl/pfctl.c
3295
if (pfctl_disable(dev, opts))
sbin/pfctl/pfctl.c
3306
pfctl_show_anchors(dev, opts, anchorname);
sbin/pfctl/pfctl.c
3309
pfctl_init_show_rules(&show_rules_pf, dev, opts);
sbin/pfctl/pfctl.c
3310
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3315
pfctl_init_show_rules(&show_rules_pf, dev, opts);
sbin/pfctl/pfctl.c
3316
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3321
pfctl_show_queues(dev, ifaceopt, opts,
sbin/pfctl/pfctl.c
3322
opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl.c
3325
pfctl_show_states(dev, ifaceopt, opts, shownr);
sbin/pfctl/pfctl.c
3328
pfctl_show_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
333
pfctl_err(int opts, int eval, const char *fmt, ...)
sbin/pfctl/pfctl.c
3331
pfctl_show_status(dev, opts);
sbin/pfctl/pfctl.c
3334
pfctl_show_timeouts(dev, opts);
sbin/pfctl/pfctl.c
3337
pfctl_show_limits(dev, opts);
sbin/pfctl/pfctl.c
3340
pfctl_init_show_rules(&show_rules_pf, dev, opts);
sbin/pfctl/pfctl.c
3341
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3344
pfctl_show_queues(dev, ifaceopt, opts,
sbin/pfctl/pfctl.c
3345
opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl.c
3346
pfctl_show_states(dev, ifaceopt, opts, -1);
sbin/pfctl/pfctl.c
3347
pfctl_show_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3348
pfctl_show_status(dev, opts);
sbin/pfctl/pfctl.c
3351
pfctl_show_timeouts(dev, opts);
sbin/pfctl/pfctl.c
3352
pfctl_show_limits(dev, opts);
sbin/pfctl/pfctl.c
3353
pfctl_show_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3354
pfctl_show_fingerprints(opts);
sbin/pfctl/pfctl.c
3357
if (opts & PF_OPT_RECURSE) {
sbin/pfctl/pfctl.c
3358
opts |= PF_OPT_CALLSHOW;
sbin/pfctl/pfctl.c
3359
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
3362
pfctl_show_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3365
pfctl_load_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3366
pfctl_show_fingerprints(opts);
sbin/pfctl/pfctl.c
3369
pfctl_show_ifaces(ifaceopt, opts);
sbin/pfctl/pfctl.c
3375
pfctl_show_sourcelims(dev, PFCTL_SHOW_LABELS, opts, idopt);
sbin/pfctl/pfctl.c
3379
if ((opts & PF_OPT_CLRRULECTRS) && showopt == 0) {
sbin/pfctl/pfctl.c
3380
pfctl_init_show_rules(&show_rules_pf, dev, opts);
sbin/pfctl/pfctl.c
3388
if (opts & PF_OPT_RECURSE)
sbin/pfctl/pfctl.c
3389
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
339
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl.c
3392
pfctl_clear_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
3395
pfctl_clear_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3398
pfctl_clear_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3401
pfctl_clear_stats(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3409
if (opts & PF_OPT_RECURSE)
sbin/pfctl/pfctl.c
3410
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
3413
pfctl_clear_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3414
pfctl_clear_rules(dev, opts, anchorname);
sbin/pfctl/pfctl.c
3418
pfctl_clear_states(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3419
pfctl_clear_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3420
pfctl_clear_stats(dev, ifaceopt, opts);
sbin/pfctl/pfctl.c
3421
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3422
pfctl_reset(dev, opts);
sbin/pfctl/pfctl.c
3426
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl.c
3429
if ((opts & PF_OPT_RECURSE) == 0)
sbin/pfctl/pfctl.c
3430
pfctl_clear_tables(anchorname, opts);
sbin/pfctl/pfctl.c
3432
pfctl_recurse(dev, opts, anchorname,
sbin/pfctl/pfctl.c
3436
pfctl_reset(dev, opts);
sbin/pfctl/pfctl.c
3442
pfctl_label_kill_states(dev, ifaceopt, opts, rdomain);
sbin/pfctl/pfctl.c
3444
pfctl_id_kill_states(dev, opts);
sbin/pfctl/pfctl.c
3446
pfctl_key_kill_states(dev, ifaceopt, opts, rdomain);
sbin/pfctl/pfctl.c
3448
pfctl_kill_source(dev, idopt, state_kill[1], opts);
sbin/pfctl/pfctl.c
3450
pfctl_net_kill_states(dev, ifaceopt, opts, rdomain);
sbin/pfctl/pfctl.c
3454
pfctl_kill_src_nodes(dev, opts);
sbin/pfctl/pfctl.c
3458
tblcmdopt, rulesopt, anchorname, opts);
sbin/pfctl/pfctl.c
3477
pfctl_clear_interface_flags(dev, opts | PF_OPT_QUIET);
sbin/pfctl/pfctl.c
3478
if (pfctl_file_fingerprints(dev, opts, PF_OSFP_FILE))
sbin/pfctl/pfctl.c
3483
if (pfctl_rules(dev, rulesopt, opts, optimize,
sbin/pfctl/pfctl.c
3488
if (opts & PF_OPT_ENABLE)
sbin/pfctl/pfctl.c
3489
if (pfctl_enable(dev, opts))
sbin/pfctl/pfctl.c
350
pfctl_errx(int opts, int eval, const char *fmt, ...)
sbin/pfctl/pfctl.c
3510
pfctl_debug(dev, level, opts);
sbin/pfctl/pfctl.c
356
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl.c
367
pfctl_enable(int dev, int opts)
sbin/pfctl/pfctl.c
375
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
382
pfctl_disable(int dev, int opts)
sbin/pfctl/pfctl.c
390
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
397
pfctl_clear_stats(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
404
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
407
pfctl_err(opts, 1, "DIOCCLRSTATUS");
sbin/pfctl/pfctl.c
408
if ((opts & PF_OPT_QUIET) == 0) {
sbin/pfctl/pfctl.c
417
pfctl_clear_interface_flags(int dev, int opts)
sbin/pfctl/pfctl.c
421
if ((opts & PF_OPT_NOACTION) == 0) {
sbin/pfctl/pfctl.c
426
pfctl_err(opts, 1, "DIOCCLRIFFLAG");
sbin/pfctl/pfctl.c
427
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
433
pfctl_clear_rules(int dev, int opts, char *anchorname)
sbin/pfctl/pfctl.c
442
pfctl_err(opts, 1, "%s", __func__);
sbin/pfctl/pfctl.c
444
} else if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
451
pfctl_clear_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
454
pfctl_err(opts, 1, "DIOCCLRSRCNODES");
sbin/pfctl/pfctl.c
455
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
460
pfctl_clear_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
467
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
470
pfctl_err(opts, 1, "DIOCCLRSTATES");
sbin/pfctl/pfctl.c
471
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
528
pfctl_kill_src_nodes(int dev, int opts)
sbin/pfctl/pfctl.c
544
&psnk.psnk_src.addr.v.a.mask, (opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
566
(opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
598
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
604
pfctl_net_kill_states(int dev, const char *iface, int opts, int rdomain)
sbin/pfctl/pfctl.c
625
&psk.psk_src.addr.v.a.mask, (opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
647
(opts & PF_OPT_NODNS));
sbin/pfctl/pfctl.c
679
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
685
pfctl_label_kill_states(int dev, const char *iface, int opts, int rdomain)
sbin/pfctl/pfctl.c
707
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
712
pfctl_id_kill_states(int dev, int opts)
sbin/pfctl/pfctl.c
740
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
745
pfctl_key_kill_states(int dev, const char *iface, int opts, int rdomain)
sbin/pfctl/pfctl.c
799
if ((opts & PF_OPT_QUIET) == 0)
sbin/pfctl/pfctl.c
849
pfctl_print_rule_counters(struct pf_rule *rule, int opts)
sbin/pfctl/pfctl.c
852
!(opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG)))
sbin/pfctl/pfctl.c
855
if (opts & PF_OPT_DEBUG) {
sbin/pfctl/pfctl.c
875
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl.c
883
if (!(opts & PF_OPT_DEBUG))
sbin/pfctl/pfctl.c
990
enum pfctl_show format, int opts)
sbin/pfctl/pfctl_optimize.c
1227
if (pf->opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_optimize.c
559
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl_optimize.c
565
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_optimize.c
591
if ((pf->opts & PF_OPT_NOACTION) == 0 &&
sbin/pfctl/pfctl_optimize.c
596
if (pf->opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_osfp.c
106
if ((opts & PF_OPT_NOACTION) == 0)
sbin/pfctl/pfctl_osfp.c
107
pfctl_clear_fingerprints(dev, opts);
sbin/pfctl/pfctl_osfp.c
237
add_fingerprint(dev, opts, &fp);
sbin/pfctl/pfctl_osfp.c
241
add_fingerprint(dev, opts, &fp);
sbin/pfctl/pfctl_osfp.c
252
if (opts & PF_OPT_VERBOSE2)
sbin/pfctl/pfctl_osfp.c
260
pfctl_clear_fingerprints(int dev, int opts)
sbin/pfctl/pfctl_osfp.c
263
pfctl_err(opts, 1, "DIOCOSFPFLUSH");
sbin/pfctl/pfctl_osfp.c
283
pfctl_load_fingerprints(int dev, int opts)
sbin/pfctl/pfctl_osfp.c
306
pfctl_show_fingerprints(int opts)
sbin/pfctl/pfctl_osfp.c
309
if (opts & PF_OPT_SHOWALL) {
sbin/pfctl/pfctl_osfp.c
315
sort_name_list(opts, &classes);
sbin/pfctl/pfctl_osfp.c
316
print_name_list(opts, &classes, "");
sbin/pfctl/pfctl_osfp.c
534
add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp)
sbin/pfctl/pfctl_osfp.c
582
add_fingerprint(dev, opts, &fptmp); \
sbin/pfctl/pfctl_osfp.c
628
if ((opts & PF_OPT_NOACTION) == 0 && ioctl(dev, DIOCOSFPADD, fp) == -1)
sbin/pfctl/pfctl_osfp.c
711
print_name_list(int opts, struct name_list *nml, const char *prefix)
sbin/pfctl/pfctl_osfp.c
720
print_name_list(opts, &nm->nm_sublist, newprefix);
sbin/pfctl/pfctl_osfp.c
725
sort_name_list(int opts, struct name_list *nml)
sbin/pfctl/pfctl_osfp.c
751
sort_name_list(opts, &nm->nm_sublist);
sbin/pfctl/pfctl_osfp.c
86
pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
sbin/pfctl/pfctl_parser.c
1697
host(const char *s, int opts)
sbin/pfctl/pfctl_parser.c
1718
(h = host_dns(ps, mask, (opts & PF_OPT_NODNS))) == NULL) {
sbin/pfctl/pfctl_parser.c
1887
append_addr(struct pfr_buffer *b, char *s, int test, int opts)
sbin/pfctl/pfctl_parser.c
1926
if ((n = host(r, opts)) == NULL) {
sbin/pfctl/pfctl_parser.c
378
print_port(u_int8_t op, u_int16_t p1, u_int16_t p2, const char *proto, int opts)
sbin/pfctl/pfctl_parser.c
383
if (opts & PF_OPT_PORTNAMES)
sbin/pfctl/pfctl_parser.c
422
sa_family_t af, u_int8_t proto, int opts)
sbin/pfctl/pfctl_parser.c
425
int verbose = opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG);
sbin/pfctl/pfctl_parser.c
444
proto == IPPROTO_TCP ? "tcp" : "udp", opts);
sbin/pfctl/pfctl_parser.c
456
proto == IPPROTO_TCP ? "tcp" : "udp", opts);
sbin/pfctl/pfctl_parser.c
492
switch (pool->opts & PF_POOL_TYPEMASK) {
sbin/pfctl/pfctl_parser.c
513
if (pool->opts & PF_POOL_STICKYADDR)
sbin/pfctl/pfctl_parser.c
526
print_status(struct pf_status *s, struct pfctl_watermarks *synflwats, int opts)
sbin/pfctl/pfctl_parser.c
560
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
607
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
621
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
645
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
657
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
665
print_src_node(struct pf_src_node *sn, int opts)
sbin/pfctl/pfctl_parser.c
677
print_addr(&aw, sn->af, opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl_parser.c
690
opts & PF_OPT_VERBOSE2);
sbin/pfctl/pfctl_parser.c
696
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_parser.c
753
int opts)
sbin/pfctl/pfctl_parser.c
762
int verbose = opts & (PF_OPT_VERBOSE2 | PF_OPT_DEBUG);
sbin/pfctl/pfctl_parser.c
885
pf->opts | opts);
sbin/pfctl/pfctl_parser.h
94
int opts;
sbin/pfctl/pfctl_queue.c
103
pfctl_print_queue_node(dev, node, opts);
sbin/pfctl/pfctl_queue.c
185
pfctl_print_queue_node(int dev, struct pfctl_queue_node *node, int opts)
sbin/pfctl/pfctl_queue.c
191
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_queue.c
194
if (opts & PF_OPT_DEBUG)
sbin/pfctl/pfctl_queue.c
75
pfctl_show_queues(int dev, const char *iface, int opts, int verbose2)
sbin/pfctl/pfctl_queue.c
78
int nodes, dotitle = (opts & PF_OPT_SHOWALL);
sbin/pfctl/pfctl_queue.c
91
pfctl_print_queue_node(dev, node, opts);
sbin/pfctl/pfctl_radix.c
535
pfr_buf_load(struct pfr_buffer *b, char *file, int nonetwork, int opts)
sbin/pfctl/pfctl_radix.c
552
if ((ev = append_addr(b, buf, nonetwork, opts)) == -1) {
sbin/pfctl/pfctl_table.c
105
pfctl_clear_tables(const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
109
if ((rv = pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts)) == -1) {
sbin/pfctl/pfctl_table.c
110
if ((opts & PF_OPT_IGNFAIL) == 0)
sbin/pfctl/pfctl_table.c
118
pfctl_show_tables(const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
120
if (pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts) == -1)
sbin/pfctl/pfctl_table.c
126
char *file, const char *anchor, int opts)
sbin/pfctl/pfctl_table.c
137
if (opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl_table.c
158
xprintf(opts, "%d tables deleted", ndel);
sbin/pfctl/pfctl_table.c
160
b.pfrb_type = (opts & PF_OPT_VERBOSE2) ?
sbin/pfctl/pfctl_table.c
167
if (opts & PF_OPT_VERBOSE2)
sbin/pfctl/pfctl_table.c
177
if ((opts & PF_OPT_SHOWALL) && b.pfrb_size > 0)
sbin/pfctl/pfctl_table.c
181
if (opts & PF_OPT_VERBOSE2)
sbin/pfctl/pfctl_table.c
182
print_tstats(p, opts & PF_OPT_DEBUG);
sbin/pfctl/pfctl_table.c
184
print_table(p, opts & PF_OPT_VERBOSE,
sbin/pfctl/pfctl_table.c
185
opts & PF_OPT_DEBUG);
sbin/pfctl/pfctl_table.c
190
xprintf(opts, "%d table deleted", ndel);
sbin/pfctl/pfctl_table.c
195
xprintf(opts, "%d addresses deleted", ndel);
sbin/pfctl/pfctl_table.c
198
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
201
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
205
xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size);
sbin/pfctl/pfctl_table.c
206
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
208
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
211
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
214
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
216
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
220
xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size);
sbin/pfctl/pfctl_table.c
221
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
223
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
226
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
229
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
232
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
246
xprintf(opts, "%d addresses added", nadd);
sbin/pfctl/pfctl_table.c
248
xprintf(opts, "%d addresses deleted", ndel);
sbin/pfctl/pfctl_table.c
250
xprintf(opts, "%d addresses changed", nchange);
sbin/pfctl/pfctl_table.c
252
xprintf(opts, "no changes");
sbin/pfctl/pfctl_table.c
253
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
255
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
258
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
287
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
291
xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size);
sbin/pfctl/pfctl_table.c
292
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
294
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
297
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
299
b.pfrb_type = (opts & PF_OPT_VERBOSE) ?
sbin/pfctl/pfctl_table.c
306
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
316
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
317
print_astats(p, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
319
print_addrx(p, NULL, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
324
if (load_addr(&b, argc, argv, file, 1, opts))
sbin/pfctl/pfctl_table.c
326
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_table.c
334
xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
sbin/pfctl/pfctl_table.c
335
if ((opts & PF_OPT_VERBOSE) && !(opts & PF_OPT_VERBOSE2))
sbin/pfctl/pfctl_table.c
339
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
340
if (opts & PF_OPT_VERBOSE2) {
sbin/pfctl/pfctl_table.c
344
print_addrx(a2, a, opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
351
if (load_addr(&b, argc, argv, file, 0, opts))
sbin/pfctl/pfctl_table.c
353
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
357
xprintf(opts, "%d/%d addresses cleared", nzero, b.pfrb_size);
sbin/pfctl/pfctl_table.c
358
if (opts & PF_OPT_VERBOSE)
sbin/pfctl/pfctl_table.c
360
if (opts & PF_OPT_VERBOSE2 ||
sbin/pfctl/pfctl_table.c
363
opts & PF_OPT_USEDNS);
sbin/pfctl/pfctl_table.c
367
xprintf(opts, "%d table/stats cleared", nzero);
sbin/pfctl/pfctl_table.c
434
int nonetwork, int opts)
sbin/pfctl/pfctl_table.c
438
if ((ev = append_addr(b, *argv++, nonetwork, opts)) == -1) {
sbin/pfctl/pfctl_table.c
447
if (pfr_buf_load(b, file, nonetwork, opts)) {
sbin/pfctl/pfctl_table.c
612
xprintf(int opts, const char *fmt, ...)
sbin/pfctl/pfctl_table.c
616
if (opts & PF_OPT_QUIET)
sbin/pfctl/pfctl_table.c
623
if (opts & PF_OPT_DUMMYACTION)
sbin/pfctl/pfctl_table.c
625
else if (opts & PF_OPT_NOACTION)
sbin/pfctl/pfctl_table.c
635
pfctl_show_ifaces(const char *filter, int opts)
sbin/pfctl/pfctl_table.c
650
if (opts & PF_OPT_SHOWALL)
sbin/pfctl/pfctl_table.c
653
print_iface(p, opts);
sbin/pfctl/pfctl_table.c
657
print_iface(struct pfi_kif *p, int opts)
sbin/pfctl/pfctl_table.c
664
if (opts & PF_OPT_VERBOSE) {
sbin/pfctl/pfctl_table.c
670
if (!(opts & PF_OPT_VERBOSE2))
sbin/pfctl/pfctl_table.c
76
if ((!(opts & PF_OPT_NOACTION) || \
sbin/pfctl/pfctl_table.c
77
(opts & PF_OPT_DUMMYACTION)) && \
sbin/pfctl/pfctl_table.c
79
if ((opts & PF_OPT_RECURSE) == 0) \
sbin/pfctl/pfctl_table.c
89
if ((!(opts & PF_OPT_NOACTION) || \
sbin/pfctl/pfctl_table.c
90
(opts & PF_OPT_DUMMYACTION)) && \
sbin/pfctl/pfctl_table.c
97
xprintf(opts, "%d table created", nadd); \
sbin/pfctl/pfctl_table.c
98
if (opts & PF_OPT_NOACTION) \
sys/dev/pci/drm/include/linux/phy/phy.h
28
phy_configure(struct phy *phy, union phy_configure_opts *opts)
sys/dev/pci/if_icereg.h
9724
uint8_t opts;
sys/net/if_sppp.h
114
u_long opts; /* LCP options to send (bitfield) */
sys/net/if_sppp.h
131
u_long opts; /* IPCP options to send (bitfield) */
sys/net/if_spppsubr.c
1653
sp->lcp.opts = (1 << LCP_OPT_MAGIC);
sys/net/if_spppsubr.c
1681
sp->lcp.opts = (1 << LCP_OPT_MAGIC);
sys/net/if_spppsubr.c
1686
sp->lcp.opts |= (1 << LCP_OPT_MRU);
sys/net/if_spppsubr.c
1760
sp->lcp.opts |= (1 << LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
1762
sp->lcp.opts &= ~(1 << LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
2014
sp->lcp.opts &= ~(1 << LCP_OPT_MAGIC);
sys/net/if_spppsubr.c
2023
sp->lcp.opts &= ~(1 << LCP_OPT_MRU);
sys/net/if_spppsubr.c
2036
sp->lcp.opts &= ~(1 << LCP_OPT_AUTH_PROTO);
sys/net/if_spppsubr.c
2075
if ((sp->lcp.opts & (1 << LCP_OPT_MAGIC)) &&
sys/net/if_spppsubr.c
2110
sp->lcp.opts |= (1 << LCP_OPT_MRU);
sys/net/if_spppsubr.c
2148
if ((sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) != 0 ||
sys/net/if_spppsubr.c
2241
if (sp->lcp.opts & (1 << LCP_OPT_MAGIC)) {
sys/net/if_spppsubr.c
2252
if (sp->lcp.opts & (1 << LCP_OPT_MRU)) {
sys/net/if_spppsubr.c
2259
if (sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) {
sys/net/if_spppsubr.c
2315
sp->ipcp.opts = 0;
sys/net/if_spppsubr.c
2569
sp->ipcp.opts &= ~(1 << SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
2573
sp->ipcp.opts &= ~(1 << SPPP_IPCP_OPT_COMPRESS);
sys/net/if_spppsubr.c
2577
sp->ipcp.opts &= ~(1 << SPPP_IPCP_OPT_PRIMDNS);
sys/net/if_spppsubr.c
2580
sp->ipcp.opts &= ~(1 << SPPP_IPCP_OPT_SECDNS);
sys/net/if_spppsubr.c
2622
sp->ipcp.opts |= (1 << SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
2708
sp->ipcp.opts |= (1 << SPPP_IPCP_OPT_ADDRESS);
sys/net/if_spppsubr.c
2719
sp->ipcp.opts |= (1 << SPPP_IPCP_OPT_PRIMDNS);
sys/net/if_spppsubr.c
2720
sp->ipcp.opts |= (1 << SPPP_IPCP_OPT_SECDNS);
sys/net/if_spppsubr.c
2746
if (sp->ipcp.opts & (1 << SPPP_IPCP_OPT_COMPRESSION)) {
sys/net/if_spppsubr.c
2756
if (sp->ipcp.opts & (1 << SPPP_IPCP_OPT_ADDRESS)) {
sys/net/if_spppsubr.c
2770
if (sp->ipcp.opts & (1 << SPPP_IPCP_OPT_PRIMDNS)) {
sys/net/if_spppsubr.c
2778
if (sp->ipcp.opts & (1 << SPPP_IPCP_OPT_SECDNS)) {
sys/net/if_spppsubr.c
2802
sp->ipv6cp.opts = 0;
sys/net/if_spppsubr.c
2849
sp->ipv6cp.opts |= (1 << IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
3060
sp->ipv6cp.opts &= ~(1 << IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
3064
sp->ipv6cp.opts &= ~(1 << IPV6CP_OPT_COMPRESS);
sys/net/if_spppsubr.c
3121
sp->ipv6cp.opts |= (1 << IPV6CP_OPT_IFID);
sys/net/if_spppsubr.c
3177
if (sp->ipv6cp.opts & (1 << IPV6CP_OPT_IFID)) {
sys/net/if_spppsubr.c
3189
if (sp->ipv6cp.opts & (1 << IPV6CP_OPT_COMPRESSION)) {
sys/net/if_spppsubr.c
3455
(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) &&
sys/net/if_spppsubr.c
3604
(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) != 0) {
sys/net/if_spppsubr.c
3860
(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) &&
sys/net/if_spppsubr.c
3919
(sp->lcp.opts & (1 << LCP_OPT_AUTH_PROTO)) != 0) {
sys/net/pf.c
3588
u_int8_t opts[MAX_TCPOPTLEN], *opt, *eoh;
sys/net/pf.c
3594
!pf_pull_hdr(pd->m, optsoff, opts, olen, NULL, pd->af))
sys/net/pf.c
3597
eoh = opts + olen;
sys/net/pf.c
3598
opt = opts;
sys/net/pf.c
3599
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
3604
size_t startoff = (opt + i) - opts;
sys/net/pf.c
3619
m_copyback(pd->m, optsoff, olen, opts, M_NOWAIT);
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
4236
u_int8_t *eoh = opts + hlen;
sys/net/pf.c
4266
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf.c
4271
pd->off + sizeof(struct tcphdr), opts, olen, NULL, pd->af))
sys/net/pf.c
4274
opt = opts;
sys/net/pf.c
4275
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
4291
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf.c
4296
pd->off + sizeof(struct tcphdr), opts, olen, NULL, pd->af))
sys/net/pf.c
4300
opt = opts;
sys/net/pf.c
4301
while ((opt = pf_find_tcpopt(opt, opts, olen,
sys/net/pf.c
7627
uint8_t type, length, opts[15 * 4 - sizeof(struct ip)];
sys/net/pf.c
7636
KASSERT(end - off <= sizeof(opts));
sys/net/pf.c
7637
m_copydata(pd->m, off, end - off, opts);
sys/net/pf.c
7642
type = opts[off];
sys/net/pf.c
7654
length = opts[off + 1];
sys/net/pf_lb.c
231
switch (r->nat.opts & PF_POOL_TYPEMASK) {
sys/net/pf_lb.c
312
if ((rpool->opts & PF_POOL_TYPEMASK) == PF_POOL_LEASTSTATES &&
sys/net/pf_lb.c
360
if (sns[type] == NULL && rpool->opts & PF_POOL_STICKYADDR &&
sys/net/pf_lb.c
361
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE &&
sys/net/pf_lb.c
371
!PF_POOL_DYNTYPE(rpool->opts))
sys/net/pf_lb.c
379
!PF_POOL_DYNTYPE(rpool->opts))
sys/net/pf_lb.c
389
if (!PF_POOL_DYNTYPE(rpool->opts))
sys/net/pf_lb.c
396
switch (rpool->opts & PF_POOL_TYPEMASK) {
sys/net/pf_lb.c
627
if (rpool->opts & PF_POOL_STICKYADDR) {
sys/net/pf_lb.c
638
(rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) {
sys/net/pf_lb.c
641
if ((rpool->opts & PF_POOL_TYPEMASK) ==
sys/net/pf_lb.c
713
((*nr)->nat.opts & PF_POOL_TYPEMASK) ==
sys/net/pf_lb.c
725
if ((r->rdr.opts & PF_POOL_TYPEMASK) == PF_POOL_BITMASK)
sys/net/pf_lb.c
748
((*nr)->rdr.opts & PF_POOL_TYPEMASK) ==
sys/net/pf_lb.c
924
(natpl->opts & PF_POOL_TYPEMASK) == PF_POOL_LEASTSTATES) {
sys/net/pf_lb.c
937
(rdrpl->opts & PF_POOL_TYPEMASK) == PF_POOL_LEASTSTATES) {
sys/net/pf_lb.c
953
(rpool->opts & PF_POOL_TYPEMASK) == PF_POOL_LEASTSTATES) {
sys/net/pf_norm.c
1181
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1215
pd->off + sizeof(*th), opts, olen, NULL, pd->af))
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
1261
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1298
pf_pull_hdr(pd->m, pd->off + sizeof(*th), opts, olen, NULL,
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
1333
PF_ALGNMNT(ts - opts));
sys/net/pf_norm.c
1343
tsr, htonl(tsecr), PF_ALGNMNT(tsr - opts));
sys/net/pf_norm.c
1354
m_copyback(pd->m, pd->off + sizeof(*th), olen, opts, M_NOWAIT);
sys/net/pf_norm.c
1627
u_int8_t opts[MAX_TCPOPTLEN], *opt;
sys/net/pf_norm.c
1632
!pf_pull_hdr(pd->m, optsoff, opts, olen, NULL, pd->af))
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
1642
size_t mssoffopts = mssp - opts;
sys/net/pfvar.h
353
u_int8_t opts;
sys/netinet/ip_icmp.c
337
struct mbuf *opts;
sys/netinet/ip_icmp.c
582
if (!icmp_reflect(m, &opts, NULL)) {
sys/netinet/ip_icmp.c
583
icmp_send(m, opts);
sys/netinet/ip_icmp.c
584
m_free(opts);
sys/netinet/ip_icmp.c
688
struct mbuf *opts = NULL;
sys/netinet/ip_icmp.c
789
if (op && (opts = ip_srcroute(m)) == NULL &&
sys/netinet/ip_icmp.c
790
(opts = m_gethdr(M_DONTWAIT, MT_HEADER))) {
sys/netinet/ip_icmp.c
791
opts->m_len = sizeof(struct in_addr);
sys/netinet/ip_icmp.c
792
mtod(opts, struct in_addr *)->s_addr = 0;
sys/netinet/ip_icmp.c
794
if (op && opts) {
sys/netinet/ip_icmp.c
798
optlen, opts->m_len);
sys/netinet/ip_icmp.c
820
memcpy(mtod(opts, caddr_t) +
sys/netinet/ip_icmp.c
821
opts->m_len, cp, len);
sys/netinet/ip_icmp.c
822
opts->m_len += len;
sys/netinet/ip_icmp.c
826
if ((cnt = opts->m_len % 4) != 0)
sys/netinet/ip_icmp.c
828
*(mtod(opts, caddr_t) + opts->m_len) =
sys/netinet/ip_icmp.c
830
opts->m_len++;
sys/netinet/ip_icmp.c
834
printf("%d\n", opts->m_len);
sys/netinet/ip_icmp.c
841
*op = opts;
sys/netinet/ip_icmp.c
850
icmp_send(struct mbuf *m, struct mbuf *opts)
sys/netinet/ip_icmp.c
874
if (opts != NULL) {
sys/netinet/ip_icmp.c
875
m = ip_insertoptions(m, opts, &hlen);
sys/netinet/ip_input.c
1530
caddr_t opts;
sys/netinet/ip_input.c
1534
opts = (caddr_t)(ip + 1);
sys/netinet/ip_input.c
1536
memmove(opts, opts + olen, i);
sys/netinet/raw_ip.c
236
struct mbuf *opts = NULL;
sys/netinet/raw_ip.c
240
ip_savecontrol(inp, &opts, ip, m);
sys/netinet/raw_ip.c
244
ret = sbappendaddr(&so->so_rcv, sintosa(ripsrc), m, opts);
sys/netinet/raw_ip.c
249
m_freem(opts);
sys/netinet/udp_usrreq.c
655
struct mbuf *opts = NULL;
sys/netinet/udp_usrreq.c
669
ip6_savecontrol(inp, m, &opts);
sys/netinet/udp_usrreq.c
673
ip_savecontrol(inp, &opts, ip, m);
sys/netinet/udp_usrreq.c
676
struct mbuf **mp = &opts;
sys/netinet/udp_usrreq.c
685
struct mbuf **mp = &opts;
sys/netinet/udp_usrreq.c
694
struct mbuf **mp = &opts;
sys/netinet/udp_usrreq.c
705
if (sbappendaddr(&so->so_rcv, srcaddr, m, opts) == 0) {
sys/netinet/udp_usrreq.c
709
m_freem(opts);
sys/netinet6/in6_src.c
109
if (opts && (pi = opts->ip6po_pktinfo) &&
sys/netinet6/in6_src.c
114
error = in6_selectif(dst, opts, mopts, &inp->inp_route, &ifp,
sys/netinet6/in6_src.c
289
in6_selectroute(const struct in6_addr *dst, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
308
if (opts && opts->ip6po_pktinfo &&
sys/netinet6/in6_src.c
309
opts->ip6po_pktinfo->ipi6_ifindex) {
sys/netinet6/in6_src.c
311
rt->rt_ifidx != opts->ip6po_pktinfo->ipi6_ifindex) {
sys/netinet6/in6_src.c
323
in6_selectif(const struct in6_addr *dst, struct ip6_pktopts *opts,
sys/netinet6/in6_src.c
331
if (opts && (pi = opts->ip6po_pktinfo) != NULL && pi->ipi6_ifindex) {
sys/netinet6/in6_src.c
345
rt = in6_selectroute(dst, opts, ro, rtableid);
sys/netinet6/in6_src.c
90
struct ip6_pktopts *opts)
sys/netinet6/raw_ip6.c
276
struct mbuf *opts = NULL;
sys/netinet6/raw_ip6.c
280
ip6_savecontrol(inp, m, &opts);
sys/netinet6/raw_ip6.c
286
ret = sbappendaddr(&so->so_rcv, sin6tosa(rip6src), m, opts);
sys/netinet6/raw_ip6.c
291
m_freem(opts);
usr.bin/arch/arch.c
42
char *arch, *opts;
usr.bin/arch/arch.c
47
opts = "a";
usr.bin/arch/arch.c
51
opts = "ks";
usr.bin/arch/arch.c
53
while ((c = getopt(argc, argv, opts)) != -1) {
usr.bin/compress/main.c
197
optstr = method->opts;
usr.bin/compress/main.c
64
const char *opts;
usr.bin/cvs/entries.c
373
cvs_ent_line_str(const char *name, char *rev, char *tstamp, char *opts,
usr.bin/cvs/entries.c
382
name, isremoved == 1 ? "-" : "", rev, tstamp, opts, sticky);
usr.bin/dig/dighost.c
1344
unsigned int flags, dns_ednsopt_t *opts, size_t count)
usr.bin/dig/dighost.c
1351
opts, count);
usr.bin/dig/dighost.c
2131
dns_ednsopt_t opts[MAXOPTS];
usr.bin/dig/dighost.c
2142
opts[i].code = DNS_OPT_NSID;
usr.bin/dig/dighost.c
2143
opts[i].length = 0;
usr.bin/dig/dighost.c
2144
opts[i].value = NULL;
usr.bin/dig/dighost.c
2164
opts[i].code = DNS_OPT_CLIENT_SUBNET;
usr.bin/dig/dighost.c
2165
opts[i].length = (uint16_t) addrl + 4;
usr.bin/dig/dighost.c
2227
opts[i].value = (uint8_t *) ecsbuf;
usr.bin/dig/dighost.c
2233
opts[i].code = DNS_OPT_COOKIE;
usr.bin/dig/dighost.c
2239
opts[i].value = isc_buffer_base(&b);
usr.bin/dig/dighost.c
2240
opts[i].length = isc_buffer_usedlength(&b);
usr.bin/dig/dighost.c
2243
opts[i].length = 8;
usr.bin/dig/dighost.c
2244
opts[i].value = cookie;
usr.bin/dig/dighost.c
2251
opts[i].code = DNS_OPT_EXPIRE;
usr.bin/dig/dighost.c
2252
opts[i].length = 0;
usr.bin/dig/dighost.c
2253
opts[i].value = NULL;
usr.bin/dig/dighost.c
2259
memmove(&opts[i], lookup->ednsopts,
usr.bin/dig/dighost.c
2269
lookup->edns, flags, opts, i);
usr.bin/id/id.c
127
if (strcmp(opts, "") != 0 && argc > 1)
usr.bin/id/id.c
62
const char *opts;
usr.bin/id/id.c
72
opts = "";
usr.bin/id/id.c
78
opts = "";
usr.bin/id/id.c
82
opts = "cGgnpRru";
usr.bin/id/id.c
84
while ((ch = getopt(argc, argv, opts)) != -1)
usr.bin/mandoc/out.c
118
const struct tbl_opts *opts;
usr.bin/mandoc/out.c
148
tbl->cols = mandoc_calloc((size_t)sp_first->opts->cols,
usr.bin/mandoc/out.c
150
opts = sp_first->opts;
usr.bin/mandoc/out.c
188
opts, dp,
usr.bin/mandoc/out.c
191
rmargin ? (rmargin / enw + sp->opts->cols / 2) /
usr.bin/mandoc/out.c
192
(sp->opts->cols + 1) * enw : 0);
usr.bin/mandoc/out.c
223
if (maxcol < sp_first->opts->cols - 1)
usr.bin/mandoc/out.c
224
maxcol = sp_first->opts->cols - 1;
usr.bin/mandoc/out.c
390
(opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ?
usr.bin/mandoc/out.c
391
2 : !!opts->lvert + !!opts->rvert), tbl->arg);
usr.bin/mandoc/out.c
427
const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw)
usr.bin/mandoc/out.c
446
return tblcalc_number(tbl, col, opts, dp);
usr.bin/mandoc/out.c
497
const struct tbl_opts *opts, const struct tbl_dat *dp)
usr.bin/mandoc/out.c
522
} else if (cp[0] == opts->decimal &&
usr.bin/mandoc/tbl.c
100
tbl->opts.decimal = '.';
usr.bin/mandoc/tbl.c
99
tbl->opts.tab = '\t';
usr.bin/mandoc/tbl.h
112
struct tbl_opts *opts; /* Options for the table as a whole. */
usr.bin/mandoc/tbl.h
20
int opts;
usr.bin/mandoc/tbl_data.c
151
if (dp->opts->opts & TBL_OPT_NOSPACE) {
usr.bin/mandoc/tbl_data.c
204
if (tbl->opts.opts & TBL_OPT_NOSPACE)
usr.bin/mandoc/tbl_data.c
207
if (p[pos] == tbl->opts.tab) {
usr.bin/mandoc/tbl_data.c
244
dp->opts = &tbl->opts;
usr.bin/mandoc/tbl_data.c
302
if (rp->last->col + 1 < tbl->opts.cols)
usr.bin/mandoc/tbl_data.c
57
while (*ccp != '\0' && *ccp != tbl->opts.tab)
usr.bin/mandoc/tbl_data.c
76
if (dp->layout->last->col + 1 < dp->opts->cols) {
usr.bin/mandoc/tbl_html.c
231
sp->opts->decimal)) == NULL) {
usr.bin/mandoc/tbl_html.c
61
sp->opts->opts & TBL_OPT_ALLBOX ? "1" : NULL,
usr.bin/mandoc/tbl_html.c
63
sp->opts->opts & TBL_OPT_DBOX ? "double" :
usr.bin/mandoc/tbl_html.c
64
sp->opts->opts & TBL_OPT_BOX ? "solid" : NULL,
usr.bin/mandoc/tbl_int.h
30
struct tbl_opts opts; /* Options for the whole table. */
usr.bin/mandoc/tbl_layout.c
306
if (tbl->opts.lvert < tbl->first_row->vert)
usr.bin/mandoc/tbl_layout.c
307
tbl->opts.lvert = tbl->first_row->vert;
usr.bin/mandoc/tbl_layout.c
317
if (tbl->opts.lvert < rp->vert)
usr.bin/mandoc/tbl_layout.c
318
tbl->opts.lvert = rp->vert;
usr.bin/mandoc/tbl_layout.c
320
rp->last->col + 1 == tbl->opts.cols &&
usr.bin/mandoc/tbl_layout.c
321
tbl->opts.rvert < rp->last->vert)
usr.bin/mandoc/tbl_layout.c
322
tbl->opts.rvert = rp->last->vert;
usr.bin/mandoc/tbl_layout.c
376
if (tbl->opts.cols <= p->col)
usr.bin/mandoc/tbl_layout.c
377
tbl->opts.cols = p->col + 1;
usr.bin/mandoc/tbl_opts.c
167
tbl->opts.opts |= keys[i].key;
usr.bin/mandoc/tbl_opts.c
89
tbl->opts.tab = p[*pos];
usr.bin/mandoc/tbl_opts.c
97
tbl->opts.decimal = p[*pos];
usr.bin/mandoc/tbl_term.c
197
if (sp->opts->opts & TBL_OPT_CENTRE) {
usr.bin/mandoc/tbl_term.c
212
sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ?
usr.bin/mandoc/tbl_term.c
213
5 : 3 * !!sp->opts->lvert + 2 * !!sp->opts->rvert);
usr.bin/mandoc/tbl_term.c
217
for (ic = 0; ic + 1 < sp->opts->cols; ic++)
usr.bin/mandoc/tbl_term.c
220
if (sp->opts->cols)
usr.bin/mandoc/tbl_term.c
221
tsz += tp->tbl.cols[sp->opts->cols - 1].width;
usr.bin/mandoc/tbl_term.c
234
sp->opts->opts & TBL_OPT_DBOX)
usr.bin/mandoc/tbl_term.c
236
if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX))
usr.bin/mandoc/tbl_term.c
252
term_setcol(tp, sp->opts->cols + 2);
usr.bin/mandoc/tbl_term.c
257
if (sp->opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ||
usr.bin/mandoc/tbl_term.c
258
sp->opts->lvert)
usr.bin/mandoc/tbl_term.c
266
for (ic = 0; ic < sp->opts->cols; ic++) {
usr.bin/mandoc/tbl_term.c
273
if (ic + 1 < sp->opts->cols)
usr.bin/mandoc/tbl_term.c
304
for (ic = 0; ic < sp->opts->cols; ic++) {
usr.bin/mandoc/tbl_term.c
316
tbl_data(tp, sp->opts, cp, dp, tp->tbl.cols + ic,
usr.bin/mandoc/tbl_term.c
332
uvert = dvert = sp->opts->opts & TBL_OPT_DBOX ? 2 :
usr.bin/mandoc/tbl_term.c
333
sp->opts->opts & TBL_OPT_BOX ? 1 : 0;
usr.bin/mandoc/tbl_term.c
350
if (uvert > 0 || dvert > 0 || (horiz && sp->opts->lvert)) {
usr.bin/mandoc/tbl_term.c
369
for (ic = 0; ic < sp->opts->cols; ic++) {
usr.bin/mandoc/tbl_term.c
419
if (sp->opts->opts & TBL_OPT_ALLBOX) {
usr.bin/mandoc/tbl_term.c
531
uvert = dvert = sp->opts->opts & TBL_OPT_DBOX ? 2 :
usr.bin/mandoc/tbl_term.c
532
sp->opts->opts & TBL_OPT_BOX ? 1 : 0;
usr.bin/mandoc/tbl_term.c
535
sp->layout->last->col + 1 == sp->opts->cols)
usr.bin/mandoc/tbl_term.c
539
sp->next->layout->last->col + 1 == sp->opts->cols)
usr.bin/mandoc/tbl_term.c
543
sp->prev->layout->last->col + 1 == sp->opts->cols &&
usr.bin/mandoc/tbl_term.c
550
sp->last->layout->col + 1 == sp->opts->cols) ||
usr.bin/mandoc/tbl_term.c
552
sp->layout->last->col + 1 == sp->opts->cols) ? 2 :
usr.bin/mandoc/tbl_term.c
556
sp->last->layout->col + 1 == sp->opts->cols) ||
usr.bin/mandoc/tbl_term.c
558
sp->layout->last->col + 1 == sp->opts->cols) ? 1 : 0;
usr.bin/mandoc/tbl_term.c
560
if (uvert > 0 || dvert > 0 || (horiz && sp->opts->rvert)) {
usr.bin/mandoc/tbl_term.c
562
sp->layout->last->col + 1 < sp->opts->cols)) {
usr.bin/mandoc/tbl_term.c
584
if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX))
usr.bin/mandoc/tbl_term.c
587
sp->opts->opts & TBL_OPT_DBOX)
usr.bin/mandoc/tbl_term.c
592
} else if (horiz == 0 && sp->opts->opts & TBL_OPT_ALLBOX &&
usr.bin/mandoc/tbl_term.c
611
int opts; /* For the table as a whole. */
usr.bin/mandoc/tbl_term.c
627
opts = sp->opts->opts;
usr.bin/mandoc/tbl_term.c
628
bw = opts & TBL_OPT_DBOX ? (tp->enc == TERMENC_UTF8 ? 2 : 1) :
usr.bin/mandoc/tbl_term.c
629
opts & (TBL_OPT_BOX | TBL_OPT_ALLBOX) ? 1 : 0;
usr.bin/mandoc/tbl_term.c
676
if (uw == 0 && opts & TBL_OPT_ALLBOX)
usr.bin/mandoc/tbl_term.c
680
} else if (spp != NULL && opts & TBL_OPT_ALLBOX)
usr.bin/mandoc/tbl_term.c
687
if (dw == 0 && opts & TBL_OPT_ALLBOX)
usr.bin/mandoc/tbl_term.c
693
} else if (spn != NULL && opts & TBL_OPT_ALLBOX)
usr.bin/mandoc/tbl_term.c
695
if (col + 1 == tp->tbl.cols + sp->opts->cols)
usr.bin/mandoc/tbl_term.c
751
tbl_data(struct termp *tp, const struct tbl_opts *opts,
usr.bin/mandoc/tbl_term.c
792
tbl_number(tp, opts, dp, col, coloff);
usr.bin/mandoc/tbl_term.c
894
tbl_number(struct termp *tp, const struct tbl_opts *opts,
usr.bin/mandoc/tbl_term.c
918
} else if (cp[0] == opts->decimal &&
usr.bin/mandoc/tree.c
430
printf("%d", sp->opts->cols);
usr.bin/mandoc/tree.c
431
if (sp->opts->opts & TBL_OPT_CENTRE)
usr.bin/mandoc/tree.c
433
if (sp->opts->opts & TBL_OPT_EXPAND)
usr.bin/mandoc/tree.c
435
if (sp->opts->opts & TBL_OPT_ALLBOX)
usr.bin/mandoc/tree.c
437
if (sp->opts->opts & TBL_OPT_BOX)
usr.bin/mandoc/tree.c
439
if (sp->opts->opts & TBL_OPT_DBOX)
usr.bin/mandoc/tree.c
441
if (sp->opts->opts & TBL_OPT_NOKEEP)
usr.bin/mandoc/tree.c
443
if (sp->opts->opts & TBL_OPT_NOSPACE)
usr.bin/mandoc/tree.c
445
if (sp->opts->opts & TBL_OPT_NOWARN)
usr.bin/openssl/apps.c
1946
options_usage(const struct option *opts)
usr.bin/openssl/apps.c
1952
for (i = 0; opts[i].name != NULL; i++) {
usr.bin/openssl/apps.c
1953
if (opts[i].desc == NULL)
usr.bin/openssl/apps.c
1956
snprintf(optstr, sizeof(optstr), "-%s %s", opts[i].name,
usr.bin/openssl/apps.c
1957
(opts[i].argname != NULL) ? opts[i].argname : "");
usr.bin/openssl/apps.c
1962
p = opts[i].desc;
usr.bin/openssl/apps.c
1973
options_parse(int argc, char **argv, const struct option *opts, char **unnamed,
usr.bin/openssl/apps.c
2018
for (j = 0; opts[j].name != NULL; j++) {
usr.bin/openssl/apps.c
2019
if (strcmp(p, opts[j].name) == 0)
usr.bin/openssl/apps.c
2022
opt = &opts[j];
usr.bin/openssl/apps.h
319
void options_usage(const struct option *opts);
usr.bin/openssl/apps.h
320
int options_parse(int argc, char **argv, const struct option *opts,
usr.bin/rdist/client.c
1021
dostat(char *file, struct stat *statbuf, opt_t opts)
usr.bin/rdist/client.c
1025
if (IS_ON(opts, DO_FOLLOW))
usr.bin/rdist/client.c
1032
IS_ON(opts, DO_FOLLOW) ? "stat" : "lstat", SYSERR);
usr.bin/rdist/client.c
1040
statupdate(int u, char *starget, opt_t opts, char *rname, int destdir,
usr.bin/rdist/client.c
1048
if (IS_ON(opts, DO_VERIFY)) {
usr.bin/rdist/client.c
1052
runspecial(starget, opts, rname, destdir);
usr.bin/rdist/client.c
1059
opts, lmode, user, group, ername);
usr.bin/rdist/client.c
1072
fullupdate(int u, char *starget, opt_t opts, char *rname, int destdir,
usr.bin/rdist/client.c
1079
if (IS_ON(opts, DO_VERIFY)) {
usr.bin/rdist/client.c
1081
runspecial(starget, opts, rname, destdir);
usr.bin/rdist/client.c
1084
if (!IS_ON(opts, DO_QUIET))
usr.bin/rdist/client.c
1086
FLAG_OFF(opts, (DO_COMPARE|DO_REMOVE));
usr.bin/rdist/client.c
1093
if (senddir(rname, opts, st, user, group, destdir) > 0)
usr.bin/rdist/client.c
1098
FLAG_ON(opts, DO_COMPARE);
usr.bin/rdist/client.c
1106
(void) sendlink(rname, opts, st, user, group, destdir);
usr.bin/rdist/client.c
1110
if (IS_ON(opts, DO_VERIFY)) {
usr.bin/rdist/client.c
1112
runspecial(starget, opts, rname, destdir);
usr.bin/rdist/client.c
1115
if (!IS_ON(opts, DO_QUIET))
usr.bin/rdist/client.c
1118
return (sendfile(rname, opts, st, user, group, destdir) == 0);
usr.bin/rdist/client.c
1135
sendit(char *rname, opt_t opts, int destdir)
usr.bin/rdist/client.c
1151
debugmsg(DM_CALL, "sendit(%s, %#x) called\n", rname, opts);
usr.bin/rdist/client.c
1156
if (dostat(target, &stb, opts) < 0)
usr.bin/rdist/client.c
1162
u = update(rname, opts, &stb);
usr.bin/rdist/client.c
1164
rname, opts, target, u);
usr.bin/rdist/client.c
1176
user = getusername(stb.st_uid, target, opts);
usr.bin/rdist/client.c
1177
group = getgroupname(stb.st_gid, target, opts);
usr.bin/rdist/client.c
1179
if (u == US_CHMOG && IS_OFF(opts, DO_UPDATEPERM))
usr.bin/rdist/client.c
1183
return(fullupdate(u, target, opts, rname, destdir, &stb,
usr.bin/rdist/client.c
1187
return(statupdate(u, target, opts, rname, destdir, &stb,
usr.bin/rdist/client.c
1215
install(char *src, char *dest, int ddir, int destdir, opt_t opts)
usr.bin/rdist/client.c
1224
(src?src:"NULL"), (dest?dest:"NULL"), ddir, destdir, opts);
usr.bin/rdist/client.c
1228
if (IS_ON(opts, DO_WHOLE))
usr.bin/rdist/client.c
1234
FLAG_OFF(opts, DO_WHOLE); /* WHOLE only useful if renaming */
usr.bin/rdist/client.c
1245
cp = getondistoptlist(opts);
usr.bin/rdist/client.c
1247
IS_ON(opts, DO_VERIFY) ? "verify" : "install",
usr.bin/rdist/client.c
1268
if (IS_ON(opts, DO_WHOLE)) {
usr.bin/rdist/client.c
1293
(void) sendcmd(C_DIRTARGET, "%o %s", opts, ername);
usr.bin/rdist/client.c
1295
(void) sendcmd(C_TARGET, "%o %s", opts, ername);
usr.bin/rdist/client.c
1310
didupdate = sendit(rname, opts, destdir);
usr.bin/rdist/client.c
163
runspecial(char *starget, opt_t opts, char *rname, int destdir)
usr.bin/rdist/client.c
176
if (IS_ON(opts, DO_VERIFY))
usr.bin/rdist/client.c
245
runcmdspecial(struct cmd *cmd, opt_t opts)
usr.bin/rdist/client.c
255
if (IS_ON(opts, DO_VERIFY))
usr.bin/rdist/client.c
349
sendhardlink(opt_t opts, struct linkbuf *lp, char *rname, int destdir)
usr.bin/rdist/client.c
371
(void) sendcmd(C_RECVHARDLINK, "%o %s %s", opts, elname, ername);
usr.bin/rdist/client.c
380
sendfile(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
391
return(sendhardlink(opts, lp, rname, destdir));
usr.bin/rdist/client.c
405
opts, stb->st_mode & 07777, (long long) stb->st_size,
usr.bin/rdist/client.c
470
else if (f == 0 && IS_ON(opts, DO_COMPARE))
usr.bin/rdist/client.c
473
runspecial(target, opts, rname, destdir);
usr.bin/rdist/client.c
489
rmchk(opt_t opts)
usr.bin/rdist/client.c
502
(void) sendcmd(C_CLEAN, "%o", IS_ON(opts, DO_VERIFY));
usr.bin/rdist/client.c
579
senddir(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
594
opts, stb->st_mode & 07777, user, group, ername);
usr.bin/rdist/client.c
603
if (IS_ON(opts, DO_NODESCEND)) {
usr.bin/rdist/client.c
608
if (IS_ON(opts, DO_REMOVE))
usr.bin/rdist/client.c
609
if (rmchk(opts) > 0)
usr.bin/rdist/client.c
635
if (sendit(dp->d_name, opts, destdir) > 0)
usr.bin/rdist/client.c
654
sendlink(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
663
debugmsg(DM_CALL, "sendlink(%s, %#x, stb, %d)\n", rname, opts, destdir);
usr.bin/rdist/client.c
669
return(sendhardlink(opts, lp, rname, destdir));
usr.bin/rdist/client.c
677
opts, stb->st_mode & 07777, (long long) stb->st_size,
usr.bin/rdist/client.c
708
else if (f == 0 && IS_ON(opts, DO_COMPARE))
usr.bin/rdist/client.c
729
runspecial(target, opts, rname, destdir);
usr.bin/rdist/client.c
771
update(char *rname, opt_t opts, struct stat *statp)
usr.bin/rdist/client.c
782
debugmsg(DM_CALL, "update(%s, %#x, %p)\n", rname, opts, statp);
usr.bin/rdist/client.c
800
if (IS_ON(opts, DO_NOEXEC))
usr.bin/rdist/client.c
873
if (IS_ON(opts, DO_COMPARE))
usr.bin/rdist/client.c
935
if (statp->st_mtime < mtime && IS_ON(opts, DO_YOUNGER)) {
usr.bin/rdist/client.c
950
if (!IS_ON(opts, DO_NOCHKMODE) && lmode != rmode) {
usr.bin/rdist/client.c
960
if (!IS_ON(opts, DO_NOCHKOWNER) && owner) {
usr.bin/rdist/client.c
961
if (!IS_ON(opts, DO_NUMCHKOWNER)) {
usr.bin/rdist/client.c
964
target, opts)) != 0) {
usr.bin/rdist/client.c
968
target, opts), owner);
usr.bin/rdist/client.c
988
if (!IS_ON(opts, DO_NOCHKGROUP) && group) {
usr.bin/rdist/client.c
989
if (!IS_ON(opts, DO_NUMCHKGROUP)) {
usr.bin/rdist/client.c
992
target, opts)) != 0) {
usr.bin/rdist/client.c
996
target, opts), group);
usr.bin/rdist/common.c
438
getusername(uid_t uid, char *file, opt_t opts)
usr.bin/rdist/common.c
448
if (IS_ON(opts, DO_NUMCHKOWNER)) {
usr.bin/rdist/common.c
462
if (IS_ON(opts, DO_DEFOWNER) && !isserver)
usr.bin/rdist/common.c
480
getgroupname(gid_t gid, char *file, opt_t opts)
usr.bin/rdist/common.c
490
if (IS_ON(opts, DO_NUMCHKGROUP)) {
usr.bin/rdist/common.c
504
if (IS_ON(opts, DO_DEFGROUP) && !isserver)
usr.bin/rdist/distopt.c
141
getondistoptlist(opt_t opts)
usr.bin/rdist/distopt.c
147
if (!IS_ON(opts, distoptinfo[i].do_value))
usr.bin/rdist/docmd.c
420
volatile opt_t opts = options;
usr.bin/rdist/docmd.c
533
opts = sc->sc_options;
usr.bin/rdist/docmd.c
558
runcmdspecial(cmd, opts);
usr.bin/rdist/docmd.c
574
if (contimedout || IS_ON(opts, DO_IGNLNKS) ||
usr.bin/rdistd/server.c
1007
if (!IS_ON(opts, DO_NOCHKOWNER) && owner) {
usr.bin/rdistd/server.c
1010
o = (owner[0] == ':') ? opts & DO_NUMCHKOWNER :
usr.bin/rdistd/server.c
1011
opts;
usr.bin/rdistd/server.c
1018
if (!IS_ON(opts, DO_NOCHKGROUP) && group) {
usr.bin/rdistd/server.c
1021
o = (group[0] == ':') ? opts & DO_NUMCHKGROUP :
usr.bin/rdistd/server.c
1022
opts;
usr.bin/rdistd/server.c
1037
target, opts)))
usr.bin/rdistd/server.c
1042
target, opts)))
usr.bin/rdistd/server.c
1046
if (IS_ON(opts, DO_VERIFY))
usr.bin/rdistd/server.c
1070
if (IS_ON(opts, DO_VERIFY)) {
usr.bin/rdistd/server.c
1081
(chkparent(target, opts) == 0 &&
usr.bin/rdistd/server.c
1103
recvlink(char *new, opt_t opts, int mode, off_t size)
usr.bin/rdistd/server.c
1135
if (IS_ON(opts, DO_VERIFY) || uptodate) {
usr.bin/rdistd/server.c
1141
if (IS_ON(opts, DO_COMPARE))
usr.bin/rdistd/server.c
1151
if (chkparent(new, opts) < 0 || mktemp(new) == NULL ||
usr.bin/rdistd/server.c
1343
opt_t opts;
usr.bin/rdistd/server.c
1355
opts = strtol(cp, &cp, 8);
usr.bin/rdistd/server.c
1432
opts, mode, (long long) size, (long long)mtime);
usr.bin/rdistd/server.c
1506
recvdir(opts, mode, owner, group);
usr.bin/rdistd/server.c
1510
recvlink(new, opts, mode, size);
usr.bin/rdistd/server.c
1514
recvfile(new, opts, mode, owner, group, mtime, atime, size);
usr.bin/rdistd/server.c
1530
opt_t opts;
usr.bin/rdistd/server.c
1538
opts = strtol(cp, &cp, 8);
usr.bin/rdistd/server.c
1587
"dochmog: opts = %#x mode = %#04o", opts, mode);
usr.bin/rdistd/server.c
1609
opt_t opts;
usr.bin/rdistd/server.c
1617
opts = strtol(cp, &cp, 8);
usr.bin/rdistd/server.c
1622
options = opts;
usr.bin/rdistd/server.c
396
opt_t opts;
usr.bin/rdistd/server.c
399
opts = strtol(cp, &ep, 8);
usr.bin/rdistd/server.c
441
if (IS_ON(opts, DO_VERIFY))
usr.bin/rdistd/server.c
638
chkparent(char *name, opt_t opts)
usr.bin/rdistd/server.c
644
debugmsg(DM_CALL, "chkparent(%s, %#x) start\n", name, opts);
usr.bin/rdistd/server.c
653
if (errno == ENOENT && chkparent(name, opts) >= 0) {
usr.bin/rdistd/server.c
660
name, opts, SYSERR);
usr.bin/rdistd/server.c
675
savetarget(char *file, opt_t opts)
usr.bin/rdistd/server.c
684
if (IS_ON(opts, DO_HISTORY)) {
usr.bin/rdistd/server.c
731
recvfile(char *new, opt_t opts, int mode, char *owner, char *group,
usr.bin/rdistd/server.c
743
if (chkparent(new, opts) < 0 || (f = mkstemp(new)) == -1) {
usr.bin/rdistd/server.c
799
if (IS_ON(opts, DO_COMPARE)) {
usr.bin/rdistd/server.c
839
if (IS_ON(opts, DO_VERIFY)) {
usr.bin/rdistd/server.c
868
if (IS_ON(opts, DO_SAVETARGETS))
usr.bin/rdistd/server.c
869
if ((savefile = savetarget(target, opts)) == NULL) {
usr.bin/rdistd/server.c
899
if ((savefile = savetarget(target, opts)) != NULL) {
usr.bin/rdistd/server.c
944
if (IS_ON(opts, DO_COMPARE))
usr.bin/rdistd/server.c
954
recvdir(opt_t opts, int mode, char *owner, char *group)
usr.bin/rdistd/server.c
967
if (IS_ON(opts, DO_VERIFY))
usr.bin/rdistd/server.c
980
if (!IS_ON(opts, DO_NOCHKMODE) &&
usr.bin/rdistd/server.c
982
if (IS_ON(opts, DO_VERIFY))
usr.bin/rsync/client.c
37
rsync_client(const struct opts *opts, int fd, const struct fargs *f)
usr.bin/rsync/client.c
49
sess.opts = opts;
usr.bin/rsync/downloader.c
327
if (sess->opts->dry_run)
usr.bin/rsync/downloader.c
416
if (mktemplate(&p->fname, f->path, sess->opts->recursive) ==
usr.bin/rsync/downloader.c
85
if (sess->opts->server)
usr.bin/rsync/extern.h
240
const struct opts *opts; /* system options */
usr.bin/rsync/extern.h
358
int rsync_client(const struct opts *, int, const struct fargs *);
usr.bin/rsync/extern.h
359
int rsync_connect(const struct opts *, int *, const struct fargs *);
usr.bin/rsync/extern.h
360
int rsync_socket(const struct opts *, int, const struct fargs *);
usr.bin/rsync/extern.h
361
int rsync_server(const struct opts *, size_t, char *[]);
usr.bin/rsync/fargs.c
101
if (sess->opts->preserve_gids)
usr.bin/rsync/fargs.c
103
if (sess->opts->preserve_links)
usr.bin/rsync/fargs.c
105
if (sess->opts->dry_run)
usr.bin/rsync/fargs.c
107
if (sess->opts->preserve_uids)
usr.bin/rsync/fargs.c
109
if (sess->opts->preserve_perms)
usr.bin/rsync/fargs.c
111
if (sess->opts->devices)
usr.bin/rsync/fargs.c
113
if (sess->opts->recursive)
usr.bin/rsync/fargs.c
115
if (sess->opts->preserve_times)
usr.bin/rsync/fargs.c
117
if (sess->opts->ignore_times)
usr.bin/rsync/fargs.c
127
if (sess->opts->one_file_system > 1)
usr.bin/rsync/fargs.c
129
if (sess->opts->one_file_system > 0)
usr.bin/rsync/fargs.c
131
if (sess->opts->specials && !sess->opts->devices)
usr.bin/rsync/fargs.c
133
if (!sess->opts->specials && sess->opts->devices)
usr.bin/rsync/fargs.c
136
if (sess->opts->max_size >= 0)
usr.bin/rsync/fargs.c
137
addargs(&args, "--max-size=%lld", sess->opts->max_size);
usr.bin/rsync/fargs.c
138
if (sess->opts->min_size >= 0)
usr.bin/rsync/fargs.c
139
addargs(&args, "--min-size=%lld", sess->opts->min_size);
usr.bin/rsync/fargs.c
143
if (sess->opts->ignore_dir_times)
usr.bin/rsync/fargs.c
145
if (sess->opts->ignore_link_times)
usr.bin/rsync/fargs.c
147
if (sess->opts->size_only)
usr.bin/rsync/fargs.c
151
if (sess->opts->alt_base_mode != 0) {
usr.bin/rsync/fargs.c
153
if (sess->opts->basedir[j] == NULL)
usr.bin/rsync/fargs.c
156
alt_base_mode(sess->opts->alt_base_mode),
usr.bin/rsync/fargs.c
157
sess->opts->basedir[j]);
usr.bin/rsync/fargs.c
56
if ((rsync_path = sess->opts->rsync_path) == NULL)
usr.bin/rsync/fargs.c
67
if (sess->opts->ssh_prog) {
usr.bin/rsync/fargs.c
68
ap = strdup(sess->opts->ssh_prog);
usr.bin/rsync/fargs.c
97
if (sess->opts->del)
usr.bin/rsync/fargs.c
99
if (sess->opts->numeric_ids)
usr.bin/rsync/flist.c
1082
if (!sess->opts->preserve_links) {
usr.bin/rsync/flist.c
1134
rc = sess->opts->recursive ?
usr.bin/rsync/flist.c
1184
if (!sess->opts->recursive)
usr.bin/rsync/flist.c
1304
if (sess->opts->one_file_system) {
usr.bin/rsync/flist.c
1386
assert(sess->opts->del);
usr.bin/rsync/flist.c
1387
assert(sess->opts->recursive);
usr.bin/rsync/flist.c
1391
if (sess->opts->dry_run)
usr.bin/rsync/flist.c
158
if (!sess->opts->recursive)
usr.bin/rsync/flist.c
204
if ((sess->opts->devices && (S_ISBLK(ent->fts_statp->st_mode) ||
usr.bin/rsync/flist.c
206
(sess->opts->specials &&
usr.bin/rsync/flist.c
332
if (sess->opts->preserve_uids) {
usr.bin/rsync/flist.c
345
if (sess->opts->preserve_gids) {
usr.bin/rsync/flist.c
358
if ((sess->opts->devices && (S_ISBLK(f->st.mode) ||
usr.bin/rsync/flist.c
360
(sess->opts->specials && (S_ISFIFO(f->st.mode) ||
usr.bin/rsync/flist.c
371
sess->opts->preserve_links) {
usr.bin/rsync/flist.c
398
if (sess->opts->preserve_uids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
406
if (sess->opts->preserve_gids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
662
if (sess->opts->preserve_uids) {
usr.bin/rsync/flist.c
677
if (sess->opts->preserve_gids) {
usr.bin/rsync/flist.c
692
if ((sess->opts->devices && (S_ISBLK(ff->st.mode) ||
usr.bin/rsync/flist.c
694
(sess->opts->specials && (S_ISFIFO(ff->st.mode) ||
usr.bin/rsync/flist.c
711
sess->opts->preserve_links) {
usr.bin/rsync/flist.c
742
if (sess->opts->preserve_uids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
750
if (sess->opts->preserve_gids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
768
if (sess->opts->preserve_uids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
773
if (sess->opts->preserve_gids && !sess->opts->numeric_ids) {
usr.bin/rsync/flist.c
839
if (!sess->opts->preserve_links) {
usr.bin/rsync/flist.c
909
!sess->opts->preserve_links) {
usr.bin/rsync/flist.c
926
if (sess->opts->one_file_system &&
usr.bin/rsync/flist.c
928
if (sess->opts->one_file_system > 1 ||
usr.bin/rsync/ids.c
109
assert(!sess->opts->numeric_ids);
usr.bin/rsync/ids.c
57
assert(!sess->opts->numeric_ids);
usr.bin/rsync/ids.c
79
assert(!sess->opts->numeric_ids);
usr.bin/rsync/main.c
143
opts->port = cp;
usr.bin/rsync/main.c
279
static struct opts opts;
usr.bin/rsync/main.c
306
{ "del", no_argument, &opts.del, 1 },
usr.bin/rsync/main.c
307
{ "delete", no_argument, &opts.del, 1 },
usr.bin/rsync/main.c
308
{ "devices", no_argument, &opts.devices, 1 },
usr.bin/rsync/main.c
309
{ "no-devices", no_argument, &opts.devices, 0 },
usr.bin/rsync/main.c
310
{ "dry-run", no_argument, &opts.dry_run, 1 },
usr.bin/rsync/main.c
313
{ "group", no_argument, &opts.preserve_gids, 1 },
usr.bin/rsync/main.c
314
{ "no-group", no_argument, &opts.preserve_gids, 0 },
usr.bin/rsync/main.c
319
{ "links", no_argument, &opts.preserve_links, 1 },
usr.bin/rsync/main.c
322
{ "no-links", no_argument, &opts.preserve_links, 0 },
usr.bin/rsync/main.c
323
{ "no-motd", no_argument, &opts.no_motd, 1 },
usr.bin/rsync/main.c
324
{ "numeric-ids", no_argument, &opts.numeric_ids, 1 },
usr.bin/rsync/main.c
325
{ "omit-dir-times", no_argument, &opts.ignore_dir_times, 1 },
usr.bin/rsync/main.c
326
{ "no-O", no_argument, &opts.ignore_dir_times, 0 },
usr.bin/rsync/main.c
327
{ "no-omit-dir-times", no_argument, &opts.ignore_dir_times, 0 },
usr.bin/rsync/main.c
328
{ "omit-link-times", no_argument, &opts.ignore_link_times, 1 },
usr.bin/rsync/main.c
329
{ "no-J", no_argument, &opts.ignore_link_times, 0 },
usr.bin/rsync/main.c
330
{ "no-omit-link-times", no_argument, &opts.ignore_link_times, 0 },
usr.bin/rsync/main.c
331
{ "owner", no_argument, &opts.preserve_uids, 1 },
usr.bin/rsync/main.c
332
{ "no-owner", no_argument, &opts.preserve_uids, 0 },
usr.bin/rsync/main.c
333
{ "perms", no_argument, &opts.preserve_perms, 1 },
usr.bin/rsync/main.c
334
{ "no-perms", no_argument, &opts.preserve_perms, 0 },
usr.bin/rsync/main.c
336
{ "recursive", no_argument, &opts.recursive, 1 },
usr.bin/rsync/main.c
337
{ "no-recursive", no_argument, &opts.recursive, 0 },
usr.bin/rsync/main.c
340
{ "sender", no_argument, &opts.sender, 1 },
usr.bin/rsync/main.c
341
{ "server", no_argument, &opts.server, 1 },
usr.bin/rsync/main.c
342
{ "size-only", no_argument, &opts.size_only, 1 },
usr.bin/rsync/main.c
343
{ "specials", no_argument, &opts.specials, 1 },
usr.bin/rsync/main.c
344
{ "no-specials", no_argument, &opts.specials, 0 },
usr.bin/rsync/main.c
346
{ "times", no_argument, &opts.preserve_times, 1 },
usr.bin/rsync/main.c
347
{ "no-times", no_argument, &opts.preserve_times, 0 },
usr.bin/rsync/main.c
371
opts.max_size = opts.min_size = -1;
usr.bin/rsync/main.c
377
opts.devices = 1;
usr.bin/rsync/main.c
378
opts.specials = 1;
usr.bin/rsync/main.c
381
opts.recursive = 1;
usr.bin/rsync/main.c
382
opts.preserve_links = 1;
usr.bin/rsync/main.c
383
opts.preserve_perms = 1;
usr.bin/rsync/main.c
384
opts.preserve_times = 1;
usr.bin/rsync/main.c
385
opts.preserve_gids = 1;
usr.bin/rsync/main.c
386
opts.preserve_uids = 1;
usr.bin/rsync/main.c
387
opts.devices = 1;
usr.bin/rsync/main.c
388
opts.specials = 1;
usr.bin/rsync/main.c
391
opts.ssh_prog = optarg;
usr.bin/rsync/main.c
394
opts.preserve_gids = 1;
usr.bin/rsync/main.c
397
opts.ignore_times = 1;
usr.bin/rsync/main.c
400
opts.ignore_link_times = 1;
usr.bin/rsync/main.c
403
opts.preserve_links = 1;
usr.bin/rsync/main.c
406
opts.dry_run = 1;
usr.bin/rsync/main.c
409
opts.ignore_dir_times = 1;
usr.bin/rsync/main.c
412
opts.preserve_uids = 1;
usr.bin/rsync/main.c
415
opts.preserve_perms = 1;
usr.bin/rsync/main.c
418
opts.recursive = 1;
usr.bin/rsync/main.c
421
opts.preserve_times = 1;
usr.bin/rsync/main.c
431
opts.one_file_system++;
usr.bin/rsync/main.c
440
opts.address = optarg;
usr.bin/rsync/main.c
449
opts.port = optarg;
usr.bin/rsync/main.c
452
opts.rsync_path = optarg;
usr.bin/rsync/main.c
477
if (opts.alt_base_mode !=0 &&
usr.bin/rsync/main.c
478
opts.alt_base_mode != BASE_MODE_COMPARE) {
usr.bin/rsync/main.c
481
alt_base_mode(opts.alt_base_mode));
usr.bin/rsync/main.c
483
opts.alt_base_mode = BASE_MODE_COMPARE;
usr.bin/rsync/main.c
487
if (opts.alt_base_mode !=0 &&
usr.bin/rsync/main.c
488
opts.alt_base_mode != BASE_MODE_COPY) {
usr.bin/rsync/main.c
491
alt_base_mode(opts.alt_base_mode));
usr.bin/rsync/main.c
493
opts.alt_base_mode = BASE_MODE_COPY;
usr.bin/rsync/main.c
496
if (opts.alt_base_mode !=0 &&
usr.bin/rsync/main.c
497
opts.alt_base_mode != BASE_MODE_LINK) {
usr.bin/rsync/main.c
500
alt_base_mode(opts.alt_base_mode));
usr.bin/rsync/main.c
502
opts.alt_base_mode = BASE_MODE_LINK;
usr.bin/rsync/main.c
509
opts.basedir[basedir_cnt++] = optarg;
usr.bin/rsync/main.c
512
if (scan_scaled(optarg, &opts.max_size) == -1)
usr.bin/rsync/main.c
516
if (scan_scaled(optarg, &opts.min_size) == -1)
usr.bin/rsync/main.c
533
if (opts.port == NULL)
usr.bin/rsync/main.c
534
opts.port = "rsync";
usr.bin/rsync/main.c
554
if (opts.server)
usr.bin/rsync/main.c
555
exit(rsync_server(&opts, (size_t)argc, argv));
usr.bin/rsync/main.c
567
fargs = fargs_parse(argc, argv, &opts);
usr.bin/rsync/main.c
571
for (i = 0; opts.basedir[i]; i++) {
usr.bin/rsync/main.c
572
if (opts.basedir[i][0] == '/')
usr.bin/rsync/main.c
573
opts.basedir_abs[i] = strdup(opts.basedir[i]);
usr.bin/rsync/main.c
574
else if (asprintf(&opts.basedir_abs[i], "%s/%s",
usr.bin/rsync/main.c
575
fargs->sink, opts.basedir[i]) == -1)
usr.bin/rsync/main.c
586
if (fargs->remote && opts.ssh_prog == NULL) {
usr.bin/rsync/main.c
588
if ((rc = rsync_connect(&opts, &sd, fargs)) == 0) {
usr.bin/rsync/main.c
589
rc = rsync_socket(&opts, sd, fargs);
usr.bin/rsync/main.c
615
sess.opts = &opts;
usr.bin/rsync/main.c
633
rc = rsync_client(&opts, fds[0], fargs);
usr.bin/rsync/main.c
635
rc = rsync_socket(&opts, fds[0], fargs);
usr.bin/rsync/main.c
80
fargs_parse(size_t argc, char *argv[], struct opts *opts)
usr.bin/rsync/receiver.c
117
if (sess->opts->preserve_times &&
usr.bin/rsync/receiver.c
118
!(S_ISLNK(f->st.mode) && sess->opts->ignore_link_times)) {
usr.bin/rsync/receiver.c
135
if (getuid() == 0 && sess->opts->preserve_uids)
usr.bin/rsync/receiver.c
137
if (sess->opts->preserve_gids)
usr.bin/rsync/receiver.c
157
if (newfile || sess->opts->preserve_perms) {
usr.bin/rsync/receiver.c
191
if (!sess->opts->dry_run) {
usr.bin/rsync/receiver.c
199
for (i = 0; sess->opts->basedir_abs[i]; i++) {
usr.bin/rsync/receiver.c
200
dfd = unveil(sess->opts->basedir_abs[i], "r");
usr.bin/rsync/receiver.c
202
err(ERR_IPC, "%s: unveil", sess->opts->basedir_abs[i]);
usr.bin/rsync/receiver.c
212
if (!sess->opts->server)
usr.bin/rsync/receiver.c
216
if (sess->opts->server && sess->opts->del)
usr.bin/rsync/receiver.c
239
if (flsz == 0 && !sess->opts->server) {
usr.bin/rsync/receiver.c
243
} else if (!sess->opts->server)
usr.bin/rsync/receiver.c
255
if (!sess->opts->dry_run) {
usr.bin/rsync/receiver.c
266
if (sess->opts->del &&
usr.bin/rsync/receiver.c
267
sess->opts->recursive &&
usr.bin/rsync/receiver.c
56
if (sess->opts->preserve_times) {
usr.bin/rsync/receiver.c
73
if (getuid() == 0 && sess->opts->preserve_uids)
usr.bin/rsync/receiver.c
75
if (sess->opts->preserve_gids)
usr.bin/rsync/receiver.c
95
if (newfile || sess->opts->preserve_perms) {
usr.bin/rsync/sender.c
177
if (!sess->opts->dry_run)
usr.bin/rsync/sender.c
227
if (sess->opts->server && sess->rver > 27) {
usr.bin/rsync/sender.c
236
} else if (sess->opts->dry_run) {
usr.bin/rsync/sender.c
237
if (!sess->opts->server)
usr.bin/rsync/sender.c
255
if (!sess->opts->server)
usr.bin/rsync/sender.c
335
if (!sess->opts->dry_run) {
usr.bin/rsync/sender.c
396
if (!sess->opts->server && sess->opts->del)
usr.bin/rsync/sender.c
414
if (flsz == 0 && sess->opts->server) {
usr.bin/rsync/sender.c
418
} else if (!sess->opts->server)
usr.bin/rsync/sender.c
426
if (sess->opts->server)
usr.bin/rsync/server.c
101
if (sess.opts->sender) {
usr.bin/rsync/server.c
52
rsync_server(const struct opts *opts, size_t argc, char *argv[])
usr.bin/rsync/server.c
63
sess.opts = opts;
usr.bin/rsync/session.c
112
if (sess->opts->server) {
usr.bin/rsync/session.c
141
if (sess->opts->server || verbose == 0)
usr.bin/rsync/session.c
39
if (sess->opts->server)
usr.bin/rsync/socket.c
154
const char *port = sess->opts->port;
usr.bin/rsync/socket.c
253
if (sess->opts->no_motd == 0)
usr.bin/rsync/socket.c
289
rsync_connect(const struct opts *opts, int *sd, const struct fargs *f)
usr.bin/rsync/socket.c
301
sess.opts = opts;
usr.bin/rsync/socket.c
311
if (opts->address != NULL)
usr.bin/rsync/socket.c
312
if ((bsrc = inet_resolve(&sess, opts->address, &bsrcsz, 1)) ==
usr.bin/rsync/socket.c
372
rsync_socket(const struct opts *opts, int sd, const struct fargs *f)
usr.bin/rsync/socket.c
386
sess.opts = opts;
usr.bin/rsync/uploader.c
1102
if ((!sess->opts->preserve_times || sess->opts->ignore_dir_times) &&
usr.bin/rsync/uploader.c
1103
!sess->opts->preserve_perms)
usr.bin/rsync/uploader.c
180
if (!sess->opts->preserve_links) {
usr.bin/rsync/uploader.c
184
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
240
if (mktemplate(&temp, f->path, sess->opts->recursive) == -1) {
usr.bin/rsync/uploader.c
285
if (!sess->opts->devices || getuid() != 0) {
usr.bin/rsync/uploader.c
289
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
329
if (mktemplate(&temp, f->path, sess->opts->recursive) == -1) {
usr.bin/rsync/uploader.c
374
if (!sess->opts->specials) {
usr.bin/rsync/uploader.c
378
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
407
if (mktemplate(&temp, f->path, sess->opts->recursive) == -1) {
usr.bin/rsync/uploader.c
451
if (!sess->opts->specials) {
usr.bin/rsync/uploader.c
455
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
484
if (mktemplate(&temp, f->path, sess->opts->recursive) == -1) {
usr.bin/rsync/uploader.c
527
if (!sess->opts->recursive) {
usr.bin/rsync/uploader.c
531
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
591
if (!sess->opts->recursive)
usr.bin/rsync/uploader.c
593
if (sess->opts->dry_run)
usr.bin/rsync/uploader.c
611
if (!sess->opts->ignore_dir_times) {
usr.bin/rsync/uploader.c
613
(sess->opts->preserve_times &&
usr.bin/rsync/uploader.c
634
(sess->opts->preserve_perms && st.st_mode != f->st.mode)) {
usr.bin/rsync/uploader.c
675
if (sess->opts->ignore_times)
usr.bin/rsync/uploader.c
680
if (sess->opts->size_only)
usr.bin/rsync/uploader.c
708
if (sess->opts->dry_run) {
usr.bin/rsync/uploader.c
71
if (sess->opts->server)
usr.bin/rsync/uploader.c
717
if (sess->opts->max_size >= 0 && f->st.size > sess->opts->max_size) {
usr.bin/rsync/uploader.c
721
if (sess->opts->min_size >= 0 && f->st.size < sess->opts->min_size) {
usr.bin/rsync/uploader.c
754
for (i = 0; sess->opts->basedir_abs[i] != NULL; i++) {
usr.bin/rsync/uploader.c
755
const char *root = sess->opts->basedir_abs[i];
usr.bin/rsync/uploader.c
784
copy_file(p->rootfd, sess->opts->basedir_abs[match], f);
usr.bin/rsync/uploader.c
86
if (!sess->opts->server)
usr.bin/rsync/uploader.c
97
if (!sess->opts->server)
usr.bin/ssh/auth-options.c
101
opts->permit_x11_forwarding_flag = 1;
usr.bin/ssh/auth-options.c
105
opts->permit_agent_forwarding_flag = 1;
usr.bin/ssh/auth-options.c
109
opts->permit_port_forwarding_flag = 1;
usr.bin/ssh/auth-options.c
112
opts->permit_pty_flag = 1;
usr.bin/ssh/auth-options.c
115
opts->permit_user_rc = 1;
usr.bin/ssh/auth-options.c
121
opts->require_verify = 1;
usr.bin/ssh/auth-options.c
130
if (opts->force_command != NULL) {
usr.bin/ssh/auth-options.c
136
opts->force_command = command;
usr.bin/ssh/auth-options.c
145
if (opts->required_from_host_cert != NULL) {
usr.bin/ssh/auth-options.c
158
opts->required_from_host_cert = allowed;
usr.bin/ssh/auth-options.c
202
sshauthopt_free(struct sshauthopt *opts)
usr.bin/ssh/auth-options.c
206
if (opts == NULL)
usr.bin/ssh/auth-options.c
209
free(opts->cert_principals);
usr.bin/ssh/auth-options.c
210
free(opts->force_command);
usr.bin/ssh/auth-options.c
211
free(opts->required_from_host_cert);
usr.bin/ssh/auth-options.c
212
free(opts->required_from_host_keys);
usr.bin/ssh/auth-options.c
214
for (i = 0; i < opts->nenv; i++)
usr.bin/ssh/auth-options.c
215
free(opts->env[i]);
usr.bin/ssh/auth-options.c
216
free(opts->env);
usr.bin/ssh/auth-options.c
218
for (i = 0; i < opts->npermitopen; i++)
usr.bin/ssh/auth-options.c
219
free(opts->permitopen[i]);
usr.bin/ssh/auth-options.c
220
free(opts->permitopen);
usr.bin/ssh/auth-options.c
222
for (i = 0; i < opts->npermitlisten; i++)
usr.bin/ssh/auth-options.c
223
free(opts->permitlisten[i]);
usr.bin/ssh/auth-options.c
224
free(opts->permitlisten);
usr.bin/ssh/auth-options.c
226
freezero(opts, sizeof(*opts));
usr.bin/ssh/auth-options.c
320
sshauthopt_parse(const char *opts, const char **errstrp)
usr.bin/ssh/auth-options.c
334
if (opts == NULL)
usr.bin/ssh/auth-options.c
337
while (*opts && *opts != ' ' && *opts != '\t') {
usr.bin/ssh/auth-options.c
339
if ((r = opt_flag("restrict", 0, &opts)) != -1) {
usr.bin/ssh/auth-options.c
346
} else if ((r = opt_flag("cert-authority", 0, &opts)) != -1) {
usr.bin/ssh/auth-options.c
348
} else if ((r = opt_flag("port-forwarding", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
350
} else if ((r = opt_flag("agent-forwarding", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
352
} else if ((r = opt_flag("x11-forwarding", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
354
} else if ((r = opt_flag("touch-required", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
356
} else if ((r = opt_flag("verify-required", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
358
} else if ((r = opt_flag("pty", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
360
} else if ((r = opt_flag("user-rc", 1, &opts)) != -1) {
usr.bin/ssh/auth-options.c
362
} else if (opt_match(&opts, "command")) {
usr.bin/ssh/auth-options.c
367
ret->force_command = opt_dequote(&opts, &errstr);
usr.bin/ssh/auth-options.c
370
} else if (opt_match(&opts, "principals")) {
usr.bin/ssh/auth-options.c
375
ret->cert_principals = opt_dequote(&opts, &errstr);
usr.bin/ssh/auth-options.c
378
} else if (opt_match(&opts, "from")) {
usr.bin/ssh/auth-options.c
383
ret->required_from_host_keys = opt_dequote(&opts,
usr.bin/ssh/auth-options.c
387
} else if (opt_match(&opts, "expiry-time")) {
usr.bin/ssh/auth-options.c
388
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
400
} else if (opt_match(&opts, "environment")) {
usr.bin/ssh/auth-options.c
405
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
448
} else if (opt_match(&opts, "permitopen")) {
usr.bin/ssh/auth-options.c
449
if (handle_permit(&opts, 0, &ret->permitopen,
usr.bin/ssh/auth-options.c
452
} else if (opt_match(&opts, "permitlisten")) {
usr.bin/ssh/auth-options.c
453
if (handle_permit(&opts, 1, &ret->permitlisten,
usr.bin/ssh/auth-options.c
456
} else if (opt_match(&opts, "tunnel")) {
usr.bin/ssh/auth-options.c
457
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/auth-options.c
470
if (*opts == '\0' || *opts == ' ' || *opts == '\t')
usr.bin/ssh/auth-options.c
473
if (*opts != ',') {
usr.bin/ssh/auth-options.c
477
opts++;
usr.bin/ssh/auth-options.c
478
if (*opts == '\0') {
usr.bin/ssh/auth-options.c
72
cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob,
usr.bin/ssh/auth-options.c
794
sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m,
usr.bin/ssh/auth-options.c
800
if ((r = sshbuf_put_u8(m, opts->permit_port_forwarding_flag)) != 0 ||
usr.bin/ssh/auth-options.c
801
(r = sshbuf_put_u8(m, opts->permit_agent_forwarding_flag)) != 0 ||
usr.bin/ssh/auth-options.c
802
(r = sshbuf_put_u8(m, opts->permit_x11_forwarding_flag)) != 0 ||
usr.bin/ssh/auth-options.c
803
(r = sshbuf_put_u8(m, opts->permit_pty_flag)) != 0 ||
usr.bin/ssh/auth-options.c
804
(r = sshbuf_put_u8(m, opts->permit_user_rc)) != 0 ||
usr.bin/ssh/auth-options.c
805
(r = sshbuf_put_u8(m, opts->restricted)) != 0 ||
usr.bin/ssh/auth-options.c
806
(r = sshbuf_put_u8(m, opts->cert_authority)) != 0 ||
usr.bin/ssh/auth-options.c
807
(r = sshbuf_put_u8(m, opts->no_require_user_presence)) != 0 ||
usr.bin/ssh/auth-options.c
808
(r = sshbuf_put_u8(m, opts->require_verify)) != 0)
usr.bin/ssh/auth-options.c
812
if ((r = sshbuf_put_u64(m, opts->valid_before)) != 0)
usr.bin/ssh/auth-options.c
816
if ((r = sshbuf_put_u8(m, opts->force_tun_device == -1)) != 0 ||
usr.bin/ssh/auth-options.c
817
(r = sshbuf_put_u32(m, (opts->force_tun_device < 0) ?
usr.bin/ssh/auth-options.c
818
0 : (u_int)opts->force_tun_device)) != 0)
usr.bin/ssh/auth-options.c
823
untrusted ? "yes" : opts->cert_principals)) != 0 ||
usr.bin/ssh/auth-options.c
825
untrusted ? "true" : opts->force_command)) != 0 ||
usr.bin/ssh/auth-options.c
827
untrusted ? NULL : opts->required_from_host_cert)) != 0 ||
usr.bin/ssh/auth-options.c
829
untrusted ? NULL : opts->required_from_host_keys)) != 0)
usr.bin/ssh/auth-options.c
833
if ((r = serialise_array(m, opts->env,
usr.bin/ssh/auth-options.c
834
untrusted ? 0 : opts->nenv)) != 0 ||
usr.bin/ssh/auth-options.c
835
(r = serialise_array(m, opts->permitopen,
usr.bin/ssh/auth-options.c
836
untrusted ? 0 : opts->npermitopen)) != 0 ||
usr.bin/ssh/auth-options.c
837
(r = serialise_array(m, opts->permitlisten,
usr.bin/ssh/auth-options.c
838
untrusted ? 0 : opts->npermitlisten)) != 0)
usr.bin/ssh/auth-options.c
848
struct sshauthopt *opts = NULL;
usr.bin/ssh/auth-options.c
853
if ((opts = calloc(1, sizeof(*opts))) == NULL)
usr.bin/ssh/auth-options.c
861
opts->x = f; \
usr.bin/ssh/auth-options.c
875
if ((r = sshbuf_get_u64(m, &opts->valid_before)) != 0)
usr.bin/ssh/auth-options.c
882
opts->force_tun_device = f ? -1 : (int)tmp;
usr.bin/ssh/auth-options.c
885
if ((r = deserialise_nullable_string(m, &opts->cert_principals)) != 0 ||
usr.bin/ssh/auth-options.c
886
(r = deserialise_nullable_string(m, &opts->force_command)) != 0 ||
usr.bin/ssh/auth-options.c
888
&opts->required_from_host_cert)) != 0 ||
usr.bin/ssh/auth-options.c
890
&opts->required_from_host_keys)) != 0)
usr.bin/ssh/auth-options.c
894
if ((r = deserialise_array(m, &opts->env, &opts->nenv)) != 0 ||
usr.bin/ssh/auth-options.c
896
&opts->permitopen, &opts->npermitopen)) != 0 ||
usr.bin/ssh/auth-options.c
898
&opts->permitlisten, &opts->npermitlisten)) != 0)
usr.bin/ssh/auth-options.c
903
*optsp = opts;
usr.bin/ssh/auth-options.c
904
opts = NULL;
usr.bin/ssh/auth-options.c
906
sshauthopt_free(opts);
usr.bin/ssh/auth-options.c
98
opts->no_require_user_presence = 1;
usr.bin/ssh/auth-options.h
83
void sshauthopt_free(struct sshauthopt *opts);
usr.bin/ssh/auth-options.h
85
int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
usr.bin/ssh/auth-options.h
86
int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
usr.bin/ssh/auth.c
592
auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote)
usr.bin/ssh/auth.c
594
int do_env = options.permit_user_env && opts->nenv > 0;
usr.bin/ssh/auth.c
595
int do_permitopen = opts->npermitopen > 0 &&
usr.bin/ssh/auth.c
597
int do_permitlisten = opts->npermitlisten > 0 &&
usr.bin/ssh/auth.c
602
snprintf(buf, sizeof(buf), "%d", opts->force_tun_device);
usr.bin/ssh/auth.c
605
opts->permit_agent_forwarding_flag ? " agent-forwarding" : "",
usr.bin/ssh/auth.c
606
opts->force_command == NULL ? "" : " command",
usr.bin/ssh/auth.c
608
opts->valid_before == 0 ? "" : "expires",
usr.bin/ssh/auth.c
609
opts->no_require_user_presence ? " no-touch-required" : "",
usr.bin/ssh/auth.c
612
opts->permit_port_forwarding_flag ? " port-forwarding" : "",
usr.bin/ssh/auth.c
613
opts->cert_principals == NULL ? "" : " principals",
usr.bin/ssh/auth.c
614
opts->permit_pty_flag ? " pty" : "",
usr.bin/ssh/auth.c
615
opts->require_verify ? " uv" : "",
usr.bin/ssh/auth.c
616
opts->force_tun_device == -1 ? "" : " tun=",
usr.bin/ssh/auth.c
617
opts->force_tun_device == -1 ? "" : buf,
usr.bin/ssh/auth.c
618
opts->permit_user_rc ? " user-rc" : "",
usr.bin/ssh/auth.c
619
opts->permit_x11_forwarding_flag ? " x11-forwarding" : "");
usr.bin/ssh/auth.c
626
for (i = 0; i < opts->nenv; i++) {
usr.bin/ssh/auth.c
627
debug("%s: environment: %s", loc, opts->env[i]);
usr.bin/ssh/auth.c
630
loc, opts->env[i]);
usr.bin/ssh/auth.c
636
if (opts->valid_before != 0) {
usr.bin/ssh/auth.c
637
format_absolute_time(opts->valid_before, buf, sizeof(buf));
usr.bin/ssh/auth.c
640
if (opts->cert_principals != NULL) {
usr.bin/ssh/auth.c
642
loc, opts->cert_principals);
usr.bin/ssh/auth.c
644
if (opts->force_command != NULL)
usr.bin/ssh/auth.c
645
debug("%s: forced command: \"%s\"", loc, opts->force_command);
usr.bin/ssh/auth.c
647
for (i = 0; i < opts->npermitopen; i++) {
usr.bin/ssh/auth.c
649
loc, opts->permitopen[i]);
usr.bin/ssh/auth.c
653
for (i = 0; i < opts->npermitlisten; i++) {
usr.bin/ssh/auth.c
655
loc, opts->permitlisten[i]);
usr.bin/ssh/auth.c
662
auth_activate_options(struct ssh *ssh, struct sshauthopt *opts)
usr.bin/ssh/auth.c
668
if ((auth_opts = sshauthopt_merge(old, opts, &emsg)) == NULL) {
usr.bin/ssh/auth2-pubkey.c
324
struct sshauthopt *opts = NULL;
usr.bin/ssh/auth2-pubkey.c
352
cert, &opts);
usr.bin/ssh/auth2-pubkey.c
356
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkey.c
357
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
362
*authoptsp = opts;
usr.bin/ssh/auth2-pubkey.c
363
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
365
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkey.c
794
struct sshauthopt *opts = NULL;
usr.bin/ssh/auth2-pubkey.c
840
remote_ip, remote_host, &opts);
usr.bin/ssh/auth2-pubkey.c
842
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkey.c
843
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
854
conn_id, rdomain, &opts)) != 0)
usr.bin/ssh/auth2-pubkey.c
856
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkey.c
857
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
860
remote_host, conn_id, rdomain, &opts)) != 0)
usr.bin/ssh/auth2-pubkey.c
862
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkey.c
863
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
868
*authoptsp = opts;
usr.bin/ssh/auth2-pubkey.c
869
opts = NULL;
usr.bin/ssh/auth2-pubkey.c
871
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkeyfile.c
105
opts->required_from_host_keys);
usr.bin/ssh/auth2-pubkeyfile.c
114
if (opts->required_from_host_cert != NULL) {
usr.bin/ssh/auth2-pubkeyfile.c
116
opts->required_from_host_cert)) {
usr.bin/ssh/auth2-pubkeyfile.c
141
auth_log_authopts(loc, opts, 1);
usr.bin/ssh/auth2-pubkeyfile.c
181
struct sshauthopt *opts = NULL;
usr.bin/ssh/auth2-pubkeyfile.c
203
if ((opts = sshauthopt_parse(line_opts, &reason)) == NULL) {
usr.bin/ssh/auth2-pubkeyfile.c
217
*authoptsp = opts;
usr.bin/ssh/auth2-pubkeyfile.c
218
opts = NULL;
usr.bin/ssh/auth2-pubkeyfile.c
220
sshauthopt_free(opts);
usr.bin/ssh/auth2-pubkeyfile.c
55
auth_authorise_keyopts(struct passwd *pw, struct sshauthopt *opts,
usr.bin/ssh/auth2-pubkeyfile.c
66
if (opts->valid_before && now > 0 &&
usr.bin/ssh/auth2-pubkeyfile.c
67
opts->valid_before < (uint64_t)now) {
usr.bin/ssh/auth2-pubkeyfile.c
68
format_absolute_time(opts->valid_before, buf, sizeof(buf));
usr.bin/ssh/auth2-pubkeyfile.c
74
if (opts->cert_principals != NULL && !opts->cert_authority) {
usr.bin/ssh/auth2-pubkeyfile.c
81
if (!allow_cert_authority && opts->cert_authority) {
usr.bin/ssh/auth2-pubkeyfile.c
89
if (opts->required_from_host_keys != NULL) {
usr.bin/ssh/auth2-pubkeyfile.c
91
opts->required_from_host_keys )) {
usr.bin/ssh/misc.c
2583
const char *opts = *optsp;
usr.bin/ssh/misc.c
2586
if (allow_negate && strncasecmp(opts, "no-", 3) == 0) {
usr.bin/ssh/misc.c
2587
opts += 3;
usr.bin/ssh/misc.c
2590
if (strncasecmp(opts, opt, opt_len) == 0) {
usr.bin/ssh/misc.c
2591
*optsp = opts + opt_len;
usr.bin/ssh/misc.c
2631
opt_match(const char **opts, const char *term)
usr.bin/ssh/misc.c
2633
if (strncasecmp((*opts), term, strlen(term)) == 0 &&
usr.bin/ssh/misc.c
2634
(*opts)[strlen(term)] == '=') {
usr.bin/ssh/misc.c
2635
*opts += strlen(term) + 1;
usr.bin/ssh/misc.h
219
int opt_match(const char **opts, const char *term);
usr.bin/ssh/monitor.c
1063
struct sshauthopt *opts = NULL;
usr.bin/ssh/monitor.c
1085
pubkey_auth_attempt, &opts);
usr.bin/ssh/monitor.c
1123
key_opts = opts;
usr.bin/ssh/monitor.c
1137
if (opts != NULL && (r = sshauthopt_serialise(opts, m, 1)) != 0)
usr.bin/ssh/monitor.c
1142
sshauthopt_free(opts);
usr.bin/ssh/monitor.c
541
struct sshbuf *opts = NULL, *confdata = NULL;
usr.bin/ssh/monitor.c
550
(opts = sshbuf_new()) == NULL ||
usr.bin/ssh/monitor.c
601
sshbuf_free(opts);
usr.bin/ssh/monitor_wrap.c
513
struct sshauthopt *opts = NULL;
usr.bin/ssh/monitor_wrap.c
538
(r = sshauthopt_deserialise(m, &opts)) != 0)
usr.bin/ssh/monitor_wrap.c
543
*authoptp = opts;
usr.bin/ssh/monitor_wrap.c
544
opts = NULL;
usr.bin/ssh/monitor_wrap.c
546
sshauthopt_free(opts);
usr.bin/ssh/session.c
253
set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts)
usr.bin/ssh/ssh-ecdsa-sk.c
68
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ecdsa-sk.c
72
if ((r = sshkey_ecdsa_funcs.serialize_public(key, b, opts)) != 0)
usr.bin/ssh/ssh-ecdsa-sk.c
82
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ecdsa-sk.c
88
b, opts)) != 0)
usr.bin/ssh/ssh-ecdsa.c
126
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ecdsa.c
142
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ecdsa.c
147
if ((r = ssh_ecdsa_serialize_public(key, b, opts)) != 0)
usr.bin/ssh/ssh-ed25519-sk.c
56
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ed25519-sk.c
60
if ((r = sshkey_ed25519_funcs.serialize_public(key, b, opts)) != 0)
usr.bin/ssh/ssh-ed25519-sk.c
70
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ed25519-sk.c
74
if ((r = sshkey_ed25519_funcs.serialize_public(key, b, opts)) != 0)
usr.bin/ssh/ssh-ed25519.c
53
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-ed25519.c
67
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-keygen.c
1421
int print_generic, char * const *opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
1431
if ((p = strprefix(opts[i], "hashalg=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
1435
error("Invalid option \"%s\"", opts[i]);
usr.bin/ssh/ssh-keygen.c
2604
sig_process_opts(char * const *opts, size_t nopts, char **hashalgp,
usr.bin/ssh/ssh-keygen.c
2619
(p = strprefix(opts[i], "hashalg=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2622
(p = strprefix(opts[i], "verify-time=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2629
strcasecmp(opts[i], "print-pubkey") == 0) {
usr.bin/ssh/ssh-keygen.c
2632
error("Invalid option \"%s\"", opts[i]);
usr.bin/ssh/ssh-keygen.c
2649
int argc, char **argv, char * const *opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2665
if (sig_process_opts(opts, nopts, &hashalg, NULL, NULL) != 0)
usr.bin/ssh/ssh-keygen.c
2732
char * const *opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2742
if (sig_process_opts(opts, nopts, NULL, &verify_time,
usr.bin/ssh/ssh-keygen.c
2823
char * const *opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2831
if (sig_process_opts(opts, nopts, NULL, &verify_time, NULL) != 0)
usr.bin/ssh/ssh-keygen.c
2871
char * const *opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2877
if ((r = sig_process_opts(opts, nopts, NULL, NULL, NULL)) != 0)
usr.bin/ssh/ssh-keygen.c
2896
do_moduli_gen(const char *out_file, char **opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2908
if ((p = strprefix(opts[i], "start=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2912
} else if ((p = strprefix(opts[i], "bits=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2919
"generation", opts[i]);
usr.bin/ssh/ssh-keygen.c
2941
do_moduli_screen(const char *out_file, char **opts, size_t nopts)
usr.bin/ssh/ssh-keygen.c
2955
if ((p = strprefix(opts[i], "lines=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2957
} else if ((p = strprefix(opts[i], "start-line=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2959
} else if ((p = strprefix(opts[i], "checkpoint=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2962
} else if ((p = strprefix(opts[i], "generator=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2968
} else if ((p = strprefix(opts[i], "prime-tests=", 0)) != NULL) {
usr.bin/ssh/ssh-keygen.c
2975
"screening", opts[i]);
usr.bin/ssh/ssh-keygen.c
3283
char *identity_comment = NULL, *ca_key_path = NULL, **opts = NULL;
usr.bin/ssh/ssh-keygen.c
3408
opts = xrecallocarray(opts, nopts, nopts + 1,
usr.bin/ssh/ssh-keygen.c
3409
sizeof(*opts));
usr.bin/ssh/ssh-keygen.c
3410
opts[nopts++] = xstrdup(optarg);
usr.bin/ssh/ssh-keygen.c
3531
opts, nopts);
usr.bin/ssh/ssh-keygen.c
3545
opts, nopts);
usr.bin/ssh/ssh-keygen.c
3561
prefer_agent, argc, argv, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3577
NULL, NULL, NULL, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3604
opts, nopts);
usr.bin/ssh/ssh-keygen.c
3652
add_cert_option(opts[i]);
usr.bin/ssh/ssh-keygen.c
3667
if ((p = strprefix(opts[i], "device=", 1)) != NULL) {
usr.bin/ssh/ssh-keygen.c
3671
"FIDO authenticator download", opts[i]);
usr.bin/ssh/ssh-keygen.c
3703
rr_hostname, print_generic, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3711
print_generic, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3714
print_generic, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3717
print_generic, opts, nopts);
usr.bin/ssh/ssh-keygen.c
3731
do_moduli_gen(argv[0], opts, nopts);
usr.bin/ssh/ssh-keygen.c
3735
do_moduli_screen(argv[0], opts, nopts);
usr.bin/ssh/ssh-keygen.c
3757
if (strcasecmp(opts[i], "no-touch-required") == 0) {
usr.bin/ssh/ssh-keygen.c
3759
} else if (strcasecmp(opts[i], "verify-required") == 0) {
usr.bin/ssh/ssh-keygen.c
3761
} else if (strcasecmp(opts[i], "resident") == 0) {
usr.bin/ssh/ssh-keygen.c
3763
} else if ((p = strprefix(opts[i], "device=", 1))
usr.bin/ssh/ssh-keygen.c
3766
} else if ((p = strprefix(opts[i], "user=", 1))
usr.bin/ssh/ssh-keygen.c
3769
} else if ((p = strprefix(opts[i], "challenge=", 1))
usr.bin/ssh/ssh-keygen.c
3776
} else if (strncasecmp(opts[i],
usr.bin/ssh/ssh-keygen.c
3778
sk_attestation_path = opts[i] + 18;
usr.bin/ssh/ssh-keygen.c
3779
} else if (strncasecmp(opts[i],
usr.bin/ssh/ssh-keygen.c
3781
sk_application = xstrdup(opts[i] + 12);
usr.bin/ssh/ssh-keygen.c
3788
"FIDO authenticator enrollment", opts[i]);
usr.bin/ssh/ssh-rsa.c
65
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-rsa.c
86
enum sshkey_serialize_rep opts)
usr.bin/ssh/ssh-sk.c
364
sshsk_free_options(struct sk_option **opts)
usr.bin/ssh/ssh-sk.c
368
if (opts == NULL)
usr.bin/ssh/ssh-sk.c
370
for (i = 0; opts[i] != NULL; i++) {
usr.bin/ssh/ssh-sk.c
371
free(opts[i]->name);
usr.bin/ssh/ssh-sk.c
372
free(opts[i]->value);
usr.bin/ssh/ssh-sk.c
373
free(opts[i]);
usr.bin/ssh/ssh-sk.c
375
free(opts);
usr.bin/ssh/ssh-sk.c
382
struct sk_option **opts = *optsp;
usr.bin/ssh/ssh-sk.c
385
if ((opts = recallocarray(opts, nopts, nopts + 2, /* extra for NULL */
usr.bin/ssh/ssh-sk.c
386
sizeof(*opts))) == NULL) {
usr.bin/ssh/ssh-sk.c
390
*optsp = opts;
usr.bin/ssh/ssh-sk.c
392
if ((opts[nopts] = calloc(1, sizeof(**opts))) == NULL) {
usr.bin/ssh/ssh-sk.c
396
if ((opts[nopts]->name = strdup(name)) == NULL ||
usr.bin/ssh/ssh-sk.c
397
(opts[nopts]->value = strdup(value)) == NULL) {
usr.bin/ssh/ssh-sk.c
401
opts[nopts]->required = required;
usr.bin/ssh/ssh-sk.c
409
struct sk_option **opts = NULL;
usr.bin/ssh/ssh-sk.c
414
(r = sshsk_add_option(&opts, &nopts, "device", device, 0)) != 0) {
usr.bin/ssh/ssh-sk.c
419
(r = sshsk_add_option(&opts, &nopts, "user", user_id, 0)) != 0) {
usr.bin/ssh/ssh-sk.c
424
*optsp = opts;
usr.bin/ssh/ssh-sk.c
425
opts = NULL;
usr.bin/ssh/ssh-sk.c
429
sshsk_free_options(opts);
usr.bin/ssh/ssh-sk.c
470
struct sk_option **opts = NULL;
usr.bin/ssh/ssh-sk.c
484
if ((r = make_options(device, userid, &opts)) != 0)
usr.bin/ssh/ssh-sk.c
53
const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
532
flags, pin, opts, &resp)) != 0) {
usr.bin/ssh/ssh-sk.c
551
sshsk_free_options(opts);
usr.bin/ssh/ssh-sk.c
60
uint8_t flags, const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
64
int (*sk_load_resident_keys)(const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
642
struct sk_option **opts = NULL;
usr.bin/ssh/ssh-sk.c
683
key->sk_flags, pin, opts, &resp)) != 0) {
usr.bin/ssh/ssh-sk.c
71
const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
729
sshsk_free_options(opts);
usr.bin/ssh/ssh-sk.c
76
uint8_t flags, const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
78
int ssh_sk_load_resident_keys(const char *pin, struct sk_option **opts,
usr.bin/ssh/ssh-sk.c
793
struct sk_option **opts = NULL;
usr.bin/ssh/ssh-sk.c
803
if ((r = make_options(device, NULL, &opts)) != 0)
usr.bin/ssh/ssh-sk.c
809
if ((r = skp->sk_load_resident_keys(pin, opts, &rks, &nrks)) != 0) {
usr.bin/ssh/ssh-sk.c
866
sshsk_free_options(opts);
usr.bin/ssh/sshd-session.c
680
u_char opts[200];
usr.bin/ssh/sshd-session.c
681
socklen_t i, option_size = sizeof(opts), fromlen = sizeof(from);
usr.bin/ssh/sshd-session.c
682
char text[sizeof(opts) * 3 + 1];
usr.bin/ssh/sshd-session.c
692
if (getsockopt(sock_in, IPPROTO_IP, IP_OPTIONS, opts,
usr.bin/ssh/sshd-session.c
697
" %2.2x", opts[i]);
usr.bin/ssh/sshkey.c
2493
enum sshkey_serialize_rep opts)
usr.bin/ssh/sshkey.c
2517
if ((r = impl->funcs->serialize_private(key, b, opts)) != 0)
usr.bin/ssh/sshkey.c
819
enum sshkey_serialize_rep opts)
usr.bin/ssh/sshkey.c
846
return impl->funcs->serialize_public(key, b, opts);
usr.bin/ssh/sshkey.c
857
enum sshkey_serialize_rep opts, int force_plain)
usr.bin/ssh/sshkey.c
864
r = to_blob_buf(key, tmp, force_plain, opts);
usr.bin/ssh/sshkey.c
891
enum sshkey_serialize_rep opts)
usr.bin/ssh/sshkey.c
903
if ((ret = to_blob_buf(key, b, force_plain, opts)) != 0)
usr.bin/ssh/sshsig.c
638
sshsigopt_parse(const char *opts, const char *path, u_long linenum,
usr.bin/ssh/sshsig.c
648
if (opts == NULL || *opts == '\0')
usr.bin/ssh/sshsig.c
651
while (*opts && *opts != ' ' && *opts != '\t') {
usr.bin/ssh/sshsig.c
653
if ((r = opt_flag("cert-authority", 0, &opts)) != -1) {
usr.bin/ssh/sshsig.c
655
} else if (opt_match(&opts, "namespaces")) {
usr.bin/ssh/sshsig.c
660
ret->namespaces = opt_dequote(&opts, &errstr);
usr.bin/ssh/sshsig.c
663
} else if (opt_match(&opts, "valid-after")) {
usr.bin/ssh/sshsig.c
668
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/sshsig.c
677
} else if (opt_match(&opts, "valid-before")) {
usr.bin/ssh/sshsig.c
682
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
usr.bin/ssh/sshsig.c
696
if (*opts == '\0' || *opts == ' ' || *opts == '\t')
usr.bin/ssh/sshsig.c
699
if (*opts != ',') {
usr.bin/ssh/sshsig.c
703
opts++;
usr.bin/ssh/sshsig.c
704
if (*opts == '\0') {
usr.bin/ssh/sshsig.c
725
sshsigopt_free(struct sshsigopt *opts)
usr.bin/ssh/sshsig.c
727
if (opts == NULL)
usr.bin/ssh/sshsig.c
729
free(opts->namespaces);
usr.bin/ssh/sshsig.c
730
free(opts);
usr.bin/ssh/sshsig.c
738
char *opts = NULL, *tmp, *cp, *principals = NULL;
usr.bin/ssh/sshsig.c
789
opts = cp;
usr.bin/ssh/sshsig.c
808
debug3("%s:%lu: options %s", path, linenum, opts == NULL ? "" : opts);
usr.bin/ssh/sshsig.c
809
if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) {
usr.bin/ssh/sshsig.h
92
struct sshsigopt *sshsigopt_parse(const char *opts,
usr.bin/ssh/sshsig.h
96
void sshsigopt_free(struct sshsigopt *opts);
usr.bin/vi/common/gs.h
73
OPTION opts[GO_TERM + 1];
usr.bin/vi/common/options.c
1049
memcpy(sp->opts, orig->opts, sizeof(orig->opts));
usr.bin/vi/common/options.c
286
F_SET(&sp->opts[O_TERM], OPT_GLOBAL);
usr.bin/vi/common/options.c
291
F_SET(&sp->opts[O_LINES], OPT_GLOBAL);
usr.bin/vi/common/options.c
296
F_SET(&sp->opts[O_COLUMNS], OPT_GLOBAL);
usr.bin/vi/common/options.c
301
F_SET(&sp->opts[O_SECURE], OPT_GLOBAL);
usr.bin/vi/common/options.c
464
spo = sp->opts + offset;
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.bin/vi/common/options.c
819
if (!F_ISSET(&sp->opts[cnt], OPT_SELECTED))
usr.bin/vi/common/options.c
826
F_CLR(&sp->opts[cnt], OPT_SELECTED);
usr.bin/vi/common/options.h
30
(F_ISSET(&(sp)->opts[(o)], OPT_GLOBAL) ? \
usr.bin/vi/common/options.h
31
(sp)->gp->opts[(sp)->opts[(o)].o_cur.val].fld : \
usr.bin/vi/common/options.h
32
(sp)->opts[(o)].fld)
usr.bin/vi/common/options.h
35
#define OG_CLR(gp, o) ((gp)->opts[(o)].o_cur.val) = 0
usr.bin/vi/common/options.h
36
#define OG_SET(gp, o) ((gp)->opts[(o)].o_cur.val) = 1
usr.bin/vi/common/options.h
37
#define OG_STR(gp, o) ((gp)->opts[(o)].o_cur.str)
usr.bin/vi/common/options.h
38
#define OG_VAL(gp, o) ((gp)->opts[(o)].o_cur.val)
usr.bin/vi/common/options.h
41
#define OG_D_STR(gp, o) ((gp)->opts[(o)].o_def.str)
usr.bin/vi/common/options.h
42
#define OG_D_VAL(gp, o) ((gp)->opts[(o)].o_def.val)
usr.bin/vi/common/screen.h
134
OPTION opts[O_OPTIONCOUNT]; /* Ex/vi: Options. */
usr.sbin/acme-client/parse.h
82
int opts;
usr.sbin/acme-client/parse.y
159
if (conf->opts & ACME_OPT_VERBOSE)
usr.sbin/acme-client/parse.y
855
parse_config(const char *filename, int opts)
usr.sbin/acme-client/parse.y
861
conf->opts = opts;
usr.sbin/acme-client/parse.y
878
if ((conf->opts & ACME_OPT_VERBOSE) && !sym->used)
usr.sbin/acme-client/parse.y
894
if (opts & ACME_OPT_CHECK) {
usr.sbin/acme-client/parse.y
895
if (opts & ACME_OPT_VERBOSE)
usr.sbin/amd/amd/afs_ops.c
115
mnt.mnt_opts = opts;
usr.sbin/amd/amd/afs_ops.c
315
char opts[256];
usr.sbin/amd/amd/afs_ops.c
342
snprintf(opts, sizeof(opts),
usr.sbin/amd/amd/afs_ops.c
351
error = mount_toplvl(mf->mf_mount, opts);
usr.sbin/amd/amd/afs_ops.c
97
mount_toplvl(char *dir, char *opts)
usr.sbin/amd/amd/get_args.c
227
char *opts = "";
usr.sbin/amd/amd/get_args.c
229
opts = &v[optind++][1];
usr.sbin/amd/amd/get_args.c
231
root_newmap(dir, opts, map);
usr.sbin/amd/amd/host_ops.c
128
do_mount(fhstatus *fhp, char *dir, char *fs_name, char *opts, mntfs *mf)
usr.sbin/amd/amd/host_ops.c
143
return mount_nfs_fh(fhp, dir, fs_name, opts, mf);
usr.sbin/amd/amd/host_ops.c
488
host_exec(char *op, char *host, char *fs, char *opts)
usr.sbin/amd/amd/host_ops.c
501
argv[5] = opts && *opts ? opts : "rw,default";
usr.sbin/amd/amd/mapc.c
722
root_newmap(char *dir, char *opts, char *map)
usr.sbin/amd/amd/mapc.c
738
map, opts ? opts : "");
usr.sbin/amd/amd/mapc.c
740
strlcpy(str, opts, sizeof str);
usr.sbin/amd/amd/nfs_ops.c
448
mount_nfs_fh(fhstatus *fhp, char *dir, char *fs_name, char *opts,
usr.sbin/amd/amd/nfs_ops.c
480
xopts = strdup(opts);
usr.sbin/amd/amd/nfs_ops.c
617
mount_nfs(char *dir, char *fs_name, char *opts, mntfs *mf)
usr.sbin/amd/amd/nfs_ops.c
635
return mount_nfs_fh(&fhs, dir, fs_name, opts, mf);
usr.sbin/amd/amd/nfs_ops.c
642
return mount_nfs_fh((fhstatus *) mf->mf_private, dir, fs_name, opts, mf);
usr.sbin/amd/amd/opts.c
207
eval_opts(char *opts, char *mapkey)
usr.sbin/amd/amd/opts.c
214
char *o = opts;
usr.sbin/amd/amd/opts.c
727
eval_fs_opts(am_opts *fo, char *opts, char *g_opts, char *path,
usr.sbin/amd/amd/opts.c
756
fs_static.fs_local = expand_key(opts);
usr.sbin/amd/amd/ufs_ops.c
72
mount_ufs(char *dir, char *fs_name, char *opts)
usr.sbin/amd/amd/ufs_ops.c
91
mnt.mnt_opts = opts;
usr.sbin/amd/amd/xutil.c
224
show_opts(int ch, struct opt_tab *opts)
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/dvmrpctl/dvmrpctl.c
501
print_dvmrp_options(u_int8_t opts)
usr.sbin/dvmrpctl/dvmrpctl.c
506
opts & DVMRP_CAP_NETMASK ? "N" : "-",
usr.sbin/dvmrpctl/dvmrpctl.c
507
opts & DVMRP_CAP_SNMP ? "S" : "-",
usr.sbin/dvmrpctl/dvmrpctl.c
508
opts & DVMRP_CAP_MTRACE ? "M" : "-",
usr.sbin/dvmrpctl/dvmrpctl.c
509
opts & DVMRP_CAP_GENID ? "G" : "-",
usr.sbin/dvmrpctl/dvmrpctl.c
510
opts & DVMRP_CAP_PRUNE ? "P" : "-",
usr.sbin/dvmrpctl/dvmrpctl.c
511
opts & DVMRP_CAP_LEAF ? "L" : "-");
usr.sbin/dvmrpd/dvmrpd.c
104
int ch, opts = 0;
usr.sbin/dvmrpd/dvmrpd.c
125
opts |= DVMRPD_OPT_NOACTION;
usr.sbin/dvmrpd/dvmrpd.c
128
if (opts & DVMRPD_OPT_VERBOSE)
usr.sbin/dvmrpd/dvmrpd.c
129
opts |= DVMRPD_OPT_VERBOSE2;
usr.sbin/dvmrpd/dvmrpd.c
130
opts |= DVMRPD_OPT_VERBOSE;
usr.sbin/dvmrpd/dvmrpd.c
145
log_verbose(opts & DVMRPD_OPT_VERBOSE);
usr.sbin/dvmrpd/dvmrpd.c
163
if ((conf = parse_config(conffile, opts)) == NULL )
usr.sbin/dvmrpd/dvmrpd.c
166
if (conf->opts & DVMRPD_OPT_NOACTION) {
usr.sbin/dvmrpd/dvmrpd.c
167
if (conf->opts & DVMRPD_OPT_VERBOSE)
usr.sbin/dvmrpd/dvmrpd.h
235
u_int32_t opts;
usr.sbin/dvmrpd/parse.y
167
if (conf->opts & DVMRPD_OPT_VERBOSE)
usr.sbin/dvmrpd/parse.y
734
parse_config(char *filename, int opts)
usr.sbin/dvmrpd/parse.y
766
conf->opts = opts;
usr.sbin/dvmrpd/parse.y
774
if ((conf->opts & DVMRPD_OPT_VERBOSE2) && !sym->used)
usr.sbin/httpd/httpd.c
121
uint32_t opts = 0;
usr.sbin/httpd/httpd.c
142
opts |= HTTPD_OPT_NOACTION;
usr.sbin/httpd/httpd.c
149
opts |= HTTPD_OPT_VERBOSE;
usr.sbin/httpd/httpd.c
184
env->sc_opts = opts;
usr.sbin/ifstated/ifstated.c
117
opts |= IFSD_OPT_NOACTION;
usr.sbin/ifstated/ifstated.c
123
if (opts & IFSD_OPT_VERBOSE)
usr.sbin/ifstated/ifstated.c
124
opts |= IFSD_OPT_VERBOSE2;
usr.sbin/ifstated/ifstated.c
125
opts |= IFSD_OPT_VERBOSE;
usr.sbin/ifstated/ifstated.c
137
if (opts & IFSD_OPT_NOACTION) {
usr.sbin/ifstated/ifstated.c
138
if ((newconf = parse_config(configfile, opts)) == NULL)
usr.sbin/ifstated/ifstated.c
149
log_setverbose(opts & IFSD_OPT_VERBOSE);
usr.sbin/ifstated/ifstated.c
213
if ((newconf = parse_config(configfile, opts)) == NULL)
usr.sbin/ifstated/ifstated.c
51
int opts;
usr.sbin/ifstated/ifstated.h
122
u_int32_t opts;
usr.sbin/ifstated/parse.y
146
if (conf->opts & IFSD_OPT_VERBOSE)
usr.sbin/ifstated/parse.y
728
parse_config(char *filename, int opts)
usr.sbin/ifstated/parse.y
749
conf->opts = opts;
usr.sbin/ifstated/parse.y
777
if ((conf->opts & IFSD_OPT_VERBOSE2) && !sym->used)
usr.sbin/nsd/dbaccess.c
238
if(!nsd->db || !zone || !zone->opts || !zone->opts->pattern->zonefile)
usr.sbin/nsd/dbaccess.c
242
fname = config_make_zonefile(zone->opts, nsd);
usr.sbin/nsd/dbaccess.c
246
if(zone_is_slave(zone->opts)) {
usr.sbin/nsd/dbaccess.c
301
zone->opts->pattern->ixfr_size, 0);
usr.sbin/nsd/dbaccess.c
318
zone->opts->name, fname));
usr.sbin/nsd/dbaccess.c
319
errors = zonec_read(nsd->db, nsd->db->domains, zone->opts->name, fname, zone);
usr.sbin/nsd/dbaccess.c
322
zone->opts->name, fname, errors);
usr.sbin/nsd/dbaccess.c
337
zone->opts->name));
usr.sbin/nsd/dbaccess.c
350
zone->opts->pattern->ixfr_number)) {
usr.sbin/nsd/dbaccess.c
354
zone->opts->name, fname));
usr.sbin/nsd/dbaccess.c
75
zone->opts = zo;
usr.sbin/nsd/dbcreate.c
101
zone->opts->name, filename, strerror(errno));
usr.sbin/nsd/dbcreate.c
107
"the header to zone %s", zone->opts->name);
usr.sbin/nsd/dbcreate.c
116
zone->opts->name, filename, strerror(errno));
usr.sbin/nsd/dbcreate.c
209
zone->opts->name, zfile));
usr.sbin/nsd/dbcreate.c
222
zone->opts->name, zfile));
usr.sbin/nsd/dbcreate.c
46
zone->opts->name);
usr.sbin/nsd/dbcreate.c
66
zone->opts->name);
usr.sbin/nsd/dbcreate.c
86
zone->opts->name, PACKAGE_VERSION, ctime(now));
usr.sbin/nsd/difffile.c
2094
if(!z->soa_rrset && z->opts->pattern->zonefile) {
usr.sbin/nsd/difffile.c
2117
zopt = zone->opts;
usr.sbin/nsd/ixfr.c
1457
return zone->opts->pattern->store_ixfr;
usr.sbin/nsd/ixfr.c
1551
if(zone->opts->pattern->ixfr_number == 0) {
usr.sbin/nsd/ixfr.c
1558
while(ixfr->data->count >= zone->opts->pattern->ixfr_number) {
usr.sbin/nsd/ixfr.c
1562
if(zone->opts->pattern->ixfr_size == 0) {
usr.sbin/nsd/ixfr.c
1572
zone->opts->pattern->ixfr_size) {
usr.sbin/nsd/ixfr.c
1579
zone->opts->pattern->ixfr_size) {
usr.sbin/nsd/ixfr.c
1636
dest_num_files = (int)zone->opts->pattern->ixfr_number;
usr.sbin/nsd/ixfr.c
1786
(void)ixfr_unlink_it_ctmp(zone->opts->name, zfile,
usr.sbin/nsd/ixfr.c
1800
while(ixfr_unlink_it(zone->opts->name, zfile, i, 1)) {
usr.sbin/nsd/ixfr.c
1869
(void)ixfr_unlink_it_temp(zone->opts->name, zfile,
usr.sbin/nsd/ixfr.c
1874
if(!ixfr_rename_it(zone->opts->name, zfile, data->file_num, 0,
usr.sbin/nsd/ixfr.c
1896
(void)ixfr_unlink_it(zone->opts->name, zfile,
usr.sbin/nsd/ixfr.c
1900
if(!ixfr_rename_it(zone->opts->name, zfile, data->file_num, 1, destnum, 0)) {
usr.sbin/nsd/ixfr.c
1921
if(!fprintf(out, "; zone %s\n", zone->opts->name))
usr.sbin/nsd/ixfr.c
1952
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: failed to parse dname", zone->opts->name, fname);
usr.sbin/nsd/ixfr.c
1957
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: buffer too short", zone->opts->name, fname);
usr.sbin/nsd/ixfr.c
1969
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: buffer too short for rdatalen", zone->opts->name, fname);
usr.sbin/nsd/ixfr.c
1977
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: cannot parse rdata %s %s %s", zone->opts->name, fname,
usr.sbin/nsd/ixfr.c
2020
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: cannot spool RR string into buffer", zone->opts->name, fname);
usr.sbin/nsd/ixfr.c
2028
log_msg(LOG_ERR, "failed to write zone %s IXFR data %s: cannot print RR string to file: %s", zone->opts->name, fname, strerror(errno));
usr.sbin/nsd/ixfr.c
2103
zone->opts->name, ixfrfile));
usr.sbin/nsd/ixfr.c
2107
zone->opts->name, ixfrfile, strerror(errno));
usr.sbin/nsd/ixfr.c
2113
zone->opts->name, ixfrfile, strerror(errno));
usr.sbin/nsd/ixfr.c
2302
zone->opts->name);
usr.sbin/nsd/ixfr.c
2307
zone->opts->name);
usr.sbin/nsd/ixfr.c
2312
zone->opts->name);
usr.sbin/nsd/ixfr.c
2317
zone->opts->name, domain_to_string(rr->owner));
usr.sbin/nsd/ixfr.c
2323
zone->opts->name, data->newserial,
usr.sbin/nsd/ixfr.c
2331
zone->opts->name);
usr.sbin/nsd/ixfr.c
2333
zone->opts->name);
usr.sbin/nsd/ixfr.c
2351
zone->opts->name);
usr.sbin/nsd/ixfr.c
2356
zone->opts->name);
usr.sbin/nsd/ixfr.c
2361
zone->opts->name);
usr.sbin/nsd/ixfr.c
2366
zone->opts->name, domain_to_string(rr->owner));
usr.sbin/nsd/ixfr.c
2372
zone->opts->name);
usr.sbin/nsd/ixfr.c
2390
zone->opts->name);
usr.sbin/nsd/ixfr.c
2414
zone->opts->name);
usr.sbin/nsd/ixfr.c
2480
"rdata of %s %s %s", state->zone->opts->name,
usr.sbin/nsd/ixfr.c
2563
zone->ixfr->data->count == zone->opts->pattern->ixfr_number) {
usr.sbin/nsd/ixfr.c
2565
zone->opts->name, ixfrfile, (int)zone->opts->pattern->ixfr_number));
usr.sbin/nsd/ixfr.c
2593
state.tempzone->opts = zone->opts;
usr.sbin/nsd/ixfr.c
2629
if(zone->opts->pattern->ixfr_size != 0 &&
usr.sbin/nsd/ixfr.c
2631
zone->opts->pattern->ixfr_size) {
usr.sbin/nsd/ixfr.c
2633
zone->opts->name, ixfrfile, (unsigned)zone->opts->pattern->ixfr_size, (unsigned)ixfr_data_size(state.data)));
usr.sbin/nsd/ixfr.c
2639
zone->opts->name, ixfrfile, (unsigned)ixfr_data_size(state.data)));
usr.sbin/nsd/ixfr.c
2676
zone->opts->name, num_files));
usr.sbin/nsd/ixfrcreate.c
1085
if(!zone->opts->pattern->create_ixfr)
usr.sbin/nsd/ixfrcreate.c
218
if(zone->opts && zone->opts->pattern)
usr.sbin/nsd/ixfrcreate.c
219
ixfrcr->max_size = (size_t)zone->opts->pattern->ixfr_size;
usr.sbin/nsd/ixfrcreate.c
831
if(!ixfr_read_file_header(zone->opts->name, zfile, 1, &file_oldserial,
usr.sbin/nsd/ixfrcreate.c
974
wiredname2str(ixfrcr->zone_name), zone->opts->name, zfile,
usr.sbin/nsd/namedb.h
139
struct zone_options* opts;
usr.sbin/nsd/nsec3.c
658
zone->opts->name,
usr.sbin/nsd/query.c
1376
if(q->zone->opts && q->zone->opts->pattern
usr.sbin/nsd/query.c
1377
&& q->zone->opts->pattern->allow_query) {
usr.sbin/nsd/query.c
1382
q->zone->opts->pattern->allow_query, q, &why) == -1) {
usr.sbin/nsd/query.c
1408
q->zone->opts->pattern->allow_query, q, &why) != -1) {
usr.sbin/nsd/query.c
1417
(const dname_type*)q->zone->opts->node.key)
usr.sbin/nsd/query.c
1419
q->zone->opts->pattern->provide_xfr, q,&why)) {
usr.sbin/nsd/query.c
1511
if(q->zone && q->zone->opts && q->zone->opts->pattern &&
usr.sbin/nsd/query.c
1512
q->zone->opts->pattern->request_xfr != 0 && !q->zone->is_ok) {
usr.sbin/nsd/rrl.c
318
if(query->zone && query->zone->opts &&
usr.sbin/nsd/rrl.c
319
(query->zone->opts->pattern->rrl_whitelist & c))
usr.sbin/nsd/rrl.c
365
if(query->zone && query->zone->opts &&
usr.sbin/nsd/rrl.c
366
(query->zone->opts->pattern->rrl_whitelist & c))
usr.sbin/nsd/server.c
562
zone->zonestatid = getzonestatid(nsd->options, zone->opts);
usr.sbin/nsd/verify.c
175
verifier->zone->opts->name,
usr.sbin/nsd/verify.c
261
verifier->zone->opts->name, verifier->pid);
usr.sbin/nsd/verify.c
328
verifier->zone->opts->name, pid);
usr.sbin/nsd/verify.c
338
verifier->zone->opts->name, pid, status);
usr.sbin/nsd/verify.c
437
if(zone->opts->pattern->verifier != NULL) {
usr.sbin/nsd/verify.c
438
command = zone->opts->pattern->verifier;
usr.sbin/nsd/verify.c
443
zone->opts->name);
usr.sbin/nsd/verify.c
447
if(zone->opts->pattern->verifier_timeout
usr.sbin/nsd/verify.c
450
timeout = zone->opts->pattern->verifier_timeout;
usr.sbin/nsd/verify.c
455
if(zone->opts->pattern->verifier_feed_zone
usr.sbin/nsd/verify.c
458
fdin = zone->opts->pattern->verifier_feed_zone ? -2 : -1;
usr.sbin/nsd/verify.c
465
setenv("VERIFY_ZONE", zone->opts->name, 1);
usr.sbin/nsd/verify.c
47
verify = zone->opts->pattern->verify_zone;
usr.sbin/nsd/verify.c
472
"%s: %s", zone->opts->name, strerror(errno));
usr.sbin/nsd/verify.c
479
zone->opts->name, strerror(errno));
usr.sbin/nsd/verify.c
486
zone->opts->name, strerror(errno));
usr.sbin/nsd/verify.c
493
zone->opts->name, strerror(errno));
usr.sbin/nsd/verify.c
518
"zone %s", zone->opts->name);
usr.sbin/nsd/verify.c
534
"zone %s", zone->opts->name);
usr.sbin/nsd/verify.c
558
"for zone %s", zone->opts->name);
usr.sbin/nsd/verify.c
574
"for zone %s", zone->opts->name);
usr.sbin/nsd/verify.c
580
zone->opts->name, verifier->pid, timeout);
usr.sbin/nsd/verify.c
583
"(pid %d)", zone->opts->name, verifier->pid);
usr.sbin/nsd/xdp-server.c
253
DECLARE_LIBXDP_OPTS(bpf_object_open_opts, opts);
usr.sbin/nsd/xdp-server.c
255
opts.pin_root_path = xdp->bpf_bpffs_path;
usr.sbin/nsd/xdp-server.c
259
xdp->bpf_prog = xdp_program__open_file(xdp->bpf_prog_filename, NULL, &opts);
usr.sbin/nsd/zonec.c
455
options.secondary = zone_is_slave(zone->opts) != 0;
usr.sbin/nsd/zonec.c
490
if(!zone_is_slave(zone->opts) && !check_dname(zone))
usr.sbin/ntpd/parse.y
100
%type <v.opts> trusted
usr.sbin/ntpd/parse.y
404
{ $$ = opts; }
usr.sbin/ntpd/parse.y
405
| { opts_default(); $$ = opts; }
usr.sbin/ntpd/parse.y
415
{ $$ = opts; }
usr.sbin/ntpd/parse.y
416
| { opts_default(); $$ = opts; }
usr.sbin/ntpd/parse.y
427
{ $$ = opts; }
usr.sbin/ntpd/parse.y
428
| { opts_default(); $$ = opts; }
usr.sbin/ntpd/parse.y
446
opts.correction = $2;
usr.sbin/ntpd/parse.y
458
opts.refstr = $2;
usr.sbin/ntpd/parse.y
468
opts.stratum = $2;
usr.sbin/ntpd/parse.y
477
opts.weight = $2;
usr.sbin/ntpd/parse.y
485
opts.rtable = $2;
usr.sbin/ntpd/parse.y
490
opts.trusted = 1;
usr.sbin/ntpd/parse.y
498
memset(&opts, 0, sizeof opts);
usr.sbin/ntpd/parse.y
499
opts.weight = 1;
usr.sbin/ntpd/parse.y
500
opts.stratum = 1;
usr.sbin/ntpd/parse.y
71
} opts;
usr.sbin/ntpd/parse.y
79
struct opts opts;
usr.sbin/ntpd/parse.y
92
%type <v.opts> listen_opts listen_opts_l listen_opt
usr.sbin/ntpd/parse.y
93
%type <v.opts> server_opts server_opts_l server_opt
usr.sbin/ntpd/parse.y
94
%type <v.opts> sensor_opts sensor_opts_l sensor_opt
usr.sbin/ntpd/parse.y
95
%type <v.opts> correction
usr.sbin/ntpd/parse.y
96
%type <v.opts> rtable
usr.sbin/ntpd/parse.y
97
%type <v.opts> refid
usr.sbin/ntpd/parse.y
98
%type <v.opts> stratum
usr.sbin/ntpd/parse.y
99
%type <v.opts> weight
usr.sbin/ospf6ctl/ospf6ctl.c
1039
print_ospf_options(u_int32_t opts)
usr.sbin/ospf6ctl/ospf6ctl.c
1044
opts & OSPF_OPTION_DC ? "DC" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
1045
opts & OSPF_OPTION_R ? "R" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
1046
opts & OSPF_OPTION_N ? "N" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
1047
opts & OSPF_OPTION_E ? "E" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
1048
opts & OSPF_OPTION_V6 ? "V6" : "-");
usr.sbin/ospf6ctl/ospf6ctl.c
1175
print_ospf_rtr_flags(u_int8_t opts)
usr.sbin/ospf6ctl/ospf6ctl.c
1180
opts & OSPF_RTR_E ? "AS" : "",
usr.sbin/ospf6ctl/ospf6ctl.c
1181
opts & OSPF_RTR_E && opts & OSPF_RTR_B ? "+" : "",
usr.sbin/ospf6ctl/ospf6ctl.c
1182
opts & OSPF_RTR_B ? "ABR" : "");
usr.sbin/ospf6ctl/ospf6ctl.c
729
print_ospf_flags(u_int8_t opts)
usr.sbin/ospf6ctl/ospf6ctl.c
734
opts & OSPF_RTR_V ? "V" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
735
opts & OSPF_RTR_E ? "E" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
736
opts & OSPF_RTR_B ? "B" : "-");
usr.sbin/ospf6ctl/ospf6ctl.c
741
print_asext_flags(u_int32_t opts)
usr.sbin/ospf6ctl/ospf6ctl.c
746
opts & LSA_ASEXT_E_FLAG ? "E" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
747
opts & LSA_ASEXT_F_FLAG ? "F" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
748
opts & LSA_ASEXT_T_FLAG ? "T" : "-");
usr.sbin/ospf6ctl/ospf6ctl.c
753
print_prefix_opt(u_int8_t opts)
usr.sbin/ospf6ctl/ospf6ctl.c
757
if (opts) {
usr.sbin/ospf6ctl/ospf6ctl.c
760
opts & OSPF_PREFIX_DN ? "DN" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
761
opts & OSPF_PREFIX_P ? "P" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
762
opts & OSPF_PREFIX_LA ? "LA" : "-",
usr.sbin/ospf6ctl/ospf6ctl.c
763
opts & OSPF_PREFIX_NU ? "NU" : "-");
usr.sbin/ospf6ctl/ospf6ctl.c
833
ntohl(lsa->data.link.opts))));
usr.sbin/ospf6ctl/ospf6ctl.c
864
print_ospf_options(LSA_24_GETLO(ntohl(lsa->data.net.opts))));
usr.sbin/ospf6ctl/ospf6ctl.c
887
print_ospf_flags(LSA_24_GETHI(ntohl(lsa->data.rtr.opts))));
usr.sbin/ospf6ctl/ospf6ctl.c
889
print_ospf_options(LSA_24_GETLO(ntohl(lsa->data.rtr.opts))));
usr.sbin/ospf6ctl/ospf6ctl.c
988
print_ospf_options(ntohl(lsa->data.rtr_sum.opts)));
usr.sbin/ospf6d/database.c
133
dd_hdr.opts = htonl(area_ospf_options(nbr->iface->area));
usr.sbin/ospf6d/database.c
181
if (nbr->last_rx_options == dd_hdr.opts &&
usr.sbin/ospf6d/database.c
265
if (nbr->last_rx_options != dd_hdr.opts) {
usr.sbin/ospf6d/database.c
336
nbr->last_rx_options = dd_hdr.opts;
usr.sbin/ospf6d/hello.c
118
u_int32_t nbr_id, opts;
usr.sbin/ospf6d/hello.c
145
opts = LSA_24_GETLO(ntohl(hello.opts));
usr.sbin/ospf6d/hello.c
146
if ((opts & OSPF_OPTION_E && iface->area->stub) ||
usr.sbin/ospf6d/hello.c
147
((opts & OSPF_OPTION_E) == 0 && !iface->area->stub)) {
usr.sbin/ospf6d/hello.c
173
nbr->priority = LSA_24_GETHI(ntohl(hello.opts));
usr.sbin/ospf6d/hello.c
184
nbr->options = opts;
usr.sbin/ospf6d/hello.c
207
nbr->priority = LSA_24_GETHI(ntohl(hello.opts));
usr.sbin/ospf6d/hello.c
211
if (nbr->priority != LSA_24_GETHI(ntohl(hello.opts))) {
usr.sbin/ospf6d/hello.c
212
nbr->priority = LSA_24_GETHI(ntohl(hello.opts));
usr.sbin/ospf6d/hello.c
70
LSA_24_SETHI(hello.opts, iface->priority);
usr.sbin/ospf6d/hello.c
71
LSA_24_SETLO(hello.opts, area_ospf_options(iface->area));
usr.sbin/ospf6d/hello.c
72
hello.opts = htonl(hello.opts);
usr.sbin/ospf6d/ospf6.h
126
u_int32_t opts; /* 8bit rtr_priority + 24bits options */
usr.sbin/ospf6d/ospf6.h
135
u_int32_t opts;
usr.sbin/ospf6d/ospf6.h
224
u_int32_t opts; /* 8bit flags + 24bits options */
usr.sbin/ospf6d/ospf6.h
237
u_int32_t opts; /* 24bits options */
usr.sbin/ospf6d/ospf6.h
250
u_int32_t opts; /* lower 24bit options */
usr.sbin/ospf6d/ospf6.h
265
u_int32_t opts; /* rtr pri & 24bit options */
usr.sbin/ospf6d/ospf6d.c
112
int ch, opts = 0;
usr.sbin/ospf6d/ospf6d.c
129
opts |= OSPFD_OPT_FORCE_DEMOTE;
usr.sbin/ospf6d/ospf6d.c
143
opts |= OSPFD_OPT_NOACTION;
usr.sbin/ospf6d/ospf6d.c
149
if (opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospf6d/ospf6d.c
150
opts |= OSPFD_OPT_VERBOSE2;
usr.sbin/ospf6d/ospf6d.c
151
opts |= OSPFD_OPT_VERBOSE;
usr.sbin/ospf6d/ospf6d.c
176
opts |= OSPFD_OPT_STUB_ROUTER;
usr.sbin/ospf6d/ospf6d.c
183
if ((ospfd_conf = parse_config(conffile, opts)) == NULL )
usr.sbin/ospf6d/ospf6d.c
194
if (ospfd_conf->opts & OSPFD_OPT_NOACTION) {
usr.sbin/ospf6d/ospf6d.c
195
if (ospfd_conf->opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospf6d/ospf6d.c
211
log_setverbose(ospfd_conf->opts & OSPFD_OPT_VERBOSE);
usr.sbin/ospf6d/ospf6d.c
622
if ((xconf = parse_config(conffile, ospfd_conf->opts)) == NULL)
usr.sbin/ospf6d/ospf6d.h
376
u_int32_t opts;
usr.sbin/ospf6d/ospfe.c
1006
lsa_net.opts = 0;
usr.sbin/ospf6d/ospfe.c
1012
lsa_net.opts |= nbr->link_options;
usr.sbin/ospf6d/ospfe.c
1038
lsa_net.opts &= lsa_net.opts & htonl(LSA_24_MASK);
usr.sbin/ospf6d/ospfe.c
1116
LSA_24_SETHI(lsa_link.opts, iface->priority);
usr.sbin/ospf6d/ospfe.c
1118
LSA_24_SETLO(lsa_link.opts, options);
usr.sbin/ospf6d/ospfe.c
1119
lsa_link.opts = htonl(lsa_link.opts);
usr.sbin/ospf6d/ospfe.c
562
nbr->link_options = lsa_link.opts &
usr.sbin/ospf6d/ospfe.c
933
lsa_rtr.opts = 0;
usr.sbin/ospf6d/ospfe.c
956
LSA_24_SETLO(lsa_rtr.opts, area_ospf_options(area));
usr.sbin/ospf6d/ospfe.c
957
LSA_24_SETHI(lsa_rtr.opts, flags);
usr.sbin/ospf6d/ospfe.c
958
lsa_rtr.opts = htonl(lsa_rtr.opts);
usr.sbin/ospf6d/parse.y
1021
parse_config(char *filename, int opts)
usr.sbin/ospf6d/parse.y
1027
conf->opts = opts;
usr.sbin/ospf6d/parse.y
1028
if (conf->opts & OSPFD_OPT_STUB_ROUTER)
usr.sbin/ospf6d/parse.y
1047
!(conf->opts & OSPFD_OPT_NOACTION))) == NULL) {
usr.sbin/ospf6d/parse.y
1063
if ((conf->opts & OSPFD_OPT_VERBOSE2) && !sym->used)
usr.sbin/ospf6d/parse.y
161
!(conf->opts & OSPFD_OPT_NOACTION))) == NULL) {
usr.sbin/ospf6d/parse.y
195
if (conf->opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospf6d/parse.y
523
conf->opts & OSPFD_OPT_FORCE_DEMOTE) == -1) {
usr.sbin/ospf6d/parse.y
586
conf->opts & OSPFD_OPT_FORCE_DEMOTE) == -1) {
usr.sbin/ospf6d/rde_spf.c
221
flags = LSA_24_GETHI(ntohl(v->lsa->data.rtr.opts));
usr.sbin/ospf6d/rde_spf.c
245
flags = LSA_24_GETHI(ntohl(w->lsa->data.rtr.opts));
usr.sbin/ospfctl/ospfctl.c
491
print_ospf_flags(u_int8_t opts)
usr.sbin/ospfctl/ospfctl.c
496
opts & OSPF_RTR_V ? "V" : "-",
usr.sbin/ospfctl/ospfctl.c
497
opts & OSPF_RTR_E ? "E" : "-",
usr.sbin/ospfctl/ospfctl.c
498
opts & OSPF_RTR_B ? "B" : "-");
usr.sbin/ospfctl/ospfctl.c
503
print_ospf_options(u_int8_t opts)
usr.sbin/ospfctl/ospfctl.c
508
opts & OSPF_OPTION_DN ? "DN" : "-",
usr.sbin/ospfctl/ospfctl.c
509
opts & OSPF_OPTION_O ? "O" : "-",
usr.sbin/ospfctl/ospfctl.c
510
opts & OSPF_OPTION_DC ? "DC" : "-",
usr.sbin/ospfctl/ospfctl.c
511
opts & OSPF_OPTION_EA ? "EA" : "-",
usr.sbin/ospfctl/ospfctl.c
512
opts & OSPF_OPTION_NP ? "N/P" : "-",
usr.sbin/ospfctl/ospfctl.c
513
opts & OSPF_OPTION_MC ? "MC" : "-",
usr.sbin/ospfctl/ospfctl.c
514
opts & OSPF_OPTION_E ? "E" : "-",
usr.sbin/ospfctl/ospfctl.c
515
opts & OSPF_OPTION_MT ? "MT" : "-");
usr.sbin/ospfctl/ospfctl.c
520
print_ospf_rtr_flags(u_int8_t opts)
usr.sbin/ospfctl/ospfctl.c
525
opts & OSPF_RTR_E ? "AS" : "",
usr.sbin/ospfctl/ospfctl.c
526
opts & OSPF_RTR_E && opts & OSPF_RTR_B ? "+" : "",
usr.sbin/ospfctl/ospfctl.c
527
opts & OSPF_RTR_B ? "ABR" : "");
usr.sbin/ospfctl/output.c
481
printf("Options: %s\n", print_ospf_options(lsa->opts));
usr.sbin/ospfd/database.c
139
dd_hdr.opts = area_ospf_options(nbr->iface->area) | OSPF_OPTION_O;
usr.sbin/ospfd/database.c
187
if (nbr->last_rx_options == dd_hdr.opts &&
usr.sbin/ospfd/database.c
216
nbr->capa_options = dd_hdr.opts;
usr.sbin/ospfd/database.c
278
if (nbr->last_rx_options != dd_hdr.opts) {
usr.sbin/ospfd/database.c
349
nbr->last_rx_options = dd_hdr.opts;
usr.sbin/ospfd/hello.c
157
if ((hello.opts & OSPF_OPTION_E && iface->area->stub) ||
usr.sbin/ospfd/hello.c
158
((hello.opts & OSPF_OPTION_E) == 0 && !iface->area->stub)) {
usr.sbin/ospfd/hello.c
206
nbr->options = hello.opts;
usr.sbin/ospfd/hello.c
76
hello.opts = area_ospf_options(iface->area);
usr.sbin/ospfd/ospf.h
151
u_int8_t opts;
usr.sbin/ospfd/ospf.h
161
u_int8_t opts;
usr.sbin/ospfd/ospf.h
253
u_int8_t opts;
usr.sbin/ospfd/ospfd.c
113
int ch, opts = 0;
usr.sbin/ospfd/ospfd.c
130
opts |= OSPFD_OPT_FORCE_DEMOTE;
usr.sbin/ospfd/ospfd.c
144
opts |= OSPFD_OPT_NOACTION;
usr.sbin/ospfd/ospfd.c
150
if (opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospfd/ospfd.c
151
opts |= OSPFD_OPT_VERBOSE2;
usr.sbin/ospfd/ospfd.c
152
opts |= OSPFD_OPT_VERBOSE;
usr.sbin/ospfd/ospfd.c
177
opts |= OSPFD_OPT_STUB_ROUTER;
usr.sbin/ospfd/ospfd.c
184
if ((ospfd_conf = parse_config(conffile, opts)) == NULL) {
usr.sbin/ospfd/ospfd.c
199
if (ospfd_conf->opts & OSPFD_OPT_NOACTION) {
usr.sbin/ospfd/ospfd.c
200
if (ospfd_conf->opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospfd/ospfd.c
217
log_setverbose(ospfd_conf->opts & OSPFD_OPT_VERBOSE);
usr.sbin/ospfd/ospfd.c
647
if ((xconf = parse_config(conffile, ospfd_conf->opts)) == NULL)
usr.sbin/ospfd/ospfd.h
391
u_int32_t opts;
usr.sbin/ospfd/ospfe.c
1099
lsa_hdr.opts = area_ospf_options(area);
usr.sbin/ospfd/ospfe.c
1165
lsa_hdr.opts = area_ospf_options(iface->area);
usr.sbin/ospfd/parse.y
1212
parse_config(char *filename, int opts)
usr.sbin/ospfd/parse.y
1218
conf->opts = opts;
usr.sbin/ospfd/parse.y
1219
if (conf->opts & OSPFD_OPT_STUB_ROUTER)
usr.sbin/ospfd/parse.y
1240
!(conf->opts & OSPFD_OPT_NOACTION))) == NULL) {
usr.sbin/ospfd/parse.y
1256
if ((conf->opts & OSPFD_OPT_VERBOSE2) && !sym->used)
usr.sbin/ospfd/parse.y
166
!(conf->opts & OSPFD_OPT_NOACTION))) == NULL) {
usr.sbin/ospfd/parse.y
209
if (conf->opts & OSPFD_OPT_VERBOSE)
usr.sbin/ospfd/parse.y
654
conf->opts & OSPFD_OPT_FORCE_DEMOTE) == -1) {
usr.sbin/ospfd/parse.y
765
conf->opts & OSPFD_OPT_FORCE_DEMOTE) == -1) {
usr.sbin/ospfd/rde.c
1340
lsa->hdr.opts = area_ospf_options(NULL);
usr.sbin/ospfd/rde.c
1459
lsa->hdr.opts = area_ospf_options(area);
usr.sbin/ospfd/rde_lsdb.c
862
if (a->hdr.opts != b->hdr.opts)
usr.sbin/relayd/hce.c
214
if (env->sc_conf.opts & RELAYD_OPT_LOGUPDATE) {
usr.sbin/relayd/hce.c
260
if (env->sc_conf.opts & logopt) {
usr.sbin/relayd/parse.y
2964
if ((conf->sc_conf.opts & RELAYD_OPT_VERBOSE) && !sym->used)
usr.sbin/relayd/parse.y
410
conf->sc_conf.opts |= $2;
usr.sbin/relayd/pfe_filter.c
210
if (env->sc_conf.opts & RELAYD_OPT_LOGUPDATE)
usr.sbin/relayd/pfe_filter.c
465
rio.rule.rdr.opts = PF_POOL_RANDOM;
usr.sbin/relayd/pfe_filter.c
468
rio.rule.rdr.opts = PF_POOL_ROUNDROBIN;
usr.sbin/relayd/pfe_filter.c
471
rio.rule.rdr.opts = PF_POOL_SRCHASH;
usr.sbin/relayd/pfe_filter.c
474
rio.rule.rdr.opts = PF_POOL_LEASTSTATES;
usr.sbin/relayd/pfe_filter.c
481
rio.rule.rdr.opts |= PF_POOL_STICKYADDR;
usr.sbin/relayd/relay.c
1752
if ((env->sc_conf.opts & (RELAYD_OPT_LOGCON|RELAYD_OPT_LOGCONERR)) &&
usr.sbin/relayd/relay.c
1763
if (err == 0 && (env->sc_conf.opts & RELAYD_OPT_LOGCON))
usr.sbin/relayd/relay.c
1771
if (err == 1 && (env->sc_conf.opts & RELAYD_OPT_LOGCONERR))
usr.sbin/relayd/relay.c
731
(env->sc_conf.opts & (RELAYD_OPT_LOGCON|RELAYD_OPT_LOGCONERR))) {
usr.sbin/relayd/relayd.c
125
u_int32_t opts = 0;
usr.sbin/relayd/relayd.c
146
opts |= RELAYD_OPT_NOACTION;
usr.sbin/relayd/relayd.c
153
opts |= RELAYD_OPT_VERBOSE;
usr.sbin/relayd/relayd.c
188
env->sc_conf.opts = opts;
usr.sbin/relayd/relayd.c
199
env->sc_conf.opts |= RELAYD_OPT_LOGUPDATE;
usr.sbin/relayd/relayd.c
210
if (env->sc_conf.opts & RELAYD_OPT_NOACTION)
usr.sbin/relayd/relayd.c
261
if (env->sc_conf.opts & RELAYD_OPT_NOACTION) {
usr.sbin/relayd/relayd.h
1084
u_int16_t opts;
usr.sbin/ripd/parse.y
152
if (conf->opts & RIPD_OPT_VERBOSE)
usr.sbin/ripd/parse.y
386
conf->opts & RIPD_OPT_FORCE_DEMOTE) == -1) {
usr.sbin/ripd/parse.y
769
parse_config(char *filename, int opts)
usr.sbin/ripd/parse.y
781
conf->opts = opts;
usr.sbin/ripd/parse.y
786
if ((file = pushfile(filename, !(conf->opts & RIPD_OPT_NOACTION))) == NULL) {
usr.sbin/ripd/parse.y
798
if ((conf->opts & RIPD_OPT_VERBOSE2) && !sym->used)
usr.sbin/ripd/ripd.c
105
int opts = 0;
usr.sbin/ripd/ripd.c
120
opts |= RIPD_OPT_FORCE_DEMOTE;
usr.sbin/ripd/ripd.c
134
opts |= RIPD_OPT_NOACTION;
usr.sbin/ripd/ripd.c
140
if (opts & RIPD_OPT_VERBOSE)
usr.sbin/ripd/ripd.c
141
opts |= RIPD_OPT_VERBOSE2;
usr.sbin/ripd/ripd.c
142
opts |= RIPD_OPT_VERBOSE;
usr.sbin/ripd/ripd.c
170
if ((conf = parse_config(conffile, opts)) == NULL )
usr.sbin/ripd/ripd.c
174
if (conf->opts & RIPD_OPT_NOACTION) {
usr.sbin/ripd/ripd.c
175
if (conf->opts & RIPD_OPT_VERBOSE)
usr.sbin/ripd/ripd.c
191
log_verbose(conf->opts & RIPD_OPT_VERBOSE);
usr.sbin/ripd/ripd.h
227
u_int32_t opts;
usr.sbin/smtpd/makemap.c
72
const char *opts;
usr.sbin/smtpd/makemap.c
92
opts = "b:C:d:ho:O:t:U";
usr.sbin/smtpd/makemap.c
94
opts = "f:h";
usr.sbin/smtpd/makemap.c
96
while ((ch = getopt(argc, argv, opts)) != -1) {
usr.sbin/smtpd/parse.y
3141
parse_config(struct smtpd *x_conf, const char *filename, int opts)
usr.sbin/smtpd/smtpd.c
477
int opts, flags;
usr.sbin/smtpd/smtpd.c
485
opts = 0;
usr.sbin/smtpd/smtpd.c
527
opts |= SMTPD_OPT_NOACTION;
usr.sbin/smtpd/smtpd.c
606
env->sc_opts |= opts;
usr.sbin/smtpd/smtpd.c
608
if (parse_config(conf, conffile, opts))
usr.sbin/tcpdump/pf_print_state.c
135
const char *proto, int opts)
usr.sbin/tcpdump/pf_print_state.c
143
if (opts & PF_OPT_USEDNS)
usr.sbin/tcpdump/pf_print_state.c
156
print_addr(&aw, af, opts & PF_OPT_VERBOSE2);
usr.sbin/tcpdump/pf_print_state.c
161
if (opts & PF_OPT_PORTNAMES)
usr.sbin/tcpdump/pf_print_state.c
182
print_state(struct pfsync_state *s, int opts)
usr.sbin/tcpdump/pf_print_state.c
216
print_host(&nk->addr[didx], nk->port[didx], nk->af, nk->rdomain, NULL, opts);
usr.sbin/tcpdump/pf_print_state.c
221
NULL, opts);
usr.sbin/tcpdump/pf_print_state.c
229
opts);
usr.sbin/tcpdump/pf_print_state.c
234
opts);
usr.sbin/tcpdump/pf_print_state.c
253
if (opts & PF_OPT_VERBOSE) {
usr.sbin/tcpdump/pf_print_state.c
280
if (opts & PF_OPT_VERBOSE) {
usr.sbin/tcpdump/pf_print_state.c
311
if (opts & PF_OPT_VERBOSE2) {
usr.sbin/tcpdump/pfctl_osfp.c
111
if ((opts & PF_OPT_NOACTION) == 0)
usr.sbin/tcpdump/pfctl_osfp.c
112
pfctl_clear_fingerprints(dev, opts);
usr.sbin/tcpdump/pfctl_osfp.c
242
add_fingerprint(dev, opts, &fp);
usr.sbin/tcpdump/pfctl_osfp.c
246
add_fingerprint(dev, opts, &fp);
usr.sbin/tcpdump/pfctl_osfp.c
255
if (opts & PF_OPT_VERBOSE2)
usr.sbin/tcpdump/pfctl_osfp.c
264
pfctl_clear_fingerprints(int dev, int opts)
usr.sbin/tcpdump/pfctl_osfp.c
287
pfctl_load_fingerprints(int dev, int opts)
usr.sbin/tcpdump/pfctl_osfp.c
310
pfctl_show_fingerprints(int opts)
usr.sbin/tcpdump/pfctl_osfp.c
315
sort_name_list(opts, &classes);
usr.sbin/tcpdump/pfctl_osfp.c
316
print_name_list(opts, &classes, "\t");
usr.sbin/tcpdump/pfctl_osfp.c
532
add_fingerprint(int dev, int opts, struct pf_osfp_ioctl *fp)
usr.sbin/tcpdump/pfctl_osfp.c
579
add_fingerprint(dev, opts, &fptmp); \
usr.sbin/tcpdump/pfctl_osfp.c
625
if ((opts & PF_OPT_NOACTION) == 0 && ioctl(dev, DIOCOSFPADD, fp) == -1)
usr.sbin/tcpdump/pfctl_osfp.c
708
print_name_list(int opts, struct name_list *nml, const char *prefix)
usr.sbin/tcpdump/pfctl_osfp.c
717
print_name_list(opts, &nm->nm_sublist, newprefix);
usr.sbin/tcpdump/pfctl_osfp.c
722
sort_name_list(int opts, struct name_list *nml)
usr.sbin/tcpdump/pfctl_osfp.c
748
sort_name_list(opts, &nm->nm_sublist);
usr.sbin/tcpdump/pfctl_osfp.c
86
pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
usr.sbin/vmd/dhcp.c
108
opts = buf + offset + OPTIONS_OFFSET;
usr.sbin/vmd/dhcp.c
110
if (memcmp(opts, DHCP_OPTIONS_COOKIE,
usr.sbin/vmd/dhcp.c
113
op = opts + DHCP_OPTIONS_COOKIE_LEN;
usr.sbin/vmd/dhcp.c
114
oe = opts + optslen;
usr.sbin/vmd/dhcp.c
48
unsigned char *opts = NULL;
usr.sbin/ypldap/parse.y
920
parse_config(struct env *x_conf, const char *filename, int opts)
usr.sbin/ypldap/parse.y
955
if ((opts & YPLDAP_OPT_VERBOSE) && !sym->used)
usr.sbin/ypldap/ypldap.c
530
opts |= YPLDAP_OPT_NOACTION;
usr.sbin/ypldap/ypldap.c
536
opts |= YPLDAP_OPT_VERBOSE;
usr.sbin/ypldap/ypldap.c
552
if (parse_config(&env, conffile, opts))
usr.sbin/ypldap/ypldap.c
554
if (opts & YPLDAP_OPT_NOACTION) {
usr.sbin/ypldap/ypldap.c
59
int opts = 0;