Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/netinet



Module Name:    src
Committed By:   maxv
Date:           Thu Mar 29 16:54:59 UTC 2018

Modified Files:
        src/sys/netinet: tcp_input.c

Log Message:
Simplify the computation:

          m->m_pkthdr.len -  sizeof(struct tcphdr) - optlen - hlen
        = m->m_pkthdr.len - (sizeof(struct tcphdr) + optlen + hlen)
        = m->m_pkthdr.len - [tcp_len]
        = toff


To generate a diff of this commit:
cvs rdiff -u -r1.393 -r1.394 src/sys/netinet/tcp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index