Lines Matching defs:seq1
1169 u_32_t seq1, seq2;
1185 seq1 = (u_32_t)ntohl(tcp->th_seq);
1190 (seq1 > aps->aps_seqmin[!sel])) {
1193 sel, !sel, seq1,
1200 if (seq1 > seq2) {
1202 seq1 += seq2;
1203 tcp->th_seq = htonl(seq1);
1208 if (inc && (seq1 > aps->aps_seqmin[!sel])) {
1209 aps->aps_seqmin[sel] = seq1 + nlen - 1;
1219 seq1 = ntohl(tcp->th_ack);
1224 (seq1 > aps->aps_ackmin[!sel])) {
1227 sel, !sel, seq1,
1232 if (aps->aps_ackoff[sel] && (seq1 > aps->aps_ackmin[sel])) {
1234 tcp->th_ack = htonl(seq1 - seq2);
1238 seq1 = ntohl(tcp->th_seq);
1243 (seq1 > aps->aps_ackmin[!sel])) {
1246 sel, !sel, seq1, aps->aps_ackmin[!sel]);
1252 if (seq1 > seq2) {
1254 seq1 += seq2;
1255 tcp->th_seq = htonl(seq1);
1260 if (inc && (seq1 > aps->aps_ackmin[!sel])) {
1261 aps->aps_ackmin[!sel] = seq1 + nlen - 1;
1272 seq1 = ntohl(tcp->th_ack);
1277 (seq1 > aps->aps_seqmin[!sel])) {
1280 sel, !sel, seq1, aps->aps_seqmin[!sel]);
1286 printf("sel %d seqoff %d seq1 %x seqmin %x\n",
1287 sel, aps->aps_seqoff[sel], seq1,
1289 if (seq1 > aps->aps_seqmin[sel]) {
1291 tcp->th_ack = htonl(seq1 - seq2);