Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sbew_ioc.h File Reference
#include <linux/ioctl.h>

Go to the source code of this file.

Macros

#define SBE_LOCKFILE   "/tmp/.sbewan.LCK"
 
#define SBE_IOC_COOKIE   0x19780926
 
#define SBE_IOC_MAGIC   ('s')
 
#define SBE_IOC_LOGLEVEL   _IOW(SBE_IOC_MAGIC, 0x00, int)
 
#define SBE_IOC_CHAN_NEW   _IOW(SBE_IOC_MAGIC, 0x01,int) /* unused */
 
#define SBE_IOC_CHAN_UP   _IOW(SBE_IOC_MAGIC, 0x02,int) /* unused */
 
#define SBE_IOC_CHAN_DOWN   _IOW(SBE_IOC_MAGIC, 0x03,int) /* unused */
 
#define SBE_IOC_CHAN_GET   _IOWR(SBE_IOC_MAGIC,0x04, struct sbecom_chan_param)
 
#define SBE_IOC_CHAN_SET   _IOW(SBE_IOC_MAGIC, 0x05, struct sbecom_chan_param)
 
#define SBE_IOC_CHAN_GET_STAT   _IOWR(SBE_IOC_MAGIC,0x06, struct sbecom_chan_stats)
 
#define SBE_IOC_CHAN_DEL_STAT   _IOW(SBE_IOC_MAGIC, 0x07, int)
 
#define SBE_IOC_PORTS_ENABLE   _IOW(SBE_IOC_MAGIC, 0x0A, int)
 
#define SBE_IOC_PORT_GET   _IOWR(SBE_IOC_MAGIC,0x0C, struct sbecom_port_param)
 
#define SBE_IOC_PORT_SET   _IOW(SBE_IOC_MAGIC, 0x0D, struct sbecom_port_param)
 
#define SBE_IOC_READ_VEC   _IOWR(SBE_IOC_MAGIC,0x10, struct sbecom_wrt_vec)
 
#define SBE_IOC_WRITE_VEC   _IOWR(SBE_IOC_MAGIC,0x11, struct sbecom_wrt_vec)
 
#define SBE_IOC_GET_SN   _IOR(SBE_IOC_MAGIC, 0x12, u_int32_t)
 
#define SBE_IOC_RESET_DEV   _IOW(SBE_IOC_MAGIC, 0x13, int)
 
#define SBE_IOC_FRAMER_GET   _IOWR(SBE_IOC_MAGIC,0x14, struct sbecom_framer_param)
 
#define SBE_IOC_FRAMER_SET   _IOW(SBE_IOC_MAGIC, 0x15, struct sbecom_framer_param)
 
#define SBE_IOC_CARD_GET   _IOR(SBE_IOC_MAGIC, 0x20, struct sbecom_card_param)
 
#define SBE_IOC_CARD_SET   _IOW(SBE_IOC_MAGIC, 0x21, struct sbecom_card_param)
 
#define SBE_IOC_CARD_GET_STAT   _IOR(SBE_IOC_MAGIC, 0x22, struct temux_card_stats)
 
#define SBE_IOC_CARD_DEL_STAT   _IO(SBE_IOC_MAGIC, 0x23)
 
#define SBE_IOC_CARD_CHAN_STAT   _IOR(SBE_IOC_MAGIC, 0x24, struct sbecom_chan_stats)
 
#define SBE_IOC_CARD_BLINK   _IOW(SBE_IOC_MAGIC, 0x30, int)
 
#define SBE_IOC_DRVINFO_GET   _IOWR(SBE_IOC_MAGIC,0x31, struct sbe_drv_info)
 
#define SBE_IOC_BRDINFO_GET   _IOR(SBE_IOC_MAGIC, 0x32, struct sbe_brd_info)
 
#define SBE_IOC_IID_GET   _IOWR(SBE_IOC_MAGIC,0x33, struct sbe_iid_info)
 
#define SBE_IOC_BRDADDR_GET   _IOWR(SBE_IOC_MAGIC, 0x34, struct sbe_brd_addr)
 
#define SBE_IOC_MAXVEC   1
 

Macro Definition Documentation

#define SBE_IOC_BRDADDR_GET   _IOWR(SBE_IOC_MAGIC, 0x34, struct sbe_brd_addr)

Definition at line 67 of file sbew_ioc.h.

#define SBE_IOC_BRDINFO_GET   _IOR(SBE_IOC_MAGIC, 0x32, struct sbe_brd_info)

Definition at line 65 of file sbew_ioc.h.

#define SBE_IOC_CARD_BLINK   _IOW(SBE_IOC_MAGIC, 0x30, int)

Definition at line 63 of file sbew_ioc.h.

#define SBE_IOC_CARD_CHAN_STAT   _IOR(SBE_IOC_MAGIC, 0x24, struct sbecom_chan_stats)

Definition at line 62 of file sbew_ioc.h.

#define SBE_IOC_CARD_DEL_STAT   _IO(SBE_IOC_MAGIC, 0x23)

Definition at line 61 of file sbew_ioc.h.

#define SBE_IOC_CARD_GET   _IOR(SBE_IOC_MAGIC, 0x20, struct sbecom_card_param)

Definition at line 58 of file sbew_ioc.h.

#define SBE_IOC_CARD_GET_STAT   _IOR(SBE_IOC_MAGIC, 0x22, struct temux_card_stats)

Definition at line 60 of file sbew_ioc.h.

#define SBE_IOC_CARD_SET   _IOW(SBE_IOC_MAGIC, 0x21, struct sbecom_card_param)

Definition at line 59 of file sbew_ioc.h.

#define SBE_IOC_CHAN_DEL_STAT   _IOW(SBE_IOC_MAGIC, 0x07, int)

Definition at line 48 of file sbew_ioc.h.

#define SBE_IOC_CHAN_DOWN   _IOW(SBE_IOC_MAGIC, 0x03,int) /* unused */

Definition at line 44 of file sbew_ioc.h.

#define SBE_IOC_CHAN_GET   _IOWR(SBE_IOC_MAGIC,0x04, struct sbecom_chan_param)

Definition at line 45 of file sbew_ioc.h.

#define SBE_IOC_CHAN_GET_STAT   _IOWR(SBE_IOC_MAGIC,0x06, struct sbecom_chan_stats)

Definition at line 47 of file sbew_ioc.h.

#define SBE_IOC_CHAN_NEW   _IOW(SBE_IOC_MAGIC, 0x01,int) /* unused */

Definition at line 42 of file sbew_ioc.h.

#define SBE_IOC_CHAN_SET   _IOW(SBE_IOC_MAGIC, 0x05, struct sbecom_chan_param)

Definition at line 46 of file sbew_ioc.h.

#define SBE_IOC_CHAN_UP   _IOW(SBE_IOC_MAGIC, 0x02,int) /* unused */

Definition at line 43 of file sbew_ioc.h.

#define SBE_IOC_COOKIE   0x19780926

Definition at line 29 of file sbew_ioc.h.

#define SBE_IOC_DRVINFO_GET   _IOWR(SBE_IOC_MAGIC,0x31, struct sbe_drv_info)

Definition at line 64 of file sbew_ioc.h.

#define SBE_IOC_FRAMER_GET   _IOWR(SBE_IOC_MAGIC,0x14, struct sbecom_framer_param)

Definition at line 56 of file sbew_ioc.h.

#define SBE_IOC_FRAMER_SET   _IOW(SBE_IOC_MAGIC, 0x15, struct sbecom_framer_param)

Definition at line 57 of file sbew_ioc.h.

#define SBE_IOC_GET_SN   _IOR(SBE_IOC_MAGIC, 0x12, u_int32_t)

Definition at line 54 of file sbew_ioc.h.

#define SBE_IOC_IID_GET   _IOWR(SBE_IOC_MAGIC,0x33, struct sbe_iid_info)

Definition at line 66 of file sbew_ioc.h.

#define SBE_IOC_LOGLEVEL   _IOW(SBE_IOC_MAGIC, 0x00, int)

Definition at line 41 of file sbew_ioc.h.

#define SBE_IOC_MAGIC   ('s')

Definition at line 30 of file sbew_ioc.h.

#define SBE_IOC_MAXVEC   1

Definition at line 79 of file sbew_ioc.h.

#define SBE_IOC_PORT_GET   _IOWR(SBE_IOC_MAGIC,0x0C, struct sbecom_port_param)

Definition at line 50 of file sbew_ioc.h.

#define SBE_IOC_PORT_SET   _IOW(SBE_IOC_MAGIC, 0x0D, struct sbecom_port_param)

Definition at line 51 of file sbew_ioc.h.

#define SBE_IOC_PORTS_ENABLE   _IOW(SBE_IOC_MAGIC, 0x0A, int)

Definition at line 49 of file sbew_ioc.h.

#define SBE_IOC_READ_VEC   _IOWR(SBE_IOC_MAGIC,0x10, struct sbecom_wrt_vec)

Definition at line 52 of file sbew_ioc.h.

#define SBE_IOC_RESET_DEV   _IOW(SBE_IOC_MAGIC, 0x13, int)

Definition at line 55 of file sbew_ioc.h.

#define SBE_IOC_WRITE_VEC   _IOWR(SBE_IOC_MAGIC,0x11, struct sbecom_wrt_vec)

Definition at line 53 of file sbew_ioc.h.

#define SBE_LOCKFILE   "/tmp/.sbewan.LCK"

Definition at line 27 of file sbew_ioc.h.