Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PKTMON_PACKET_HEADER_INFORMATION struct contains the packet header information.
Syntax
typedef struct _PKTMON_PACKET_HEADER_INFORMATION {
SOCKADDR_INET SockAddrLocal;
SOCKADDR_INET SockAddrRemote;
UCHAR IpProtocol;
union {
struct {
USHORT PortLocal;
USHORT PortRemote;
} Udp;
struct {
USHORT PortLocal;
USHORT PortRemote;
UCHAR Flags;
} Tcp;
struct {
UCHAR Type;
UCHAR Code;
} Icmp;
} Transport;
_PKTMON_TRANSPORT_PROTOCOL _PKTMON_TRANSPORT_PROTOCOL;
} PKTMON_PACKET_HEADER_INFORMATION;
Members
SockAddrLocal
The local socket address.
SockAddrRemote
The remote socket address.
IpProtocol
The IP protocol.
Transport
A union that defines the transport protocol.
Transport.Udp
The UDP protocol.
Transport.Udp.PortLocal
The local port for the UDP protocol.
Transport.Udp.PortRemote
The remote port for the UDP protocol.
Transport.Tcp
The TCP protocol.
Transport.Tcp.PortLocal
The local port for the TCP protocol.
Transport.Tcp.PortRemote
The remote port for the TCP protocol.
Transport.Tcp.Flags
Flags for the TCP protocol.
Transport.Icmp
The ICMP protocol.
Transport.Icmp.Type
The type for the ICMP protocol.
Transport.Icmp.Code
The code for the ICMP protocol.
_PKTMON_TRANSPORT_PROTOCOL
Requirements
Requirement | Value |
---|---|
Header | pktmonnpik.h |