hdlc.h 574 B

1234567891011121314151617181920212223
  1. /*
  2. * Generic HDLC support routines for Linux
  3. *
  4. * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of version 2 of the GNU General Public License
  8. * as published by the Free Software Foundation.
  9. */
  10. #ifndef __HDLC_H
  11. #define __HDLC_H
  12. #define HDLC_MAX_MTU 1500 /* Ethernet 1500 bytes */
  13. #if 0
  14. #define HDLC_MAX_MRU (HDLC_MAX_MTU + 10 + 14 + 4) /* for ETH+VLAN over FR */
  15. #else
  16. #define HDLC_MAX_MRU 1600 /* as required for FR network */
  17. #endif
  18. #endif /* __HDLC_H */