1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 2 /* atmppp.h - RFC2364 PPPoATM */ 1 /* atmppp.h - RFC2364 PPPoATM */ 3 2 4 /* Written 2000 by Mitchell Blank Jr */ 3 /* Written 2000 by Mitchell Blank Jr */ 5 4 6 #ifndef _LINUX_ATMPPP_H 5 #ifndef _LINUX_ATMPPP_H 7 #define _LINUX_ATMPPP_H 6 #define _LINUX_ATMPPP_H 8 7 9 #include <linux/atm.h> 8 #include <linux/atm.h> 10 9 11 #define PPPOATM_ENCAPS_AUTODETECT (0) 10 #define PPPOATM_ENCAPS_AUTODETECT (0) 12 #define PPPOATM_ENCAPS_VC (1) 11 #define PPPOATM_ENCAPS_VC (1) 13 #define PPPOATM_ENCAPS_LLC (2) 12 #define PPPOATM_ENCAPS_LLC (2) 14 13 15 /* 14 /* 16 * This is for the ATM_SETBACKEND call - these 15 * This is for the ATM_SETBACKEND call - these are like socket families: 17 * the first element of the structure is the b 16 * the first element of the structure is the backend number and the rest 18 * is per-backend specific 17 * is per-backend specific 19 */ 18 */ 20 struct atm_backend_ppp { 19 struct atm_backend_ppp { 21 atm_backend_t backend_num; /* ATM 20 atm_backend_t backend_num; /* ATM_BACKEND_PPP */ 22 int encaps; /* PPP 21 int encaps; /* PPPOATM_ENCAPS_* */ 23 }; 22 }; 24 23 25 #endif /* _LINUX_ATMPPP_H */ 24 #endif /* _LINUX_ATMPPP_H */ 26 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.