| author | |
| committer | |
| log | 5f950884a1390f135ea825b035b460ff680ebea3 |
| tree | 50ed93195bc6e262818d0cd4ae67160b063d07b0 |
| parent | 1b544f447ac373ad676ccf921a2e8f2d05def15f |
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/c.zig+1| ... | @@ -6026,6 +6026,7 @@ pub const IPPROTO = switch (native_os) { | ... | @@ -6026,6 +6026,7 @@ pub const IPPROTO = switch (native_os) { |
| 6026 | pub const UDP = 17; | 6026 | pub const UDP = 17; |
| 6027 | pub const IP = 0; | 6027 | pub const IP = 0; |
| 6028 | pub const IPV6 = 41; | 6028 | pub const IPV6 = 41; |
| 6029 | pub const RAW = 255; | ||
| 6029 | }, | 6030 | }, |
| 6030 | .freebsd => struct { | 6031 | .freebsd => struct { |
| 6031 | /// dummy for IP | 6032 | /// dummy for IP |