Свойство | Тип | Описание | |
---|---|---|---|
Ipv4HeaderLength | int |
Метод | Описание | |
---|---|---|
Create ( byte ipv4Packet, int &bytesCopied ) : IPv4Header_old, |
This routine creates an instance of the Ipv4Header class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.
|
|
GetProtocolPacketBytes ( byte payLoad ) : byte[] |
This routine takes the properties of the IPv4 header and marhalls them into a byte array representing the IPv4 header that is to be sent on the wire.
|
|
IPv4Header_old ( ) : System |
Simple constructor that initializes the members to zero.
|
public static Create ( byte ipv4Packet, int &bytesCopied ) : IPv4Header_old, | ||
ipv4Packet | byte | Byte array containing the binary IPv4 header |
bytesCopied | int | Number of bytes used in header |
Результат | IPv4Header_old, |
public GetProtocolPacketBytes ( byte payLoad ) : byte[] | ||
payLoad | byte | The encapsulated headers and data |
Результат | byte[] |