Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | pppstat |
struct | vjstat |
struct | compstat |
struct | ppp_stats |
struct | ppp_comp_stats |
struct | ppp_idle |
Macros | |
#define | PPP_HDRLEN 4 /* octets for standard ppp header */ |
#define | PPP_FCSLEN 2 /* octets for FCS */ |
#define | PPP_MRU 1500 /* default MRU = max length of info field */ |
#define | PPP_ADDRESS(p) (((__u8 *)(p))[0]) |
#define | PPP_CONTROL(p) (((__u8 *)(p))[1]) |
#define | PPP_PROTOCOL(p) ((((__u8 *)(p))[2] << 8) + ((__u8 *)(p))[3]) |
#define | PPP_ALLSTATIONS 0xff /* All-Stations broadcast address */ |
#define | PPP_UI 0x03 /* Unnumbered Information */ |
#define | PPP_FLAG 0x7e /* Flag Sequence */ |
#define | PPP_ESCAPE 0x7d /* Asynchronous Control Escape */ |
#define | PPP_TRANS 0x20 /* Asynchronous transparency modifier */ |
#define | PPP_IP 0x21 /* Internet Protocol */ |
#define | PPP_AT 0x29 /* AppleTalk Protocol */ |
#define | PPP_IPX 0x2b /* IPX protocol */ |
#define | PPP_VJC_COMP 0x2d /* VJ compressed TCP */ |
#define | PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */ |
#define | PPP_MP 0x3d /* Multilink protocol */ |
#define | PPP_IPV6 0x57 /* Internet Protocol Version 6 */ |
#define | PPP_COMPFRAG 0xfb /* fragment compressed below bundle */ |
#define | PPP_COMP 0xfd /* compressed packet */ |
#define | PPP_MPLS_UC 0x0281 /* Multi Protocol Label Switching - Unicast */ |
#define | PPP_MPLS_MC 0x0283 /* Multi Protocol Label Switching - Multicast */ |
#define | PPP_IPCP 0x8021 /* IP Control Protocol */ |
#define | PPP_ATCP 0x8029 /* AppleTalk Control Protocol */ |
#define | PPP_IPXCP 0x802b /* IPX Control Protocol */ |
#define | PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ |
#define | PPP_CCPFRAG 0x80fb /* CCP at link level (below MP bundle) */ |
#define | PPP_CCP 0x80fd /* Compression Control Protocol */ |
#define | PPP_MPLSCP 0x80fd /* MPLS Control Protocol */ |
#define | PPP_LCP 0xc021 /* Link Control Protocol */ |
#define | PPP_PAP 0xc023 /* Password Authentication Protocol */ |
#define | PPP_LQR 0xc025 /* Link Quality Report protocol */ |
#define | PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */ |
#define | PPP_CBCP 0xc029 /* Callback Control Protocol */ |
#define | PPP_INITFCS 0xffff /* Initial FCS value */ |
#define | PPP_GOODFCS 0xf0b8 /* Good final FCS value */ |
Typedefs | |
typedef __u32 | ext_accm [8] |
Enumerations | |
enum | NPmode { NPMODE_PASS, NPMODE_DROP, NPMODE_ERROR, NPMODE_QUEUE } |
Definition at line 22 of file ppp_defs.h.
#define PPP_ALLSTATIONS 0xff /* All-Stations broadcast address */ |
Definition at line 29 of file ppp_defs.h.
#define PPP_AT 0x29 /* AppleTalk Protocol */ |
Definition at line 39 of file ppp_defs.h.
#define PPP_ATCP 0x8029 /* AppleTalk Control Protocol */ |
Definition at line 50 of file ppp_defs.h.
#define PPP_CBCP 0xc029 /* Callback Control Protocol */ |
Definition at line 60 of file ppp_defs.h.
#define PPP_CCP 0x80fd /* Compression Control Protocol */ |
Definition at line 54 of file ppp_defs.h.
#define PPP_CCPFRAG 0x80fb /* CCP at link level (below MP bundle) */ |
Definition at line 53 of file ppp_defs.h.
#define PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */ |
Definition at line 59 of file ppp_defs.h.
#define PPP_COMP 0xfd /* compressed packet */ |
Definition at line 46 of file ppp_defs.h.
#define PPP_COMPFRAG 0xfb /* fragment compressed below bundle */ |
Definition at line 45 of file ppp_defs.h.
Definition at line 23 of file ppp_defs.h.
#define PPP_ESCAPE 0x7d /* Asynchronous Control Escape */ |
Definition at line 32 of file ppp_defs.h.
Definition at line 19 of file ppp_defs.h.
#define PPP_FLAG 0x7e /* Flag Sequence */ |
Definition at line 31 of file ppp_defs.h.
#define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ |
Definition at line 67 of file ppp_defs.h.
Definition at line 18 of file ppp_defs.h.
#define PPP_INITFCS 0xffff /* Initial FCS value */ |
Definition at line 66 of file ppp_defs.h.
#define PPP_IP 0x21 /* Internet Protocol */ |
Definition at line 38 of file ppp_defs.h.
#define PPP_IPCP 0x8021 /* IP Control Protocol */ |
Definition at line 49 of file ppp_defs.h.
#define PPP_IPV6 0x57 /* Internet Protocol Version 6 */ |
Definition at line 44 of file ppp_defs.h.
#define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ |
Definition at line 52 of file ppp_defs.h.
#define PPP_IPX 0x2b /* IPX protocol */ |
Definition at line 40 of file ppp_defs.h.
#define PPP_IPXCP 0x802b /* IPX Control Protocol */ |
Definition at line 51 of file ppp_defs.h.
#define PPP_LCP 0xc021 /* Link Control Protocol */ |
Definition at line 56 of file ppp_defs.h.
#define PPP_LQR 0xc025 /* Link Quality Report protocol */ |
Definition at line 58 of file ppp_defs.h.
#define PPP_MP 0x3d /* Multilink protocol */ |
Definition at line 43 of file ppp_defs.h.
#define PPP_MPLS_MC 0x0283 /* Multi Protocol Label Switching - Multicast */ |
Definition at line 48 of file ppp_defs.h.
#define PPP_MPLS_UC 0x0281 /* Multi Protocol Label Switching - Unicast */ |
Definition at line 47 of file ppp_defs.h.
#define PPP_MPLSCP 0x80fd /* MPLS Control Protocol */ |
Definition at line 55 of file ppp_defs.h.
Definition at line 20 of file ppp_defs.h.
#define PPP_PAP 0xc023 /* Password Authentication Protocol */ |
Definition at line 57 of file ppp_defs.h.
Definition at line 24 of file ppp_defs.h.
#define PPP_TRANS 0x20 /* Asynchronous transparency modifier */ |
Definition at line 33 of file ppp_defs.h.
#define PPP_UI 0x03 /* Unnumbered Information */ |
Definition at line 30 of file ppp_defs.h.
#define PPP_VJC_COMP 0x2d /* VJ compressed TCP */ |
Definition at line 41 of file ppp_defs.h.
#define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */ |
Definition at line 42 of file ppp_defs.h.
typedef __u32 ext_accm[8] |
Definition at line 74 of file ppp_defs.h.
enum NPmode |
Definition at line 79 of file ppp_defs.h.