We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8383d42 + 9fbadda commit 429125aCopy full SHA for 429125a
1 file changed
src/netmap.rs
@@ -152,6 +152,17 @@ pub const NIOCRXSYNC: c_uint = 27029;
152
#[cfg(target_os = "linux")]
153
pub const NIOCCONFIG: c_ulong = 3239078294;
154
155
+#[cfg(target_os = "freebsd")]
156
+pub const NIOCGINFO: c_ulong = 3225184657;
157
158
+pub const NIOCREGIF: c_ulong = 3225184658;
159
160
+pub const NIOCTXSYNC: c_uint = 536897940;
161
162
+pub const NIOCRXSYNC: c_uint = 536897941;
163
164
+pub const NIOCCONFIG: c_ulong = 3239078294;
165
+
166
#[inline(always)]
167
pub unsafe fn nm_ring_empty(ring: *mut netmap_ring) -> bool {
168
(*ring).cur == (*ring).tail
0 commit comments