patch-1.3.42 linux/include/net/arp.h

Next file: linux/include/net/ip.h
Previous file: linux/include/linux/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/include/net/arp.h linux/include/net/arp.h
@@ -3,19 +3,15 @@
 #define _ARP_H
 
 extern void	arp_init(void);
-extern void	arp_destroy(u32 paddr, int force);
-extern void	arp_device_down(struct device *dev);
 extern int	arp_rcv(struct sk_buff *skb, struct device *dev,
 			struct packet_type *pt);
-extern int	arp_query(unsigned char *haddr, u32 paddr, unsigned short type);
+extern int	arp_query(unsigned char *haddr, u32 paddr, struct device *dev);
 extern int	arp_find(unsigned char *haddr, u32 paddr,
 		struct device *dev, u32 saddr, struct sk_buff *skb);
-extern int	arp_get_info(char *buffer, char **start, off_t origin, int length, int dummy);
 extern int	arp_ioctl(unsigned int cmd, void *arg);
 extern void     arp_send(int type, int ptype, u32 dest_ip, 
 			 struct device *dev, u32 src_ip, 
-			 unsigned char *dest_hw, unsigned char *src_hw);
-extern int	arp_find_cache(unsigned char *dp, u32 daddr, struct device *dev);
-
-extern unsigned long	arp_cache_stamp;
+			 unsigned char *dest_hw, unsigned char *src_hw, unsigned char *th);
+extern int	arp_bind_cache(struct hh_cache ** hhp, struct device *dev, unsigned short type, __u32 daddr);
+extern int	arp_update_cache(struct hh_cache * hh);
 #endif	/* _ARP_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this