/* SPDX-License-Identifier: GPL-2.0 */ /* * slip.h Define the SLIP device driver interface and constants. * * NOTE: THIS FILE WILL BE MOVED TO THE LINUX INCLUDE DIRECTORY * AS SOON AS POSSIBLE! * * Version: @(#)slip.h 1.2.0 03/28/93 * * Fixes: * Alan Cox : Added slip mtu field. * Matt Dillon : Printable slip (borrowed from net2e) * Alan Cox : Added SL_SLIP_LOTS * Dmitry Gorodchanin : A lot of changes in the 'struct slip' * Dmitry Gorodchanin : Added CSLIP statistics. * Stanislav Voronyi : Make line checking as created by * Igor Chechik, RELCOM Corp. * Craig Schlenter : Fixed #define bug that caused * CSLIP telnets to hang in 1.3.61-6 * * Author: Fred N. van Kempen, <[email protected]> */ #ifndef _LINUX_SLIP_H #define _LINUX_SLIP_H #if defined(CONFIG_INET) && defined(CONFIG_SLIP_COMPRESSED) #define SL_INCLUDE_CSLIP #endif #ifdef SL_INCLUDE_CSLIP #define SL_MODE_DEFAULT … #else #define SL_MODE_DEFAULT … #endif /* SLIP configuration. */ #define SL_NRUNIT … #define SL_MTU … /* some arch define END as assembly function ending, just undef it */ #undef END /* SLIP protocol characters. */ #define END … #define ESC … #define ESC_END … #define ESC_ESC … struct slip { … }; #define SLIP_MAGIC … #endif /* _LINUX_SLIP.H */