aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/file-pcapng.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2018-10-01 14:52:50 +0200
committerAnders Broman <a.broman58@gmail.com>2018-10-02 14:45:30 +0000
commitb82546af00265a91d45d0da1603bcdcc2b8647b6 (patch)
tree01652ac651ff9ad29459ec590de87487ca6b95c8 /epan/dissectors/file-pcapng.c
parentf71f9684388c9112ac6c2b080fd59358203ebd21 (diff)
file-pcapng.c: Add the names of block types we know about.
Change-Id: I2c4edbac1cda370b0079492c5775330f9553d5a6 Reviewed-on: https://code.wireshark.org/review/29958 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/file-pcapng.c')
-rw-r--r--epan/dissectors/file-pcapng.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/file-pcapng.c b/epan/dissectors/file-pcapng.c
index f91d41487a..28f350584d 100644
--- a/epan/dissectors/file-pcapng.c
+++ b/epan/dissectors/file-pcapng.c
@@ -203,6 +203,8 @@ static gboolean pref_dissect_next_layer = FALSE;
#define BLOCK_ENHANCED_PACKET 0x00000006
#define BLOCK_IRIG_TIMESTAMP 0x00000007
#define BLOCK_ARINC_429 0x00000008
+#define BLOCK_SYSTEMD_JOURNAL 0x00000009
+#define BLOCK_DSB 0x0000000a
#define BLOCK_SECTION_HEADER 0x0A0D0D0A
#define BLOCK_DARWIN_PROCESS 0x80000001
@@ -214,7 +216,11 @@ static const value_string block_type_vals[] = {
{ 0x00000005, "Interface Statistics Block" },
{ 0x00000006, "Enhanced Packet Block" },
{ 0x00000007, "IRIG Timestamp Block" },
- { 0x00000008, "Arinc 429 in AFDX Encapsulation Information Block " },
+ { 0x00000008, "Arinc 429 in AFDX Encapsulation Information Block" },
+ { 0x00000009, "systemd Journal Export Block" },
+ { 0x0000000A, "Decryption Secrets Block" },
+ { 0x00000204, "Sysdig Event Block" },
+ { 0x00000208, "Sysdig Event Block with flags" },
{ 0x0A0D0D0A, "Section Header Block" },
{ 0x80000001, "Darwin Process Event Block" },
{ 0, NULL }
@@ -1578,6 +1584,7 @@ static gint dissect_block(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
break;
case BLOCK_IRIG_TIMESTAMP:
case BLOCK_ARINC_429:
+ case BLOCK_DSB:
default:
offset += block_data_length;
}