Code had originally used 2 as the max number of SACK blocks.
The correct value is 4.
Release 1.4:
Improvements:
1)Add double -s option to only show Ack Vectors/SACKS with loss events
Release 1.4:
Improvements:
1)Add double -s option to only show Ack Vectors/SACKS with loss events
+ Bug Fixes:
+ 1)Increase maximum number of TCP SACK segments to 4 (instead of two)
opt=dccphdr + sizeof(struct dccp_hdr) + sizeof(struct dccp_hdr_ext) + sizeof(struct dccp_hdr_ack_bits);
/*setup tcp pointers*/
opt=dccphdr + sizeof(struct dccp_hdr) + sizeof(struct dccp_hdr_ext) + sizeof(struct dccp_hdr_ack_bits);
/*setup tcp pointers*/
*tcpopts=5;
tlen=tcpopts+1;
temp=tlen;
*tcpopts=5;
tlen=tcpopts+1;
temp=tlen;