Lines Matching defs:cnt
1805 tcp_dooptions(PNATState pData, struct tcpcb *tp, u_char *cp, int cnt, struct tcpiphdr *ti)
1810 LogFlowFunc(("tcp_dooptions: tp = %R[tcpcb793], cnt=%i\n", tp, cnt));
1812 for (; cnt > 0; cnt -= optlen, cp += optlen)
1887 int cnt = ti->ti_urp - 1;
1889 while (cnt >= 0)
1891 if (m->m_len > cnt)
1893 char *cp = mtod(m, caddr_t) + cnt;
1898 memcpy(sp, cp+1, (unsigned)(m->m_len - cnt - 1));
1902 cnt -= m->m_len;