Lines Matching defs:optp
532 u_char *optp = NULL;
740 optp = (u_char *)(th + 1);
750 optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) &&
751 *(u_int32_t *)optp == htonl(TCPOPT_TSTAMP_HDR) &&
754 to.to_tsval = ntohl(*(u_int32_t *)(optp + 4));
755 to.to_tsecr = ntohl(*(u_int32_t *)(optp + 8));
756 optp = NULL; /* we've parsed the options */
1387 if (tp->t_state != TCPS_LISTEN && optp)
1388 tcp_dooptions(tp, optp, optlen, th, &to, ifscope);
1749 tcp_dooptions(tp, optp, optlen, th, &to, ifscope);