std.c: add netbsd's accept_filter_data for ACCEPT_FILTER sock opt.

This commit is contained in:
David CARLIER 2023-05-15 20:02:31 +01:00 committed by Veikka Tuominen
parent 21b7c48043
commit b677b36278

View File

@ -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;