hdlc.h 652 B

123456789101112131415161718192021222324
  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 <[email protected]>
  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. #ifndef _UAPI__HDLC_H
  12. #define _UAPI__HDLC_H
  13. #define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */
  14. #if 0
  15. #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
  16. #else
  17. #define HDLC_MAX_MRU 1600 /* as required for FR network */
  18. #endif
  19. #endif /* _UAPI__HDLC_H */