Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
dn_neigh.c File Reference
#include <linux/net.h>
#include <linux/module.h>
#include <linux/socket.h>
#include <linux/if_arp.h>
#include <linux/slab.h>
#include <linux/if_ether.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/string.h>
#include <linux/netfilter_decnet.h>
#include <linux/spinlock.h>
#include <linux/seq_file.h>
#include <linux/rcupdate.h>
#include <linux/jhash.h>
#include <linux/atomic.h>
#include <net/net_namespace.h>
#include <net/neighbour.h>
#include <net/dst.h>
#include <net/flow.h>
#include <net/dn.h>
#include <net/dn_dev.h>
#include <net/dn_neigh.h>
#include <net/dn_route.h>

Go to the source code of this file.

Data Structures

struct  elist_cb_state
 

Functions

void dn_neigh_pointopoint_hello (struct sk_buff *skb)
 
int dn_neigh_router_hello (struct sk_buff *skb)
 
int dn_neigh_endnode_hello (struct sk_buff *skb)
 
int dn_neigh_elist (struct net_device *dev, unsigned char *ptr, int n)
 
void __init dn_neigh_init (void)
 
void __exit dn_neigh_cleanup (void)
 

Variables

struct neigh_table dn_neigh_table
 

Function Documentation

void __exit dn_neigh_cleanup ( void  )

Definition at line 596 of file dn_neigh.c.

int dn_neigh_elist ( struct net_device dev,
unsigned char ptr,
int  n 
)

Definition at line 513 of file dn_neigh.c.

int dn_neigh_endnode_hello ( struct sk_buff skb)

Definition at line 425 of file dn_neigh.c.

void __init dn_neigh_init ( void  )

Definition at line 590 of file dn_neigh.c.

void dn_neigh_pointopoint_hello ( struct sk_buff skb)

Definition at line 355 of file dn_neigh.c.

int dn_neigh_router_hello ( struct sk_buff skb)

Definition at line 363 of file dn_neigh.c.

Variable Documentation

struct neigh_table dn_neigh_table
Initial value:
= {
.family = PF_DECnet,
.entry_size = sizeof(struct dn_neigh),
.key_len = sizeof(__le16),
.hash = dn_neigh_hash,
.constructor = dn_neigh_construct,
.id = "dn_neigh_cache",
.parms ={
.tbl = &dn_neigh_table,
.base_reachable_time = 30 * HZ,
.retrans_time = 1 * HZ,
.gc_staletime = 60 * HZ,
.reachable_time = 30 * HZ,
.delay_probe_time = 5 * HZ,
.queue_len_bytes = 64*1024,
.ucast_probes = 0,
.app_probes = 0,
.mcast_probes = 0,
.anycast_delay = 0,
.proxy_delay = 0,
.proxy_qlen = 0,
.locktime = 1 * HZ,
},
.gc_interval = 30 * HZ,
.gc_thresh1 = 128,
.gc_thresh2 = 512,
.gc_thresh3 = 1024,
}

Definition at line 96 of file dn_neigh.c.