C# 클래스 IPv4Header_old, Hermod

This is the IPv4 protocol header.
상속: AProtocolHeader
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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.

메소드 상세

Create() 공개 정적인 메소드

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.
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,

GetProtocolPacketBytes() 공개 메소드

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.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte The encapsulated headers and data
리턴 byte[]

IPv4Header_old() 공개 메소드

Simple constructor that initializes the members to zero.
public IPv4Header_old ( ) : System
리턴 System

프로퍼티 상세

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

public static int Ipv4HeaderLength
리턴 int