A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv4-raw-socket-factory-impl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 INRIA
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7 */
8
9#ifndef IPV4_RAW_SOCKET_FACTORY_IMPL_H
10#define IPV4_RAW_SOCKET_FACTORY_IMPL_H
11
13
14namespace ns3
15{
16
17/**
18 * \ingroup socket
19 * \ingroup ipv4
20 *
21 * \brief Implementation of IPv4 raw socket factory.
22 */
24{
25 public:
26 Ptr<Socket> CreateSocket() override;
27};
28
29} // namespace ns3
30
31#endif /* IPV4_RAW_SOCKET_FACTORY_IMPL_H */
API to create RAW socket instances.
Implementation of IPv4 raw socket factory.
Smart pointer class similar to boost::intrusive_ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.