[Bug 265588] [TCP] - tcp send a retransmission identical sequence number packet with different payload
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 11:49:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265588
--- Comment #18 from Richard Scheffenegger <rscheff@freebsd.org> ---
For completeness, the awk script with proper indexing:
cat output | awk '
//{
fr=int($5/1448);
if ((fr*1448 == $5) && (fr > 0)) {
print $1" "$2" "$3" "$4" "$5" "fr;
gsub("[^0-9a-fA-F]", "", $6);
for (i=0;i<fr;i++) {
s = 0;
for (n=0;n<(1448/4);n++) {
idx = (i*1448 + n*4)*2 + 1;
v = sprintf("%d ", "0x" substr($6,idx,8));
s = s + v;
}
f[s]++;
if (f[s] > 1) { printf("#") };
printf("0x%08x\t", s);
}
}
printf("\n");
}
'
--
You are receiving this mail because:
You are the assignee for the bug.