Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
atalk.h File Reference
#include <net/sock.h>
#include <uapi/linux/atalk.h>

Go to the source code of this file.

Data Structures

struct  atalk_route
 
struct  atalk_iface
 
struct  atalk_sock
 
struct  ddpehdr
 
struct  elapaarp
 

Macros

#define ATIF_PROBE   1 /* Probing for an address */
 
#define ATIF_PROBE_FAIL   2 /* Probe collided */
 
#define AARP_HW_TYPE_ETHERNET   1
 
#define AARP_HW_TYPE_TOKENRING   2
 
#define AARP_PA_ALEN   4
 
#define AARP_REQUEST   1
 
#define AARP_REPLY   2
 
#define AARP_PROBE   3
 
#define AARP_EXPIRY_TIME   (5 * 60 * HZ)
 
#define AARP_HASH_SIZE   16
 
#define AARP_TICK_TIME   (HZ / 5)
 
#define AARP_RETRANSMIT_LIMIT   10
 
#define AARP_RESOLVE_TIME   (10 * HZ)
 
#define atalk_register_sysctl()   do { } while(0)
 
#define atalk_unregister_sysctl()   do { } while(0)
 
#define atalk_proc_init()   ({ 0; })
 
#define atalk_proc_exit()   do { } while(0)
 

Functions

struct elapaarp __attribute__ ((packed))
 
void aarp_proto_init (void)
 
struct atalk_addratalk_find_dev_addr (struct net_device *dev)
 
struct net_deviceatrtr_get_dev (struct atalk_addr *sa)
 
int aarp_send_ddp (struct net_device *dev, struct sk_buff *skb, struct atalk_addr *sa, void *hwaddr)
 
void aarp_device_down (struct net_device *dev)
 
void aarp_probe_network (struct atalk_iface *atif)
 
int aarp_proxy_probe_network (struct atalk_iface *atif, struct atalk_addr *sa)
 
void aarp_proxy_remove (struct net_device *dev, struct atalk_addr *sa)
 
void aarp_cleanup_module (void)
 

Variables

__be16 hw_type
 
__be16 pa_type
 
__u8 hw_len
 
__u8 pa_len
 
__be16 function
 
__u8 hw_src [ETH_ALEN]
 
__u8 pa_src_zero
 
__be16 pa_src_net
 
__u8 pa_src_node
 
__u8 hw_dst [ETH_ALEN]
 
__u8 pa_dst_zero
 
__be16 pa_dst_net
 
__u8 pa_dst_node
 
struct datalink_protoddp_dl
 
struct datalink_protoaarp_dl
 
struct hlist_head atalk_sockets
 
rwlock_t atalk_sockets_lock
 
struct atalk_routeatalk_routes
 
rwlock_t atalk_routes_lock
 
struct atalk_ifaceatalk_interfaces
 
rwlock_t atalk_interfaces_lock
 
struct atalk_route atrtr_default
 
struct file_operations atalk_seq_arp_fops
 
int sysctl_aarp_expiry_time
 
int sysctl_aarp_tick_time
 
int sysctl_aarp_retransmit_limit
 
int sysctl_aarp_resolve_time
 

Macro Definition Documentation

#define AARP_EXPIRY_TIME   (5 * 60 * HZ)

Definition at line 96 of file atalk.h.

#define AARP_HASH_SIZE   16

Definition at line 98 of file atalk.h.

#define AARP_HW_TYPE_ETHERNET   1

Definition at line 90 of file atalk.h.

#define AARP_HW_TYPE_TOKENRING   2

Definition at line 91 of file atalk.h.

#define AARP_PA_ALEN   4

Definition at line 95 of file atalk.h.

#define AARP_PROBE   3

Definition at line 99 of file atalk.h.

#define AARP_REPLY   2

Definition at line 98 of file atalk.h.

#define AARP_REQUEST   1

Definition at line 97 of file atalk.h.

#define AARP_RESOLVE_TIME   (10 * HZ)

Definition at line 107 of file atalk.h.

#define AARP_RETRANSMIT_LIMIT   10

Definition at line 102 of file atalk.h.

#define AARP_TICK_TIME   (HZ / 5)

Definition at line 100 of file atalk.h.

#define atalk_proc_exit (   void)    do { } while(0)

Definition at line 165 of file atalk.h.

#define atalk_proc_init (   void)    ({ 0; })

Definition at line 164 of file atalk.h.

#define atalk_register_sysctl (   void)    do { } while(0)

Definition at line 156 of file atalk.h.

#define atalk_unregister_sysctl (   void)    do { } while(0)

Definition at line 157 of file atalk.h.

#define ATIF_PROBE   1 /* Probing for an address */

Definition at line 28 of file atalk.h.

#define ATIF_PROBE_FAIL   2 /* Probe collided */

Definition at line 29 of file atalk.h.

Function Documentation

struct elapaarp __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

void aarp_cleanup_module ( void  )

Definition at line 1058 of file aarp.c.

void aarp_device_down ( struct net_device dev)

Definition at line 893 of file aarp.c.

void aarp_probe_network ( struct atalk_iface atif)

Definition at line 466 of file aarp.c.

void aarp_proto_init ( void  )

Definition at line 881 of file aarp.c.

int aarp_proxy_probe_network ( struct atalk_iface atif,
struct atalk_addr sa 
)

Definition at line 486 of file aarp.c.

void aarp_proxy_remove ( struct net_device dev,
struct atalk_addr sa 
)

Definition at line 416 of file aarp.c.

int aarp_send_ddp ( struct net_device dev,
struct sk_buff skb,
struct atalk_addr sa,
void hwaddr 
)

Definition at line 547 of file aarp.c.

struct atalk_addr* atalk_find_dev_addr ( struct net_device dev)
read

Definition at line 342 of file ddp.c.

struct net_device* atrtr_get_dev ( struct atalk_addr sa)
read

Definition at line 483 of file ddp.c.

Variable Documentation

Definition at line 68 of file ddp.c.

struct atalk_iface* atalk_interfaces

Definition at line 198 of file ddp.c.

rwlock_t atalk_interfaces_lock
struct atalk_route* atalk_routes

Definition at line 195 of file ddp.c.

rwlock_t atalk_routes_lock
struct file_operations atalk_seq_arp_fops
struct hlist_head atalk_sockets
rwlock_t atalk_sockets_lock
struct atalk_route atrtr_default

Definition at line 202 of file ddp.c.

Definition at line 68 of file ddp.c.

__be16 function

Definition at line 96 of file atalk.h.

__u8 hw_dst[ETH_ALEN]

Definition at line 104 of file atalk.h.

__u8 hw_len

Definition at line 93 of file atalk.h.

__u8 hw_src[ETH_ALEN]

Definition at line 100 of file atalk.h.

__be16 hw_type

Definition at line 89 of file atalk.h.

__be16 pa_dst_net

Definition at line 106 of file atalk.h.

__u8 pa_dst_node

Definition at line 107 of file atalk.h.

__u8 pa_dst_zero

Definition at line 105 of file atalk.h.

__u8 pa_len

Definition at line 94 of file atalk.h.

__be16 pa_src_net

Definition at line 102 of file atalk.h.

__u8 pa_src_node

Definition at line 103 of file atalk.h.

__u8 pa_src_zero

Definition at line 101 of file atalk.h.

__be16 pa_type

Definition at line 92 of file atalk.h.

int sysctl_aarp_expiry_time

Definition at line 44 of file aarp.c.

int sysctl_aarp_resolve_time

Definition at line 47 of file aarp.c.

int sysctl_aarp_retransmit_limit

Definition at line 46 of file aarp.c.

int sysctl_aarp_tick_time

Definition at line 45 of file aarp.c.