From b677b3627818edc24828f36f8269a3c3843703a1 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Mon, 15 May 2023 20:02:31 +0100 Subject: [PATCH] std.c: add netbsd's accept_filter_data for ACCEPT_FILTER sock opt. --- lib/std/c/netbsd.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/std/c/netbsd.zig b/lib/std/c/netbsd.zig index 11126e7115..8204e17cfc 100644 --- a/lib/std/c/netbsd.zig +++ b/lib/std/c/netbsd.zig @@ -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;