Searched refs:optbuf (Results 1 - 12 of 12) sorted by relevance

/freebsd-10.1-release/contrib/tcp_wrappers/
H A Dfix_options.c42 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-10.1-release/sbin/mount/
H A Dgetmntopts.c60 char *opt, *optbuf, *p; local
64 if ((optbuf = strdup(options)) == NULL)
67 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
103 free(optbuf);
H A Dmount.c204 char *optbuf, *opt; local
207 optbuf = strdup(arg);
208 if (optbuf == NULL)
211 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
217 free(optbuf);
511 char *opt, *optbuf; local
518 optbuf = strdup(mntopts);
520 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
527 free(optbuf);
549 char *optbuf, execnam local
[all...]
/freebsd-10.1-release/sbin/fsck/
H A Dfsck.c294 char *optbuf, execbase[MAXPATHLEN]; local
300 (void) &optbuf;
323 optbuf = NULL;
325 catopt(&optbuf, options);
327 catopt(&optbuf, extra);
329 catopt(&optbuf, auxopt);
331 catopt(&optbuf, "-B");
339 if (optbuf)
340 mangle(optbuf, &argc, &argv, &maxargc);
355 if (optbuf)
[all...]
/freebsd-10.1-release/bin/sh/
H A Dmiscbltin.c468 char optbuf[40]; local
477 snprintf(optbuf, sizeof(optbuf),
480 snprintf(optbuf, sizeof(optbuf),
482 out1fmt("%-18s %18s ", l->name, optbuf);
/freebsd-10.1-release/contrib/sendmail/src/
H A Dusersmtp.c2012 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-10.1-release/libexec/rlogind/
H A Drlogind.c236 u_char optbuf[BUFSIZ/3]; local
237 socklen_t optsize = sizeof(optbuf);
245 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf,
248 u_char c = optbuf[i];
258 i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];
/freebsd-10.1-release/libexec/rshd/
H A Drshd.c222 u_char optbuf[BUFSIZ/3]; local
223 socklen_t optsize = sizeof(optbuf), ipproto, i;
230 if (!getsockopt(0, ipproto, IP_OPTIONS, optbuf, &optsize) &&
233 u_char c = optbuf[i];
243 i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];
/freebsd-10.1-release/sys/netinet6/
H A Dip6_output.c1233 u_char *optbuf; local
1249 optbuf = mtod(mopt, u_char *);
1250 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */
1283 optbuf = mtod(n, caddr_t) + oldoptlen;
1287 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1290 optbuf[0] = IP6OPT_PADN;
1291 optbuf[1] = 1;
1302 optbuf[2] = IP6OPT_JUMBO;
1303 optbuf[3] = 4;
1305 bcopy(&v, &optbuf[
1802 u_char *optbuf; local
[all...]
/freebsd-10.1-release/sbin/dhclient/
H A Doptions.c628 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 Ddhclient.c2686 static char optbuf[32768]; /* XXX */ local
2687 char *op = optbuf;
2688 int opleft = sizeof(optbuf);
2714 return optbuf;
/freebsd-10.1-release/crypto/openssh/
H A Dssh-keygen.c1821 show_options(const Buffer *optbuf, int v00, int in_critical) argument
1829 buffer_append(&options, buffer_ptr(optbuf), buffer_len(optbuf));

Completed in 192 milliseconds