MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/include/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/linux/rocket.h
/*
 * This file contains the exported interface of the rocket driver to
 * its configuration program.
 */

struct rocket_config {
	int	line;
	int	flags;
	int	closing_wait;
	int	close_delay;
	int	port;
	int	reserved[32];
};

struct rocket_ports {
	int	tty_major;
	int	callout_major;
	int	port_bitmap[4];
	int	reserved[32];
};

/*
 * Rocketport flags
 */
#define ROCKET_CALLOUT_NOHUP    0x00000001
#define ROCKET_FORCE_CD		0x00000002
#define ROCKET_HUP_NOTIFY	0x00000004
#define ROCKET_SPLIT_TERMIOS	0x00000008
#define ROCKET_SPD_MASK		0x00000070
#define ROCKET_SPD_HI		0x00000010 /* Use 56000 instead of 38400 bps */
#define ROCKET_SPD_VHI		0x00000020 /* Use 115200 instead of 38400 bps*/
#define ROCKET_SPD_SHI		0x00000030 /* Use 230400 instead of 38400 bps*/
#define ROCKET_SPD_WARP	        0x00000040 /* Use 460800 instead of 38400 bps*/
#define ROCKET_SAK		0x00000080
#define ROCKET_SESSION_LOCKOUT	0x00000100
#define ROCKET_PGRP_LOCKOUT	0x00000200
	
#define ROCKET_FLAGS		0x000003FF

#define ROCKET_USR_MASK 0x0071	/* Legal flags that non-privileged
				 * users can set or reset */

/*
 * For closing_wait and closing_wait2
 */
#define ROCKET_CLOSING_WAIT_NONE	65535
#define ROCKET_CLOSING_WAIT_INF		0

/*
 * Rocketport ioctls -- "RP"
 */
#define RCKP_GET_STRUCT		0x00525001
#define RCKP_GET_CONFIG		0x00525002
#define RCKP_SET_CONFIG		0x00525003
#define RCKP_GET_PORTS		0x00525004

Anon7 - 2021