C# Class Ipop.Tap.cTap

Inheritance: TapDevice
Mostra file Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_addr MemBlock
_fd int

Public Methods

Method Description
Close ( ) : void
Read ( byte packet ) : int
Write ( byte packet, int length ) : int
cTap ( string device_name ) : Brunet

Private Methods

Method Description
close_tap ( int fd ) : int
open_tap ( string device, byte addr ) : int
read_tap ( int fd, byte packet, int length ) : int
send_tap ( int fd, byte packet, int length ) : int

Method Details

Close() public method

public Close ( ) : void
return void

Read() public method

public Read ( byte packet ) : int
packet byte
return int

Write() public method

public Write ( byte packet, int length ) : int
packet byte
length int
return int

cTap() public method

public cTap ( string device_name ) : Brunet
device_name string
return Brunet

Property Details

_addr protected_oe property

protected MemBlock _addr
return MemBlock

_fd protected_oe property

protected int _fd
return int