/freebsd-12-stable/lib/libc/net/ |
H A D | ip6opt.c | 301 u_int8_t *optp, *lim; local 330 for (optp = *tptrp; optp < lim; optp += optlen) { 331 if (*optp == type) { 332 *tptrp = optp; 335 if ((optlen = ip6optlen(optp, lim)) == 0) 445 u_int8_t *optp = (u_int8_t *)extbuf + offset; local 449 *optp = IP6OPT_PAD1; 450 optp 506 u_int8_t *optp, *lim; local 555 u_int8_t *optp, *lim; local [all...] |
/freebsd-12-stable/bin/sh/ |
H A D | options.c | 336 shellparam.optp = NULL; 356 if (param->optp) { 357 for (ap = param->optp ; *ap ; ap++) 359 ckfree(param->optp); 440 if (shellparam.optp) { 441 for (ap = shellparam.optp ; *ap ; ap++) 443 ckfree(shellparam.optp); 444 shellparam.optp = NULL; 447 shellparam.optp = ckmalloc((argc - 2) * sizeof *ap); 448 memset(shellparam.optp, '\ [all...] |
H A D | options.h | 43 char **optp; /* parameter list for getopts */ member in struct:shparam
|
H A D | eval.c | 1031 shellparam.optp = NULL;
|
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_output.c | 1671 * optp in a consistent way. Can handle unaligned destinations. 1687 tcp_addoptions(struct tcpopt *to, u_char *optp) argument 1700 *optp++ = TCPOPT_NOP; 1705 *optp++ = TCPOPT_MAXSEG; 1706 *optp++ = TCPOLEN_MAXSEG; 1708 bcopy((u_char *)&to->to_mss, optp, sizeof(to->to_mss)); 1709 optp += sizeof(to->to_mss); 1714 *optp++ = TCPOPT_NOP; 1719 *optp++ = TCPOPT_WINDOW; 1720 *optp [all...] |
H A D | tcp_subr.c | 1309 u_char *optp; local 1457 optp = mtod(m->m_next, u_char *); 1462 optp = (u_char *) (nth + 1); 1479 tlen += optlen = tcp_addoptions(&to, optp);
|
H A D | tcp_input.c | 581 u_char *optp = NULL; local 762 optp = (u_char *)(th + 1); 978 tcp_dooptions(&to, optp, optlen, 1088 tcp_dooptions(&to, optp, optlen, 0); 1356 tcp_dooptions(&to, optp, optlen, TO_SYN); 1382 tcp_dooptions(&to, optp, optlen, thflags);
|
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_osfp.c | 101 const u_int8_t *optp; local 140 optp = (const u_int8_t *)((const char *)tcp + sizeof(*tcp)); 141 for (; cnt > 0; cnt -= optlen, optp += optlen) { 142 if (*optp == TCPOPT_EOL) 146 if (*optp == TCPOPT_NOP) { 153 optlen = optp[1]; 156 switch (*optp) { 159 memcpy(&fp.fp_mss, &optp[2], 167 memcpy(&fp.fp_wscale, &optp[2], 181 memcpy(&ts, &optp[ [all...] |
H A D | pf_norm.c | 1965 u_char *optp = opts; local 1975 for (; cnt > 0; cnt -= optlen, optp += optlen) { 1976 startoff = optp - opts; 1977 opt = optp[0]; 1985 optlen = optp[1]; 1991 mss = (u_int16_t *)(optp + 2);
|
/freebsd-12-stable/usr.sbin/mld6query/ |
H A D | mld6.c | 206 void *hbhbuf = NULL, *optp = NULL; local 283 2, &optp)) == -1) 286 (void)inet6_opt_set_val(optp, 0, &rtalert_code, sizeof(rtalert_code));
|
/freebsd-12-stable/sys/netinet6/ |
H A D | raw_ip6.c | 400 struct ip6_pktopts opt, *optp; local 423 optp = &opt; 425 optp = inp->in6p_outputopts; 433 if (!optp || !optp->ip6po_pktinfo || 434 !optp->ip6po_pktinfo->ipi6_ifindex) 468 error = in6_selectsrc_socket(dstsock, optp, inp, so->so_cred, 540 error = ip6_output(m, optp, NULL, 0, inp->in6p_moptions, &oifp, inp);
|
H A D | udp6_usrreq.c | 702 struct ip6_pktopts *optp, opt; local 838 optp = &opt; 840 optp = inp->in6p_outputopts; 884 error = in6_selectsrc_socket(sin6, optp, inp, 1025 error = ip6_output(m, optp,
|
H A D | ip6_output.c | 1695 struct ip6_pktopts **optp; local 1707 optp = &inp->in6p_outputopts; 1710 optp, (td != NULL) ? td->td_ucred : 1844 struct ip6_pktopts **optp; local 1850 optp = &inp->in6p_outputopts; 1853 optp, (td != NULL) ? td->td_ucred : 1918 struct ip6_pktopts **optp; local 1942 optp = &inp->in6p_outputopts; 1944 optp, (td != NULL) ? td->td_ucred : NULL,
|
H A D | ip6_input.c | 1133 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument 1137 switch (IP6OPT_TYPE(*optp)) { 1139 return ((int)*(optp + 1));
|
/freebsd-12-stable/contrib/flex/ |
H A D | scanopt.c | 719 const optspec_t *optp; 813 optp = s->options + opt_offset; 828 return optp->r_val; 846 return optp->r_val; 853 return optp->r_val; 715 const optspec_t *optp; local
|
/freebsd-12-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | externs.h | 213 int *prototp, int *optp);
|
H A D | commands.c | 2493 * protop/optp: 2505 * The caller needs to pass return value (len), *cpp, *protop and *optp 2514 * *optp: option # to be passed to setsockopt(2). 2522 int *optp) 2566 *optp = IP_OPTIONS; 2577 *optp = IPV6_PKTOPTIONS; 2509 sourceroute(struct addrinfo *ai, char *arg, char **cpp, int *protop, int *optp) argument
|
/freebsd-12-stable/bin/ps/ |
H A D | ps.c | 1365 char *argp, *cp, *newopts, *ns, *optp, *pidp; local 1374 optp = strchr(optlist, *cp); 1375 if ((optp != NULL) && *(optp + 1) == ':') {
|
/freebsd-12-stable/contrib/amd/amd/ |
H A D | opts.c | 72 char **optp; /* Pointer to option value string */ member in struct:opt 514 *op->optp = opt; /* actual assignment into fs_static */ 1187 val = *op->optp;
|
/freebsd-12-stable/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 315 getsubopt1(char **arg, const char *const *options, char **valp, char **optp) argument 321 *optp = NULL; 331 *optp = ptr; 353 if (strcmp(*optp, *options) == 0)
|
/freebsd-12-stable/contrib/telnet/telnet/ |
H A D | commands.c | 2825 * optp: pointer to an integer that should be filled in with 2849 * *optp: This will be filled in with appropriate option for 2853 sourceroute(struct addrinfo *ai, char *arg, unsigned char **cpp, int *lenp, int *protop, int *optp) 2909 *optp = IPV6_RTHDR; 2930 *optp = IP_OPTIONS; 2844 sourceroute(struct addrinfo *ai, char *arg, unsigned char **cpp, int *lenp, int *protop, int *optp) argument
|
/freebsd-12-stable/contrib/bsnmp/snmpd/ |
H A D | main.c | 1464 getsubopt1(char **arg, const char *const *options, char **valp, char **optp) argument 1470 *optp = NULL; 1480 *optp = ptr; 1502 if (strcmp(*optp, *options) == 0)
|