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

/freebsd-11-stable/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-11-stable/sbin/fsck/
H A Dfsck.c304 char *optbuf, execbase[MAXPATHLEN]; local
310 (void) &optbuf;
333 optbuf = NULL;
335 catopt(&optbuf, options);
337 catopt(&optbuf, extra);
339 catopt(&optbuf, auxopt);
341 catopt(&optbuf, "-B");
349 if (optbuf)
350 mangle(optbuf, &argc, &argv, &maxargc);
365 if (optbuf)
[all...]
/freebsd-11-stable/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);
532 char *opt, *optbuf; local
539 optbuf = strdup(mntopts);
541 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) {
548 free(optbuf);
570 char *optbuf, execnam local
[all...]
/freebsd-11-stable/bin/sh/
H A Dmiscbltin.c576 char optbuf[40]; local
581 snprintf(optbuf, sizeof(optbuf),
584 snprintf(optbuf, sizeof(optbuf),
586 out1fmt("%-18s %18s ", l->name, optbuf);
/freebsd-11-stable/contrib/sendmail/src/
H A Dusersmtp.c2029 char optbuf[MAXLINE]; local
2063 (void) sm_snprintf(optbuf, sizeof(optbuf), " SIZE=%ld",
2065 bufp = &optbuf[strlen(optbuf)];
2069 optbuf[0] = '\0';
2070 bufp = optbuf;
2075 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp),
2091 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7)
2093 (void) sm_snprintf(bufp, SPACELEFT(optbuf, buf
2315 char optbuf[MAXLINE]; local
[all...]
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c242 u_char optbuf[BUFSIZ/3]; local
243 socklen_t optsize = sizeof(optbuf);
251 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf,
254 u_char c = optbuf[i];
267 i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];
/freebsd-11-stable/libexec/rshd/
H A Drshd.c226 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-11-stable/sys/netinet6/
H A Dip6_output.c1157 u_char *optbuf; local
1173 optbuf = mtod(mopt, u_char *);
1174 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */
1207 optbuf = mtod(n, caddr_t) + oldoptlen;
1211 optbuf = mtod(mopt, u_char *) + mopt->m_len;
1214 optbuf[0] = IP6OPT_PADN;
1215 optbuf[1] = 1;
1226 optbuf[2] = IP6OPT_JUMBO;
1227 optbuf[3] = 4;
1229 bcopy(&v, &optbuf[
1846 u_char *optbuf; local
[all...]
/freebsd-11-stable/sbin/dhclient/
H A Doptions.c635 static char optbuf[32768]; /* XXX */ local
637 char fmtbuf[32], *op = optbuf;
638 int i, j, k, opleft = sizeof(optbuf);
862 return (optbuf);
H A Ddhclient.c2749 static char optbuf[32768]; /* XXX */ local
2750 char *op = optbuf;
2751 int opleft = sizeof(optbuf);
2777 return optbuf;
/freebsd-11-stable/crypto/openssh/
H A Dssh-keygen.c1837 show_options(struct sshbuf *optbuf, int in_critical) argument
1843 if ((options = sshbuf_fromb(optbuf)) == NULL)

Completed in 121 milliseconds