diff options
author | Baruch Siach <baruch@tkos.co.il> | 2011-09-07 17:52:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-09-07 17:55:40 +0200 |
commit | e8f36330d9bb27f9f7e66aa6f01ff92c07d86f62 (patch) | |
tree | 863018163a166cc690902d8027a3f04f9f812dd3 /include | |
parent | 8c84f7545cf08925edb23d94d9f6519b338267c6 (diff) | |
download | busybox-w32-e8f36330d9bb27f9f7e66aa6f01ff92c07d86f62.tar.gz busybox-w32-e8f36330d9bb27f9f7e66aa6f01ff92c07d86f62.tar.bz2 busybox-w32-e8f36330d9bb27f9f7e66aa6f01ff92c07d86f62.zip |
networking: consolidate the IP checksum code. -129 bytes.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1ca448930..f60f4278b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -640,6 +640,7 @@ ssize_t recv_from_to(int fd, void *buf, size_t len, int flags, | |||
640 | struct sockaddr *to, | 640 | struct sockaddr *to, |
641 | socklen_t sa_size) FAST_FUNC; | 641 | socklen_t sa_size) FAST_FUNC; |
642 | 642 | ||
643 | uint16_t inet_cksum(uint16_t *addr, int len) FAST_FUNC; | ||
643 | 644 | ||
644 | char *xstrdup(const char *s) FAST_FUNC RETURNS_MALLOC; | 645 | char *xstrdup(const char *s) FAST_FUNC RETURNS_MALLOC; |
645 | char *xstrndup(const char *s, int n) FAST_FUNC RETURNS_MALLOC; | 646 | char *xstrndup(const char *s, int n) FAST_FUNC RETURNS_MALLOC; |