Home | History | Annotate | Download | only in slirp

Lines Matching defs:optlen

238 	int optlen = 0;
323 optlen = off - sizeof (struct tcphdr);
333 /* if ((optlen == TCPOLEN_TSTAMP_APPA ||
334 * (optlen > TCPOLEN_TSTAMP_APPA &&
466 tcp_dooptions(tp, (u_char *)optp, optlen, ti);
718 tcp_dooptions(tp, (u_char *)optp, optlen, ti);
1501 int opt, optlen;
1506 for (; cnt > 0; cnt -= optlen, cp += optlen) {
1511 optlen = 1;
1513 optlen = cp[1];
1514 if (optlen <= 0)
1523 if (optlen != TCPOLEN_MAXSEG)
1533 * if (optlen != TCPOLEN_WINDOW)
1542 * if (optlen != TCPOLEN_TIMESTAMP)