/freebsd-10.3-release/lib/libc/net/ |
H A D | ip6opt.c | 302 u_int8_t *optp, *lim; local 331 for (optp = *tptrp; optp < lim; optp += optlen) { 332 if (*optp == type) { 333 *tptrp = optp; 336 if ((optlen = ip6optlen(optp, lim)) == 0) 449 u_int8_t *optp = (u_int8_t *)extbuf + offset; local 453 *optp = IP6OPT_PAD1; 454 optp 510 u_int8_t *optp, *lim; local 559 u_int8_t *optp, *lim; local [all...] |
/freebsd-10.3-release/sys/netinet/ |
H A D | tcp_output.c | 1619 * optp in a consistent way. Can handle unaligned destinations. 1635 tcp_addoptions(struct tcpopt *to, u_char *optp) argument 1648 *optp++ = TCPOPT_NOP; 1653 *optp++ = TCPOPT_MAXSEG; 1654 *optp++ = TCPOLEN_MAXSEG; 1656 bcopy((u_char *)&to->to_mss, optp, sizeof(to->to_mss)); 1657 optp += sizeof(to->to_mss); 1662 *optp++ = TCPOPT_NOP; 1667 *optp++ = TCPOPT_WINDOW; 1668 *optp [all...] |
H A D | tcp_input.c | 550 u_char *optp = NULL; local 738 optp = (u_char *)(th + 1); 950 tcp_dooptions(&to, optp, optlen, TO_SYN); 1068 tcp_dooptions(&to, optp, optlen, 0); 1123 tcp_dooptions(&to, optp, optlen, 1342 tcp_dooptions(&to, optp, optlen, TO_SYN); 1368 tcp_dooptions(&to, optp, optlen,
|
/freebsd-10.3-release/sys/netpfil/pf/ |
H A D | pf_osfp.c | 93 const u_int8_t *optp; local 129 optp = (const u_int8_t *)((const char *)tcp + sizeof(*tcp)); 130 for (; cnt > 0; cnt -= optlen, optp += optlen) { 131 if (*optp == TCPOPT_EOL) 135 if (*optp == TCPOPT_NOP) { 142 optlen = optp[1]; 145 switch (*optp) { 148 memcpy(&fp.fp_mss, &optp[2], 156 memcpy(&fp.fp_wscale, &optp[2], 170 memcpy(&ts, &optp[ [all...] |
H A D | pf_norm.c | 2208 u_char *optp = opts; local 2217 for (; cnt > 0; cnt -= optlen, optp += optlen) { 2218 opt = optp[0]; 2226 optlen = optp[1]; 2232 mss = (u_int16_t *)(optp + 2);
|
/freebsd-10.3-release/usr.sbin/mld6query/ |
H A D | mld6.c | 185 void *hbhbuf = NULL, *optp = NULL; local 277 2, &optp)) == -1) 280 (void)inet6_opt_set_val(optp, 0, &rtalert_code, sizeof(rtalert_code));
|
/freebsd-10.3-release/sys/netinet6/ |
H A D | raw_ip6.c | 409 struct ip6_pktopts opt, *optp; local 433 optp = &opt; 435 optp = in6p->in6p_outputopts; 443 if (!optp || !optp->ip6po_pktinfo || 444 !optp->ip6po_pktinfo->ipi6_ifindex) 478 error = in6_selectsrc(dstsock, optp, in6p, NULL, so->so_cred, 562 error = ip6_output(m, optp, NULL, 0, in6p->in6p_moptions, &oifp, in6p);
|
H A D | udp6_usrreq.c | 639 struct ip6_pktopts *optp, opt; local 673 optp = &opt; 675 optp = inp->in6p_outputopts; 730 error = in6_selectsrc(sin6, optp, inp, NULL, 845 error = ip6_output(m, optp, NULL, flags, inp->in6p_moptions,
|
H A D | ip6_output.c | 1459 struct ip6_pktopts **optp; local 1466 optp = &in6p->in6p_outputopts; 1469 optp, (td != NULL) ? td->td_ucred : 1582 struct ip6_pktopts **optp; local 1583 optp = &in6p->in6p_outputopts; 1586 optp, (td != NULL) ? td->td_ucred : 1650 struct ip6_pktopts **optp; local 1669 optp = &in6p->in6p_outputopts; 1671 optp, (td != NULL) ? td->td_ucred : NULL,
|
H A D | ip6_input.c | 1256 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) argument 1260 switch (IP6OPT_TYPE(*optp)) { 1262 return ((int)*(optp + 1));
|
/freebsd-10.3-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-10.3-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-10.3-release/bin/ps/ |
H A D | ps.c | 1312 char *argp, *cp, *newopts, *ns, *optp, *pidp; local 1321 optp = strchr(optlist, *cp); 1322 if ((optp != NULL) && *(optp + 1) == ':') {
|
/freebsd-10.3-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-10.3-release/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 318 getsubopt1(char **arg, const char *const *options, char **valp, char **optp) argument 324 *optp = NULL; 334 *optp = ptr; 356 if (strcmp(*optp, *options) == 0)
|
/freebsd-10.3-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-10.3-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)
|