Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet_info.h File Reference
#include "frame_data.h"
#include "address.h"

Go to the source code of this file.

Classes

struct  _packet_info
 Represents the metadata and indexing information for a single captured frame. More...

Macros

#define P2P_DIR_UNKNOWN   -1
#define P2P_DIR_SENT   0
#define P2P_DIR_RECV   1
#define LINK_DIR_UNKNOWN   -1
#define P2P_DIR_UL   0
#define P2P_DIR_DL   1
#define PINFO_HAS_TS   0x00000001
#define DESEGMENT_ONE_MORE_SEGMENT   0x0fffffff
#define DESEGMENT_UNTIL_FIN   0x0ffffffe
#define PINFO_SRC(pi)
#define PINFO_DST(pi)
#define PINFO_SRCPORT(pi)
#define PINFO_DESTPORT(pi)
#define PINFO_NET_SRC(pi)
#define PINFO_NET_DST(pi)

Typedefs

typedef struct _packet_info packet_info
 Represents the metadata and indexing information for a single captured frame.

Detailed Description

Dissected packet data and metadata.

Macro Definition Documentation

◆ PINFO_DESTPORT

#define PINFO_DESTPORT ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_port2((pi)->conv_addr_port_endpoints) : (pi)->destport)

◆ PINFO_DST

#define PINFO_DST ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_addr2((pi)->conv_addr_port_endpoints) : &((pi)->dst))

◆ PINFO_NET_DST

#define PINFO_NET_DST ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_addr2((pi)->conv_addr_port_endpoints) : &((pi)->net_dst))

◆ PINFO_NET_SRC

#define PINFO_NET_SRC ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_addr1((pi)->conv_addr_port_endpoints) : &((pi)->net_src))

◆ PINFO_SRC

#define PINFO_SRC ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_addr1((pi)->conv_addr_port_endpoints) : &((pi)->src))

◆ PINFO_SRCPORT

#define PINFO_SRCPORT ( pi)
Value:
((pi)->use_conv_addr_port_endpoints ? conversation_addr_port_endpoints_port1((pi)->conv_addr_port_endpoints) : (pi)->srcport)