logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

if_slip.h (872B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Swansea University Computer Society NET3
  4. *
  5. * This file declares the constants of special use with the SLIP/CSLIP/
  6. * KISS TNC driver.
  7. */
  8. #ifndef __LINUX_SLIP_H
  9. #define __LINUX_SLIP_H
  10. #define SL_MODE_SLIP 0
  11. #define SL_MODE_CSLIP 1
  12. #define SL_MODE_KISS 4
  13. #define SL_OPT_SIXBIT 2
  14. #define SL_OPT_ADAPTIVE 8
  15. /*
  16. * VSV = ioctl for keepalive & outfill in SLIP driver
  17. */
  18. #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */
  19. #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */
  20. #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */
  21. #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
  22. #define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */
  23. #define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */
  24. #endif