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

irlan_event.h File Reference

#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <net/irda/irlan_common.h>

Include dependency graph for irlan_event.h:

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

Go to the source code of this file.

Enumerations

enum  IRLAN_STATE {
  IRLAN_IDLE, IRLAN_QUERY, IRLAN_CONN, IRLAN_INFO,
  IRLAN_MEDIA, IRLAN_OPEN, IRLAN_WAIT, IRLAN_ARB,
  IRLAN_DATA, IRLAN_CLOSE, IRLAN_SYNC
}
enum  IRLAN_EVENT {
  IRLAN_DISCOVERY_INDICATION, IRLAN_IAS_PROVIDER_AVAIL, IRLAN_IAS_PROVIDER_NOT_AVAIL, IRLAN_LAP_DISCONNECT,
  IRLAN_LMP_DISCONNECT, IRLAN_CONNECT_COMPLETE, IRLAN_DATA_INDICATION, IRLAN_DATA_CONNECT_INDICATION,
  IRLAN_RETRY_CONNECT, IRLAN_CONNECT_INDICATION, IRLAN_GET_INFO_CMD, IRLAN_GET_MEDIA_CMD,
  IRLAN_OPEN_DATA_CMD, IRLAN_FILTER_CONFIG_CMD, IRLAN_CHECK_CON_ARB, IRLAN_PROVIDER_SIGNAL,
  IRLAN_WATCHDOG_TIMEOUT
}

Functions

void irlan_do_client_event (struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb)
void irlan_do_provider_event (struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb)
void irlan_next_client_state (struct irlan_cb *self, IRLAN_STATE state)
void irlan_next_provider_state (struct irlan_cb *self, IRLAN_STATE state)

Variables

char * irlan_state []


Enumeration Type Documentation

enum IRLAN_EVENT
 

Enumeration values:
IRLAN_DISCOVERY_INDICATION 
IRLAN_IAS_PROVIDER_AVAIL 
IRLAN_IAS_PROVIDER_NOT_AVAIL 
IRLAN_LAP_DISCONNECT 
IRLAN_LMP_DISCONNECT 
IRLAN_CONNECT_COMPLETE 
IRLAN_DATA_INDICATION 
IRLAN_DATA_CONNECT_INDICATION 
IRLAN_RETRY_CONNECT 
IRLAN_CONNECT_INDICATION 
IRLAN_GET_INFO_CMD 
IRLAN_GET_MEDIA_CMD 
IRLAN_OPEN_DATA_CMD 
IRLAN_FILTER_CONFIG_CMD 
IRLAN_CHECK_CON_ARB 
IRLAN_PROVIDER_SIGNAL 
IRLAN_WATCHDOG_TIMEOUT 

Definition at line 47 of file irlan_event.h.

enum IRLAN_STATE
 

Enumeration values:
IRLAN_IDLE 
IRLAN_QUERY 
IRLAN_CONN 
IRLAN_INFO 
IRLAN_MEDIA 
IRLAN_OPEN 
IRLAN_WAIT 
IRLAN_ARB 
IRLAN_DATA 
IRLAN_CLOSE 
IRLAN_SYNC 

Definition at line 33 of file irlan_event.h.


Function Documentation

void irlan_do_client_event struct irlan_cb self,
IRLAN_EVENT  event,
struct sk_buff skb
 

Definition at line 77 of file irlan_client_event.c.

References ASSERT, IRLAN_MAGIC, irlan_cb::magic, NULL, and state.

Referenced by irlan_client_ctrl_connect_confirm(), irlan_client_ctrl_data_indication(), irlan_client_ctrl_disconnect_indication(), irlan_client_get_value_confirm(), irlan_client_state_open(), irlan_client_state_wait(), irlan_client_wakeup(), irlan_connect_indication(), irlan_disconnect_indication(), irlan_eth_close(), and irlan_provider_state_info().

void irlan_do_provider_event struct irlan_cb self,
IRLAN_EVENT  event,
struct sk_buff skb
 

Definition at line 58 of file irlan_provider_event.c.

References ASSERT, NULL, irlan_cb::provider, state, and irlan_provider_cb::state.

Referenced by irlan_connect_indication(), irlan_disconnect_indication(), irlan_eth_close(), irlan_provider_connect_indication(), irlan_provider_data_indication(), and irlan_provider_disconnect_indication().

void irlan_next_client_state struct irlan_cb self,
IRLAN_STATE  state
 

Definition at line 41 of file irlan_event.c.

References ASSERT, IRDA_DEBUG, IRLAN_MAGIC, irlan_state, irlan_cb::magic, and NULL.

Referenced by irlan_client_state_arb(), irlan_client_state_conn(), irlan_client_state_data(), irlan_client_state_idle(), irlan_client_state_info(), irlan_client_state_media(), irlan_client_state_open(), irlan_client_state_query(), irlan_client_state_wait(), and irlan_open().

void irlan_next_provider_state struct irlan_cb self,
IRLAN_STATE  state
 

Definition at line 51 of file irlan_event.c.

References ASSERT, IRDA_DEBUG, IRLAN_MAGIC, irlan_state, irlan_cb::magic, and NULL.

Referenced by irlan_open(), irlan_provider_state_data(), irlan_provider_state_idle(), irlan_provider_state_info(), and irlan_provider_state_open().


Variable Documentation

char* irlan_state[]
 

Definition at line 27 of file irlan_event.c.

Referenced by irlan_next_client_state(), and irlan_next_provider_state().