Skip to content

Commit 484570d

Browse files
committed
Auto merge of #2611 - devnexen:dfbsd_so_acceptfilter, r=Amanieu
dragonflybsd accept_filter_arg support for SO_ACCEPTFILTER.
2 parents f51fd85 + fbadd63 commit 484570d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

libc-test/semver/dragonfly.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ _UTX_LINESIZE
11891189
_UTX_USERSIZE
11901190
__errno_location
11911191
abs
1192+
accept_filter_arg
11921193
accept4
11931194
acct
11941195
aio_cancel

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,6 @@ s! {
325325
pub sc_groups: [::gid_t; 1],
326326
}
327327

328-
pub struct accept_filter_arg {
329-
pub af_name: [::c_char; 16],
330-
af_arg: [[::c_char; 10]; 24],
331-
}
332-
333328
pub struct ptrace_vm_entry {
334329
pub pve_entry: ::c_int,
335330
pub pve_timestamp: ::c_int,

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ s! {
266266
pub time_state: ::c_int,
267267
}
268268

269+
pub struct accept_filter_arg {
270+
pub af_name: [::c_char; 16],
271+
af_arg: [[::c_char; 10]; 24],
272+
}
273+
269274
pub struct ptrace_io_desc {
270275
pub piod_op: ::c_int,
271276
pub piod_offs: *mut ::c_void,

0 commit comments

Comments
 (0)