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

irlan_provider.h File Reference

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

Include dependency graph for irlan_provider.h:

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

Go to the source code of this file.

Functions

void irlan_provider_ctrl_disconnect_indication (void *instance, void *sap, LM_REASON reason, struct sk_buff *skb)
void irlan_provider_connect_response (struct irlan_cb *, struct tsap_cb *)
int irlan_parse_open_data_cmd (struct irlan_cb *self, struct sk_buff *skb)
int irlan_provider_parse_command (struct irlan_cb *self, int cmd, struct sk_buff *skb)
void irlan_provider_send_reply (struct irlan_cb *self, int command, int ret_code)
int irlan_provider_open_ctrl_tsap (struct irlan_cb *self)


Function Documentation

int irlan_parse_open_data_cmd struct irlan_cb self,
struct sk_buff skb
 

Definition at line 206 of file irlan_provider.c.

References CMD_OPEN_DATA_CHANNEL, irlan_open_data_tsap(), irlan_provider_parse_command(), and ret.

Referenced by irlan_provider_state_info().

Here is the call graph for this function:

void irlan_provider_connect_response struct irlan_cb ,
struct tsap_cb
 

Definition at line 168 of file irlan_provider.c.

References ASSERT, IRLAN_MAGIC, IRLAN_MTU, irttp_connect_response(), irlan_cb::magic, and NULL.

Referenced by irlan_provider_state_idle(), and irlan_provider_state_open().

Here is the call graph for this function:

void irlan_provider_ctrl_disconnect_indication void *  instance,
void *  sap,
LM_REASON  reason,
struct sk_buff skb
 

int irlan_provider_open_ctrl_tsap struct irlan_cb self  ) 
 

Definition at line 377 of file irlan_provider.c.

References ASSERT, notify_t::connect_indication, notify_t::data_indication, notify_t::disconnect_indication, notify_t::instance, IRDA_DEBUG, irda_notify_init(), irlan_ias_register(), IRLAN_MAGIC, irlan_provider_connect_indication(), irlan_provider_data_indication(), irlan_provider_disconnect_indication(), irttp_open_tsap(), LSAP_ANY, irlan_cb::magic, notify_t::name, tsap_cb::notify, NULL, irlan_cb::provider, strncpy, tsap_cb::stsap_sel, and irlan_provider_cb::tsap_ctrl.

Referenced by irlan_init().

Here is the call graph for this function:

int irlan_provider_parse_command struct irlan_cb self,
int  cmd,
struct sk_buff skb
 

Definition at line 225 of file irlan_provider.c.

References ASSERT, count, sk_buff::data, i, IRDA_DEBUG, irlan_check_command_param(), irlan_extract_param(), IRLAN_MAGIC, kfree(), kmalloc(), sk_buff::len, irlan_cb::magic, name, NULL, ptr, ret, RSP_INSUFFICIENT_RESOURCES, RSP_PROTOCOL_ERROR, RSP_SUCCESS, and value.

Referenced by irlan_parse_open_data_cmd(), irlan_provider_state_data(), and irlan_provider_state_open().

Here is the call graph for this function:

void irlan_provider_send_reply struct irlan_cb self,
int  command,
int  ret_code
 

Definition at line 289 of file irlan_provider.c.

References ACCESS_DIRECT, ACCESS_HOSTED, ACCESS_PEER, irlan_provider_cb::access_type, ASSERT, CMD_FILTER_OPERATION, CMD_GET_MEDIA_CHAR, CMD_GET_PROVIDER_INFO, CMD_OPEN_DATA_CHANNEL, handle_filter_request(), IRDA_DEBUG, irlan_insert_array_param(), irlan_insert_byte_param(), irlan_insert_short_param(), irlan_insert_string_param(), IRLAN_MAGIC, irttp_data_request(), irlan_cb::magic, irlan_provider_cb::max_header_size, irlan_cb::media, MEDIA_802_3, MEDIA_802_5, NULL, irlan_cb::provider, irlan_provider_cb::send_arb_val, irlan_cb::stsap_sel_data, and irlan_provider_cb::tsap_ctrl.

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

Here is the call graph for this function: