Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
| 3 | * operating system. INET is implemented using the BSD Socket |
| 4 | * interface as the means of communication with the user level. |
| 5 | * |
| 6 | * Definitions for the HIPPI handlers. |
| 7 | * |
| 8 | * Version: @(#)hippidevice.h 1.0.0 05/26/97 |
| 9 | * |
| 10 | * Author: Jes Sorensen, <Jes.Sorensen@cern.ch> |
| 11 | * |
| 12 | * hippidevice.h is based on previous fddidevice.h work by |
Jesper Juhl | 02c30a8 | 2005-05-05 16:16:16 -0700 | [diff] [blame] | 13 | * Ross Biro |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> |
| 15 | * Alan Cox, <gw4pts@gw4pts.ampr.org> |
| 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. |
| 22 | */ |
| 23 | #ifndef _LINUX_HIPPIDEVICE_H |
| 24 | #define _LINUX_HIPPIDEVICE_H |
| 25 | |
| 26 | #include <linux/if_hippi.h> |
| 27 | |
| 28 | #ifdef __KERNEL__ |
Stephen Hemminger | 6f1cf16 | 2005-08-09 19:31:17 -0700 | [diff] [blame] | 29 | |
| 30 | struct hippi_cb { |
| 31 | __u32 ifield; |
| 32 | }; |
| 33 | |
Alexey Dobriyan | 57bf145 | 2005-08-25 16:06:19 -0700 | [diff] [blame] | 34 | extern __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev); |
Stephen Hemminger | 748ff68 | 2008-11-20 20:32:15 -0800 | [diff] [blame] | 35 | extern int hippi_change_mtu(struct net_device *dev, int new_mtu); |
| 36 | extern int hippi_mac_addr(struct net_device *dev, void *p); |
| 37 | extern int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | extern struct net_device *alloc_hippi_dev(int sizeof_priv); |
| 39 | #endif |
| 40 | |
| 41 | #endif /* _LINUX_HIPPIDEVICE_H */ |