Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
irda.h File Reference
#include <linux/skbuff.h>
#include <linux/kernel.h>
#include <linux/if.h>
#include <linux/irda.h>

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define SMALL   5
 
#define IRDA_MIN(a, b)   (((a) < (b)) ? (a) : (b))
 
#define IRDA_ALIGN   __attribute__((aligned))
 
#define IRDA_DEBUG(n, args...)   do { } while (0)
 
#define IRDA_ASSERT(expr, func)   do { (void)(expr); } while (0)
 
#define IRDA_ASSERT_LABEL(label)
 
#define IRDA_WARNING(args...)   do { if (net_ratelimit()) printk(KERN_WARNING args); } while (0)
 
#define IRDA_MESSAGE(args...)   do { if (net_ratelimit()) printk(KERN_INFO args); } while (0)
 
#define IRDA_ERROR(args...)   do { if (net_ratelimit()) printk(KERN_ERR args); } while (0)
 
#define IRTTY_MAGIC   0x2357
 
#define LAP_MAGIC   0x1357
 
#define LMP_MAGIC   0x4321
 
#define LMP_LSAP_MAGIC   0x69333
 
#define LMP_LAP_MAGIC   0x3432
 
#define IRDA_DEVICE_MAGIC   0x63454
 
#define IAS_MAGIC   0x007
 
#define TTP_MAGIC   0x241169
 
#define TTP_TSAP_MAGIC   0x4345
 
#define IROBEX_MAGIC   0x341324
 
#define HB_MAGIC   0x64534
 
#define IRLAN_MAGIC   0x754
 
#define IAS_OBJECT_MAGIC   0x34234
 
#define IAS_ATTRIB_MAGIC   0x45232
 
#define IRDA_TASK_MAGIC   0x38423
 
#define IAS_DEVICE_ID   0x0000 /* Defined by IrDA, IrLMP section 4.1 (page 68) */
 
#define IAS_PNP_ID   0xd342
 
#define IAS_OBEX_ID   0x34323
 
#define IAS_IRLAN_ID   0x34234
 
#define IAS_IRCOMM_ID   0x2343
 
#define IAS_IRLPT_ID   0x9876
 

Typedefs

typedef __u32 magic_t
 

Functions

void irda_proc_register (void)
 
void irda_proc_unregister (void)
 
int irda_sysctl_register (void)
 
void irda_sysctl_unregister (void)
 
int irsock_init (void)
 
void irsock_cleanup (void)
 
int irda_nl_register (void)
 
void irda_nl_unregister (void)
 
int irlap_driver_rcv (struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev)
 

Macro Definition Documentation

#define FALSE   0

Definition at line 41 of file irda.h.

#define HB_MAGIC   0x64534

Definition at line 99 of file irda.h.

#define IAS_ATTRIB_MAGIC   0x45232

Definition at line 102 of file irda.h.

#define IAS_DEVICE_ID   0x0000 /* Defined by IrDA, IrLMP section 4.1 (page 68) */

Definition at line 105 of file irda.h.

#define IAS_IRCOMM_ID   0x2343

Definition at line 109 of file irda.h.

#define IAS_IRLAN_ID   0x34234

Definition at line 108 of file irda.h.

#define IAS_IRLPT_ID   0x9876

Definition at line 110 of file irda.h.

#define IAS_MAGIC   0x007

Definition at line 95 of file irda.h.

#define IAS_OBEX_ID   0x34323

Definition at line 107 of file irda.h.

#define IAS_OBJECT_MAGIC   0x34234

Definition at line 101 of file irda.h.

#define IAS_PNP_ID   0xd342

Definition at line 106 of file irda.h.

#define IRDA_ALIGN   __attribute__((aligned))

Definition at line 54 of file irda.h.

#define IRDA_ASSERT (   expr,
  func 
)    do { (void)(expr); } while (0)

Definition at line 76 of file irda.h.

#define IRDA_ASSERT_LABEL (   label)

Definition at line 77 of file irda.h.

#define IRDA_DEBUG (   n,
  args... 
)    do { } while (0)

Definition at line 75 of file irda.h.

#define IRDA_DEVICE_MAGIC   0x63454

Definition at line 94 of file irda.h.

#define IRDA_ERROR (   args...)    do { if (net_ratelimit()) printk(KERN_ERR args); } while (0)

Definition at line 82 of file irda.h.

#define IRDA_MESSAGE (   args...)    do { if (net_ratelimit()) printk(KERN_INFO args); } while (0)

Definition at line 81 of file irda.h.

#define IRDA_MIN (   a,
  b 
)    (((a) < (b)) ? (a) : (b))

Definition at line 50 of file irda.h.

#define IRDA_TASK_MAGIC   0x38423

Definition at line 103 of file irda.h.

#define IRDA_WARNING (   args...)    do { if (net_ratelimit()) printk(KERN_WARNING args); } while (0)

Definition at line 80 of file irda.h.

#define IRLAN_MAGIC   0x754

Definition at line 100 of file irda.h.

#define IROBEX_MAGIC   0x341324

Definition at line 98 of file irda.h.

#define IRTTY_MAGIC   0x2357

Definition at line 89 of file irda.h.

#define LAP_MAGIC   0x1357

Definition at line 90 of file irda.h.

#define LMP_LAP_MAGIC   0x3432

Definition at line 93 of file irda.h.

#define LMP_LSAP_MAGIC   0x69333

Definition at line 92 of file irda.h.

#define LMP_MAGIC   0x4321

Definition at line 91 of file irda.h.

#define SMALL   5

Definition at line 46 of file irda.h.

#define TRUE   1

Definition at line 37 of file irda.h.

#define TTP_MAGIC   0x241169

Definition at line 96 of file irda.h.

#define TTP_TSAP_MAGIC   0x4345

Definition at line 97 of file irda.h.

Typedef Documentation

typedef __u32 magic_t

Definition at line 34 of file irda.h.

Function Documentation

int irda_nl_register ( void  )

Definition at line 150 of file irnetlink.c.

void irda_nl_unregister ( void  )

Definition at line 156 of file irnetlink.c.

void irda_proc_register ( void  )

Definition at line 65 of file irproc.c.

void irda_proc_unregister ( void  )

Definition at line 84 of file irproc.c.

int irda_sysctl_register ( void  )

Definition at line 246 of file irsysctl.c.

void irda_sysctl_unregister ( void  )

Definition at line 261 of file irsysctl.c.

int irlap_driver_rcv ( struct sk_buff skb,
struct net_device dev,
struct packet_type ptype,
struct net_device orig_dev 
)

Definition at line 1308 of file irlap_frame.c.

void irsock_cleanup ( void  )

Definition at line 2742 of file af_irda.c.

int irsock_init ( void  )

Definition at line 2726 of file af_irda.c.