A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv6-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 IPV6_RAW_SOCKET_FACTORY_IMPL_H
10#define IPV6_RAW_SOCKET_FACTORY_IMPL_H
11
13
14namespace ns3
15{
16
17/**
18 * \ingroup socket
19 * \ingroup ipv6
20 *
21 * \brief Implementation of IPv6 raw socket factory.
22 */
24{
25 public:
26 /**
27 * \brief Create a raw IPv6 socket.
28 * \returns A new RAW IPv6 socket.
29 */
30 Ptr<Socket> CreateSocket() override;
31};
32
33} /* namespace ns3 */
34
35#endif /* IPV6_RAW_SOCKET_FACTORY_IMPL_H */
API to create IPv6 RAW socket instances.
Implementation of IPv6 raw socket factory.
Ptr< Socket > CreateSocket() override
Create a raw IPv6 socket.
Smart pointer class similar to boost::intrusive_ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.