/dragonfly/contrib/tcp_wrappers/ |
H A D | fix_options.c | 38 unsigned char optbuf[BUFFER_SIZE / 3], *cp; local 40 int optsize = sizeof(optbuf), ipproto; 68 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 96 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) { 116 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
|
/dragonfly/sbin/mount_ufs/ |
H A D | mount.c | 316 char *opt, *optbuf; in hasopt() local 323 optbuf = xstrdup(mntopts); in hasopt() 332 free(optbuf); in hasopt() 350 char *optbuf, execname[MAXPATHLEN + 1], mntpath[MAXPATHLEN]; in mountfs() local 366 optbuf = catopt(xstrdup(mntopts), options); in mountfs() 371 optbuf = catopt(optbuf, "force"); in mountfs() 373 optbuf = catopt(optbuf, "ro"); in mountfs() 381 optbuf = catopt(optbuf, "update"); in mountfs() 385 mangle(optbuf, &argc, argv); in mountfs() 401 free(optbuf); in mountfs() [all …]
|
/dragonfly/sbin/mount/ |
H A D | mount.c | 357 char *opt, *optbuf; in hasopt() local 364 optbuf = xstrdup(mntopts); in hasopt() 373 free(optbuf); in hasopt() 391 char *optbuf; in mountfs() local 410 optbuf = catopt(xstrdup(mntopts), options); in mountfs() 415 optbuf = catopt(optbuf, "force"); in mountfs() 417 optbuf = catopt(optbuf, "ro"); in mountfs() 425 optbuf = catopt(optbuf, "update"); in mountfs() 431 mangle(optbuf, &argc, argv); in mountfs() 447 free(optbuf); in mountfs() [all …]
|
/dragonfly/contrib/smbfs/mount_smbfs/ |
H A D | getmntopts.c | 53 char *opt, *optbuf, *p; in getmntopts() local 57 if ((optbuf = strdup(options)) == NULL) in getmntopts() 60 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getmntopts() 98 free(optbuf); in getmntopts()
|
/dragonfly/lib/libutil/ |
H A D | getmntopts.c | 51 char *opt, *optbuf, *p; in getmntopts() local 55 if ((optbuf = strdup(options)) == NULL) in getmntopts() 58 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getmntopts() 92 free(optbuf); in getmntopts()
|
/dragonfly/bin/sh/ |
H A D | miscbltin.c | 577 char optbuf[40]; in ulimitcmd() local 582 snprintf(optbuf, sizeof(optbuf), in ulimitcmd() 585 snprintf(optbuf, sizeof(optbuf), in ulimitcmd() 587 out1fmt("%-18s %18s ", l->name, optbuf); in ulimitcmd()
|
/dragonfly/sbin/dhclient/ |
H A D | options.c | 204 static char optbuf[32768]; /* XXX */ in pretty_print_option() local 206 char fmtbuf[32], *op = optbuf; in pretty_print_option() 207 int i, j, k, opleft = sizeof(optbuf); in pretty_print_option() 444 return (optbuf); in pretty_print_option()
|
H A D | dhclient.c | 2165 static char optbuf[32768]; /* XXX */ in option_as_string() local 2166 char *op = optbuf; in option_as_string() 2167 int opleft = sizeof(optbuf); in option_as_string() 2195 return optbuf; in option_as_string()
|
/dragonfly/sys/netinet6/ |
H A D | ip6_output.c | 921 u_char *optbuf; in ip6_insert_jumboopt() local 937 optbuf = mtod(mopt, u_char *); in ip6_insert_jumboopt() 970 optbuf = mtod(n, caddr_t) + oldoptlen; in ip6_insert_jumboopt() 974 optbuf = mtod(mopt, u_char *) + mopt->m_len; in ip6_insert_jumboopt() 977 optbuf[0] = IP6OPT_PADN; in ip6_insert_jumboopt() 978 optbuf[1] = 1; in ip6_insert_jumboopt() 989 optbuf[2] = IP6OPT_JUMBO; in ip6_insert_jumboopt() 990 optbuf[3] = 4; in ip6_insert_jumboopt() 992 bcopy(&v, &optbuf[4], sizeof(u_int32_t)); in ip6_insert_jumboopt() 1449 u_char *optbuf; in ip6_ctloutput() local [all …]
|
/dragonfly/crypto/openssh/ |
H A D | ssh-keygen.c | 2052 show_options(struct sshbuf *optbuf, int in_critical) in show_options() argument 2058 if ((options = sshbuf_fromb(optbuf)) == NULL) in show_options()
|