1 /*
2  * INET		An implementation of the TCP/IP protocol suite for the LINUX
3  *		operating system.  INET is implemented using the BSD Socket
4  *		interface as the means of communication with the user level.
5  *
6  *		Definitions for the FDDI handlers.
7  *
8  * Version:	@(#)fddidevice.h	1.0.0	08/12/96
9  *
10  * Author:	Lawrence V. Stefani, <stefani@lkg.dec.com>
11  *
12  *		fddidevice.h is based on previous trdevice.h work by
13  *			Ross Biro, <bir7@leland.Stanford.Edu>
14  *			Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
15  *			Alan Cox, <gw4pts@gw4pts.ampr.org>
16  *
17  *		This program is free software; you can redistribute it and/or
18  *		modify it under the terms of the GNU General Public License
19  *		as published by the Free Software Foundation; either version
20  *		2 of the License, or (at your option) any later version.
21  */
22 #ifndef _LINUX_FDDIDEVICE_H
23 #define _LINUX_FDDIDEVICE_H
24 
25 #include <linux/if_fddi.h>
26 
27 #ifdef __KERNEL__
28 extern int		fddi_header(struct sk_buff *skb,
29 				    struct net_device *dev,
30 				    unsigned short type,
31 				    void *daddr,
32 				    void *saddr,
33 				    unsigned len);
34 extern int		fddi_rebuild_header(struct sk_buff *skb);
35 extern unsigned short	fddi_type_trans(struct sk_buff *skb,
36 				struct net_device *dev);
37 extern struct net_device *init_fddidev(struct net_device *dev, int sizeof_priv);
38 extern struct net_device *alloc_fddidev(int sizeof_priv);
39 #endif
40 
41 #endif	/* _LINUX_FDDIDEVICE_H */
42