1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 2 /* 1 /* 3 * Generic HDLC support routines for Linux 2 * Generic HDLC support routines for Linux 4 * 3 * 5 * Copyright (C) 1999-2005 Krzysztof Halasa <k 4 * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl> 6 * 5 * 7 * This program is free software; you can redi 6 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of version 2 of the GNU Gen 7 * under the terms of version 2 of the GNU General Public License 9 * as published by the Free Software Foundatio 8 * as published by the Free Software Foundation. 10 */ 9 */ 11 10 12 #ifndef _UAPI__HDLC_H 11 #ifndef _UAPI__HDLC_H 13 #define _UAPI__HDLC_H 12 #define _UAPI__HDLC_H 14 13 15 14 16 #define HDLC_MAX_MTU 1500 /* Ethernet 15 15 #define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */ 17 #if 0 16 #if 0 18 #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 17 #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */ 19 #else 18 #else 20 #define HDLC_MAX_MRU 1600 /* as required for F 19 #define HDLC_MAX_MRU 1600 /* as required for FR network */ 21 #endif 20 #endif 22 21 23 22 24 #endif /* _UAPI__HDLC_H */ 23 #endif /* _UAPI__HDLC_H */ 25 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.