diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /include/net/arp.h | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'include/net/arp.h')
-rw-r--r-- | include/net/arp.h | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/include/net/arp.h b/include/net/arp.h index dbd0c1281..b672bacb6 100644 --- a/include/net/arp.h +++ b/include/net/arp.h @@ -4,45 +4,21 @@ #include <linux/if_arp.h> #include <net/neighbour.h> -/* - * This structure defines the ARP mapping cache. - */ -struct arp_table -{ - union { - struct neighbour neigh; - struct arp_table *next; - } u; - - u32 ip; - - unsigned long last_updated; /* For expiry */ - unsigned int flags; /* Control status */ - - u32 mask; /* netmask - used for generalised proxy arps (tridge) */ - int hatype; - - /* - * The following entries are only used for unresolved hw addresses. - */ - struct timer_list timer; /* expire timer */ - int retries; /* remaining retries */ -}; +extern struct neigh_table arp_tbl; extern void arp_init(void); extern int arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt); extern int arp_find(unsigned char *haddr, struct sk_buff *skb); -extern int arp_find_1(unsigned char *haddr, struct dst_entry* dst, - struct neighbour *neigh); 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, unsigned char *th); -extern int arp_req_set(struct arpreq *r, struct device *dev); -extern int arp_req_delete(struct arpreq *r, struct device *dev); -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); -extern struct neighbour *arp_find_neighbour(struct dst_entry *dst, int); +extern int arp_bind_neighbour(struct dst_entry *dst); +extern int arp_mc_map(u32 addr, u8 *haddr, struct device *dev, int dir); +extern void arp_ifdown(struct device *dev); + +extern struct neigh_ops arp_broken_ops; + #endif /* _ARP_H */ |