Go to the documentation of this file.
10 #include <linux/types.h>
12 #ifndef _UAPI_PPP_DEFS_H_
13 #define _UAPI_PPP_DEFS_H_
22 #define PPP_ADDRESS(p) (((__u8 *)(p))[0])
23 #define PPP_CONTROL(p) (((__u8 *)(p))[1])
24 #define PPP_PROTOCOL(p) ((((__u8 *)(p))[2] << 8) + ((__u8 *)(p))[3])
29 #define PPP_ALLSTATIONS 0xff
32 #define PPP_ESCAPE 0x7d
33 #define PPP_TRANS 0x20
41 #define PPP_VJC_COMP 0x2d
42 #define PPP_VJC_UNCOMP 0x2f
45 #define PPP_COMPFRAG 0xfb
47 #define PPP_MPLS_UC 0x0281
48 #define PPP_MPLS_MC 0x0283
49 #define PPP_IPCP 0x8021
50 #define PPP_ATCP 0x8029
51 #define PPP_IPXCP 0x802b
52 #define PPP_IPV6CP 0x8057
53 #define PPP_CCPFRAG 0x80fb
54 #define PPP_CCP 0x80fd
55 #define PPP_MPLSCP 0x80fd
56 #define PPP_LCP 0xc021
57 #define PPP_PAP 0xc023
58 #define PPP_LQR 0xc025
59 #define PPP_CHAP 0xc223
60 #define PPP_CBCP 0xc029
66 #define PPP_INITFCS 0xffff
67 #define PPP_GOODFCS 0xf0b8