spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / drivers / net / appletalk / ipddp.h
blob531519da99a324c618f8aaf898c0fee0cdf3ba43
1 /*
2 * ipddp.h: Header for IP-over-DDP driver for Linux.
3 */
5 #ifndef __LINUX_IPDDP_H
6 #define __LINUX_IPDDP_H
8 #ifdef __KERNEL__
10 #define SIOCADDIPDDPRT (SIOCDEVPRIVATE)
11 #define SIOCDELIPDDPRT (SIOCDEVPRIVATE+1)
12 #define SIOCFINDIPDDPRT (SIOCDEVPRIVATE+2)
14 struct ipddp_route
16 struct net_device *dev; /* Carrier device */
17 __be32 ip; /* IP address */
18 struct atalk_addr at; /* Gateway appletalk address */
19 int flags;
20 struct ipddp_route *next;
23 #define IPDDP_ENCAP 1
24 #define IPDDP_DECAP 2
26 #endif /* __KERNEL__ */
27 #endif /* __LINUX_IPDDP_H */