diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-16 00:09:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-16 00:09:31 +0000 |
commit | acaab5c7cb917271d8f1119b8f939b88c86b80fd (patch) | |
tree | f447dacc2f57442d1df8ee855c2f711bc39260f5 /nuttx/include | |
parent | e7fa349439a23696eac35a4a74c27f1357ec6a97 (diff) | |
download | px4-nuttx-acaab5c7cb917271d8f1119b8f939b88c86b80fd.tar.gz px4-nuttx-acaab5c7cb917271d8f1119b8f939b88c86b80fd.tar.bz2 px4-nuttx-acaab5c7cb917271d8f1119b8f939b88c86b80fd.zip |
Fix calculation of checksum on outgoing ping responses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1617 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/net/uip/uip-arch.h | 2 | ||||
-rw-r--r-- | nuttx/include/net/uip/uip-icmp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/net/uip/uip-arch.h b/nuttx/include/net/uip/uip-arch.h index 80e574efa..3409f1416 100644 --- a/nuttx/include/net/uip/uip-arch.h +++ b/nuttx/include/net/uip/uip-arch.h @@ -366,7 +366,7 @@ extern uint16 uip_ipchksum(struct uip_driver_s *dev); extern uint16 uip_tcpchksum(struct uip_driver_s *dev); extern uint16 uip_udpchksum(struct uip_driver_s *dev); -extern uint16 uip_icmpchksum(struct uip_driver_s *dev); +extern uint16 uip_icmpchksum(struct uip_driver_s *dev, int len); #endif /* __UIP_ARCH_H */ diff --git a/nuttx/include/net/uip/uip-icmp.h b/nuttx/include/net/uip/uip-icmp.h index 67d6941d3..e6b52b07c 100644 --- a/nuttx/include/net/uip/uip-icmp.h +++ b/nuttx/include/net/uip/uip-icmp.h @@ -2,7 +2,7 @@ * net/uip/uip-icmp.h * Header file for the uIP ICMP stack. * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * This logic was leveraged from uIP which also has a BSD-style license: |