ImportTextDialog
0
0
562
832
16777215
1000
true
true
-
-
File:
-
0
0
Set name of text file to import
-
Browse for text file to import
Browse…
-
0
0
0
Hex Dump
Import a standard hex dump as exported by Wireshark
-
-
1
-
Offsets in the text file are in octal notation
Octal
-
Offsets:
-
Offsets in the text file are in hexadecimal notation
Hexadecimal
true
-
Offsets in the text file are in decimal notation
Decimal
-
Qt::Horizontal
40
20
-
The text file has no offset
None
-
false
-
-
Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.
Direction indication:
-
Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.
-
Qt::Horizontal
40
20
-
-
<html><head/><body><p>Whether to do extra processing detecting the start of the ASCII representation at the end of a hex+ASCII line even if it looks like hex bytes.</p><p>Do not enable if the hex dump does not contain ASCII.</p></body></html>
ASCII identification:
-
<html><head/><body><p>Whether to do extra processing detecting the start of the ASCII representation at the end of a hex+ASCII line even if it looks like hex bytes.</p><p>Do not enable if the hex dump does not contain ASCII.</p></body></html>
-
Qt::Horizontal
40
20
-
Qt::Vertical
20
40
Regular Expression
Import a file formatted according to a custom regular expression
-
-
Packet format regular expression
-
0
0
16777215
16777215
1
1
100
100
<html><head/><body><p>Perl compatible regular expression capturing a single packet in the file with named groups identifieing data to import. Anchors ^ and $ also match before/after newlines </p><p>Required is only a data group, also supported are time, dir and seqno.</p><p>Regex flags: DUPNAMES, MULTILINE and NOEMPTY</p></body></html>
24
false
^(?<dir>(<|>))\s*(?<time>(\d\d\:){2}\d\d)\s+(?<seqno>\d{5})\s+(?<data>[0-9a-fA-F]*)$\s+
-
true
This is regexHintLabel, it will be set to default_regex_hint
true
-
QLayout::SetDefaultConstraint
-
Data encoding:
-
How data is encoded
-
<small><i>recommended regex:</small></i>
-
encodingRegexExample
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
Qt::Horizontal
40
20
-
-
Direction indication:
-
0
0
List of characters indicating incoming packets
6
iI<
-
true
List of characters indicating outgoing packets
oO>
-
Qt::Horizontal
40
20
-
-
The format in which to parse timestamps in the text file (e.g. %H:%M:%S.). Format specifiers are based on strptime(3)
Timestamp format:
-
<html><head/><body><p>The format in which to parse timestamps in the text file (e.g. %H:%M:%S.%f).</p><p>Format specifiers are based on strptime(3) with the addition of %f for second fractions. The precision of %f is determined from its length.</p></body></html>
%H:%M:%S.%f
-
timestampExampleLabel
-
Qt::Horizontal
40
20
-
Encapsulation
true
QFormLayout::FieldsStayAtSizeHint
-
-
Encapsulation Type:
-
Encapsulation type of the frames in the import capture file
-
Qt::Horizontal
40
20
-
1
-
Leave frames unchanged
No dummy header
true
-
Qt::Horizontal
40
20
-
Prefix each frame with an Ethernet header
Ethernet
-
Prefix each frame with an Ethernet and IP header
IP
-
Prefix each frame with an Ethernet, IP and UDP header
UDP
-
Prefix each frame with an Ethernet, IP and TCP header
TCP
-
Prefix each frame with an Ethernet, IP and SCTP header
SCTP
-
Prefix each frame with an Ethernet, IP and SCTP (DATA) header
SCTP (Data)
-
ExportPDU
-
Ethertype (hex):
-
Protocol (dec):
-
Source address:
-
Destination address:
-
Source port:
-
Destination port:
-
Tag:
-
PPI:
-
Dissector
-
The Ethertype value of each frame
0
-
The IP protocol ID for each frame
-
The IP source address for each frame
-
The IP destination address for each frame
-
The UDP, TCP or SCTP source port for each frame
-
The UDP, TCP or SCTP destination port for each frame
-
The SCTP verification tag for each frame
-
The SCTP DATA payload protocol identifier for each frame
-
The dissector to use for each frame
-
IP version:
-
The IP Version to use for the dummy IP header
-
-
Interface name:
-
The name of the interface to write to the import capture file
Fake IF, Import from Hex Dump
-
-
Maximum frame length:
-
The maximum size of the frames to write to the import capture file (max 256kiB)
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Open
ElidedLabel
QLabel
SyntaxLineEdit
QLineEdit
widgets/syntax_line_edit.h
buttonBox
accepted()
ImportTextDialog
accept()
248
254
157
274
buttonBox
rejected()
ImportTextDialog
reject()
316
260
286
274