1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * INET An implementation of the TCP/I 3 * INET An implementation of the TCP/IP protocol suite for the LINUX 4 * operating system. INET is imp 4 * operating system. INET is implemented using the BSD Socket 5 * interface as the means of comm 5 * interface as the means of communication with the user level. 6 * 6 * 7 * Definitions for the HIPPI hand 7 * Definitions for the HIPPI handlers. 8 * 8 * 9 * Version: @(#)hippidevice.h 1.0.0 9 * Version: @(#)hippidevice.h 1.0.0 05/26/97 10 * 10 * 11 * Author: Jes Sorensen, <Jes.Sorensen@ce 11 * Author: Jes Sorensen, <Jes.Sorensen@cern.ch> 12 * 12 * 13 * hippidevice.h is based on prev 13 * hippidevice.h is based on previous fddidevice.h work by 14 * Ross Biro 14 * Ross Biro 15 * Fred N. van Kempen, <w 15 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 16 * Alan Cox, <gw4pts@gw4p 16 * Alan Cox, <gw4pts@gw4pts.ampr.org> 17 * Lawrence V. Stefani, < 17 * Lawrence V. Stefani, <stefani@lkg.dec.com> 18 */ 18 */ 19 #ifndef _LINUX_HIPPIDEVICE_H 19 #ifndef _LINUX_HIPPIDEVICE_H 20 #define _LINUX_HIPPIDEVICE_H 20 #define _LINUX_HIPPIDEVICE_H 21 21 22 #include <linux/if_hippi.h> 22 #include <linux/if_hippi.h> 23 23 24 #ifdef __KERNEL__ 24 #ifdef __KERNEL__ 25 25 26 struct neigh_parms; 26 struct neigh_parms; 27 struct net_device; 27 struct net_device; 28 struct sk_buff; 28 struct sk_buff; 29 29 30 struct hippi_cb { 30 struct hippi_cb { 31 __u32 ifield; 31 __u32 ifield; 32 }; 32 }; 33 33 34 __be16 hippi_type_trans(struct sk_buff *skb, s 34 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev); 35 int hippi_mac_addr(struct net_device *dev, voi 35 int hippi_mac_addr(struct net_device *dev, void *p); 36 int hippi_neigh_setup_dev(struct net_device *d 36 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p); 37 struct net_device *alloc_hippi_dev(int sizeof_ 37 struct net_device *alloc_hippi_dev(int sizeof_priv); 38 #endif 38 #endif 39 39 40 #endif /* _LINUX_HIPPIDEVICE_H */ 40 #endif /* _LINUX_HIPPIDEVICE_H */ 41 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.