Свойство | Type | Description | |
---|---|---|---|
Ipv6HeaderLength | int |
Méthode | Description | |
---|---|---|
Create ( byte ipv6Packet, int &bytesCopied ) : Ipv6Header, |
This routine creates an instance of the Ipv6Header 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[] |
Packages up the IPv6 header and the given payload into a byte array suitable for sending on a socket.
|
|
Ipv6Header ( ) : System |
Simple constructor for the IPv6 header that initializes the fields to zero.
|
public static Create ( byte ipv6Packet, int &bytesCopied ) : Ipv6Header, | ||
ipv6Packet | byte | Byte array containing the binary IPv6 header |
bytesCopied | int | Number of bytes used in header |
Résultat | Ipv6Header, |
public GetProtocolPacketBytes ( byte payLoad ) : byte[] | ||
payLoad | byte | Data encapsulated by the IPv6 header |
Résultat | byte[] |