/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | dhcp.c | 41 char optbuf[1024], *optname = NULL; local 121 if (sscanf(tempbuf, "\"%[^\" ]\"", optbuf) < 1) { 128 strcpy(optbuf, tempbuf); 131 strcpy(hostname, optbuf); 133 strcpy(domain, optbuf); 135 strcpy(ipaddr, optbuf); 137 if((tptr = (char *)strchr(optbuf, ','))) 139 strcpy(gateway, optbuf); 141 strcpy(netmask, optbuf); 144 if((tptr = (char *)strchr(optbuf, ','))) [all...] |
/freebsd-9.3-release/contrib/tcp_wrappers/ |
H A D | fix_options.c | 42 unsigned char optbuf[BUFFER_SIZE / 3], *cp; local 44 int optsize = sizeof(optbuf), ipproto; 72 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 100 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) { 120 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
|
/freebsd-9.3-release/sbin/mount/ |
H A D | mount.c | 203 char *optbuf, *opt; local 206 optbuf = strdup(arg); 207 if (optbuf == NULL) 210 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { 216 free(optbuf); 500 char *opt, *optbuf; local 507 optbuf = strdup(mntopts); 509 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { 516 free(optbuf); 538 char *optbuf, execnam local [all...] |
H A D | getmntopts.c | 61 char *opt, *optbuf, *p; local 65 if ((optbuf = strdup(options)) == NULL) 68 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { 104 free(optbuf);
|
/freebsd-9.3-release/sbin/fsck/ |
H A D | fsck.c | 288 char *optbuf, execbase[MAXPATHLEN]; local 294 (void) &optbuf; 317 optbuf = NULL; 319 catopt(&optbuf, options); 321 catopt(&optbuf, extra); 323 catopt(&optbuf, auxopt); 325 catopt(&optbuf, "-B"); 333 if (optbuf) 334 mangle(optbuf, &argc, &argv, &maxargc); 349 if (optbuf) [all...] |
/freebsd-9.3-release/bin/sh/ |
H A D | miscbltin.c | 452 char optbuf[40]; local 461 snprintf(optbuf, sizeof(optbuf), 464 snprintf(optbuf, sizeof(optbuf), 466 out1fmt("%-18s %18s ", l->name, optbuf);
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | usersmtp.c | 2012 char optbuf[MAXLINE]; local 2033 (void) sm_snprintf(optbuf, sizeof(optbuf), " SIZE=%ld", 2035 bufp = &optbuf[strlen(optbuf)]; 2039 optbuf[0] = '\0'; 2040 bufp = optbuf; 2053 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2055 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2090 SPACELEFT(optbuf, buf 2277 char optbuf[MAXLINE]; local [all...] |
/freebsd-9.3-release/libexec/rlogind/ |
H A D | rlogind.c | 240 u_char optbuf[BUFSIZ/3]; local 241 socklen_t optsize = sizeof(optbuf); 249 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf, 252 u_char c = optbuf[i]; 262 i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];
|
/freebsd-9.3-release/libexec/rshd/ |
H A D | rshd.c | 226 u_char optbuf[BUFSIZ/3]; local 227 socklen_t optsize = sizeof(optbuf), ipproto, i; 234 if (!getsockopt(0, ipproto, IP_OPTIONS, optbuf, &optsize) && 237 u_char c = optbuf[i]; 247 i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | ip6_output.c | 1251 u_char *optbuf; local 1267 optbuf = mtod(mopt, u_char *); 1268 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */ 1308 optbuf = mtod(n, caddr_t) + oldoptlen; 1312 optbuf = mtod(mopt, u_char *) + mopt->m_len; 1315 optbuf[0] = IP6OPT_PADN; 1316 optbuf[1] = 1; 1327 optbuf[2] = IP6OPT_JUMBO; 1328 optbuf[3] = 4; 1330 bcopy(&v, &optbuf[ 1827 u_char *optbuf; local [all...] |
/freebsd-9.3-release/sbin/dhclient/ |
H A D | options.c | 628 static char optbuf[32768]; /* XXX */ local 630 char fmtbuf[32], *op = optbuf; 631 int i, j, k, opleft = sizeof(optbuf); 855 return (optbuf);
|
H A D | dhclient.c | 2640 static char optbuf[32768]; /* XXX */ local 2641 char *op = optbuf; 2642 int opleft = sizeof(optbuf); 2668 return optbuf;
|
/freebsd-9.3-release/contrib/bind9/bin/named/ |
H A D | client.c | 1373 isc_buffer_t optbuf; local 1416 isc_buffer_init(&optbuf, rdata.data, rdata.length); 1417 isc_buffer_add(&optbuf, rdata.length); 1418 while (isc_buffer_remaininglength(&optbuf) >= 4) { 1419 optcode = isc_buffer_getuint16(&optbuf); 1420 optlen = isc_buffer_getuint16(&optbuf); 1424 isc_buffer_forward(&optbuf, optlen); 1427 isc_buffer_forward(&optbuf, optlen);
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | message.c | 3249 isc_buffer_t optbuf; local 3291 isc_buffer_init(&optbuf, rdata.data, rdata.length); 3292 isc_buffer_add(&optbuf, rdata.length); 3293 while (isc_buffer_remaininglength(&optbuf) != 0) { 3294 INSIST(isc_buffer_remaininglength(&optbuf) >= 4U); 3295 optcode = isc_buffer_getuint16(&optbuf); 3296 optlen = isc_buffer_getuint16(&optbuf); 3297 INSIST(isc_buffer_remaininglength(&optbuf) >= optlen); 3311 optdata = isc_buffer_current(&optbuf); 3326 isc_buffer_forward(&optbuf, optle [all...] |
H A D | resolver.c | 6817 isc_buffer_t optbuf; local 6826 isc_buffer_init(&optbuf, rdata.data, rdata.length); 6827 isc_buffer_add(&optbuf, rdata.length); 6828 while (isc_buffer_remaininglength(&optbuf) >= 4) { 6829 optcode = isc_buffer_getuint16(&optbuf); 6830 optlen = isc_buffer_getuint16(&optbuf); 6831 INSIST(optlen <= isc_buffer_remaininglength(&optbuf)); 6835 log_nsid(&optbuf, optlen, query, 6838 isc_buffer_forward(&optbuf, optlen); 6841 isc_buffer_forward(&optbuf, optle [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | ssh-keygen.c | 1821 show_options(const Buffer *optbuf, int v00, int in_critical) argument 1829 buffer_append(&options, buffer_ptr(optbuf), buffer_len(optbuf));
|