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