PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/net/appletalk/ipddp.h

http://github.com/mirrors/linux
C Header | 28 lines | 18 code | 6 blank | 4 comment | 0 complexity | f8b6e5992cc1ea020511933529f49db4 MD5 | raw file
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 *	ipddp.h: Header for IP-over-DDP driver for Linux.
 4 */
 5
 6#ifndef __LINUX_IPDDP_H
 7#define __LINUX_IPDDP_H
 8
 9#ifdef __KERNEL__
10
11#define SIOCADDIPDDPRT   (SIOCDEVPRIVATE)
12#define SIOCDELIPDDPRT   (SIOCDEVPRIVATE+1)
13#define SIOCFINDIPDDPRT  (SIOCDEVPRIVATE+2)
14
15struct ipddp_route
16{
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;
22};
23
24#define IPDDP_ENCAP	1
25#define IPDDP_DECAP	2
26
27#endif	/* __KERNEL__ */
28#endif	/* __LINUX_IPDDP_H */