kernel
This commit is contained in:
parent
b59f84ee36
commit
cfab1d3ce7
83468 changed files with 37938688 additions and 0 deletions
linux-6.8.1/include/uapi/linux
31
linux-6.8.1/include/uapi/linux/if_slip.h
Normal file
31
linux-6.8.1/include/uapi/linux/if_slip.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
/*
|
||||
* 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
|
Loading…
Add table
Add a link
Reference in a new issue