Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * INET     An implementation of the TCP/IP protocol suite for the LINUX
0004  *      operating system.  INET is implemented using the BSD Socket
0005  *      interface as the means of communication with the user level.
0006  *
0007  *      Definitions for the HIPPI handlers.
0008  *
0009  * Version: @(#)hippidevice.h   1.0.0   05/26/97
0010  *
0011  * Author:  Jes Sorensen, <Jes.Sorensen@cern.ch>
0012  *
0013  *      hippidevice.h is based on previous fddidevice.h work by
0014  *          Ross Biro
0015  *          Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
0016  *          Alan Cox, <gw4pts@gw4pts.ampr.org>
0017  *          Lawrence V. Stefani, <stefani@lkg.dec.com>
0018  */
0019 #ifndef _LINUX_HIPPIDEVICE_H
0020 #define _LINUX_HIPPIDEVICE_H
0021 
0022 #include <linux/if_hippi.h>
0023 
0024 #ifdef __KERNEL__
0025 
0026 struct neigh_parms;
0027 struct net_device;
0028 struct sk_buff;
0029 
0030 struct hippi_cb {
0031     __u32   ifield;
0032 };
0033 
0034 __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev);
0035 int hippi_mac_addr(struct net_device *dev, void *p);
0036 int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p);
0037 struct net_device *alloc_hippi_dev(int sizeof_priv);
0038 #endif
0039 
0040 #endif  /* _LINUX_HIPPIDEVICE_H */