std.c: add IPPROTO_RAW for Darwin platforms
IPPROTO_RAW (255) was missing from the Darwin/macOS IPPROTO struct,
even though it is defined in system headers and supported by the platform.
This is a commonly used protocol for raw IP sockets.
1 files changed, 1 insertions(+), 0 deletions(-)
lib
std
lib/std/c.zig+1
| ... | ... | @@ -6026,6 +6026,7 @@ pub const IPPROTO = switch (native_os) { |
| 6026 | 6026 | pub const UDP = 17; |
| 6027 | 6027 | pub const IP = 0; |
| 6028 | 6028 | pub const IPV6 = 41; |
| 6029 | pub const RAW = 255; |
| 6029 | 6030 | }, |
| 6030 | 6031 | .freebsd => struct { |
| 6031 | 6032 | /// dummy for IP |