Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * ipddp.h: Header for IP-over-DDP driver for Linux. |
| 3 | */ |
| 4 | |
| 5 | #ifndef __LINUX_IPDDP_H |
| 6 | #define __LINUX_IPDDP_H |
| 7 | |
| 8 | #ifdef __KERNEL__ |
| 9 | |
| 10 | #define SIOCADDIPDDPRT (SIOCDEVPRIVATE) |
| 11 | #define SIOCDELIPDDPRT (SIOCDEVPRIVATE+1) |
| 12 | #define SIOCFINDIPDDPRT (SIOCDEVPRIVATE+2) |
| 13 | |
| 14 | struct ipddp_route |
| 15 | { |
| 16 | struct net_device *dev; /* Carrier device */ |
Al Viro | 16989ba | 2007-08-23 03:03:13 -0400 | [diff] [blame] | 17 | __be32 ip; /* IP address */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | struct atalk_addr at; /* Gateway appletalk address */ |
| 19 | int flags; |
| 20 | struct ipddp_route *next; |
| 21 | }; |
| 22 | |
| 23 | #define IPDDP_ENCAP 1 |
| 24 | #define IPDDP_DECAP 2 |
| 25 | |
| 26 | #endif /* __KERNEL__ */ |
| 27 | #endif /* __LINUX_IPDDP_H */ |