1
2 #ifndef _ARP_H
3 #define _ARP_H
4
5 extern void arp_init(void);
6 extern void arp_destroy(u32 paddr, int force);
7 extern void arp_device_down(struct device *dev);
8 extern int arp_rcv(struct sk_buff *skb, struct device *dev,
9 struct packet_type *pt);
10 extern int arp_query(unsigned char *haddr, u32 paddr, unsigned short type);
11 extern int arp_find(unsigned char *haddr, u32 paddr,
12 struct device *dev, u32 saddr, struct sk_buff *skb);
13 extern int arp_get_info(char *buffer, char **start, off_t origin, int length, int dummy);
14 extern int arp_ioctl(unsigned int cmd, void *arg);
15 extern void arp_send(int type, int ptype, u32 dest_ip,
16 struct device *dev, u32 src_ip,
17 unsigned char *dest_hw, unsigned char *src_hw);
18 extern int arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev);
19
20 extern unsigned long arp_cache_stamp;
21 #endif