Lines Matching defs:seq1
1151 u_32_t seq1, seq2;
1167 seq1 = (u_32_t)ntohl(tcp->th_seq);
1172 (seq1 > aps->aps_seqmin[!sel])) {
1175 sel, !sel, seq1,
1182 if (seq1 > seq2) {
1184 seq1 += seq2;
1185 tcp->th_seq = htonl(seq1);
1190 if (inc && (seq1 > aps->aps_seqmin[!sel])) {
1191 aps->aps_seqmin[sel] = seq1 + nlen - 1;
1201 seq1 = ntohl(tcp->th_ack);
1206 (seq1 > aps->aps_ackmin[!sel])) {
1209 sel, !sel, seq1,
1214 if (aps->aps_ackoff[sel] && (seq1 > aps->aps_ackmin[sel])) {
1216 tcp->th_ack = htonl(seq1 - seq2);
1220 seq1 = ntohl(tcp->th_seq);
1225 (seq1 > aps->aps_ackmin[!sel])) {
1228 sel, !sel, seq1, aps->aps_ackmin[!sel]);
1234 if (seq1 > seq2) {
1236 seq1 += seq2;
1237 tcp->th_seq = htonl(seq1);
1242 if (inc && (seq1 > aps->aps_ackmin[!sel])) {
1243 aps->aps_ackmin[!sel] = seq1 + nlen - 1;
1254 seq1 = ntohl(tcp->th_ack);
1259 (seq1 > aps->aps_seqmin[!sel])) {
1262 sel, !sel, seq1, aps->aps_seqmin[!sel]);
1268 printf("sel %d seqoff %d seq1 %x seqmin %x\n",
1269 sel, aps->aps_seqoff[sel], seq1,
1271 if (seq1 > aps->aps_seqmin[sel]) {
1273 tcp->th_ack = htonl(seq1 - seq2);