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