You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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 */
The text was updated successfully, but these errors were encountered:
Please note that the syscall package is frozen per the package level godoc. These new constants should be added to the golang.org/x/sys/unix package instead.
tklauser
changed the title
syscall/zerrors_darwin_*.go: define new RTF flags introduced by macOS 11.3
x/sys/unix: define new RTF flags introduced by macOS 11.3
Apr 29, 2021
RTF_PROXY, RTF_ROUTER and RTF_DEAD are already present in the latest version of golang.org/x/sys. I've sent https://golang.org/cl/343509 to add the missing RTF_GLOBAL.
@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
The text was updated successfully, but these errors were encountered: