atmppp.h 639 B

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