N_hdlc Struct Reference - Linux Kernel - Huihoo

Linux Kernel  3.7.1
  • Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • Data Structures
  • Data Structure Index
  • Class Hierarchy
  • Data Fields
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages Data Fields n_hdlc Struct Reference

Data Fields

int magic
 
__u32 flags
 
struct tty_struct * tty
 
struct tty_struct * backup_tty
 
int tbusy
 
int woke_up
 
struct n_hdlc_buf * tbuf
 
struct n_hdlc_buf_list tx_buf_list
 
struct n_hdlc_buf_list rx_buf_list
 
struct n_hdlc_buf_list tx_free_buf_list
 
struct n_hdlc_buf_list rx_free_buf_list
 

Detailed Description

struct n_hdlc - per device instance data structure - magic value for structure - miscellaneous control flags - ptr to TTY structure - TTY to use if tty gets closed - reentrancy flag for tx wakeup code - FIXME: describe this field - currently transmitting tx buffer - list of pending transmit frame buffers - list of received frame buffers - list unused transmit frame buffers - list unused received frame buffers

Definition at line 145 of file n_hdlc.c.

Field Documentation

struct tty_struct* backup_tty

Definition at line 149 of file n_hdlc.c.

__u32 flags

Definition at line 147 of file n_hdlc.c.

int magic

Definition at line 146 of file n_hdlc.c.

struct n_hdlc_buf_list rx_buf_list

Definition at line 154 of file n_hdlc.c.

struct n_hdlc_buf_list rx_free_buf_list

Definition at line 156 of file n_hdlc.c.

struct n_hdlc_buf* tbuf

Definition at line 152 of file n_hdlc.c.

int tbusy

Definition at line 150 of file n_hdlc.c.

struct tty_struct* tty

Definition at line 148 of file n_hdlc.c.

struct n_hdlc_buf_list tx_buf_list

Definition at line 153 of file n_hdlc.c.

struct n_hdlc_buf_list tx_free_buf_list

Definition at line 155 of file n_hdlc.c.

int woke_up

Definition at line 151 of file n_hdlc.c.

The documentation for this struct was generated from the following file:
  • drivers/tty/n_hdlc.c
Generated on Thu Jan 10 2013 16:15:14 for Linux Kernel by   doxygen 1.8.2

Từ khóa » N_hdlc.c