Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
32 lines
872 B
C
32 lines
872 B
C
/* 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
|