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