Skip to content

Commit

Permalink
std.c: add netbsd's accept_filter_data for ACCEPT_FILTER sock opt.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and Vexu committed May 16, 2023
1 parent 21b7c48 commit b677b36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/std/c/netbsd.zig
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,11 @@ pub const AF = struct {
pub const MAX = 37;
};

pub const accept_filter_arg = extern struct {
af_name: [16]u8,
af_args: [240]u8,
};

pub const in_port_t = u16;
pub const sa_family_t = u8;

Expand Down

0 comments on commit b677b36

Please sign in to comment.