HomeSort by: relevance | last modified time | path
    Searched refs:optbuf (Results 1 - 23 of 23) sorted by relevancy

  /src/lib/libperfuse/
perfuse.h 42 #define mount(source, mnt, type, flags, optbuf) \
43 perfuse_mount(source, mnt, type, flags, optbuf)
  /src/lib/libwrap/
fix_options.c 46 unsigned char optbuf[BUFFER_SIZE / 3], *cp; local
49 socklen_t optsize = sizeof(optbuf);
76 if (getsockopt(fd, ipproto, IP_OPTIONS, optbuf, &optsize) == 0
104 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) {
117 } else if (&cp[IPOPT_OLEN] < optbuf + optsize) {
119 if (optlen < 2 || cp + optlen >= optbuf + optsize) {
135 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
  /src/usr.bin/quota/
quotautil.c 79 char optbuf[256]; local
88 strlcpy(optbuf, fs->fs_mntops, sizeof(optbuf));
89 for (opt = strtok(optbuf, ","); opt; opt = strtok(NULL, ",")) {
  /src/lib/libutil/
getmntopts.c 59 char *optbuf; member in struct:mntoptparse
117 free(mp->optbuf);
140 if ((mp->optbuf = strdup(options)) == NULL) {
146 free(mp->optbuf);
154 for (opt = mp->optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
187 free(mp->optbuf);
  /src/sbin/mount/
mount.c 343 char *opt, *optbuf; local
350 optbuf = estrdup(mntopts);
352 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
359 free(optbuf);
382 char *optbuf, execname[MAXPATHLEN + 1], execbase[MAXPATHLEN], local
393 optbuf = NULL;
395 catopt(&optbuf, mntopts);
398 catopt(&optbuf, options);
404 catopt(&optbuf, "rw");
406 if (getargs == 0 && strcmp(name, "/") == 0 && !hasopt(optbuf, "union")
    [all...]
  /src/sbin/fsck/
fsck.c 284 char *volatile optbuf; local
296 optbuf = optb;
304 if (optbuf)
305 mangle(optbuf, &argc, &argv, &maxargc);
320 if (optbuf)
321 free(optbuf);
374 if (optbuf)
375 free(optbuf);
  /src/external/mpl/bind/dist/lib/dns/
message.c 3561 render_llq(isc_buffer_t *optbuf, dns_message_t *msg,
3577 u = isc_buffer_getuint16(optbuf);
3588 u = isc_buffer_getuint16(optbuf);
3599 u = isc_buffer_getuint16(optbuf);
3610 q = isc_buffer_getuint32(optbuf);
3612 q |= isc_buffer_getuint32(optbuf);
3623 u = isc_buffer_getuint32(optbuf);
3662 render_nameopt(isc_buffer_t *optbuf, bool yaml, isc_buffer_t *target) {
3669 result = dns_name_fromwire(name, optbuf, dctx, NULL);
3670 if (result == ISC_R_SUCCESS && isc_buffer_activelength(optbuf) == 0)
3719 isc_buffer_t optbuf; local
4153 isc_buffer_t optbuf; local
    [all...]
xfrin.c 1741 isc_buffer_t optbuf; local
1748 isc_buffer_init(&optbuf, rdata.data, rdata.length);
1749 isc_buffer_add(&optbuf, rdata.length);
1750 while (isc_buffer_remaininglength(&optbuf) >= 4) {
1751 optcode = isc_buffer_getuint16(&optbuf);
1752 optlen = isc_buffer_getuint16(&optbuf);
1757 isc_buffer_forward(&optbuf, optlen);
1760 xfr->expireopt = isc_buffer_getuint32(&optbuf);
resolver.c 8503 isc_buffer_t optbuf; local
8515 isc_buffer_init(&optbuf, rdata.data, rdata.length);
8516 isc_buffer_add(&optbuf, rdata.length);
8518 while (isc_buffer_remaininglength(&optbuf) >= 4) {
8523 optcode = isc_buffer_getuint16(&optbuf);
8524 optlen = isc_buffer_getuint16(&optbuf);
8525 INSIST(optlen <= isc_buffer_remaininglength(&optbuf));
8534 log_nsid(&optbuf, optlen, query, ISC_LOG_INFO,
8545 optvalue = isc_buffer_current(&optbuf);
8573 isc_buffer_forward(&optbuf, optlen)
    [all...]
zone.c 14025 isc_buffer_t optbuf; local
14039 isc_buffer_init(&optbuf, rdata.data, rdata.length);
14040 isc_buffer_add(&optbuf, rdata.length);
14041 while (isc_buffer_remaininglength(&optbuf) >= 4) {
14042 optcode = isc_buffer_getuint16(&optbuf);
14043 optlen = isc_buffer_getuint16(&optbuf);
14048 isc_buffer_forward(&optbuf, optlen);
14051 expire = isc_buffer_getuint32(&optbuf);
  /src/external/mpl/dhcp/bind/dist/lib/dns/
message.c 3601 render_llq(isc_buffer_t *optbuf, isc_buffer_t *target) {
3607 u = isc_buffer_getuint16(optbuf);
3612 u = isc_buffer_getuint16(optbuf);
3617 u = isc_buffer_getuint16(optbuf);
3622 q = isc_buffer_getuint32(optbuf);
3624 q |= isc_buffer_getuint32(optbuf);
3629 u = isc_buffer_getuint32(optbuf);
3648 isc_buffer_t optbuf; local
3716 isc_buffer_init(&optbuf, rdata.data, rdata.length);
3717 isc_buffer_add(&optbuf, rdata.length)
4015 isc_buffer_t optbuf; local
    [all...]
resolver.c 8523 isc_buffer_t optbuf; local
8537 isc_buffer_init(&optbuf, rdata.data, rdata.length);
8538 isc_buffer_add(&optbuf, rdata.length);
8539 while (isc_buffer_remaininglength(&optbuf) >= 4) {
8540 optcode = isc_buffer_getuint16(&optbuf);
8541 optlen = isc_buffer_getuint16(&optbuf);
8542 INSIST(optlen <= isc_buffer_remaininglength(&optbuf));
8548 log_nsid(&optbuf, optlen, query,
8551 isc_buffer_forward(&optbuf, optlen);
8559 isc_buffer_forward(&optbuf, optlen)
    [all...]
zone.c 13884 isc_buffer_t optbuf; local
13898 isc_buffer_init(&optbuf, rdata.data, rdata.length);
13899 isc_buffer_add(&optbuf, rdata.length);
13900 while (isc_buffer_remaininglength(&optbuf) >= 4) {
13901 optcode = isc_buffer_getuint16(&optbuf);
13902 optlen = isc_buffer_getuint16(&optbuf);
13907 isc_buffer_forward(&optbuf, optlen);
13910 expire = isc_buffer_getuint32(&optbuf);
  /src/libexec/rshd/
rshd.c 312 u_char optbuf[BUFSIZ/3]; local
313 socklen_t optsize = sizeof(optbuf);
322 if (!getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf, &optsize) &&
325 u_char c = optbuf[i];
337 i += (c == IPOPT_NOP) ? 1 : optbuf[i + 1];
  /src/sys/netinet6/
ip6_output.c 1105 u_int8_t *optbuf; local
1121 optbuf = mtod(mopt, u_int8_t *);
1122 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */
1164 optbuf = mtod(n, u_int8_t *) + oldoptlen;
1168 optbuf = mtod(mopt, u_int8_t *) + mopt->m_len;
1171 optbuf[0] = IP6OPT_PADN;
1172 optbuf[1] = 0;
1183 optbuf[2] = IP6OPT_JUMBO;
1184 optbuf[3] = 4;
1186 memcpy(&optbuf[4], &v, sizeof(u_int32_t))
1652 void *optbuf; local
    [all...]
  /src/libexec/rlogind/
rlogind.c 351 u_char optbuf[BUFSIZ/3], *cp; local
353 socklen_t optsize = sizeof(optbuf);
361 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf,
365 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
  /src/external/mpl/bind/dist/lib/ns/
client.c 1514 isc_buffer_t optbuf; local
1549 isc_buffer_init(&optbuf, rdata.data, rdata.length);
1550 isc_buffer_add(&optbuf, rdata.length);
1551 while (isc_buffer_remaininglength(&optbuf) >= 4) {
1552 optcode = isc_buffer_getuint16(&optbuf);
1553 optlen = isc_buffer_getuint16(&optbuf);
1555 INSIST(isc_buffer_remaininglength(&optbuf) >= optlen);
1565 isc_buffer_forward(&optbuf, optlen);
1576 isc_buffer_forward(&optbuf, optlen);
1579 process_cookie(client, &optbuf, optlen)
    [all...]
  /src/external/mpl/bind/dist/bin/dig/
dighost.c 3874 process_cookie(dig_lookup_t *l, dns_message_t *msg, isc_buffer_t *optbuf,
3896 if (isc_safe_memequal(isc_buffer_current(optbuf), sent, 8)) {
3911 r.base = isc_buffer_current(optbuf);
3921 isc_buffer_forward(optbuf, (unsigned int)optlen);
3928 isc_buffer_t optbuf; local
3937 isc_buffer_init(&optbuf, rdata.data, rdata.length);
3938 isc_buffer_add(&optbuf, rdata.length);
3939 while (isc_buffer_remaininglength(&optbuf) >= 4) {
3940 optcode = isc_buffer_getuint16(&optbuf);
3941 optlen = isc_buffer_getuint16(&optbuf);
    [all...]
  /src/external/gpl3/gdb.old/dist/sim/common/
sim-options.c 763 char optbuf[3]; local
767 sprintf (optbuf, "-%c", optopt);
768 badopt = optbuf;
  /src/external/gpl3/gdb/dist/sim/common/
sim-options.c 763 char optbuf[3]; local
767 sprintf (optbuf, "-%c", optopt);
768 badopt = optbuf;
  /src/external/mpl/dhcp/dist/common/
options.c 1811 static char optbuf [MAX_OUTPUT_SIZE + 128]; /* XXX */ local
1812 static char *endbuf = optbuf + MAX_OUTPUT_SIZE;
1823 char *op = optbuf;
2287 return optbuf;
  /src/external/mpl/dhcp/dist/server/
failover.c 3888 static char optbuf[sizeof("unknown-option-65535")]; local
3982 sprintf(optbuf, "unknown-option-%u", type);
3983 return optbuf;
  /src/crypto/external/bsd/openssh/dist/
ssh-keygen.c 2009 show_options(struct sshbuf *optbuf, int in_critical)
2015 if ((options = sshbuf_fromb(optbuf)) == NULL)

Completed in 77 milliseconds