mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
Kernel: Add support for route flags
Previously the routing table did not store the route flags. This adds basic support and exposes them in the /proc directory so that a userspace caller can query the route and identify the type of each route.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 10:38:11 +09:00
Author: https://github.com/brapru Commit: https://github.com/SerenityOS/serenity/commit/7a4e41f8f8 Pull-request: https://github.com/SerenityOS/serenity/pull/13992
@@ -24,6 +24,7 @@ struct rtentry {
|
||||
|
||||
#define RTF_UP 0x1 /* do not delete the route */
|
||||
#define RTF_GATEWAY 0x2 /* the route is a gateway and not an end host */
|
||||
#define RTF_HOST 0x4 /* host entry (net otherwise) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user