HomeSort by: relevance | last modified time | path
    Searched defs:opt (Results 1 - 25 of 236) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/sys/netinet6/
dest6.c 61 u_int8_t *opt; local
74 opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest);
77 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) {
78 if (*opt != IP6OPT_PAD1 &&
79 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) {
84 switch (*opt) {
89 optlen = *(opt + 1) + 2;
92 erroff = *offp + (opt - (u_int8_t *)dstopts);
93 optlen = ip6_unknown_opt(opt, m, erroff);
dest6.c 61 u_int8_t *opt; local
74 opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest);
77 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) {
78 if (*opt != IP6OPT_PAD1 &&
79 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) {
84 switch (*opt) {
89 optlen = *(opt + 1) + 2;
92 erroff = *offp + (opt - (u_int8_t *)dstopts);
93 optlen = ip6_unknown_opt(opt, m, erroff);
  /src/tests/net/tcp/
tcp_shutdown.c 90 int opt = 1; local
91 e = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt));
tcp_shutdown.c 90 int opt = 1; local
91 e = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt));
  /src/usr.bin/find/
option.c 164 char *opt; local
167 opt = *argv;
169 if ((p = option(opt)) == NULL)
170 errx(1, "%s: unknown option", opt);
173 errx(1, "%s: requires additional arguments", opt);
175 new = (p->create)(&argv, p->token == N_OK, opt);
option.c 164 char *opt; local
167 opt = *argv;
169 if ((p = option(opt)) == NULL)
170 errx(1, "%s: unknown option", opt);
173 errx(1, "%s: requires additional arguments", opt);
175 new = (p->create)(&argv, p->token == N_OK, opt);
  /src/usr.sbin/inetd/
ipsec.c 129 int opt; local
136 opt = IP_IPSEC_POLICY;
141 opt = IPV6_IPSEC_POLICY;
151 if (commit && setsockopt(fd, level, opt,
ipsec.c 129 int opt; local
136 opt = IP_IPSEC_POLICY;
141 opt = IPV6_IPSEC_POLICY;
151 if (commit && setsockopt(fd, level, opt,
  /src/usr.bin/make/unit-tests/
sh-flags.mk 18 opt-ignerr.yes= -i
19 opt-jobs.yes= -j1
20 opt-loud.no= -d0 # side effect: make stdout unbuffered
21 opt-loud.yes= -dl # side effect: make stdout unbuffered
22 opt-no-action.yes= -n
23 opt-silent.yes= -s
24 opt-xtrace.yes= -dx
41 .for opt-ignerr in no yes
42 .for opt-jobs in no yes
43 .for opt-loud in no ye
    [all...]
sh-flags.mk 18 opt-ignerr.yes= -i
19 opt-jobs.yes= -j1
20 opt-loud.no= -d0 # side effect: make stdout unbuffered
21 opt-loud.yes= -dl # side effect: make stdout unbuffered
22 opt-no-action.yes= -n
23 opt-silent.yes= -s
24 opt-xtrace.yes= -dx
41 .for opt-ignerr in no yes
42 .for opt-jobs in no yes
43 .for opt-loud in no ye
    [all...]
Makefile 244 TESTS+= opt
245 TESTS+= opt-backwards
246 TESTS+= opt-chdir
247 TESTS+= opt-debug
248 TESTS+= opt-debug-all
249 TESTS+= opt-debug-archive
250 TESTS+= opt-debug-curdir
251 TESTS+= opt-debug-cond
252 TESTS+= opt-debug-dir
253 TESTS+= opt-debug-error
    [all...]
Makefile 244 TESTS+= opt
245 TESTS+= opt-backwards
246 TESTS+= opt-chdir
247 TESTS+= opt-debug
248 TESTS+= opt-debug-all
249 TESTS+= opt-debug-archive
250 TESTS+= opt-debug-curdir
251 TESTS+= opt-debug-cond
252 TESTS+= opt-debug-dir
253 TESTS+= opt-debug-error
    [all...]
  /src/usr.bin/quota/
quotautil.c 76 char *opt; local
89 for (opt = strtok(optbuf, ","); opt; opt = strtok(NULL, ",")) {
90 if ((cp = strchr(opt, '=')) != NULL)
92 if (type == USRQUOTA && strcmp(opt, usrname) == 0)
94 if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
97 if (!opt)
quotautil.c 76 char *opt; local
89 for (opt = strtok(optbuf, ","); opt; opt = strtok(NULL, ",")) {
90 if ((cp = strchr(opt, '=')) != NULL)
92 if (type == USRQUOTA && strcmp(opt, usrname) == 0)
94 if (type == GRPQUOTA && strcmp(opt, grpname) == 0)
97 if (!opt)
  /src/lib/libwrap/
fix_options.c 53 unsigned int opt; local
105 opt = cp[IPOPT_OPTVAL];
106 if (opt == IPOPT_LSRR || opt == IPOPT_SSRR) {
113 if (opt == IPOPT_EOL)
115 if (opt == IPOPT_NOP) {
fix_options.c 53 unsigned int opt; local
105 opt = cp[IPOPT_OPTVAL];
106 if (opt == IPOPT_LSRR || opt == IPOPT_SSRR) {
113 if (opt == IPOPT_EOL)
115 if (opt == IPOPT_NOP) {
  /src/usr.sbin/sdpd/
main.c 69 int opt; local
73 while ((opt = getopt(argc, argv, "c:dG:g:hu:")) != -1) {
74 switch (opt) {
main.c 69 int opt; local
73 while ((opt = getopt(argc, argv, "c:dG:g:hu:")) != -1) {
74 switch (opt) {
  /src/usr.sbin/sysinst/
wskbd.c 93 menu_ent opt[__arraycount(kb_types)]; local
103 memset(opt, 0, sizeof(opt));
108 memset(&opt, 0, sizeof opt);
109 for (i = 0; i < __arraycount(opt); i++) {
111 opt[0].opt_name = MSG_unchanged;
113 opt[i].opt_name = kb_types[i].kb_name;
117 opt[i].opt_action = set_kb_encoding;
119 kb_menu = new_menu(MSG_Keyboard_type, opt, __arraycount(opt)
    [all...]
wskbd.c 93 menu_ent opt[__arraycount(kb_types)]; local
103 memset(opt, 0, sizeof(opt));
108 memset(&opt, 0, sizeof opt);
109 for (i = 0; i < __arraycount(opt); i++) {
111 opt[0].opt_name = MSG_unchanged;
113 opt[i].opt_name = kb_types[i].kb_name;
117 opt[i].opt_action = set_kb_encoding;
119 kb_menu = new_menu(MSG_Keyboard_type, opt, __arraycount(opt)
    [all...]
  /src/lib/libpam/libpam/
pam_std_option.c 76 options->opt[i].name = std_options[i].name;
81 options->opt[i].name = oo->name;
85 options->opt[i].name = NULL;
87 options->opt[i].bool = 0;
88 options->opt[i].arg = NULL;
97 if (options->opt[i].name == NULL)
99 arglen = strlen(options->opt[i].name);
100 if (strcmp(argv[j], options->opt[i].name) == 0) {
101 options->opt[i].bool = 1;
105 else if (strncmp(argv[j], options->opt[i].name, arglen
169 int i, opt; local
    [all...]
  /src/lib/libutil/
getmntopts.c 64 getmntoptstr(mntoptparse_t mp, const char *opt)
69 if (strcasecmp(opt, m->m_option) == 0)
74 errx(1, errmsg, opt);
83 getmntoptnum(mntoptparse_t mp, const char *opt)
88 const char *val = getmntoptstr(mp, opt);
92 errx(1, "Missing %s argument", opt);
109 (*fun)(1, "Invalid %s argument `%s'", opt, val);
128 char *opt, *p; local
154 for (opt = mp->optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL)
    [all...]
  /src/usr.bin/menuc/
parse.y 104 opt opt_list ";"
132 opt_list : "," opt
133 | opt_list "," opt
138 opt : NO EXIT { cur_menu->info->mopt |= MC_NOEXITOPT; } label
  /src/usr.bin/passwd/
krb5_passwd.c 82 krb5_get_init_creds_opt *opt; local
142 ret = krb5_get_init_creds_opt_alloc(context, &opt);
148 krb5_get_init_creds_opt_set_tkt_life(opt, 300L);
149 krb5_get_init_creds_opt_set_forwardable(opt, FALSE);
150 krb5_get_init_creds_opt_set_proxiable(opt, FALSE);
154 krb5_get_init_creds_opt_free(context, opt);
167 opt);
169 krb5_get_init_creds_opt_free(context, opt);
238 krb5_arg (char ch, const char *opt)
247 ret = krb5_parse_name(defcontext, opt, &defprinc)
279 krb5_get_init_creds_opt *opt; local
    [all...]
local_passwd.c 68 char option[LINE_MAX], *key, *opt; local
112 opt = option;
113 key = strsep(&opt, ",");
114 if(pw_gensalt(salt, _PASSWORD_LEN, key, opt) == -1) {

Completed in 53 milliseconds

1 2 3 4 5 6 7 8 910