Skip to content

Commit b677b36

Browse files
devnexenVexu
authored andcommitted
std.c: add netbsd's accept_filter_data for ACCEPT_FILTER sock opt.
1 parent 21b7c48 commit b677b36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/std/c/netbsd.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,11 @@ pub const AF = struct {
485485
pub const MAX = 37;
486486
};
487487

488+
pub const accept_filter_arg = extern struct {
489+
af_name: [16]u8,
490+
af_args: [240]u8,
491+
};
492+
488493
pub const in_port_t = u16;
489494
pub const sa_family_t = u8;
490495

0 commit comments

Comments
 (0)