ipddp.h 634 B

12345678910111213141516171819202122232425262728
  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 */