Skip to content

Commit

Permalink
test 3: should pass
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonnet committed Nov 14, 2024
1 parent 7f68588 commit d4247af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scratch/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,15 @@
// Copyright Open Network Fabric Authors

use dpdk::dev::TxOffloadConfig;

use dpdk::{dev, eal, mem, queue, socket};

use dpdk_sys::*;

use std::ffi::{c_uint, CStr, CString};

use std::fmt::{Debug, Display};

use std::io;

use std::net::Ipv4Addr;

use std::time::Instant;

use tracing::{debug, error, info, trace, warn};


#[tracing::instrument(level = "trace", ret)]
// TODO: proper safety. This should return a Result but I'm being a savage for demo purposes.
fn as_cstr(s: &str) -> CString {
Expand Down

0 comments on commit d4247af

Please sign in to comment.