added all

This commit is contained in:
Jonah Dahlquist 2020-11-05 21:51:06 -08:00
commit 41cd42eabf
5 changed files with 17 additions and 3 deletions

View file

@ -52,11 +52,13 @@ pub mod socketn {
Open = 0x01,
Send = 0x20,
Receive = 0x40,
Close = 0x10,
}
pub const INTERRUPT: u16 = 0x02;
#[repr(u8)]
pub enum Interrupt {
All = 0b11111111u8,
SendOk = 0b010000u8,
Receive = 0b00100u8,
}