X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fnet%2Farp.h;h=f026645686008af614cf4949a1adba3bcaec3e15;hb=a2f44b27303a5353859d77a3e96a1d3f33f56ab7;hp=a13e30c35f4259e7ba835e7eda73b38995246437;hpb=987b0145d94eecf292d8b301228356f44611ab7c;p=linux-2.6.git diff --git a/include/net/arp.h b/include/net/arp.h index a13e30c35..f02664568 100644 --- a/include/net/arp.h +++ b/include/net/arp.h @@ -10,19 +10,17 @@ extern struct neigh_table arp_tbl; extern void arp_init(void); -extern int arp_rcv(struct sk_buff *skb, struct net_device *dev, - struct packet_type *pt, struct net_device *orig_dev); extern int arp_find(unsigned char *haddr, struct sk_buff *skb); extern int arp_ioctl(unsigned int cmd, void __user *arg); -extern void arp_send(int type, int ptype, u32 dest_ip, - struct net_device *dev, u32 src_ip, +extern void arp_send(int type, int ptype, __be32 dest_ip, + struct net_device *dev, __be32 src_ip, unsigned char *dest_hw, unsigned char *src_hw, unsigned char *th); 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 int arp_mc_map(__be32 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, +extern struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, + struct net_device *dev, __be32 src_ip, unsigned char *dest_hw, unsigned char *src_hw, unsigned char *target_hw); extern void arp_xmit(struct sk_buff *skb);