| /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/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/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/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/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/sbin/mount/ |
| mount.c | 340 char *opt, *optbuf; local 347 optbuf = estrdup(mntopts); 349 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { 356 free(optbuf); 379 char *optbuf, execname[MAXPATHLEN + 1], execbase[MAXPATHLEN], local 390 optbuf = NULL; 392 catopt(&optbuf, mntopts); 395 catopt(&optbuf, options); 401 catopt(&optbuf, "rw"); 403 if (getargs == 0 && strcmp(name, "/") == 0 && !hasopt(optbuf, "union") [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/gpl3/gdb/dist/sim/common/ |
| sim-options.c | 763 char optbuf[3]; local 767 sprintf (optbuf, "-%c", optopt); 768 badopt = optbuf;
|
| /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/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/external/mpl/bind/dist/lib/dns/ |
| xfrin.c | 1730 isc_buffer_t optbuf; local 1737 isc_buffer_init(&optbuf, rdata.data, rdata.length); 1738 isc_buffer_add(&optbuf, rdata.length); 1739 while (isc_buffer_remaininglength(&optbuf) >= 4) { 1740 optcode = isc_buffer_getuint16(&optbuf); 1741 optlen = isc_buffer_getuint16(&optbuf); 1746 isc_buffer_forward(&optbuf, optlen); 1749 xfr->expireopt = isc_buffer_getuint32(&optbuf);
|
| message.c | 3545 render_llq(isc_buffer_t *optbuf, dns_message_t *msg, 3561 u = isc_buffer_getuint16(optbuf); 3572 u = isc_buffer_getuint16(optbuf); 3583 u = isc_buffer_getuint16(optbuf); 3594 q = isc_buffer_getuint32(optbuf); 3596 q |= isc_buffer_getuint32(optbuf); 3607 u = isc_buffer_getuint32(optbuf); 3646 render_nameopt(isc_buffer_t *optbuf, bool yaml, isc_buffer_t *target) { 3653 result = dns_name_fromwire(name, optbuf, dctx, NULL); 3654 if (result == ISC_R_SUCCESS && isc_buffer_activelength(optbuf) == 0) 3703 isc_buffer_t optbuf; local 4137 isc_buffer_t optbuf; local [all...] |
| resolver.c | 8250 isc_buffer_t optbuf; local 8262 isc_buffer_init(&optbuf, rdata.data, rdata.length); 8263 isc_buffer_add(&optbuf, rdata.length); 8265 while (isc_buffer_remaininglength(&optbuf) >= 4) { 8270 optcode = isc_buffer_getuint16(&optbuf); 8271 optlen = isc_buffer_getuint16(&optbuf); 8272 INSIST(optlen <= isc_buffer_remaininglength(&optbuf)); 8281 log_nsid(&optbuf, optlen, query, ISC_LOG_INFO, 8292 optvalue = isc_buffer_current(&optbuf); 8320 isc_buffer_forward(&optbuf, optlen) [all...] |
| zone.c | 13994 isc_buffer_t optbuf; local 14008 isc_buffer_init(&optbuf, rdata.data, rdata.length); 14009 isc_buffer_add(&optbuf, rdata.length); 14010 while (isc_buffer_remaininglength(&optbuf) >= 4) { 14011 optcode = isc_buffer_getuint16(&optbuf); 14012 optlen = isc_buffer_getuint16(&optbuf); 14017 isc_buffer_forward(&optbuf, optlen); 14020 expire = isc_buffer_getuint32(&optbuf);
|
| /src/external/mpl/bind/dist/lib/ns/ |
| client.c | 1530 isc_buffer_t optbuf; local 1565 isc_buffer_init(&optbuf, rdata.data, rdata.length); 1566 isc_buffer_add(&optbuf, rdata.length); 1567 while (isc_buffer_remaininglength(&optbuf) >= 4) { 1568 optcode = isc_buffer_getuint16(&optbuf); 1569 optlen = isc_buffer_getuint16(&optbuf); 1571 INSIST(isc_buffer_remaininglength(&optbuf) >= optlen); 1581 isc_buffer_forward(&optbuf, optlen); 1592 isc_buffer_forward(&optbuf, optlen); 1595 process_cookie(client, &optbuf, optlen) [all...] |
| /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/external/mpl/bind/dist/bin/dig/ |
| dighost.c | 3863 process_cookie(dig_lookup_t *l, dns_message_t *msg, isc_buffer_t *optbuf, 3885 if (isc_safe_memequal(isc_buffer_current(optbuf), sent, 8)) { 3900 r.base = isc_buffer_current(optbuf); 3910 isc_buffer_forward(optbuf, (unsigned int)optlen); 3917 isc_buffer_t optbuf; local 3926 isc_buffer_init(&optbuf, rdata.data, rdata.length); 3927 isc_buffer_add(&optbuf, rdata.length); 3928 while (isc_buffer_remaininglength(&optbuf) >= 4) { 3929 optcode = isc_buffer_getuint16(&optbuf); 3930 optlen = isc_buffer_getuint16(&optbuf); [all...] |
| /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);
|