if_plip.h 660 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /*
  3. * NET3 PLIP tuning facilities for the new Niibe PLIP.
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation; either version
  8. * 2 of the License, or (at your option) any later version.
  9. *
  10. */
  11. #ifndef _LINUX_IF_PLIP_H
  12. #define _LINUX_IF_PLIP_H
  13. #include <linux/sockios.h>
  14. #define SIOCDEVPLIP SIOCDEVPRIVATE
  15. struct plipconf {
  16. unsigned short pcmd;
  17. unsigned long nibble;
  18. unsigned long trigger;
  19. };
  20. #define PLIP_GET_TIMEOUT 0x1
  21. #define PLIP_SET_TIMEOUT 0x2
  22. #endif