Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
ircomm_tty_attach.h File Reference
#include <net/irda/ircomm_tty.h>

Go to the source code of this file.

Data Structures

struct  ircomm_tty_info
 

Enumerations

enum  IRCOMM_TTY_STATE {
  IRCOMM_TTY_IDLE, IRCOMM_TTY_SEARCH, IRCOMM_TTY_QUERY_PARAMETERS, IRCOMM_TTY_QUERY_LSAP_SEL,
  IRCOMM_TTY_SETUP, IRCOMM_TTY_READY
}
 
enum  IRCOMM_TTY_EVENT {
  IRCOMM_TTY_ATTACH_CABLE, IRCOMM_TTY_DETACH_CABLE, IRCOMM_TTY_DATA_REQUEST, IRCOMM_TTY_DATA_INDICATION,
  IRCOMM_TTY_DISCOVERY_REQUEST, IRCOMM_TTY_DISCOVERY_INDICATION, IRCOMM_TTY_CONNECT_CONFIRM, IRCOMM_TTY_CONNECT_INDICATION,
  IRCOMM_TTY_DISCONNECT_REQUEST, IRCOMM_TTY_DISCONNECT_INDICATION, IRCOMM_TTY_WD_TIMER_EXPIRED, IRCOMM_TTY_GOT_PARAMETERS,
  IRCOMM_TTY_GOT_LSAPSEL
}
 

Functions

int ircomm_tty_do_event (struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info)
 
int ircomm_tty_attach_cable (struct ircomm_tty_cb *self)
 
void ircomm_tty_detach_cable (struct ircomm_tty_cb *self)
 
void ircomm_tty_connect_confirm (void *instance, void *sap, struct qos_info *qos, __u32 max_sdu_size, __u8 max_header_size, struct sk_buff *skb)
 
void ircomm_tty_disconnect_indication (void *instance, void *sap, LM_REASON reason, struct sk_buff *skb)
 
void ircomm_tty_connect_indication (void *instance, void *sap, struct qos_info *qos, __u32 max_sdu_size, __u8 max_header_size, struct sk_buff *skb)
 
int ircomm_tty_send_initial_parameters (struct ircomm_tty_cb *self)
 
void ircomm_tty_link_established (struct ircomm_tty_cb *self)
 

Variables

const char *const ircomm_state []
 
const char *const ircomm_tty_state []
 

Enumeration Type Documentation

Enumerator:
IRCOMM_TTY_ATTACH_CABLE 
IRCOMM_TTY_DETACH_CABLE 
IRCOMM_TTY_DATA_REQUEST 
IRCOMM_TTY_DATA_INDICATION 
IRCOMM_TTY_DISCOVERY_REQUEST 
IRCOMM_TTY_DISCOVERY_INDICATION 
IRCOMM_TTY_CONNECT_CONFIRM 
IRCOMM_TTY_CONNECT_INDICATION 
IRCOMM_TTY_DISCONNECT_REQUEST 
IRCOMM_TTY_DISCONNECT_INDICATION 
IRCOMM_TTY_WD_TIMER_EXPIRED 
IRCOMM_TTY_GOT_PARAMETERS 
IRCOMM_TTY_GOT_LSAPSEL 

Definition at line 46 of file ircomm_tty_attach.h.

Enumerator:
IRCOMM_TTY_IDLE 
IRCOMM_TTY_SEARCH 
IRCOMM_TTY_QUERY_PARAMETERS 
IRCOMM_TTY_QUERY_LSAP_SEL 
IRCOMM_TTY_SETUP 
IRCOMM_TTY_READY 

Definition at line 36 of file ircomm_tty_attach.h.

Function Documentation

int ircomm_tty_attach_cable ( struct ircomm_tty_cb self)

Definition at line 131 of file ircomm_tty_attach.c.

void ircomm_tty_connect_confirm ( void instance,
void sap,
struct qos_info qos,
__u32  max_sdu_size,
__u8  max_header_size,
struct sk_buff skb 
)

Definition at line 494 of file ircomm_tty_attach.c.

void ircomm_tty_connect_indication ( void instance,
void sap,
struct qos_info qos,
__u32  max_sdu_size,
__u8  max_header_size,
struct sk_buff skb 
)

Definition at line 524 of file ircomm_tty_attach.c.

void ircomm_tty_detach_cable ( struct ircomm_tty_cb self)

Definition at line 166 of file ircomm_tty_attach.c.

void ircomm_tty_disconnect_indication ( void instance,
void sap,
LM_REASON  reason,
struct sk_buff skb 
)

Definition at line 402 of file ircomm_tty_attach.c.

int ircomm_tty_do_event ( struct ircomm_tty_cb self,
IRCOMM_TTY_EVENT  event,
struct sk_buff skb,
struct ircomm_tty_info info 
)

Definition at line 641 of file ircomm_tty_attach.c.

void ircomm_tty_link_established ( struct ircomm_tty_cb self)

Definition at line 560 of file ircomm_tty_attach.c.

int ircomm_tty_send_initial_parameters ( struct ircomm_tty_cb self)

Definition at line 306 of file ircomm_tty_attach.c.

Variable Documentation

const char* const ircomm_state[]

Definition at line 52 of file ircomm_event.c.

const char* const ircomm_tty_state[]

Definition at line 84 of file ircomm_tty_attach.c.