mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00: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:
parent
210c3f24cd
commit
7a4e41f8f8
Notes:
sideshowbarker
2024-07-17 10:38:11 +09:00
Author: https://github.com/brapru
Commit: 7a4e41f8f8
Pull-request: https://github.com/SerenityOS/serenity/pull/13992
5 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue