Dep/ACE: Upgrade ACE -library to 5.8.3

--HG--
branch : trunk
This commit is contained in:
click
2010-11-04 05:30:29 +01:00
parent 2604250c3c
commit 9b16ee203f
581 changed files with 10265 additions and 14303 deletions
+1 -10
View File
@@ -1,4 +1,4 @@
// $Id: Ping_Socket.cpp 83247 2008-10-14 22:29:45Z pollockt $
// $Id: Ping_Socket.cpp 92069 2010-09-28 11:38:59Z johnnyw $
#include "ace/Ping_Socket.h"
@@ -15,11 +15,6 @@
# include "ace/Ping_Socket.inl"
#endif /* !__ACE_INLINE__ */
ACE_RCSID (ace,
Ping_Socket,
"$Id: Ping_Socket.cpp 83247 2008-10-14 22:29:45Z pollockt $")
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE (ACE_Ping_Socket)
@@ -217,13 +212,9 @@ ACE_Ping_Socket::process_incoming_dgram (char * ptr, ssize_t len)
// Warning... using knowledge of IP header layout. This avoids a maze of
// #if blocks for various systems. The first byte of the header has the
// IP version in the left-most 4 bits and the length in the other 4 bits.
#if 0
hlen1 = ip->ip_hl; // length of IP header
#else
hlen1 = static_cast<unsigned char>(*ptr);
hlen1 <<= 4; // Bump the version off
hlen1 >>= 4; // Zero-extended length remains
#endif
hlen1 <<= 2; // Now it counts bytes, not words
icmp = (struct icmp *) (ptr + hlen1); // start of ICMP header