diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-14 17:28:55 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-14 17:28:55 +0200 |
commit | bba21839e51e65b2bccca107209730990ae0118e (patch) | |
tree | 2fc9ecce7ab587271df22b75daf97fcc0b29754f /TODO | |
parent | 519629978fdf8c5c0ab4b3d8e39475ec89d5c727 (diff) | |
download | NPTv6-bba21839e51e65b2bccca107209730990ae0118e.tar NPTv6-bba21839e51e65b2bccca107209730990ae0118e.zip |
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@31 3484d885-4da6-438d-b19d-107d078dd756
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)); + |