Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
iriap.h File Reference
#include <linux/types.h>
#include <linux/skbuff.h>
#include <net/irda/iriap_event.h>
#include <net/irda/irias_object.h>
#include <net/irda/irqueue.h>
#include <net/irda/timer.h>

Go to the source code of this file.

Data Structures

struct  iriap_cb
 

Macros

#define IAP_LST   0x80
 
#define IAP_ACK   0x40
 
#define IAS_SERVER   0
 
#define IAS_CLIENT   1
 
#define GET_INFO_BASE   0x01
 
#define GET_OBJECTS   0x02
 
#define GET_VALUE   0x03
 
#define GET_VALUE_BY_CLASS   0x04
 
#define GET_OBJECT_INFO   0x05
 
#define GET_ATTRIB_NAMES   0x06
 
#define IAS_SUCCESS   0
 
#define IAS_CLASS_UNKNOWN   1
 
#define IAS_ATTRIB_UNKNOWN   2
 
#define IAS_DISCONNECT   10
 

Typedefs

typedef void(* CONFIRM_CALLBACK )(int result, __u16 obj_id, struct ias_value *value, void *priv)
 

Functions

int iriap_init (void)
 
void iriap_cleanup (void)
 
struct iriap_cbiriap_open (__u8 slsap_sel, int mode, void *priv, CONFIRM_CALLBACK callback)
 
void iriap_close (struct iriap_cb *self)
 
int iriap_getvaluebyclass_request (struct iriap_cb *self, __u32 saddr, __u32 daddr, char *name, char *attr)
 
void iriap_connect_request (struct iriap_cb *self)
 
void iriap_send_ack (struct iriap_cb *self)
 
void iriap_call_indication (struct iriap_cb *self, struct sk_buff *skb)
 
void iriap_register_server (void)
 

Macro Definition Documentation

#define GET_ATTRIB_NAMES   0x06

Definition at line 49 of file iriap.h.

#define GET_INFO_BASE   0x01

Definition at line 44 of file iriap.h.

#define GET_OBJECT_INFO   0x05

Definition at line 48 of file iriap.h.

#define GET_OBJECTS   0x02

Definition at line 45 of file iriap.h.

#define GET_VALUE   0x03

Definition at line 46 of file iriap.h.

#define GET_VALUE_BY_CLASS   0x04

Definition at line 47 of file iriap.h.

#define IAP_ACK   0x40

Definition at line 38 of file iriap.h.

#define IAP_LST   0x80

Definition at line 37 of file iriap.h.

#define IAS_ATTRIB_UNKNOWN   2

Definition at line 53 of file iriap.h.

#define IAS_CLASS_UNKNOWN   1

Definition at line 52 of file iriap.h.

#define IAS_CLIENT   1

Definition at line 41 of file iriap.h.

#define IAS_DISCONNECT   10

Definition at line 54 of file iriap.h.

#define IAS_SERVER   0

Definition at line 40 of file iriap.h.

#define IAS_SUCCESS   0

Definition at line 51 of file iriap.h.

Typedef Documentation

typedef void(* CONFIRM_CALLBACK)(int result, __u16 obj_id, struct ias_value *value, void *priv)

Definition at line 56 of file iriap.h.

Function Documentation

void iriap_call_indication ( struct iriap_cb self,
struct sk_buff skb 
)

Definition at line 929 of file iriap.c.

void iriap_cleanup ( void  )

Definition at line 162 of file iriap.c.

void iriap_close ( struct iriap_cb self)

Definition at line 246 of file iriap.c.

void iriap_connect_request ( struct iriap_cb self)

Definition at line 733 of file iriap.c.

int iriap_getvaluebyclass_request ( struct iriap_cb self,
__u32  saddr,
__u32  daddr,
char name,
char attr 
)

Definition at line 376 of file iriap.c.

int iriap_init ( void  )

Definition at line 98 of file iriap.c.

struct iriap_cb* iriap_open ( __u8  slsap_sel,
int  mode,
void priv,
CONFIRM_CALLBACK  callback 
)
read

Definition at line 175 of file iriap.c.

void iriap_register_server ( void  )
void iriap_send_ack ( struct iriap_cb self)

Definition at line 708 of file iriap.c.