Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / headers / posix / net / route.h
blob217a91181f57dcffc706c1b6b37feea653c4d536
1 /*
2 * Copyright 2006-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _NET_ROUTE_H
6 #define _NET_ROUTE_H
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) */
26 struct route_entry {
27 struct sockaddr *destination;
28 struct sockaddr *mask;
29 struct sockaddr *gateway;
30 struct sockaddr *source;
31 uint32_t flags;
32 uint32_t mtu;
35 #endif /* _NET_ROUTE_H */