C# 클래스 Ipv6Header, Hermod

상속: AProtocolHeader
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Ipv6HeaderLength int

공개 메소드들

메소드 설명
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.

메소드 상세

Create() 공개 정적인 메소드

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.
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
리턴 Ipv6Header,

GetProtocolPacketBytes() 공개 메소드

Packages up the IPv6 header and the given payload into a byte array suitable for sending on a socket.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Data encapsulated by the IPv6 header
리턴 byte[]

Ipv6Header() 공개 메소드

Simple constructor for the IPv6 header that initializes the fields to zero.
public Ipv6Header ( ) : System
리턴 System

프로퍼티 상세

Ipv6HeaderLength 공개적으로 정적으로 프로퍼티

public static int Ipv6HeaderLength
리턴 int