ipddp.h 634 B

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