Redo networking (#22)

* Rewriting network functions

* Add buffer to dup
Fix non-blocking handling by triggering once on enabling events to read to EOF

* Modifications for UDP API

* Implement TCP client side

* Add active close

* Add DMAR parser

* Implement basic TCP listening. Need to improve the state machine

* Reduce debugging

* Fixes for close procedure

* Updates to fix path processing in libstd
This commit is contained in:
Jeremy Soller 2016-10-26 13:19:56 -06:00 • committed by GitHub
commit 2491e4771e

View file

@ -33,7 +33,7 @@ impl Scheme for DebugScheme {
Ok(0)
}
fn dup(&self, _file: usize) -> Result<usize> {
fn dup(&self, _file: usize, _buf: &[u8]) -> Result<usize> {
Ok(0)
}