summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_Netlink.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
commitc4078c377d74290ebe4e66da0b4975da91732376 (patch)
tree1816ef391e42a07929304908ac0e21f4c2f6cb7b /ACE/ace/SOCK_Netlink.h
parent700d1c1a6be348c6c70a2085e559baeb8f4a62ea (diff)
downloadATCD-c4078c377d74290ebe4e66da0b4975da91732376.tar.gz
swap in externals for ACE and TAO
Diffstat (limited to 'ACE/ace/SOCK_Netlink.h')
-rw-r--r--ACE/ace/SOCK_Netlink.h106
1 files changed, 0 insertions, 106 deletions
diff --git a/ACE/ace/SOCK_Netlink.h b/ACE/ace/SOCK_Netlink.h
deleted file mode 100644
index f4e4a31748a..00000000000
--- a/ACE/ace/SOCK_Netlink.h
+++ /dev/null
@@ -1,106 +0,0 @@
-// $Id$
-//=============================================================================
-/**
- * @file SOCK_Netlink.h
- *
- * $Id$
- *
- * @author Robert Iakobashvilli <coroberti@gmail.com>
- * @author Raz Ben Yehuda <raziebe@013.net.il>
- */
-//=============================================================================
-
-#ifndef ACE_SOCK_NETLINK_H
-#define ACE_SOCK_NETLINK_H
-
-#include /**/ "ace/pre.h"
-
-#include /**/ "ace/config-all.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
- #pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#ifdef ACE_HAS_NETLINK
-
-#include "ace/SOCK.h"
-#include "ace/Netlink_Addr.h"
-#include "ace/Addr.h"
-
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
-/**
- * @class ACE_SOCK_Netlink
- *
- * @brief Defines the member functions for the ACE_SOCK Netlink
- * abstraction.
-
- * Netlink sockets are used in Linux as a communication facilty of kernel to user
- * and user to kernel.
- * This code was created so one could use ACE reactor
- * as a gateway to a linux kernel.
- *
- */
-class ACE_Export ACE_SOCK_Netlink : public ACE_SOCK {
-public:
- // = Initialization and termination methods.
- /// Default constructor.
- ACE_SOCK_Netlink(void);
- ~ACE_SOCK_Netlink(void);
- ACE_SOCK_Netlink (ACE_Netlink_Addr &local,
- int protocol_family,
- int protocol);
- /**
- * opens a RAW socket over an ACE_SOCK and binds it
- *
- **/
- int open (ACE_Netlink_Addr &local,
- int protocol_family,
- int protocol);
-
- /**
- * receives abuffer with the size n
- */
- ssize_t recv (void *buf,
- size_t n,
- int flags) const;
- /**
- * send a buffer of size n bytes
- *
- */
- ssize_t send (void *buf,
- size_t n,
- int flags) const;
-
- /**
- * Recieves an iovec of size @a n to the netlink socket
- */
- ssize_t recv (iovec iov[],
- int n,
- ACE_Addr &addr,
- int flags = 0) const;
-
- /**
- * Sends an iovec of size @a n to the netlink socket
- */
- ssize_t send (const iovec iov[],
- int n,
- const ACE_Addr &addr,
- int flags = 0) const;
-
- /// Declare the dynamic allocation hooks.
- ACE_ALLOC_HOOK_DECLARE;
-};
-
-ACE_END_VERSIONED_NAMESPACE_DECL
-
-#if defined (__ACE_INLINE__)
-#include "ace/SOCK_Netlink.inl"
-#endif /* __ACE_INLINE__ */
-
-#endif /* ACE_HAS_NETLINK */
-
-#include /**/ "ace/post.h"
-
-#endif /* ACE_SOCK_NETLINK_H */
-