![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 /* 0003 * Swansea University Computer Society NET3 0004 * 0005 * This file declares the constants of special use with the SLIP/CSLIP/ 0006 * KISS TNC driver. 0007 */ 0008 0009 #ifndef __LINUX_SLIP_H 0010 #define __LINUX_SLIP_H 0011 0012 #define SL_MODE_SLIP 0 0013 #define SL_MODE_CSLIP 1 0014 #define SL_MODE_KISS 4 0015 0016 #define SL_OPT_SIXBIT 2 0017 #define SL_OPT_ADAPTIVE 8 0018 0019 /* 0020 * VSV = ioctl for keepalive & outfill in SLIP driver 0021 */ 0022 0023 #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */ 0024 #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */ 0025 #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */ 0026 #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */ 0027 #define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */ 0028 #define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */ 0029 0030 0031 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |