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