mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
std: add accept_filter struct to make use of SO_ACCEPTFILTER socket option
This commit is contained in:
parent
7b0e015eb4
commit
1d322fe510
@ -1105,6 +1105,11 @@ pub const DT = struct {
|
||||
pub const WHT = 14;
|
||||
};
|
||||
|
||||
pub const accept_filter = extern struct {
|
||||
af_name: [16]u8,
|
||||
af_args: [240]u8,
|
||||
};
|
||||
|
||||
/// add event to kq (implies enable)
|
||||
pub const EV_ADD = 0x0001;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user