Lines Matching full:optp
237 caddr_t optp = NULL;
324 optp = mtod(m, caddr_t) + sizeof (struct tcpiphdr);
335 * optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) &&
336 * *(u_int32_t *)optp == htonl(TCPOPT_TSTAMP_HDR) &&
339 * ts_val = ntohl(*(u_int32_t *)(optp + 4));
340 * ts_ecr = ntohl(*(u_int32_t *)(optp + 8));
341 * optp = NULL; / * we've parsed the options * /
470 if (optp && tp->t_state != TCPS_LISTEN)
471 tcp_dooptions(tp, (u_char *)optp, optlen, ti);
723 if (optp)
724 tcp_dooptions(tp, (u_char *)optp, optlen, ti);