/* * Copyright (C) 2016 José Ignacio Alamos * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for * more details. */ /** * @defgroup net_ppp Point-to-Point Protocol (PPP) Data Link Layer * @ingroup net * @brief PPP types * @note Last Updated: 2016-02-04 * @{ * * @file * @brief PPP type definitions * * @author José Ignacio Alamos * @see * IANA, PPP NUMBERS * */ #ifndef NET_PPPTYPE_H #define NET_PPPTYPE_H #ifdef __cplusplus extern "C" { #endif #define PPPTYPE_IPV6 (0x0057) /**< IPv6 packet in PPP*/ #define PPPTYPE_IPV4 (0x0021) /**< IPv4 packet in PPP */ #define PPPTYPE_NCP_IPV6 (0x8057) /**< NCP packet for IPV6*/ #define PPPTYPE_NCP_IPV4 (0x8021) /**< NCP packet for IPv4*/ #define PPPTYPE_LCP (0xC021) /**< LCP packet */ #define PPPTYPE_PAP (0xC023) /**< PAP packet */ #define PPPTYPE_UNKNOWN (0x8001) /**