Home
last modified time | relevance | path

Searched refs:optbuf (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/tcp_wrappers/
H A Dfix_options.c41 unsigned char optbuf[BUFFER_SIZE / 3], *cp; in fix_options() local
43 int optsize = sizeof(optbuf), ipproto; in fix_options()
71 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 in fix_options()
99 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) { in fix_options()
119 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3) in fix_options()
/freebsd/sbin/fsck/
H A Dfsck.c304 char *optbuf, execbase[MAXPATHLEN]; in checkfs() local
310 (void) &optbuf; in checkfs()
333 optbuf = NULL; in checkfs()
335 catopt(&optbuf, options); in checkfs()
337 catopt(&optbuf, extra); in checkfs()
339 catopt(&optbuf, auxopt); in checkfs()
341 catopt(&optbuf, "-B"); in checkfs()
349 if (optbuf) in checkfs()
350 mangle(optbuf, &argc, &argv, &maxargc); in checkfs()
365 if (optbuf) in checkfs()
[all …]
H A Dfsutil.c75 char *opt, *optbuf; in getfsopt() local
82 optbuf = strdup(fs->fs_mntops); in getfsopt()
84 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getfsopt()
91 free(optbuf); in getfsopt()
/freebsd/sbin/mount/
H A Dmount.c179 char *optbuf, *opt; in specified_ro() local
182 optbuf = strdup(arg); in specified_ro()
183 if (optbuf == NULL) in specified_ro()
186 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in specified_ro()
192 free(optbuf); in specified_ro()
507 char *opt, *optbuf; in hasopt() local
514 optbuf = strdup(mntopts); in hasopt()
516 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in hasopt()
523 free(optbuf); in hasopt()
545 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local
[all …]
H A Dgetmntopts.c55 char *opt, *optbuf, *p; in getmntopts() local
59 if ((optbuf = strdup(options)) == NULL) in getmntopts()
62 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getmntopts()
98 free(optbuf); in getmntopts()
/freebsd/contrib/sendmail/src/
H A Dusersmtp.c2065 char optbuf[MAXLINE]; local
2126 (void) sm_snprintf(optbuf, sizeof(optbuf), " SIZE=%ld",
2128 bufp = &optbuf[strlen(optbuf)];
2132 optbuf[0] = '\0';
2133 bufp = optbuf;
2139 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2155 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
2157 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2192 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7)
2194 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
[all …]
/freebsd/bin/sh/
H A Dmiscbltin.c574 char optbuf[40]; in ulimitcmd() local
579 snprintf(optbuf, sizeof(optbuf), in ulimitcmd()
582 snprintf(optbuf, sizeof(optbuf), in ulimitcmd()
584 out1fmt("%-18s %18s ", l->name, optbuf); in ulimitcmd()
/freebsd/sbin/dhclient/
H A Doptions.c635 static char optbuf[32768]; /* XXX */ in pretty_print_option() local
637 char fmtbuf[32], *op = optbuf; in pretty_print_option()
638 int i, j, k, opleft = sizeof(optbuf); in pretty_print_option()
862 return (optbuf); in pretty_print_option()
H A Ddhclient.c2818 static char optbuf[32768]; /* XXX */ in option_as_string() local
2819 char *op = optbuf; in option_as_string()
2820 int opleft = sizeof(optbuf); in option_as_string()
2846 return optbuf; in option_as_string()
/freebsd/sys/netinet6/
H A Dip6_output.c1337 u_char *optbuf; in ip6_insert_jumboopt() local
1353 optbuf = mtod(mopt, u_char *); in ip6_insert_jumboopt()
1354 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */ in ip6_insert_jumboopt()
1387 optbuf = mtod(n, caddr_t) + oldoptlen; in ip6_insert_jumboopt()
1391 optbuf = mtod(mopt, u_char *) + mopt->m_len; in ip6_insert_jumboopt()
1394 optbuf[0] = IP6OPT_PADN; in ip6_insert_jumboopt()
1395 optbuf[1] = 1; in ip6_insert_jumboopt()
1406 optbuf[2] = IP6OPT_JUMBO; in ip6_insert_jumboopt()
1407 optbuf[3] = 4; in ip6_insert_jumboopt()
1409 bcopy(&v, &optbuf[4], sizeof(u_int32_t)); in ip6_insert_jumboopt()
[all …]
/freebsd/crypto/openssh/
H A Dssh-keygen.c2105 show_options(struct sshbuf *optbuf, int in_critical) in show_options() argument
2111 if ((options = sshbuf_fromb(optbuf)) == NULL) in show_options()