mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
30 lines
809 B
C
30 lines
809 B
C
/*
|
|
* Swansea University Computer Society NET3
|
|
*
|
|
* This file declares the constants of special use with the SLIP/CSLIP/
|
|
* KISS TNC driver.
|
|
*/
|
|
|
|
#ifndef __LINUX_SLIP_H
|
|
#define __LINUX_SLIP_H
|
|
|
|
#define SL_MODE_SLIP 0
|
|
#define SL_MODE_CSLIP 1
|
|
#define SL_MODE_KISS 4
|
|
|
|
#define SL_OPT_SIXBIT 2
|
|
#define SL_OPT_ADAPTIVE 8
|
|
|
|
/*
|
|
* VSV = ioctl for keepalive & outfill in SLIP driver
|
|
*/
|
|
|
|
#define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */
|
|
#define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */
|
|
#define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */
|
|
#define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
|
|
#define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */
|
|
#define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */
|
|
|
|
|
|
#endif
|