Represents an address.
Creates an Address Object representing an IPv4 address.
The Address object.
Creates an Address Object representing an IPv6 address.
The Address object
A Column in the packet list.
The Column
s of the packet list.
Sets the text of a specific column. Some columns cannot be modified, and no error is raised if attempted. The columns that are known to allow modification are "info" and "protocol".
Name | Description |
---|---|
number | Frame number |
abs_time | Absolute timestamp |
utc_time | UTC timestamp |
cls_time | CLS timestamp |
rel_time | Relative timestamp |
date | Absolute date and time |
date_doy | Absolute year, day of year, and time |
utc_date | UTC date and time |
utc_date_doy | UTC year, day of year, and time |
delta_time | Delta time from previous packet |
delta_time_displayed | Delta time from previous displayed packet |
src | Source address |
src_res | Resolved source address |
src_unres | Numeric source address |
dl_src | Source data link address |
dl_src_res | Resolved source data link address |
dl_src_unres | Numeric source data link address |
net_src | Source network address |
net_src_res | Resolved source network address |
net_src_unres | Numeric source network address |
dst | Destination address |
dst_res | Resolve destination address |
dst_unres | Numeric destination address |
dl_dst | Destination data link address |
dl_dst_res | Resolved destination data link address |
dl_dst_unres | Numeric destination data link address |
net_dst | Destination network address |
net_dst_res | Resolved destination network address |
net_dst_unres | Numeric destination network address |
src_port | Source port |
src_port_res | Resolved source port |
src_port_unres | Numeric source port |
dst_port | Destination port |
dst_port_res | Resolved destination port |
dst_port_unres | Numeric destination port |
protocol | Protocol name |
info | General packet information |
packet_len | Packet length |
cumulative_bytes | Cumulative bytes in the capture |
direction | Packet direction |
vsan | Virtual SAN |
tx_rate | Transmit rate |
rssi | RSSI value |
dce_call | DCE call |
pinfo.cols['info'] = 'foo bar'
— syntactic sugar (equivalent to above) pinfo.cols.info = 'foo bar'
Get a specific Column
.
Conversation object, used to attach conversation data or a conversation dissector
Searches for a Conversation
instance matching criteria. If one does not exist and 'create'
is true, one will be created, otherwise nil
will be returned. Note that, although there are
'first' and 'second' addresses and ports, a conversation does not distinguish between source
or destination. These are effectively matching criteria that wireshark uses to flag a packet as
belonging to the conversation.
convtypes.NONE
, convtypes.SCTP
,
convtypes.TCP
, convtypes.UDP
, convtypes.DCCP
, convtypes.IPX
, convtypes.NCP
,
convtypes.EXCHG
, convtypes.DDP
, convtypes.SBCCS
, convtypes.IDP
, convtypes.TIPC
,
convtypes.USB
, convtypes.I2C
, convtypes.IBQP
, convtypes.BLUETOOTH
, convtypes.TDMOP
,
convtypes.DVBCI
, convtypes.ISO14443
, convtypes.ISDN
, convtypes.H223
, convtypes.X25
,
convtypes.IAX2
, convtypes.DLCI
, convtypes.ISUP
, convtypes.BICC
, convtypes.GSMTAP
,
convtypes.IUUP
, convtypes.DVBBBF
, convtypes.IWARP_MPA
, convtypes.BT_UTP
, convtypes.LOG
,
convtypes.LTP
, convtypes.MCTP
, convtypes.NVME_MI
, convtypes.BP
, convtypes.SNMP
,
convtypes.QUIC
, convtypes.IDN
, convtypes.IP
, convtypes.IPV6
, convtypes.ETH
,
convtypes.ETH_NN
, convtypes.ETH_NV
, convtypes.ETH_IN
, convtypes.ETH_IV
,
convtypes.VSPC_VMOTION
, convtypes.OPENVPN
, convtypes.PROXY
, onvtypes.DNP3
Address
of the conversation.
Address
of theconversation. (defaults to nil)
nil
or 0
is treated as 'ignore' (default)
nil
or 0
is treated as 'ignore' (default)
The found or created Conversation
instance.
Searches for a Conversation
object by id. If one does not exist and 'create' is true, one
will be created, otherwise nil
will be returned. This is typically used if a protocol
encapsulates multiple 'sessions' or 'channels' in a single connection, and denotes this with
a 'channel id' or equivalent.
convtypes.NONE
,
convtypes.SCTP
, convtypes.TCP
, convtypes.UDP
, convtypes.DCCP
, convtypes.IPX
, convtypes.NCP
,
convtypes.EXCHG
, convtypes.DDP
, convtypes.SBCCS
, convtypes.IDP
, convtypes.TIPC
,
convtypes.USB
, convtypes.I2C
, convtypes.IBQP
, convtypes.BLUETOOTH
, convtypes.TDMOP
,
convtypes.DVBCI
, convtypes.ISO14443
, convtypes.ISDN
, convtypes.H223
, convtypes.X25
,
convtypes.IAX2
, convtypes.DLCI
, convtypes.ISUP
, convtypes.BICC
, convtypes.GSMTAP
,
convtypes.IUUP
, convtypes.DVBBBF
, convtypes.IWARP_MPA
, convtypes.BT_UTP
, convtypes.LOG
,
convtypes.LTP
, convtypes.MCTP
, convtypes.NVME_MI
, convtypes.BP
, convtypes.SNMP
,
convtypes.QUIC
, convtypes.IDN
, convtypes.IP
, convtypes.IPV6
, convtypes.ETH
,
convtypes.ETH_NN
, convtypes.ETH_NV
, convtypes.ETH_IN
, convtypes.ETH_IV
,
convtypes.VSPC_VMOTION
, convtypes.OPENVPN
, convtypes.PROXY
, onvtypes.DNP3
The found or created Conversation
instance.
Searches for a Conversation
object matching a pinfo. If one does not exist and 'create' is
true, one will be created, otherwise nil
will be returned. Note that this is a shortcut for
Conversation.find()
, where a pinfo structure is conveniently decomposed into individual
components for you. If you’re not sure which Conversation.find
method to use, most of the
time this will the the correct choice.
Pinfo
object.
The found or created Conversation
instance.
Compares two Conversation objects.
True if both objects refer to the same underlying conversation structure. False otherwise.
Sets protocol data for a specific protocol
Proto
Get protocol data for a specific protocol
Proto
Previously assigned conversation data, or nil
.
NSTime represents a nstime_t. This is an object with seconds and nanoseconds.
Creates a new NSTime object.
The new NSTime object.
Creates a NSTime object.
The new NSTime object.
Packet information.
Mode: Retrieve only.
Number of seconds passed since the last captured packet.
Mode: Retrieve only.
Number of seconds passed since the last displayed packet.
Mode: Retrieve only.
Value of can_desegment before the current dissector was called. Supplied so that proxy protocols like SOCKS can restore it to whatever the previous dissector (e.g. TCP) set it, so that the dissectors they call are desegmented via the previous dissector. Since: 4.3.1
Mode: Retrieve or assign.
Estimated number of additional bytes required for completing the PDU.
Mode: Retrieve or assign.
Offset in the tvbuff at which the dissector will continue processing when next called.
Mode: Retrieve only.
Matched string for calling subdissector from table.
Mode: Retrieve or assign.
Network Layer Destination Address of this Packet.
Mode: Retrieve only.
Access to the packet list columns (equivalent to pinfo.columns).
Mode: Retrieve or assign.
On read, returns a Conversation
object (equivalent to Conversation.find_from_pinfo(pinfo, 0, True)
)
On write, sets the Dissector
for the current conversation (shortcut for pinfo.conversation.dissector = dissector
). Accepts either a Dissector
object or a Proto
object with an assigned dissector