Namespace inet
NetworkInterface
class(no description)
Extends
Name | Type | Description |
---|---|---|
cSimpleModule | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
up | bool | |
broadcast | bool | |
multicast | bool | |
pointToPoint | bool | |
loopback | bool | |
mtu | int | |
macAddress | MacAddress | |
ipv4Address | Ipv4Address | |
ipv4Netmask | Ipv4Address | |
protocolData | cObject[] |
Source code
class NetworkInterface extends cSimpleModule { @existingClass; @implements(cIListener); @descriptor(readonly); bool up @getter("isUp"); bool broadcast @getter("isBroadcast"); bool multicast @getter("isMulticast"); bool pointToPoint @getter("isPointToPoint"); bool loopback @getter("isLoopback"); int mtu; MacAddress macAddress; Ipv4Address ipv4Address @byValue @toValue(.str()) @fromValue(Ipv4Address($)); Ipv4Address ipv4Netmask @byValue @toValue(.str()) @fromValue(Ipv4Address($)); cObject *protocolData[] @getter(getProtocolData) @sizeGetter(getNumProtocolData); }File: src/inet/networklayer/common/NetworkInterface.msg