2 * Copyright 2006-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
9 #include <sys/socket.h>
12 #define RTF_UP 0x00000001
13 #define RTF_GATEWAY 0x00000002
14 #define RTF_HOST 0x00000004
15 #define RTF_REJECT 0x00000008
16 #define RTF_DYNAMIC 0x00000010
17 #define RTF_MODIFIED 0x00000020
18 #define RTF_DEFAULT 0x00000080
19 #define RTF_STATIC 0x00000800
20 #define RTF_BLACKHOLE 0x00001000
21 #define RTF_LOCAL 0x00200000
23 /* This structure is used to pass routes to and from the network stack
24 * (via struct ifreq) */
27 struct sockaddr
*destination
;
28 struct sockaddr
*mask
;
29 struct sockaddr
*gateway
;
30 struct sockaddr
*source
;
35 #endif /* _NET_ROUTE_H */