Lines Matching refs:ntohl
71 tcp_send->tcp_ack = htonl(ntohl(tcp->tcp_seq) + 1);
123 if (ntohl(tcp->tcp_seq) == 1 && ntohl(tcp->tcp_ack) == 1) {
124 tcp_send->tcp_seq = htonl(ntohl(tcp->tcp_ack));
125 tcp_send->tcp_ack = htonl(ntohl(tcp->tcp_seq) + 1);
129 } else if (ntohl(tcp->tcp_seq) == 2) {
130 tcp_send->tcp_seq = htonl(ntohl(tcp->tcp_ack));
131 tcp_send->tcp_ack = htonl(ntohl(tcp->tcp_seq) + 1);
152 if (ntohl(tcp->tcp_seq) == 1 || ntohl(tcp->tcp_seq) == 2) {