bz 2008-09-07 20:44:45 UTC FreeBSD src repository
Modified files: sys/netinet tcp_debug.c tcp_subr.c Log: SVN rev 182855 on 2008-09-07 20:44:45Z by bz To my reading there are no real consumers of ip6_plen (IPv6 Payload Length) as set in tcpip_fillheaders(). ip6_output() will calculate it based of the length from the mbuf packet header itself. So initialize the value in tcpip_fillheaders() in correct (network) byte order. With the above change, to my reading, all places calling tcp_trace() pass in the ip6 header via ipgen as serialized in the mbuf and with ip6_plen in network byte order. Thus convert the IPv6 payload length to host byte order before printing. MFC after: 2 months Revision Changes Path 1.30 +1 -1 src/sys/netinet/tcp_debug.c 1.315 +1 -1 src/sys/netinet/tcp_subr.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"