Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /* atmppp.h - RFC2364 PPPoATM */
0003 
0004 /* Written 2000 by Mitchell Blank Jr */
0005 
0006 #ifndef _LINUX_ATMPPP_H
0007 #define _LINUX_ATMPPP_H
0008 
0009 #include <linux/atm.h>
0010 
0011 #define PPPOATM_ENCAPS_AUTODETECT   (0)
0012 #define PPPOATM_ENCAPS_VC       (1)
0013 #define PPPOATM_ENCAPS_LLC      (2)
0014 
0015 /*
0016  * This is for the ATM_SETBACKEND call - these are like socket families:
0017  * the first element of the structure is the backend number and the rest
0018  * is per-backend specific
0019  */
0020 struct atm_backend_ppp {
0021     atm_backend_t   backend_num;    /* ATM_BACKEND_PPP */
0022     int     encaps;     /* PPPOATM_ENCAPS_* */
0023 };
0024 
0025 #endif  /* _LINUX_ATMPPP_H */