diff options
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,3 +36,6 @@ while (c != NEXTHDR_NONE && ip6t_ext_hdr(currenthdr)) { ptr += hdrlen; } + csum = ~add16(add16(~htons(csum_orig), ~csum16((u_int16_t *)&old, 3)), csum16((u_int16_t *)&new, 3)); + printf("%04hx normal buf1\n", ntohs(csum)); + |