1
2 #ifndef _ARP_H
3 #define _ARP_H
4
5 extern void arp_init(void);
6 extern int arp_rcv(struct sk_buff *skb, struct device *dev,
7 struct packet_type *pt);
8 extern int arp_query(unsigned char *haddr, u32 paddr, struct device *dev);
9 extern int arp_find(unsigned char *haddr, u32 paddr,
10 struct device *dev, u32 saddr, struct sk_buff *skb);
11 extern int arp_ioctl(unsigned int cmd, void *arg);
12 extern void arp_send(int type, int ptype, u32 dest_ip,
13 struct device *dev, u32 src_ip,
14 unsigned char *dest_hw, unsigned char *src_hw, unsigned char *th);
15 extern int arp_bind_cache(struct hh_cache ** hhp, struct device *dev, unsigned short type, __u32 daddr);
16 extern int arp_update_cache(struct hh_cache * hh);
17 #endif