| /src/lib/libc/net/ | 
| ip6opt.c | 341 	uint8_t *optp, *lim;  local in function:inet6_option_find 373 	for (optp = *tptrp; optp < lim; optp += optlen) {
 374 		if (*optp == type) {
 375 			*tptrp = optp;
 378 		if ((optlen = ip6optlen(optp, lim)) == 0)
 497 		uint8_t *optp = (uint8_t *)extbuf + offset;  local in function:inet6_opt_append
 501 			*optp = IP6OPT_PAD1;
 502 			optp++
 558  uint8_t *optp, *lim;  local in function:inet6_opt_next
 609  uint8_t *optp, *lim;  local in function:inet6_opt_find
 [all...]
 | 
| /src/sys/netinet/ | 
| tcp_syncache.c | 878     unsigned int toff, struct socket *so, struct mbuf *m, u_char *optp, 898 	if (optp || (tp->t_flags & TF_SIGNATURE))
 900 	if (optp)
 908 		if (tcp_dooptions(&tb, optp, optlen, th, m, toff, oi) < 0)
 1081 	u_int8_t *optp;  local in function:syn_cache_respond
 1172 	optp = (u_int8_t *)(th + 1);
 1174 	*optp++ = TCPOPT_MAXSEG;
 1175 	*optp++ = TCPOLEN_MAXSEG;
 1176 	*optp++ = (sc->sc_ourmaxseg >> 8) & 0xff;
 1177 	*optp++ = sc->sc_ourmaxseg & 0xff
 [all...]
 | 
| tcp_output.c | 518 	u_char opt[MAX_TCPOPTLEN], *optp;  local in function:tcp_output 1051 	optp = opt;
 1075 			*optp++ = TCPOPT_MAXSEG;
 1076 			*optp++ = TCPOLEN_MAXSEG;
 1077 			*optp++ = (tp->t_ourmss >> 8) & 0xff;
 1078 			*optp++ = tp->t_ourmss & 0xff;
 1085 				*((uint32_t *)optp) = htonl(
 1090 				optp += TCPOLEN_WINDOW + TCPOLEN_NOP;
 1094 				*optp++ = TCPOPT_SACK_PERMITTED;
 1095 				*optp++ = TCPOLEN_SACK_PERMITTED
 [all...]
 | 
| dccp_usrreq.c | 198 	u_char *optp = NULL;  local in function:dccp_input 519 			optp = (u_char *)(dlh + 1);
 521 			optp = (u_char *)(dh + 1);
 533 		optp = (u_char *)(drqh + 1);
 543 		optp = (u_char *)(drth + 1);
 560 				optp = (u_char *)(drqh + 1);
 566 				optp = (u_char *)(dalh + 1);
 570 			optp = (u_char *)(dah + 1);
 601 		memcpy(options, optp, optlen);
 1122 	u_char *optp = NULL  local in function:dccp_output
 [all...]
 | 
| tcp_input.c | 1194 	u_int8_t *optp = NULL;  local in function:tcp_input 1345 		optp = ((u_int8_t *)th) + sizeof(struct tcphdr);
 1357 		      optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) &&
 1358 		    be32dec(optp) == TCPOPT_TSTAMP_HDR &&
 1361 			opti.ts_val = be32dec(optp + 4);
 1362 			opti.ts_ecr = be32dec(optp + 8);
 1363 			optp = NULL;	/* we've parsed the options */
 1707 			    so, m, optp, optlen, &opti))
 1732 	if (optp || (tp->t_flags & TF_SIGNATURE))
 1734 	if (optp)
 [all...]
 | 
| /src/sys/dist/pf/net/ | 
| pf_osfp.c | 126 	const u_int8_t *optp;  local in function:pf_osfp_fingerprint_hdr 194 	optp = (const u_int8_t *)((const char *)tcp + sizeof(*tcp));
 195 	for (; cnt > 0; cnt -= optlen, optp += optlen) {
 196 		if (*optp == TCPOPT_EOL)
 200 		if (*optp == TCPOPT_NOP) {
 207 			optlen = optp[1];
 210 			switch (*optp) {
 213 					memcpy(&fp.fp_mss, &optp[2],
 221 					memcpy(&fp.fp_wscale, &optp[2],
 235 					memcpy(&ts, &optp[2], sizeof(ts))
 [all...]
 | 
| pf_norm.c | 1885 	u_char		*optp;  local in function:pf_normalize_tcpopt 1889 	optp = mtod(m, u_char *) + off + sizeof(struct tcphdr);
 1891 	for (; cnt > 0; cnt -= optlen, optp += optlen) {
 1892 		opt = optp[0];
 1900 			optlen = optp[1];
 1906 			mss = (u_int16_t *)(optp + 2);
 
 | 
| /src/usr.sbin/mld6query/ | 
| mld6.c | 163 	void *hbhbuf = NULL, *optp = NULL;  local in function:make_msg 230 					   2, &optp)) == -1)
 233 	(void)inet6_opt_set_val(optp, 0, &rtalert_code, sizeof(rtalert_code));
 
 | 
| /src/sys/netinet6/ | 
| raw_ip6.c | 375 	struct ip6_pktopts opt, *optp = NULL;  local in function:rip6_output 391 		optp = &opt;
 393 		optp = in6p_outputopts(inp);
 440 	error = in6_selectsrc(dstsock, optp, in6p_moptions(inp),
 507 		error = ip6_output(m, optp, &inp->inp_route, 0,
 
 | 
| ip6_output.c | 1432 				struct ip6_pktopts **optp;  local in function:ip6_ctloutput 1441 				optp = &in6p_outputopts(inp);
 1445 						   optp,
 1564 			struct ip6_pktopts **optp;  local in function:ip6_ctloutput
 1570 			optp = &in6p_outputopts(inp);
 1574 					   optp,
 1587 				struct ip6_pktopts **optp;  local in function:ip6_ctloutput
 1588 				optp = &in6p_outputopts(inp);
 1592 						   optp,
 1654 			struct ip6_pktopts **optp;  local in function:ip6_ctloutput
 [all...]
 | 
| udp6_usrreq.c | 749 	struct ip6_pktopts *optp = NULL;  local in function:udp6_output 795 		optp = &opt;
 797 		optp = in6p_outputopts(inp);
 856 			error = in6_selectsrc(sin6, optp,
 1009 		error = ip6_output(m, optp, &inp->inp_route, 0,
 1056 		if (optp == &opt)
 
 | 
| ip6_input.c | 1035 ip6_unknown_opt(u_int8_t *optp, struct mbuf *m, int off) 1039 	switch (IP6OPT_TYPE(*optp)) {
 1041 		return ((int)*(optp + 1));
 
 | 
| /src/usr.sbin/rtadvd/ | 
| rtadvd.c | 1042 	struct nd_optlist *optp;  local in function:ra_input 1182 	TAILQ_FOREACH(optp, &ndopts.nd_opts_list, next)
 1183 		if (prefix_check((struct nd_opt_prefix_info *)optp->opt,
 
 |