summaryrefslogtreecommitdiff
path: root/ace/Ping_Socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Ping_Socket.cpp')
-rw-r--r--ace/Ping_Socket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Ping_Socket.cpp b/ace/Ping_Socket.cpp
index 810a14408d5..23bff4cb52a 100644
--- a/ace/Ping_Socket.cpp
+++ b/ace/Ping_Socket.cpp
@@ -23,6 +23,8 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE (ACE_Ping_Socket)
+ACE_END_VERSIONED_NAMESPACE_DECL
+
//---------------------------------------------------------------------------
// Better to arrange some os_include/netinet/ip.h and
// os_include/netinet/icmp.h files ?
@@ -76,6 +78,8 @@ struct icmp
#endif /* #if ! defined (ACE_WIN32) */
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
int const ICMP_MIN = 8; // Minimal size of ICMP packet, header only
int const ICMP_DATA_LENGTH = 56; // For ICMP data with Echo request
ACE_Time_Value const ACE_Ping_Socket::time_default_ (0, 500000);