msantos / pkt

Erlang network protocol library
http://blog.listincomprehension.com/search/label/epcap
BSD 3-Clause "New" or "Revised" License
150 stars 44 forks source link

Ipv6 tcp checksum calculation #18

Closed josemic closed 10 years ago

josemic commented 10 years ago

Created ipv6 TCP checksum calculation. Added corresponding test cases. Updated version number.

msantos commented 10 years ago

May want to test first on a branch or create a new branch but the rebase process goes like:

git log

# squash everything up to this commit
git rebase -i 32b076f59f2409be7aaf179d1c64fecc200f548e

# squash the commits
# adjust the comments here if you want: may want to add what you discovered about IPv6 UDP checksums, the various RFCs, etc, for future reference

# you can either push this to a new branch or do a force push
git push -f origin ipv6_tcp_checksum_calculation

You can experiment with rebasing first, to see how it works, by using a branch:

git checkout ipv6_tcp_checksum_calculation
git checkout -b ipv6_tcp_checksum_calculation-test # branch from your branch
git rebase -i 32b076f59f2409be7aaf179d1c64fecc200f548e
josemic commented 10 years ago

I will add the IPv6 UDP checksums, the various RFCs, etc, for future reference to a different branch. It needs some more thought.

msantos commented 10 years ago

Achievement unlocked!