Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

irlmp_event.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  IRLMP_STATE { LAP_STANDBY, LAP_U_CONNECT, LAP_ACTIVE }
enum  LSAP_STATE {
  LSAP_DISCONNECTED, LSAP_CONNECT, LSAP_CONNECT_PEND, LSAP_DATA_TRANSFER_READY,
  LSAP_SETUP, LSAP_SETUP_PEND
}
enum  IRLMP_EVENT {
  LM_CONNECT_REQUEST, LM_CONNECT_CONFIRM, LM_CONNECT_RESPONSE, LM_CONNECT_INDICATION,
  LM_DISCONNECT_INDICATION, LM_DISCONNECT_REQUEST, LM_DATA_REQUEST, LM_UDATA_REQUEST,
  LM_DATA_INDICATION, LM_UDATA_INDICATION, LM_WATCHDOG_TIMEOUT, LM_LAP_CONNECT_REQUEST,
  LM_LAP_CONNECT_INDICATION, LM_LAP_CONNECT_CONFIRM, LM_LAP_DISCONNECT_INDICATION, LM_LAP_DISCONNECT_REQUEST,
  LM_LAP_DISCOVERY_REQUEST, LM_LAP_DISCOVERY_CONFIRM, LM_LAP_IDLE_TIMEOUT
}

Functions

void irlmp_watchdog_timer_expired (void *data)
void irlmp_discovery_timer_expired (void *data)
void irlmp_idle_timer_expired (void *data)
void irlmp_next_station_state (IRLMP_STATE state)
void irlmp_next_lsap_state (struct lsap_cb *self, LSAP_STATE state)
void irlmp_next_lap_state (struct lap_cb *self, IRLMP_STATE state)
void irlmp_do_lap_event (struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb)
int irlmp_do_lsap_event (struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb)

Variables

const char * irlmp_state []
const char * irlsap_state []


Enumeration Type Documentation

enum IRLMP_EVENT
 

Enumeration values:
LM_CONNECT_REQUEST 
LM_CONNECT_CONFIRM 
LM_CONNECT_RESPONSE 
LM_CONNECT_INDICATION 
LM_DISCONNECT_INDICATION 
LM_DISCONNECT_REQUEST 
LM_DATA_REQUEST 
LM_UDATA_REQUEST 
LM_DATA_INDICATION 
LM_UDATA_INDICATION 
LM_WATCHDOG_TIMEOUT 
LM_LAP_CONNECT_REQUEST 
LM_LAP_CONNECT_INDICATION 
LM_LAP_CONNECT_CONFIRM 
LM_LAP_DISCONNECT_INDICATION 
LM_LAP_DISCONNECT_REQUEST 
LM_LAP_DISCOVERY_REQUEST 
LM_LAP_DISCOVERY_CONFIRM 
LM_LAP_IDLE_TIMEOUT 

Definition at line 51 of file irlmp_event.h.

enum IRLMP_STATE
 

Enumeration values:
LAP_STANDBY 
LAP_U_CONNECT 
LAP_ACTIVE 

Definition at line 34 of file irlmp_event.h.

enum LSAP_STATE
 

Enumeration values:
LSAP_DISCONNECTED 
LSAP_CONNECT 
LSAP_CONNECT_PEND 
LSAP_DATA_TRANSFER_READY 
LSAP_SETUP 
LSAP_SETUP_PEND 

Definition at line 42 of file irlmp_event.h.


Function Documentation

void irlmp_discovery_timer_expired void *  data  ) 
 

Definition at line 148 of file irlmp_event.c.

References HZ, IRDA_DEBUG, irlmp, irlmp_do_discovery(), irlmp_start_discovery_timer(), sysctl_discovery, sysctl_discovery_slots, and sysctl_discovery_timeout.

Referenced by irlmp_start_discovery_timer().

Here is the call graph for this function:

void irlmp_do_lap_event struct lap_cb self,
IRLMP_EVENT  event,
struct sk_buff skb
 

Definition at line 135 of file irlmp_event.c.

References ASSERT, IRDA_DEBUG, irlmp_state, lap_state, LMP_LAP_MAGIC, and NULL.

Referenced by irlmp_do_discovery(), irlmp_idle_timer_expired(), irlmp_link_connect_confirm(), irlmp_link_connect_indication(), irlmp_link_disconnect_indication(), irlmp_link_discovery_confirm(), irlmp_link_discovery_indication(), irlmp_state_disconnected(), irlmp_state_dtr(), irlmp_state_setup(), and irlmp_state_setup_pend().

int irlmp_do_lsap_event struct lsap_cb self,
IRLMP_EVENT  event,
struct sk_buff skb
 

Definition at line 117 of file irlmp_event.c.

References ASSERT, IRDA_DEBUG, irlmp_state, LMP_LSAP_MAGIC, lsap_cb::lsap_state, lsap_state, lsap_cb::magic, and NULL.

Referenced by irlmp_connect_request(), irlmp_connect_response(), irlmp_data_request(), irlmp_disconnect_request(), irlmp_link_data_indication(), irlmp_state_active(), irlmp_state_u_connect(), irlmp_udata_request(), and irlmp_watchdog_timer_expired().

void irlmp_idle_timer_expired void *  data  ) 
 

Definition at line 171 of file irlmp_event.c.

References ASSERT, IRDA_DEBUG, irlmp_do_lap_event(), LM_LAP_IDLE_TIMEOUT, LMP_LAP_MAGIC, and NULL.

Referenced by irlmp_start_idle_timer().

Here is the call graph for this function:

void irlmp_next_lap_state struct lap_cb self,
IRLMP_STATE  state
 

Definition at line 808 of file irlmp_event.c.

References IRDA_DEBUG, and irlmp_state.

Referenced by irlmp_register_link(), irlmp_state_active(), irlmp_state_standby(), and irlmp_state_u_connect().

void irlmp_next_lsap_state struct lsap_cb self,
LSAP_STATE  state
 

Definition at line 814 of file irlmp_event.c.

References ASSERT, IRDA_DEBUG, irlsap_state, and NULL.

Referenced by irlmp_open_lsap(), irlmp_state_connect(), irlmp_state_connect_pend(), irlmp_state_disconnected(), irlmp_state_dtr(), irlmp_state_setup(), and irlmp_state_setup_pend().

void irlmp_next_station_state IRLMP_STATE  state  ) 
 

void irlmp_watchdog_timer_expired void *  data  ) 
 

Definition at line 159 of file irlmp_event.c.

References ASSERT, IRDA_DEBUG, irlmp_do_lsap_event(), LM_WATCHDOG_TIMEOUT, LMP_LSAP_MAGIC, and NULL.

Referenced by irlmp_start_watchdog_timer().

Here is the call graph for this function:


Variable Documentation

const char* irlmp_state[]
 

Definition at line 35 of file irlmp_event.c.

Referenced by irlmp_do_lap_event(), irlmp_do_lsap_event(), and irlmp_next_lap_state().

const char* irlsap_state[]
 

Definition at line 41 of file irlmp_event.c.

Referenced by irlmp_next_lsap_state().