Changeset 9ca0b29 for libpacketdump


Ignore:
Timestamp:
06/27/11 10:14:15 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
b7922c7
Parents:
d8e4595
Message:
  • Add support for ECN bits in the TCP header - note that this does change the makeup of the libtrace_tcp_t struct which will be a problem for people referencing the reserved bits or trying to work out ECN manually. Long term, I think the benefits outweigh the slight discomfort that might be caused by this change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/ip_6.c

    rc7062df r9ca0b29  
    6262        printf(" DOFF %i",tcp->doff);
    6363        printf(" Flags:");
     64        if (tcp->ecn_ns) printf(" ECN_NS");
     65        if (tcp->cwr) printf(" CWR");
     66        if (tcp->ece) printf(" ECE");
    6467        if (tcp->fin) printf(" FIN");
    6568        if (tcp->syn) printf(" SYN");
Note: See TracChangeset for help on using the changeset viewer.