A Discrete-Event Network Simulator
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
22namespace ns3
23{
24namespace iana
25{
27{
28constexpr uint16_t IPV4_DLL = 0x0021; //!< IPv4 PPP protocol number
29constexpr 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
constexpr uint16_t IPV4_DLL
IPv4 PPP protocol number.
constexpr uint16_t IPV6_DLL
IPv6 PPP protocol number.
Every class exported by the ns3 library is enclosed in the ns3 namespace.