xref: /openbmc/linux/include/uapi/linux/hdlc.h (revision e2be04c7)
1e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2607ca46eSDavid Howells /*
3607ca46eSDavid Howells  * Generic HDLC support routines for Linux
4607ca46eSDavid Howells  *
5607ca46eSDavid Howells  * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl>
6607ca46eSDavid Howells  *
7607ca46eSDavid Howells  * This program is free software; you can redistribute it and/or modify it
8607ca46eSDavid Howells  * under the terms of version 2 of the GNU General Public License
9607ca46eSDavid Howells  * as published by the Free Software Foundation.
10607ca46eSDavid Howells  */
11607ca46eSDavid Howells 
12607ca46eSDavid Howells #ifndef _UAPI__HDLC_H
13607ca46eSDavid Howells #define _UAPI__HDLC_H
14607ca46eSDavid Howells 
15607ca46eSDavid Howells 
16607ca46eSDavid Howells #define HDLC_MAX_MTU 1500	/* Ethernet 1500 bytes */
17607ca46eSDavid Howells #if 0
18607ca46eSDavid Howells #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
19607ca46eSDavid Howells #else
20607ca46eSDavid Howells #define HDLC_MAX_MRU 1600 /* as required for FR network */
21607ca46eSDavid Howells #endif
22607ca46eSDavid Howells 
23607ca46eSDavid Howells 
24607ca46eSDavid Howells #endif /* _UAPI__HDLC_H */
25