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

irlan_client.h File Reference

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

Include dependency graph for irlan_client.h:

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

Go to the source code of this file.

Functions

void irlan_client_start_kick_timer (struct irlan_cb *self, int timeout)
void irlan_client_discovery_indication (discovery_t *)
void irlan_client_wakeup (struct irlan_cb *self, __u32 saddr, __u32 daddr)
void irlan_client_open_ctrl_tsap (struct irlan_cb *self)
void irlan_client_parse_response (struct irlan_cb *self, struct sk_buff *skb)
void irlan_client_get_value_confirm (int result, __u16 obj_id, struct ias_value *value, void *priv)


Function Documentation

void irlan_client_discovery_indication discovery_t  ) 
 

Definition at line 154 of file irlan_client.c.

References ASSERT, irlan_cb::daddr, discovery_t::daddr, hashbin_get_first(), IRDA_DEBUG, irlan, irlan_client_wakeup(), IRLAN_MAGIC, NULL, irlan_cb::saddr, and discovery_t::saddr.

Referenced by irlan_init().

Here is the call graph for this function:

void irlan_client_get_value_confirm int  result,
__u16  obj_id,
struct ias_value value,
void *  priv
 

Definition at line 529 of file irlan_client.c.

References ASSERT, IAS_INTEGER, IAS_SUCCESS, IRDA_DEBUG, iriap_close(), irias_delete_value(), irlan_do_client_event(), IRLAN_IAS_PROVIDER_AVAIL, IRLAN_IAS_PROVIDER_NOT_AVAIL, IRLAN_MAGIC, NULL, ias_value::t, and ias_value::type.

Referenced by irlan_client_state_idle().

Here is the call graph for this function:

void irlan_client_open_ctrl_tsap struct irlan_cb self  ) 
 

Definition at line 245 of file irlan_client.c.

References ASSERT, irlan_cb::client, notify_t::connect_confirm, notify_t::data_indication, DEFAULT_INITIAL_CREDIT, notify_t::disconnect_indication, notify_t::instance, IRDA_DEBUG, irda_notify_init(), irlan_client_ctrl_connect_confirm(), irlan_client_ctrl_data_indication(), irlan_client_ctrl_disconnect_indication(), IRLAN_MAGIC, irttp_open_tsap(), LSAP_ANY, irlan_cb::magic, notify_t::name, tsap_cb::notify, NOTIFY_MAX_NAME, NULL, strncpy, and irlan_client_cb::tsap_ctrl.

Referenced by irlan_client_wakeup().

Here is the call graph for this function:

void irlan_client_parse_response struct irlan_cb self,
struct sk_buff skb
 

Definition at line 346 of file irlan_client.c.

References ASSERT, count, sk_buff::data, ERROR, i, IRDA_DEBUG, irlan_check_response_param(), irlan_extract_param(), IRLAN_MAGIC, kfree(), kmalloc(), sk_buff::len, irlan_cb::magic, name, NULL, print_ret_code(), ptr, ret, and value.

Referenced by irlan_client_state_data(), irlan_client_state_info(), irlan_client_state_media(), and irlan_client_state_open().

Here is the call graph for this function:

void irlan_client_start_kick_timer struct irlan_cb self,
int  timeout
 

Definition at line 91 of file irlan_client.c.

References irlan_cb::client, IRDA_DEBUG, irda_start_timer(), irlan_client_kick_timer_expired(), and irlan_client_cb::kick_timer.

Referenced by irlan_client_wakeup().

Here is the call graph for this function:

void irlan_client_wakeup struct irlan_cb self,
__u32  saddr,
__u32  daddr
 

Definition at line 105 of file irlan_client.c.

References ACCESS_DIRECT, irlan_provider_cb::access_type, ASSERT, irlan_cb::client, irlan_cb::dev, irlan_cb::disconnect_reason, HZ, IRDA_DEBUG, irlan_client_open_ctrl_tsap(), irlan_client_start_kick_timer(), IRLAN_DISCOVERY_INDICATION, irlan_do_client_event(), IRLAN_IDLE, IRLAN_MAGIC, irlan_open_data_tsap(), LM_USER_REQUEST, irlan_cb::magic, NULL, irlan_cb::provider, and irlan_client_cb::state.

Referenced by irlan_client_discovery_indication(), irlan_client_kick_timer_expired(), irlan_client_state_query(), irlan_eth_open(), and irlan_provider_connect_indication().

Here is the call graph for this function: