A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
ipv6-routing-protocol.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2009 University of Washington
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*/
6
7
/* taken from src/node/ipv4-routing-protocol.cc and adapted to IPv6 */
8
9
#include "
ipv6-routing-protocol.h
"
10
11
#include "ns3/assert.h"
12
13
namespace
ns3
14
{
15
16
NS_OBJECT_ENSURE_REGISTERED
(Ipv6RoutingProtocol);
17
18
TypeId
19
Ipv6RoutingProtocol::GetTypeId
()
20
{
21
static
TypeId
tid =
22
TypeId
(
"ns3::Ipv6RoutingProtocol"
).
SetParent
<
Object
>().SetGroupName(
"Internet"
);
23
return
tid;
24
}
25
26
}
/* namespace ns3 */
ns3::Ipv6RoutingProtocol::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
ipv6-routing-protocol.cc:19
ns3::Object
A base class which provides memory management and object aggregation.
Definition
object.h:78
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition
type-id.cc:1001
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition
object-base.h:35
ipv6-routing-protocol.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
internet
model
ipv6-routing-protocol.cc
Generated on Fri Nov 8 2024 13:59:01 for ns-3 by
1.11.0