1*53ee8cc1Swenshuai.xi /* atmppp.h - RFC2364 PPPoATM */ 2*53ee8cc1Swenshuai.xi 3*53ee8cc1Swenshuai.xi /* Written 2000 by Mitchell Blank Jr */ 4*53ee8cc1Swenshuai.xi 5*53ee8cc1Swenshuai.xi #ifndef _LINUX_ATMPPP_H 6*53ee8cc1Swenshuai.xi #define _LINUX_ATMPPP_H 7*53ee8cc1Swenshuai.xi 8*53ee8cc1Swenshuai.xi #include <linux/atm.h> 9*53ee8cc1Swenshuai.xi 10*53ee8cc1Swenshuai.xi #define PPPOATM_ENCAPS_AUTODETECT (0) 11*53ee8cc1Swenshuai.xi #define PPPOATM_ENCAPS_VC (1) 12*53ee8cc1Swenshuai.xi #define PPPOATM_ENCAPS_LLC (2) 13*53ee8cc1Swenshuai.xi 14*53ee8cc1Swenshuai.xi /* 15*53ee8cc1Swenshuai.xi * This is for the ATM_SETBACKEND call - these are like socket families: 16*53ee8cc1Swenshuai.xi * the first element of the structure is the backend number and the rest 17*53ee8cc1Swenshuai.xi * is per-backend specific 18*53ee8cc1Swenshuai.xi */ 19*53ee8cc1Swenshuai.xi struct atm_backend_ppp { 20*53ee8cc1Swenshuai.xi atm_backend_t backend_num; /* ATM_BACKEND_PPP */ 21*53ee8cc1Swenshuai.xi int encaps; /* PPPOATM_ENCAPS_* */ 22*53ee8cc1Swenshuai.xi }; 23*53ee8cc1Swenshuai.xi 24*53ee8cc1Swenshuai.xi #endif /* _LINUX_ATMPPP_H */ 25