Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
discovery.h File Reference
#include <asm/param.h>
#include <net/irda/irda.h>
#include <net/irda/irqueue.h>
#include <net/irda/irlap_event.h>

Go to the source code of this file.

Data Structures

union  __u16_host_order
 
struct  discovery_t
 

Macros

#define DISCOVERY_EXPIRE_TIMEOUT   (2*sysctl_discovery_timeout*HZ)
 
#define DISCOVERY_DEFAULT_SLOTS   0
 
#define NICKNAME_MAX_LEN   21
 

Typedefs

typedef struct irda_device_info discinfo_t
 
typedef struct discovery_t discovery_t
 

Enumerations

enum  DISCOVERY_MODE { DISCOVERY_LOG, DISCOVERY_ACTIVE, DISCOVERY_PASSIVE, EXPIRY_TIMEOUT }
 

Functions

void irlmp_add_discovery (hashbin_t *cachelog, discovery_t *discovery)
 
void irlmp_add_discovery_log (hashbin_t *cachelog, hashbin_t *log)
 
void irlmp_expire_discoveries (hashbin_t *log, __u32 saddr, int force)
 
struct irda_device_infoirlmp_copy_discoveries (hashbin_t *log, int *pn, __u16 mask, int old_entries)
 

Macro Definition Documentation

#define DISCOVERY_DEFAULT_SLOTS   0

Definition at line 42 of file discovery.h.

#define DISCOVERY_EXPIRE_TIMEOUT   (2*sysctl_discovery_timeout*HZ)

Definition at line 41 of file discovery.h.

#define NICKNAME_MAX_LEN   21

Definition at line 68 of file discovery.h.

Typedef Documentation

Definition at line 71 of file discovery.h.

Enumeration Type Documentation

Enumerator:
DISCOVERY_LOG 
DISCOVERY_ACTIVE 
DISCOVERY_PASSIVE 
EXPIRY_TIMEOUT 

Definition at line 61 of file discovery.h.

Function Documentation

void irlmp_add_discovery ( hashbin_t cachelog,
discovery_t discovery 
)

Definition at line 62 of file discovery.c.

void irlmp_add_discovery_log ( hashbin_t cachelog,
hashbin_t log 
)

Definition at line 113 of file discovery.c.

struct irda_device_info* irlmp_copy_discoveries ( hashbin_t log,
int pn,
__u16  mask,
int  old_entries 
)
read

Definition at line 267 of file discovery.c.

void irlmp_expire_discoveries ( hashbin_t log,
__u32  saddr,
int  force 
)

Definition at line 154 of file discovery.c.