Ntk.Core.NIC Reference Manual
Packages
vd
Ntk
Core
NIC
is_active
mac
create_instance
register_class
NIC
_add_address
_disable_filtering
_down
_is_active_getter
_mac_getter
_remove_address
_up
add_address
disable_filtering
down
remove_address
up
addresses
name
NIC
Object Hierarchy:
Description:
public
abstract
class
NIC
:
Object
All known sub-classes:
DummyNIC
LinuxNIC
Namespace:
Ntk.Core
Package:
vd
Content:
Properties:
public
string
mac
{
get
; }
public
bool
is_active
{
get
; }
Static methods:
public
static
void
register_class
(
string
k,
CreateNicDelegate
create_new_nic)
public
static
NIC
create_instance
(
string
nic_name)
Creation methods:
protected
NIC
(
string
nic_name)
Methods:
public
void
up
()
Brings the interface up.
protected
abstract
void
_up
()
public
void
down
()
Brings the interface down.
protected
abstract
void
_down
()
public
void
add_address
(
string
address)
Add NIC address.
protected
abstract
void
_add_address
(
string
address)
public
void
remove_address
(
string
address)
Remove NIC address.
protected
abstract
void
_remove_address
(
string
address)
public
void
disable_filtering
()
Disables filtering.
protected
abstract
void
_disable_filtering
()
public
abstract
unowned
string
_mac_getter
()
public
abstract
bool
_is_active_getter
()
Fields:
protected
string
name
protected
ArrayList
<
string
>
addresses