diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/vpn/gnunet-vpn-checksum.h | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/vpn/gnunet-vpn-checksum.h')
-rw-r--r-- | src/vpn/gnunet-vpn-checksum.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/vpn/gnunet-vpn-checksum.h b/src/vpn/gnunet-vpn-checksum.h index 82f4954ca..b6af8c56e 100644 --- a/src/vpn/gnunet-vpn-checksum.h +++ b/src/vpn/gnunet-vpn-checksum.h | |||
@@ -4,13 +4,16 @@ | |||
4 | 4 | ||
5 | #include <platform.h> | 5 | #include <platform.h> |
6 | 6 | ||
7 | uint32_t calculate_checksum_update (uint32_t sum, uint16_t * hdr, short len); | 7 | uint32_t |
8 | calculate_checksum_update (uint32_t sum, uint16_t * hdr, short len); | ||
8 | 9 | ||
9 | uint16_t calculate_checksum_end (uint32_t sum); | 10 | uint16_t |
11 | calculate_checksum_end (uint32_t sum); | ||
10 | 12 | ||
11 | /** | 13 | /** |
12 | * Calculate the checksum of an IPv4-Header | 14 | * Calculate the checksum of an IPv4-Header |
13 | */ | 15 | */ |
14 | uint16_t calculate_ip_checksum (uint16_t * hdr, short len); | 16 | uint16_t |
17 | calculate_ip_checksum (uint16_t * hdr, short len); | ||
15 | 18 | ||
16 | #endif /* end of include guard: GNUNET-VPN-CHECKSUM_H */ | 19 | #endif /* end of include guard: GNUNET-VPN-CHECKSUM_H */ |