/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Global definitions for the HIPPI interface. * * Version: @(#)if_hippi.h 1.0.0 05/26/97 * * Author: Fred N. van Kempen, <[email protected]> * Donald Becker, <[email protected]> * Alan Cox, <[email protected]> * Steve Whitehouse, <[email protected]> * Jes Sorensen, <[email protected]> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_IF_HIPPI_H #define _LINUX_IF_HIPPI_H #include <linux/types.h> #include <asm/byteorder.h> /* * HIPPI magic constants. */ #define HIPPI_ALEN … #define HIPPI_HLEN … #define HIPPI_ZLEN … #define HIPPI_DATA_LEN … #define HIPPI_FRAME_LEN … /* Max. bytes in frame without FCS */ /* * Define LLC and SNAP constants. */ #define HIPPI_EXTENDED_SAP … #define HIPPI_UI_CMD … /* * Do we need to list some sort of ID's here? */ /* * HIPPI statistics collection data. */ struct hipnet_statistics { … }; struct hippi_fp_hdr { … } __attribute__((packed)); struct hippi_le_hdr { … } __attribute__((packed)); #define HIPPI_OUI_LEN … /* * Looks like the dsap and ssap fields have been swapped by mistake in * RFC 2067 "IP over HIPPI". */ struct hippi_snap_hdr { … } __attribute__((packed)); struct hippi_hdr { … } __attribute__((packed)); #endif /* _LINUX_IF_HIPPI_H */