model/ns3-socket-fd-factory.h
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 05 May 2011 09:28:21 +0200
changeset 66 2fe1f3e576c9
parent 0 0a55bed4c895
permissions -rw-r--r--
make it somewhat build sanely
mathieu@0
     1
#ifndef NS3_SOCKET_FD_FACTORY_H
mathieu@0
     2
#define NS3_SOCKET_FD_FACTORY_H
mathieu@0
     3
mathieu@0
     4
#include "socket-fd-factory.h"
mathieu@0
     5
mathieu@0
     6
namespace ns3 {
mathieu@0
     7
mathieu@66
     8
class SocketFactory;
mathieu@0
     9
mathieu@0
    10
class Ns3SocketFdFactory : public SocketFdFactory
mathieu@0
    11
{
mathieu@0
    12
public:
mathieu@0
    13
  static TypeId GetTypeId (void);
mathieu@0
    14
  Ns3SocketFdFactory ();
mathieu@0
    15
  virtual UnixFd *CreateSocket (int domain, int type, int protocol);
mathieu@0
    16
 private:
mathieu@66
    17
  Ptr<SocketFactory> m_netlink;
mathieu@0
    18
};
mathieu@0
    19
mathieu@0
    20
} // namespace ns3
mathieu@0
    21
mathieu@0
    22
#endif /* NS3_SOCKET_FD_FACTORY_H */