C# 클래스 SIPSorcery.Sys.IPv4Header

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Version| IHL |Type of Service| Total Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Identification |Flags| Fragment Offset | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time to Live | Protocol | Header Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Source Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Destination Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Options | Padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DF int
DestinationAddress System.Net.IPAddress
FragmentOffset int
HeaderLength int
Id int
Length int
MF int
Protocol ProtocolType
SourceAddress System.Net.IPAddress
TTL int
TypeOfService int
Version int

공개 메소드들

메소드 설명
GetBytes ( ) : byte[]
GetChecksum ( byte buffer ) : UInt16
IPv4Header ( ProtocolType protocol, int id, IPAddress sourceAddress, IPAddress dstAddress ) : NUnit.Framework

메소드 상세

GetBytes() 공개 메소드

public GetBytes ( ) : byte[]
리턴 byte[]

GetChecksum() 공개 메소드

public GetChecksum ( byte buffer ) : UInt16
buffer byte
리턴 System.UInt16

IPv4Header() 공개 메소드

public IPv4Header ( ProtocolType protocol, int id, IPAddress sourceAddress, IPAddress dstAddress ) : NUnit.Framework
protocol ProtocolType
id int
sourceAddress System.Net.IPAddress
dstAddress System.Net.IPAddress
리턴 NUnit.Framework

프로퍼티 상세

DF 공개적으로 프로퍼티

public int DF
리턴 int

DestinationAddress 공개적으로 프로퍼티

public IPAddress,System.Net DestinationAddress
리턴 System.Net.IPAddress

FragmentOffset 공개적으로 프로퍼티

public int FragmentOffset
리턴 int

HeaderLength 공개적으로 프로퍼티

public int HeaderLength
리턴 int

Id 공개적으로 프로퍼티

public int Id
리턴 int

Length 공개적으로 프로퍼티

public int Length
리턴 int

MF 공개적으로 프로퍼티

public int MF
리턴 int

Protocol 공개적으로 프로퍼티

public ProtocolType Protocol
리턴 ProtocolType

SourceAddress 공개적으로 프로퍼티

public IPAddress,System.Net SourceAddress
리턴 System.Net.IPAddress

TTL 공개적으로 프로퍼티

public int TTL
리턴 int

TypeOfService 공개적으로 프로퍼티

public int TypeOfService
리턴 int

Version 공개적으로 프로퍼티

public int Version
리턴 int