OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [if_slip.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
 *      Swansea University Computer Society     NET3
 *      Swansea University Computer Society     NET3
 *
 *
 *      This file declares the constants of special use with the SLIP/CSLIP/
 *      This file declares the constants of special use with the SLIP/CSLIP/
 *      KISS TNC driver.
 *      KISS TNC driver.
 */
 */
 
 
#ifndef __LINUX_SLIP_H
#ifndef __LINUX_SLIP_H
#define __LINUX_SLIP_H
#define __LINUX_SLIP_H
 
 
#define         SL_MODE_SLIP            0
#define         SL_MODE_SLIP            0
#define         SL_MODE_CSLIP           1
#define         SL_MODE_CSLIP           1
#define         SL_MODE_KISS            4
#define         SL_MODE_KISS            4
 
 
#define         SL_OPT_SIXBIT           2
#define         SL_OPT_SIXBIT           2
#define         SL_OPT_ADAPTIVE         8
#define         SL_OPT_ADAPTIVE         8
 
 
/*
/*
 *      VSV = ioctl for keepalive & outfill in SLIP driver
 *      VSV = ioctl for keepalive & outfill in SLIP driver
 */
 */
 
 
#define SIOCSKEEPALIVE  (SIOCDEVPRIVATE)                /* Set keepalive timeout in sec */
#define SIOCSKEEPALIVE  (SIOCDEVPRIVATE)                /* Set keepalive timeout in sec */
#define SIOCGKEEPALIVE  (SIOCDEVPRIVATE+1)              /* Get keepalive timeout */
#define SIOCGKEEPALIVE  (SIOCDEVPRIVATE+1)              /* Get keepalive timeout */
#define SIOCSOUTFILL    (SIOCDEVPRIVATE+2)              /* Set outfill timeout */
#define SIOCSOUTFILL    (SIOCDEVPRIVATE+2)              /* Set outfill timeout */
#define SIOCGOUTFILL    (SIOCDEVPRIVATE+3)              /* Get outfill timeout */
#define SIOCGOUTFILL    (SIOCDEVPRIVATE+3)              /* Get outfill timeout */
 
 
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.