hippidevice.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * INET An implementation of the TCP/IP protocol suite for the LINUX
  4. * operating system. INET is implemented using the BSD Socket
  5. * interface as the means of communication with the user level.
  6. *
  7. * Definitions for the HIPPI handlers.
  8. *
  9. * Version: @(#)hippidevice.h 1.0.0 05/26/97
  10. *
  11. * Author: Jes Sorensen, <[email protected]>
  12. *
  13. * hippidevice.h is based on previous fddidevice.h work by
  14. * Ross Biro
  15. * Fred N. van Kempen, <[email protected]>
  16. * Alan Cox, <[email protected]>
  17. * Lawrence V. Stefani, <[email protected]>
  18. */
  19. #ifndef _LINUX_HIPPIDEVICE_H
  20. #define _LINUX_HIPPIDEVICE_H
  21. #include <linux/if_hippi.h>
  22. #ifdef __KERNEL__
  23. struct neigh_parms;
  24. struct net_device;
  25. struct sk_buff;
  26. struct hippi_cb {
  27. __u32 ifield;
  28. };
  29. __be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev);
  30. int hippi_mac_addr(struct net_device *dev, void *p);
  31. int hippi_neigh_setup_dev(struct net_device *dev, struct neigh_parms *p);
  32. struct net_device *alloc_hippi_dev(int sizeof_priv);
  33. #endif
  34. #endif /* _LINUX_HIPPIDEVICE_H */