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