X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Tools%2FNetTest_Runner%2Ftcp.c;h=22a21a16144d3150f5f64eccff4f0ea41fbab054;hb=e9b63a7cc8abab8dfc2b491ef3841dfbeb22703d;hp=0bf0a67f9b515617bd6f495d37ee52d6828bebf3;hpb=d2f1a4c62225533351551870cbe44d94a4ec4fab;p=tpg%2Facess2.git diff --git a/Tools/NetTest_Runner/tcp.c b/Tools/NetTest_Runner/tcp.c index 0bf0a67f..22a21a16 100644 --- a/Tools/NetTest_Runner/tcp.c +++ b/Tools/NetTest_Runner/tcp.c @@ -28,6 +28,9 @@ uint16_t TCP_int_GetPseudoHeader(int AF, const void *SrcAddr, const void *DstAdd phdr[8] = 0; phdr[9] = pctl; *(uint16_t*)(phdr+10) = htons(Len); + + //test_trace_hexdump("TCP IPv4 PHdr", phdr, sizeof(phdr)); + return IP_Checksum(IP_CHECKSUM_START, 12, phdr); } else {