Skip to content

x/sys/unix: define new RTF flags introduced by macOS 11.3 #45848

@riraccuia

Description

@riraccuia

@kumpfdp and I noticed there is a bunch of new routing flags that are being actively used starting with macOS 11.3

The sdk files don't seem to be out yet (or i just can't find it) at opensource.apple.com but here's one unofficial link: https://github.com/plentico/osxcross-target/blob/master/SDK/MacOSX11.3.sdk/usr/include/net/route.h

#define RTF_PROXY       0x8000000       /* proxying, no interface scope */
#define RTF_ROUTER      0x10000000      /* host is a router */
#define RTF_DEAD        0x20000000      /* Route entry is being freed */
#define RTF_GLOBAL      0x40000000      /* route to destination of the global internet */

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-Darwin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions