Table of Contents

Class PacketKeyBuilder

Namespace
Fluxzy.Core.Pcap
Assembly
Fluxzy.Core.Pcap.dll

Packet key builder aims to provide a 64 bits integer value to identify tcp streams and authority.

public static class PacketKeyBuilder
Inheritance
PacketKeyBuilder
Inherited Members

Methods

GetAuthorityKey(IPAddress, int)

public static long GetAuthorityKey(IPAddress address, int port)

Parameters

address IPAddress
port int

Returns

long

GetConnectionKey(TcpPacket, PhysicalAddress)

public static long GetConnectionKey(TcpPacket tcpPacket, PhysicalAddress physicalAddress)

Parameters

tcpPacket TcpPacket
physicalAddress PhysicalAddress

Returns

long

GetConnectionKey(int, int, IPAddress)

public static long GetConnectionKey(int localPort, int remotePort, IPAddress remoteAddress)

Parameters

localPort int
remotePort int
remoteAddress IPAddress

Returns

long