Implements the DHCP client protocol. DHCP (Dynamic Host Configuration Protocol), described in RFC 2131, provides configuration parameters to Internet hosts. Requires UDP.
See also: DHCPServer, DHCPMessage
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
interfaceTableModule | string |
The path to the InterfaceTable module |
|
routingTableModule | string | ||
interface | string | "" |
which NIC should be configured (i.e. wlan0, eth1 etc.) |
startTime | double | 0s |
starting time of DHCP initialization |
Name | Value | Description |
---|---|---|
display | i=block/app2 |
Name | Direction | Size | Description |
---|---|---|---|
udpIn | input | ||
udpOut | output |
// // Implements the DHCP client protocol. DHCP (Dynamic Host Configuration Protocol), // described in RFC 2131, provides configuration parameters to Internet hosts. // Requires UDP. // // @see DHCPServer, DHCPMessage // simple DHCPClient like IUDPApp { parameters: string interfaceTableModule; // The path to the InterfaceTable module string routingTableModule; string interface = default(""); // which NIC should be configured (i.e. wlan0, eth1 etc.) double startTime @unit(s) = default(0s); // starting time of DHCP initialization @display("i=block/app2"); gates: input udpIn @labels(UDPControlInfo/up); output udpOut @labels(UDPControlInfo/down); }