Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 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 */ |