|
Linux Kernel
3.7.1
|
#include <linux/capability.h>#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/init.h>#include <linux/net.h>#include <linux/netdevice.h>#include <linux/proc_fs.h>#include <linux/seq_file.h>#include <linux/timer.h>#include <linux/string.h>#include <linux/if_addr.h>#include <linux/if_arp.h>#include <linux/if_ether.h>#include <linux/skbuff.h>#include <linux/sysctl.h>#include <linux/notifier.h>#include <linux/slab.h>#include <asm/uaccess.h>#include <net/net_namespace.h>#include <net/neighbour.h>#include <net/dst.h>#include <net/flow.h>#include <net/fib_rules.h>#include <net/netlink.h>#include <net/dn.h>#include <net/dn_dev.h>#include <net/dn_route.h>#include <net/dn_neigh.h>#include <net/dn_fib.h>Go to the source code of this file.
Macros | |
| #define | DN_IFREQ_SIZE (sizeof(struct ifreq) - sizeof(struct sockaddr) + sizeof(struct sockaddr_dn)) |
| #define | DN_DEV_LIST_SIZE ARRAY_SIZE(dn_dev_list) |
| #define | DN_DEV_PARMS_OFFSET(x) offsetof(struct dn_dev_parms, x) |
| #define | DRDELAY (5 * HZ) |
Functions | |
| int | dn_dev_ioctl (unsigned int cmd, void __user *arg) |
| struct net_device * | dn_dev_get_default (void) |
| int | dn_dev_set_default (struct net_device *dev, int force) |
| int | dn_dev_bind_default (__le16 *addr) |
| void | dn_dev_up (struct net_device *dev) |
| void | dn_dev_down (struct net_device *dev) |
| void | dn_dev_init_pkt (struct sk_buff *skb) |
| void | dn_dev_veri_pkt (struct sk_buff *skb) |
| void | dn_dev_hello (struct sk_buff *skb) |
| void | dn_dev_devices_off (void) |
| void | dn_dev_devices_on (void) |
| int | register_dnaddr_notifier (struct notifier_block *nb) |
| int | unregister_dnaddr_notifier (struct notifier_block *nb) |
| module_param_array (addr, int, NULL, 0444) | |
| MODULE_PARM_DESC (addr,"The DECnet address of this machine: area,node") | |
| void __init | dn_dev_init (void) |
| void __exit | dn_dev_cleanup (void) |
Variables | |
| struct neigh_table | dn_neigh_table |
| __le16 | decnet_address = 0 |
| #define DN_DEV_LIST_SIZE ARRAY_SIZE(dn_dev_list) |
| #define DN_DEV_PARMS_OFFSET | ( | x | ) | offsetof(struct dn_dev_parms, x) |
| void dn_dev_down | ( | struct net_device * | dev | ) |
|
read |
| int dn_dev_set_default | ( | struct net_device * | dev, |
| int | force | ||
| ) |
| void dn_dev_up | ( | struct net_device * | dev | ) |
| int register_dnaddr_notifier | ( | struct notifier_block * | nb | ) |
| int unregister_dnaddr_notifier | ( | struct notifier_block * | nb | ) |
| struct neigh_table dn_neigh_table |
Definition at line 96 of file dn_neigh.c.
1.8.2