Move common definitions into netutils
This commit is contained in:
parent
63cff7bc48
commit
d0abe6335a
1 changed files with 64 additions and 808 deletions
|
|
@ -1,11 +1,10 @@
|
|||
use std::{cmp, mem};
|
||||
|
||||
use netutils::{n16, MacAddr, EthernetIIHeader, EthernetII};
|
||||
use resource_scheme::Resource;
|
||||
use syscall;
|
||||
use syscall::error::*;
|
||||
|
||||
use common::{n16, MacAddr, EthernetIIHeader, EthernetII};
|
||||
|
||||
/// A ethernet resource
|
||||
pub struct EthernetResource {
|
||||
/// The network
|
||||
|
|
|
|||
Loading…
Reference in a new issue