1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* 3 * INET An implementation of the TCP/I 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 4 * operating system. NET is imp 3 * operating system. NET is implemented using the BSD Socket 5 * interface as the means of comm 4 * interface as the means of communication with the user level. 6 * 5 * 7 * Definitions for the Fibre Chan 6 * Definitions for the Fibre Channel handlers. 8 * 7 * 9 * Version: @(#)fcdevice.h 1.0.0 09/26/ 8 * Version: @(#)fcdevice.h 1.0.0 09/26/98 10 * 9 * 11 * Authors: Vineet Abraham <vma@iol.unh.ed 10 * Authors: Vineet Abraham <vma@iol.unh.edu> 12 * 11 * 13 * Relocated to include/linux whe 12 * Relocated to include/linux where it belongs by Alan Cox 14 * 13 * <gw4pts@gw4pts.ampr.org> 15 * 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 * 16 * WARNING: This move may well be tempora 20 * WARNING: This move may well be temporary. This file will get merged with others RSN. >> 21 * 17 */ 22 */ 18 #ifndef _LINUX_FCDEVICE_H 23 #ifndef _LINUX_FCDEVICE_H 19 #define _LINUX_FCDEVICE_H 24 #define _LINUX_FCDEVICE_H 20 25 21 26 22 #include <linux/if_fc.h> 27 #include <linux/if_fc.h> 23 28 24 #ifdef __KERNEL__ 29 #ifdef __KERNEL__ 25 struct net_device *alloc_fcdev(int sizeof_priv !! 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 *alloc_fcdev(int sizeof_priv); 26 #endif 37 #endif 27 38 28 #endif /* _LINUX_FCDEVICE_H */ 39 #endif /* _LINUX_FCDEVICE_H */ 29 40
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.