1 /*
2  * INET		An implementation of the TCP/IP protocol suite for the LINUX
3  *		operating system.  NET  is implemented using the  BSD Socket
4  *		interface as the means of communication with the user level.
5  *
6  *		Definitions for the Fibre Channel handlers.
7  *
8  * Version:	@(#)fcdevice.h	1.0.0	09/26/98
9  *
10  * Authors:	Vineet Abraham <vma@iol.unh.edu>
11  *
12  *		Relocated to include/linux where it belongs by Alan Cox
13  *							<gw4pts@gw4pts.ampr.org>
14  *
15  *		This program is free software; you can redistribute it and/or
16  *		modify it under the terms of the GNU General Public License
17  *		as published by the Free Software Foundation; either version
18  *		2 of the License, or (at your option) any later version.
19  *
20  *	WARNING: This move may well be temporary. This file will get merged with others RSN.
21  *
22  */
23 #ifndef _LINUX_FCDEVICE_H
24 #define _LINUX_FCDEVICE_H
25 
26 
27 #include <linux/if_fc.h>
28 
29 #ifdef __KERNEL__
30 extern int		fc_header(struct sk_buff *skb, struct net_device *dev,
31 				   unsigned short type, void *daddr,
32 				   void *saddr, unsigned len);
33 extern int		fc_rebuild_header(struct sk_buff *skb);
34 extern unsigned short	fc_type_trans(struct sk_buff *skb, struct net_device *dev);
35 
36 extern struct net_device *init_fcdev(struct net_device *dev, int sizeof_priv);
37 extern struct net_device *alloc_fcdev(int sizeof_priv);
38 extern int register_fcdev(struct net_device *dev);
39 extern void unregister_fcdev(struct net_device *dev);
40 
41 #endif
42 
43 #endif	/* _LINUX_FCDEVICE_H */
44