xref: /haiku/src/libs/compat/freebsd_network/compat/net/route.h (revision dba28784c21beab5d397068303881fe024a76859)
1 /*
2  * Copyright 2009, Colin Günther, coling@gmx.de.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef _FBSD_COMPAT_NET_ROUTE_H_
6 #define _FBSD_COMPAT_NET_ROUTE_H_
7 
8 
9 #include <posix/net/route.h>
10 
11 
12 /*
13  * A route consists of a destination address, a reference
14  * to a routing entry, and a reference to an llentry.
15  * These are often held by protocols in their control
16  * blocks, e.g. inpcb.
17  */
18 struct route {
19 	struct	rtentry *ro_rt;
20 	struct	llentry *ro_lle;
21 	struct	sockaddr ro_dst;
22 };
23 
24 #endif /* _FBSD_COMPAT_NET_ROUTE_H_ */
25