ipddp.h 673 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * ipddp.h: Header for IP-over-DDP driver for Linux.
  4. */
  5. #ifndef __LINUX_IPDDP_H
  6. #define __LINUX_IPDDP_H
  7. #ifdef __KERNEL__
  8. #define SIOCADDIPDDPRT (SIOCDEVPRIVATE)
  9. #define SIOCDELIPDDPRT (SIOCDEVPRIVATE+1)
  10. #define SIOCFINDIPDDPRT (SIOCDEVPRIVATE+2)
  11. struct ipddp_route
  12. {
  13. struct net_device *dev; /* Carrier device */
  14. __be32 ip; /* IP address */
  15. struct atalk_addr at; /* Gateway appletalk address */
  16. int flags;
  17. struct ipddp_route *next;
  18. };
  19. #define IPDDP_ENCAP 1
  20. #define IPDDP_DECAP 2
  21. #endif /* __KERNEL__ */
  22. #endif /* __LINUX_IPDDP_H */