aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/appletalk/ipddp.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/net/appletalk/ipddp.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/net/appletalk/ipddp.h')
-rw-r--r--drivers/net/appletalk/ipddp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/appletalk/ipddp.h b/drivers/net/appletalk/ipddp.h
new file mode 100644
index 000000000000..52072fb0c610
--- /dev/null
+++ b/drivers/net/appletalk/ipddp.h
@@ -0,0 +1,27 @@
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
14struct ipddp_route
15{
16 struct net_device *dev; /* Carrier device */
17 __u32 ip; /* IP address */
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 */