A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv6-raw-socket-factory-impl.cc
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
10
11#include "ipv6-l3-protocol.h"
12
13#include "ns3/socket.h"
14
15namespace ns3
16{
17
18Ptr<Socket>
20{
22 Ptr<Socket> socket = ipv6->CreateRawSocket();
23 return socket;
24}
25
26} /* namespace ns3 */
Ptr< Socket > CreateSocket() override
Create a raw IPv6 socket.
Ptr< T > GetObject() const
Get a pointer to the requested aggregated Object.
Definition object.h:511
Smart pointer class similar to boost::intrusive_ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.