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