Home | History | Annotate | Download | only in slirp-android

Lines Matching refs:cnt

111 static void tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt,
1504 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti)
1510 DEBUG_ARGS((dfd," tp = %lx cnt=%i \n", (long )tp, cnt));
1512 for (; cnt > 0; cnt -= optlen, cp += optlen) {
1586 int cnt = ti->ti_urp - 1;
1588 while (cnt >= 0) {
1589 if (m->m_len > cnt) {
1590 char *cp = mtod(m, caddr_t) + cnt;
1595 memcpy(sp, cp+1, (unsigned)(m->m_len - cnt - 1));
1599 cnt -= m->m_len;