WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / appletalk / ipddp.h
blob9a8e45a46925900bf37839c1bda21a0b1ed53f5f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * ipddp.h: Header for IP-over-DDP driver for Linux.
4 */
6 #ifndef __LINUX_IPDDP_H
7 #define __LINUX_IPDDP_H
9 #ifdef __KERNEL__
11 #define SIOCADDIPDDPRT (SIOCDEVPRIVATE)
12 #define SIOCDELIPDDPRT (SIOCDEVPRIVATE+1)
13 #define SIOCFINDIPDDPRT (SIOCDEVPRIVATE+2)
15 struct ipddp_route
17 struct net_device *dev; /* Carrier device */
18 __be32 ip; /* IP address */
19 struct atalk_addr at; /* Gateway appletalk address */
20 int flags;
21 struct ipddp_route *next;
24 #define IPDDP_ENCAP 1
25 #define IPDDP_DECAP 2
27 #endif /* __KERNEL__ */
28 #endif /* __LINUX_IPDDP_H */