mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +00:00
Kernel: Implement the SO_DONTROUTE SOL_SOCKET-level option
This commit is contained in:
parent
641498954f
commit
613ade9dec
Notes:
sideshowbarker
2024-07-17 23:10:31 +09:00
Author: https://github.com/IdanHo
Commit: 613ade9dec
Pull-request: https://github.com/SerenityOS/serenity/pull/11152
Reviewed-by: https://github.com/awesomekling
4 changed files with 20 additions and 2 deletions
|
@ -154,9 +154,9 @@ protected:
|
|||
|
||||
void set_role(Role role) { m_role = role; }
|
||||
|
||||
protected:
|
||||
ucred m_origin { 0, 0, 0 };
|
||||
ucred m_acceptor { 0, 0, 0 };
|
||||
bool m_routing_disabled { false };
|
||||
|
||||
private:
|
||||
virtual bool is_socket() const final { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue