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. INET is imp 3 * operating system. INET 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 HIPPI hand 6 * Definitions for the HIPPI handlers. 8 * 7 * 9 * Version: @(#)hippidevice.h 1.0.0 8 * Version: @(#)hippidevice.h 1.0.0 05/26/97 10 * 9 * 11 * Author: Jes Sorensen, <Jes.Sorensen@ce 10 * Author: Jes Sorensen, <Jes.Sorensen@cern.ch> 12 * 11 * 13 * hippidevice.h is based on prev 12 * hippidevice.h is based on previous fddidevice.h work by 14 * Ross Biro !! 13 * Ross Biro, <bir7@leland.Stanford.Edu> 15 * Fred N. van Kempen, <w 14 * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 16 * Alan Cox, <gw4pts@gw4p 15 * Alan Cox, <gw4pts@gw4pts.ampr.org> 17 * Lawrence V. Stefani, < 16 * Lawrence V. Stefani, <stefani@lkg.dec.com> >> 17 * >> 18 * This program is free software; you can redistribute it and/or >> 19 * modify it under the terms of the GNU General Public License >> 20 * as published by the Free Software Foundation; either version >> 21 * 2 of the License, or (at your option) any later version. 18 */ 22 */ 19 #ifndef _LINUX_HIPPIDEVICE_H 23 #ifndef _LINUX_HIPPIDEVICE_H 20 #define _LINUX_HIPPIDEVICE_H 24 #define _LINUX_HIPPIDEVICE_H 21 25 22 #include <linux/if_hippi.h> 26 #include <linux/if_hippi.h> 23 27 24 #ifdef __KERNEL__ 28 #ifdef __KERNEL__ >> 29 extern int hippi_header(struct sk_buff *skb, >> 30 struct net_device *dev, >> 31 unsigned short type, >> 32 void *daddr, >> 33 void *saddr, >> 34 unsigned len); >> 35 >> 36 extern int hippi_rebuild_header(struct sk_buff *skb); >> 37 >> 38 extern unsigned short hippi_type_trans(struct sk_buff *skb, >> 39 struct net_device *dev); >> 40 >> 41 extern void hippi_header_cache_bind(struct hh_cache ** hhp, >> 42 struct net_device *dev, >> 43 unsigned short htype, >> 44 __u32 daddr); >> 45 >> 46 extern void hippi_header_cache_update(struct hh_cache *hh, >> 47 struct net_device *dev, >> 48 unsigned char * haddr); >> 49 extern int hippi_header_parse(struct sk_buff *skb, unsigned char *haddr); >> 50 >> 51 extern void hippi_net_init(void); 25 52 26 struct neigh_parms; !! 53 extern struct net_device *alloc_hippi_dev(int sizeof_priv); 27 struct net_device; << 28 struct sk_buff; << 29 << 30 struct hippi_cb { << 31 __u32 ifield; << 32 }; << 33 << 34 __be16 hippi_type_trans(struct sk_buff *skb, s << 35 int hippi_mac_addr(struct net_device *dev, voi << 36 int hippi_neigh_setup_dev(struct net_device *d << 37 struct net_device *alloc_hippi_dev(int sizeof_ << 38 #endif 54 #endif 39 55 40 #endif /* _LINUX_HIPPIDEVICE_H */ 56 #endif /* _LINUX_HIPPIDEVICE_H */ 41 57
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.