Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ircomm_tty_attach.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <net/irda/irda.h>
#include <net/irda/irlmp.h>
#include <net/irda/iriap.h>
#include <net/irda/irttp.h>
#include <net/irda/irias_object.h>
#include <net/irda/parameters.h>
#include <net/irda/ircomm_core.h>
#include <net/irda/ircomm_param.h>
#include <net/irda/ircomm_event.h>
#include <net/irda/ircomm_tty.h>
#include <net/irda/ircomm_tty_attach.h>

Go to the source code of this file.

Functions

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

Variables

const char *const ircomm_tty_state []
 

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_data_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_data_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_tty_state[]
Initial value:
= {
"IRCOMM_TTY_IDLE",
"IRCOMM_TTY_SEARCH",
"IRCOMM_TTY_QUERY_PARAMETERS",
"IRCOMM_TTY_QUERY_LSAP_SEL",
"IRCOMM_TTY_SETUP",
"IRCOMM_TTY_READY",
"*** ERROR *** ",
}

Definition at line 84 of file ircomm_tty_attach.c.