Kernel: Implement the SO_DONTROUTE SOL_SOCKET-level option

This commit is contained in:
Idan Horowitz 2021-12-02 01:01:02 +02:00 committed by Andreas Kling
commit 613ade9dec
Notes: sideshowbarker 2024-07-17 23:10:31 +09:00
4 changed files with 20 additions and 2 deletions

View file

@ -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; }