/*
 *	NET3:	Arcnet header and protocol definitions.
 *	
 *		Alan Cox, <A.Cox@swansea.ac.uk / gw4pts@gw4pts.ampr.org>
 *
 *	This program is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU General Public License
 *	as published by the Free Software Foundation; either version
 *	2 of the License, or (at your option) any later version.
 */
 
struct archdr
{
	char h_source;		/* Yes it really is backwards to ether */
	char h_dest;
	char h_proto;
};

#define ARC_P_IP	0xF0
#define ARC_P_ARP	0xF1

#define ARC_BCAST	0xFF		/* Arcnet broadcast */

/* Anyone know what IPX over arcnet is meant to be ? */

extern int arc_header(sk_buff *skb, struct device *dev, unsigned short type, void *daddr, void *saddr, unsigned len);
extern int arc_rebuild_header(sk_buff *skb, struct device *dev, unsigned long dst);
extern unsigned short arc_type_trans(sk_buff *skb, struct device *dev);

