brintos

brintos / linux-shallow public Read only

0
0
Text · 872 B · 65937be Raw
32 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 *	Swansea University Computer Society	NET34 *	5 *	This file declares the constants of special use with the SLIP/CSLIP/6 *	KISS TNC driver.7 */8 9#ifndef __LINUX_SLIP_H10#define __LINUX_SLIP_H11 12#define		SL_MODE_SLIP		013#define		SL_MODE_CSLIP		114#define 	SL_MODE_KISS		415 16#define		SL_OPT_SIXBIT		217#define		SL_OPT_ADAPTIVE		818 19/*20 *	VSV = ioctl for keepalive & outfill in SLIP driver 21 */22 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 */29 30 31#endif32