Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Generic HDLC support routines for Linux
0004  *
0005  * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl>
0006  *
0007  * This program is free software; you can redistribute it and/or modify it
0008  * under the terms of version 2 of the GNU General Public License
0009  * as published by the Free Software Foundation.
0010  */
0011 
0012 #ifndef _UAPI__HDLC_H
0013 #define _UAPI__HDLC_H
0014 
0015 
0016 #define HDLC_MAX_MTU 1500   /* Ethernet 1500 bytes */
0017 #if 0
0018 #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
0019 #else
0020 #define HDLC_MAX_MRU 1600 /* as required for FR network */
0021 #endif
0022 
0023 
0024 #endif /* _UAPI__HDLC_H */