/freebsd-11.0-release/lib/libc/net/ |
H A D | ip6opt.c | 299 u_int8_t *optp, *lim; local 328 for (optp = *tptrp; optp < lim; optp += optlen) { 329 if (*optp == type) { 330 *tptrp = optp; 333 if ((optlen = ip6optlen(optp, lim)) == 0) 443 u_int8_t *optp = (u_int8_t *)extbuf + offset; local 447 *optp = IP6OPT_PAD1; 448 optp 504 u_int8_t *optp, *lim; local 553 u_int8_t *optp, *lim; local [all...] |
/freebsd-11.0-release/bin/sh/ |
H A D | options.c | 337 shellparam.optp = NULL; 357 if (param->optp) { 358 for (ap = param->optp ; *ap ; ap++) 360 ckfree(param->optp); 441 if (shellparam.optp) { 442 for (ap = shellparam.optp ; *ap ; ap++) 444 ckfree(shellparam.optp); 445 shellparam.optp = NULL; 448 shellparam.optp = ckmalloc((argc - 2) * sizeof *ap); 449 memset(shellparam.optp, '\ [all...] |
H A D | options.h | 41 char **optp; /* parameter list for getopts */ member in struct:shparam
|
H A D | eval.c | 1034 shellparam.optp = NULL;
|
/freebsd-11.0-release/sys/netinet/ |
H A D | tcp_output.c | 1641 * optp in a consistent way. Can handle unaligned destinations. 1657 tcp_addoptions(struct tcpopt *to, u_char *optp) argument 1670 *optp++ = TCPOPT_NOP; 1675 *optp++ = TCPOPT_MAXSEG; 1676 *optp++ = TCPOLEN_MAXSEG; 1678 bcopy((u_char *)&to->to_mss, optp, sizeof(to->to_mss)); 1679 optp += sizeof(to->to_mss); 1684 *optp++ = TCPOPT_NOP; 1689 *optp++ = TCPOPT_WINDOW; 1690 *optp [all...] |
H A D | tcp_input.c | 591 u_char *optp = NULL; local 780 optp = (u_char *)(th + 1); 991 tcp_dooptions(&to, optp, optlen, TO_SYN); 1109 tcp_dooptions(&to, optp, optlen, 0); 1168 tcp_dooptions(&to, optp, optlen, 1388 tcp_dooptions(&to, optp, optlen, TO_SYN); 1418 tcp_dooptions(&to, optp, optlen,
|
H A D | tcp_subr.c | 887 u_char *optp; local 1035 optp = mtod(m->m_next, u_char *); 1040 optp = (u_char *) (nth + 1); 1058 tlen += optlen = tcp_addoptions(&to, optp);
|
/freebsd-11.0-release/sys/netpfil/pf/ |
H A D | pf_osfp.c | 96 const u_int8_t *optp; local 132 optp = (const u_int8_t *)((const char *)tcp + sizeof(*tcp)); 133 for (; cnt > 0; cnt -= optlen, optp += optlen) { 134 if (*optp == TCPOPT_EOL) 138 if (*optp == TCPOPT_NOP) { 145 optlen = optp[1]; 148 switch (*optp) { 151 memcpy(&fp.fp_mss, &optp[2], 159 memcpy(&fp.fp_wscale, &optp[2], 173 memcpy(&ts, &optp[ [all...] |
H A D | pf_norm.c | 1743 u_char *optp = opts; local 1752 for (; cnt > 0; cnt -= optlen, optp += optlen) { 1753 opt = optp[0]; 1761 optlen = optp[1]; 1767 mss = (u_int16_t *)(optp + 2);
|
/freebsd-11.0-release/usr.sbin/mld6query/ |
H A D | mld6.c | 184 void *hbhbuf = NULL, *optp = NULL; local 276 2, &optp)) == -1) 279 (void)inet6_opt_set_val(optp, 0, &rtalert_code, sizeof(rtalert_code));
|
/freebsd-11.0-release/sys/netinet6/ |
H A D | raw_ip6.c | 395 struct ip6_pktopts opt, *optp; local 419 optp = &opt; 421 optp = in6p->in6p_outputopts; 429 if (!optp || !optp->ip6po_pktinfo || 430 !optp->ip6po_pktinfo->ipi6_ifindex) 464 error = in6_selectsrc_socket(dstsock, optp, in6p, so->so_cred, 536 error = ip6_output(m, optp, NULL, 0, in6p->in6p_moptions, &oifp, in6p);
|
H A D | udp6_usrreq.c | 662 struct ip6_pktopts *optp, opt; local 698 optp = &opt; 700 optp = inp->in6p_outputopts; 755 error = in6_selectsrc_socket(sin6, optp, inp, 901 error = ip6_output(m, optp, NULL, flags,
|
H A D | ip6_output.c | 1565 struct ip6_pktopts **optp; local 1572 optp = &in6p->in6p_outputopts; 1575 optp, (td != NULL) ? td->td_ucred : 1709 struct ip6_pktopts **optp; local 1710 optp = &in6p->in6p_outputopts; 1713 optp, (td != NULL) ? td->td_ucred : 1777 struct ip6_pktopts **optp; local 1796 optp = &in6p->in6p_outputopts; 1798 optp, (td != NULL) ? td->td_ucred : NULL,
|
H A D | ip6_input.c | 1120 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument 1124 switch (IP6OPT_TYPE(*optp)) { 1126 return ((int)*(optp + 1));
|
/freebsd-11.0-release/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-11.0-release/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-11.0-release/bin/ps/ |
H A D | ps.c | 1334 char *argp, *cp, *newopts, *ns, *optp, *pidp; local 1343 optp = strchr(optlist, *cp); 1344 if ((optp != NULL) && *(optp + 1) == ':') {
|
/freebsd-11.0-release/contrib/amd/amd/ |
H A D | opts.c | 76 char **optp; /* Pointer to option value string */ member in struct:opt 518 *op->optp = opt; /* actual assignment into fs_static */ 1191 val = *op->optp;
|
/freebsd-11.0-release/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-11.0-release/contrib/telnet/telnet/ |
H A D | commands.c | 2828 * optp: pointer to an integer that should be filled in with 2852 * *optp: This will be filled in with appropriate option for 2856 sourceroute(struct addrinfo *ai, char *arg, char **cpp, int *lenp, int *protop, int *optp) 2912 *optp = IPV6_RTHDR; 2933 *optp = IP_OPTIONS; 2847 sourceroute(struct addrinfo *ai, char *arg, char **cpp, int *lenp, int *protop, int *optp) argument
|
/freebsd-11.0-release/contrib/bsnmp/snmpd/ |
H A D | main.c | 1623 getsubopt1(char **arg, const char *const *options, char **valp, char **optp) argument 1629 *optp = NULL; 1639 *optp = ptr; 1661 if (strcmp(*optp, *options) == 0)
|