1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2607ca46eSDavid Howells /* atmppp.h - RFC2364 PPPoATM */ 3607ca46eSDavid Howells 4607ca46eSDavid Howells /* Written 2000 by Mitchell Blank Jr */ 5607ca46eSDavid Howells 6607ca46eSDavid Howells #ifndef _LINUX_ATMPPP_H 7607ca46eSDavid Howells #define _LINUX_ATMPPP_H 8607ca46eSDavid Howells 9607ca46eSDavid Howells #include <linux/atm.h> 10607ca46eSDavid Howells 11607ca46eSDavid Howells #define PPPOATM_ENCAPS_AUTODETECT (0) 12607ca46eSDavid Howells #define PPPOATM_ENCAPS_VC (1) 13607ca46eSDavid Howells #define PPPOATM_ENCAPS_LLC (2) 14607ca46eSDavid Howells 15607ca46eSDavid Howells /* 16607ca46eSDavid Howells * This is for the ATM_SETBACKEND call - these are like socket families: 17607ca46eSDavid Howells * the first element of the structure is the backend number and the rest 18607ca46eSDavid Howells * is per-backend specific 19607ca46eSDavid Howells */ 20607ca46eSDavid Howells struct atm_backend_ppp { 21607ca46eSDavid Howells atm_backend_t backend_num; /* ATM_BACKEND_PPP */ 22607ca46eSDavid Howells int encaps; /* PPPOATM_ENCAPS_* */ 23607ca46eSDavid Howells }; 24607ca46eSDavid Howells 25607ca46eSDavid Howells #endif /* _LINUX_ATMPPP_H */ 26