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