summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShmulik Hen <shmulik.hen@intel.com>2004-02-06 00:00:41 -0800
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2004-02-06 00:00:41 -0800
commit6d7c32165fa2483419d6d4a0e82a7dd0830613e8 (patch)
tree5f018af3b89708adaceb594b6ac875831110620c /include
parentf002d840a6614b33e02cfc3becce0a3dcf3a2481 (diff)
[IPV4]: Split arp_send into arp_create and arp_xmit, export them.
Diffstat (limited to 'include')
-rw-r--r--include/net/arp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/arp.h b/include/net/arp.h
index f65d245f42cc..61fd735c7017 100644
--- a/include/net/arp.h
+++ b/include/net/arp.h
@@ -5,6 +5,8 @@
#include <linux/if_arp.h>
#include <net/neighbour.h>
+#define HAVE_ARP_CREATE
+
extern struct neigh_table arp_tbl;
extern void arp_init(void);
@@ -19,6 +21,12 @@ extern int arp_bind_neighbour(struct dst_entry *dst);
extern int arp_mc_map(u32 addr, u8 *haddr, struct net_device *dev, int dir);
extern void arp_ifdown(struct net_device *dev);
+extern struct sk_buff *arp_create(int type, int ptype, u32 dest_ip,
+ struct net_device *dev, u32 src_ip,
+ unsigned char *dest_hw, unsigned char *src_hw,
+ unsigned char *target_hw);
+extern void arp_xmit(struct sk_buff *skb);
+
extern struct neigh_ops arp_broken_ops;
#endif /* _ARP_H */