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
iana-ppp-numbers.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Tokushima University, Japan
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Authors: Samar Sodhi <smrsodhi@gmail.com>
7
* Alberto Gallegos Ramonet <alramonet@is.tokushima-u.ac.jp>
8
*/
9
10
/*
11
*
12
* Centralized definitions for PPP protocol numbers.
13
* This enumeration contains the PPP protocol numbers as defined by IANA.
14
* - Reference: https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xhtml
15
*/
16
17
#ifndef IANA_PPP_NUMBERS_H
18
#define IANA_PPP_NUMBERS_H
19
20
#include <cstdint>
21
22
namespace
ns3
23
{
24
namespace
iana
25
{
26
namespace
pppdllnumbers
27
{
28
constexpr
uint16_t
IPV4_DLL
= 0x0021;
//!< IPv4 PPP protocol number
29
constexpr
uint16_t
IPV6_DLL
= 0x0057;
//!< IPv6 PPP protocol number
30
}
// namespace pppdllnumbers
31
}
// namespace iana
32
}
// namespace ns3
33
34
#endif
// IANA_PPP_NUMBERS_H
ns3::iana::pppdllnumbers
Definition
iana-ppp-numbers.h:27
ns3::iana::pppdllnumbers::IPV4_DLL
constexpr uint16_t IPV4_DLL
IPv4 PPP protocol number.
Definition
iana-ppp-numbers.h:28
ns3::iana::pppdllnumbers::IPV6_DLL
constexpr uint16_t IPV6_DLL
IPv6 PPP protocol number.
Definition
iana-ppp-numbers.h:29
ns3::iana
Definition
iana-ieee802-numbers.h:29
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
network
utils
iana-ppp-numbers.h
Generated on
for ns-3 by
1.16.1