Class DHCP
Inheritance
System.Object
DHCP
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.Deploy.Pixie.dll
Syntax
Constructors
|
Improve this Doc
View Source
DHCP(Byte[], String)
Declaration
public DHCP(byte[] aServerIP, string aBootFile)
Parameters
Type |
Name |
Description |
System.Byte[] |
aServerIP |
|
System.String |
aBootFile |
|
Fields
|
Improve this Doc
View Source
ClientPort
Declaration
protected const int ClientPort = 68
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
mBootFile
Declaration
protected string mBootFile
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
mClientIP
Declaration
protected byte[] mClientIP
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
mRecvEndPoint
Declaration
protected IPEndPoint mRecvEndPoint
Field Value
Type |
Description |
System.Net.IPEndPoint |
|
|
Improve this Doc
View Source
mServerIP
Declaration
protected byte[] mServerIP
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
mUDP
Declaration
Field Value
Type |
Description |
System.Net.Sockets.UdpClient |
|
|
Improve this Doc
View Source
ServerPort
Declaration
protected const int ServerPort = 67
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
DoLog(String)
Declaration
protected void DoLog(string aText)
Parameters
Type |
Name |
Description |
System.String |
aText |
|
|
Improve this Doc
View Source
Execute()
Declaration
|
Improve this Doc
View Source
Receive(DhcpPacket.MsgType)
Declaration
protected DhcpPacket Receive(DhcpPacket.MsgType aWaitFor)
Parameters
Returns
|
Improve this Doc
View Source
Send(DhcpPacket)
Declaration
protected void Send(DhcpPacket aPacket)
Parameters
|
Improve this Doc
View Source
SendAck(DhcpPacket, DhcpPacket)
Declaration
protected DhcpPacket SendAck(DhcpPacket aDiscover, DhcpPacket aRequest)
Parameters
Returns
|
Improve this Doc
View Source
SendOffer(DhcpPacket)
Declaration
protected DhcpPacket SendOffer(DhcpPacket aDiscover)
Parameters
Returns
|
Improve this Doc
View Source
Stop()
Declaration
Events
|
Improve this Doc
View Source
OnLog
Declaration
public event Action<DHCP, string> OnLog
Event Type
Type |
Description |
System.Action<DHCP, System.String> |
|