diff options
| author | David Carlier <devnexen@gmail.com> | 2021-12-31 22:16:23 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2021-12-31 22:16:23 +0000 |
| commit | fbadd6310bf138776134a7a29277ffc8e34a8548 (patch) | |
| tree | 6b51b5aeed3e9d6f4fff20c44afdbc9caca61eb5 /src/unix | |
| parent | 52382d65fb03836a5ce2efefbbee8e774e36084d (diff) | |
| download | rust-libc-fbadd6310bf138776134a7a29277ffc8e34a8548.tar.gz | |
dragonflybsd accept_filter_arg support for SO_ACCEPTFILTER.
Diffstat (limited to 'src/unix')
| -rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 5 | ||||
| -rw-r--r-- | src/unix/bsd/freebsdlike/mod.rs | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index b765fe44ea..e95e942bb9 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -325,11 +325,6 @@ s! { pub sc_groups: [::gid_t; 1], } - pub struct accept_filter_arg { - pub af_name: [::c_char; 16], - af_arg: [[::c_char; 10]; 24], - } - pub struct ptrace_vm_entry { pub pve_entry: ::c_int, pub pve_timestamp: ::c_int, diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs index c9cbb4c818..a784513d02 100644 --- a/src/unix/bsd/freebsdlike/mod.rs +++ b/src/unix/bsd/freebsdlike/mod.rs @@ -266,6 +266,11 @@ s! { pub time_state: ::c_int, } + pub struct accept_filter_arg { + pub af_name: [::c_char; 16], + af_arg: [[::c_char; 10]; 24], + } + pub struct ptrace_io_desc { pub piod_op: ::c_int, pub piod_offs: *mut ::c_void, |
