Lines Matching refs:optp
2315 tcp_dooptions(otp, tpi->optp, tpi->optlen, th, tpi->to); in tcp_create_server_socket()
2339 tcp_dooptions(otp, tpi->optp, tpi->optlen, th, tpi->to); in tcp_create_server_socket()
2659 if (tpi->optp != NULL) { in tcp_setup_server_socket()
2660 tcp_dooptions(tp, tpi->optp, tpi->optlen, tpi->th, tpi->to); in tcp_setup_server_socket()
2758 u_char *optp = NULL; in tcp_input() local
2942 optp = (u_char *)(th + 1); in tcp_input()
2952 optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) && in tcp_input()
2953 *(u_int32_t *)(void *)optp == htonl(TCPOPT_TSTAMP_HDR) && in tcp_input()
2956 to.to_tsval = ntohl(*(u_int32_t *)(void *)(optp + 4)); in tcp_input()
2957 to.to_tsecr = ntohl(*(u_int32_t *)(void *)(optp + 8)); in tcp_input()
2958 optp = NULL; /* we've parsed the options */ in tcp_input()
3293 .to = &to, .optp = optp, .optlen = optlen, .ip6 = ip6, .ip = ip, in tcp_input()
3632 if (tp->t_state != TCPS_LISTEN && optp) { in tcp_input()
3633 tcp_dooptions(tp, optp, optlen, th, &to); in tcp_input()
4067 .iss = iss, .tiwin = tiwin, .to = &to, .optp = optp, .optlen = optlen, in tcp_input()