17#include <ws_symbol_export.h>
78 BP_BUNDLE_REQ_DELETION_REPORT = 0x040000,
80 BP_BUNDLE_REQ_DELIVERY_REPORT = 0x020000,
82 BP_BUNDLE_REQ_FORWARDING_REPORT = 0x010000,
84 BP_BUNDLE_REQ_RECEPTION_REPORT = 0x004000,
86 BP_BUNDLE_REQ_STATUS_TIME = 0x000040,
88 BP_BUNDLE_USER_APP_ACK = 0x000020,
90 BP_BUNDLE_NO_FRAGMENT = 0x000004,
92 BP_BUNDLE_PAYLOAD_ADMIN = 0x000002,
94 BP_BUNDLE_IS_FRAGMENT = 0x000001,
95} BundleProcessingFlag;
102 BP_BLOCK_REMOVE_IF_NO_PROCESS = 0x10,
104 BP_BLOCK_DELETE_IF_NO_PROCESS = 0x04,
106 BP_BLOCK_STATUS_IF_NO_PROCESS = 0x02,
108 BP_BLOCK_REPLICATE_IN_FRAGMENT = 0x01,
109} BlockProcessingFlag;
115 BP_BLOCKTYPE_INVALID = 0,
117 BP_BLOCKTYPE_PAYLOAD = 1,
119 BP_BLOCKTYPE_PREV_NODE = 6,
121 BP_BLOCKTYPE_BUNDLE_AGE = 7,
123 BP_BLOCKTYPE_HOP_COUNT = 10,
125 BP_BLOCKTYPE_BIB = 11,
127 BP_BLOCKTYPE_BCB = 12,
135 BP_ADMINTYPE_BUNDLE_STATUS = 1,
136} AdminRecordTypeCode;
157int bp_creation_ts_compare(
const void *a,
const void *b,
void *user_data);
196bool bp_eid_equal(
const void *a,
const void *b);
308gboolean bp_bundle_ident_equal(
const void *a,
const void *b);
313unsigned bp_bundle_ident_hash(
const void *key);
Definition packet_info.h:43
Definition wmem_allocator.h:27
Definition wmem_list.c:23
Definition packet-bpv7.h:244
tvbuff_t * data
Type-specific data, unencoded.
Definition packet-bpv7.h:263
uint64_t blk_ix
Definition packet-bpv7.h:247
proto_item * item_block
Display item for the whole block.
Definition packet-bpv7.h:249
proto_tree * tree_data
Type-specific data tree.
Definition packet-bpv7.h:265
uint64_t * type_code
Type of this block.
Definition packet-bpv7.h:252
uint64_t crc_type
CRC type code (assumed zero)
Definition packet-bpv7.h:258
uint64_t flags
All flags on this block.
Definition packet-bpv7.h:256
tvbuff_t * crc_field
Raw bytes of CRC field.
Definition packet-bpv7.h:260
uint64_t * block_number
Unique identifier for this block.
Definition packet-bpv7.h:254
Metadata extracted from the primary block.
Definition packet-bpv7.h:207
bp_eid_t * dst_eid
Destination EID.
Definition packet-bpv7.h:215
uint64_t * total_len
Optional bundle total length.
Definition packet-bpv7.h:225
tvbuff_t * crc_field
Raw bytes of CRC field.
Definition packet-bpv7.h:229
uint64_t crc_type
CRC type code (assumed zero)
Definition packet-bpv7.h:227
uint64_t flags
Definition packet-bpv7.h:213
bp_eid_t * rep_nodeid
Report-to NID.
Definition packet-bpv7.h:219
proto_item * item_block
Display item for the whole block.
Definition packet-bpv7.h:209
uint64_t * frag_offset
Optional fragment start offset.
Definition packet-bpv7.h:223
bp_creation_ts_t ts
Creation Timestamp.
Definition packet-bpv7.h:221
bp_eid_t * src_nodeid
Source NID.
Definition packet-bpv7.h:217
Identification of an individual bundle.
Definition packet-bpv7.h:281
bp_creation_ts_t ts
Creation Timestamp.
Definition packet-bpv7.h:285
const uint64_t * frag_offset
Pointer to external optional fragment start offset.
Definition packet-bpv7.h:287
address src
Normalized EID URI for the Source Node ID.
Definition packet-bpv7.h:283
const uint64_t * total_len
Pointer to external optional bundle total length.
Definition packet-bpv7.h:289
Metadata extracted per-bundle.
Definition packet-bpv7.h:316
wmem_map_t * block_types
Definition packet-bpv7.h:334
uint32_t frame_num
Index of the frame.
Definition packet-bpv7.h:318
bp_bundle_ident_t * ident
Bundle identity derived from primary data.
Definition packet-bpv7.h:324
unsigned * pyld_start
Payload BTSD start offset in bundle TVB.
Definition packet-bpv7.h:337
nstime_t frame_time
Timestamp on the frame (end time if reassembled)
Definition packet-bpv7.h:322
unsigned * pyld_len
Payload BTSD length.
Definition packet-bpv7.h:339
wmem_map_t * block_nums
Definition packet-bpv7.h:331
uint8_t layer_num
Layer within the frame.
Definition packet-bpv7.h:320
bp_block_primary_t * primary
Required primary block.
Definition packet-bpv7.h:326
wmem_list_t * blocks
Additional blocks in order (type bp_block_canonical_t)
Definition packet-bpv7.h:328
Creation Timestamp used to correlate bundles.
Definition packet-bpv7.h:147
bp_dtn_time_t abstime
Absolute time.
Definition packet-bpv7.h:149
uint64_t seqno
Sequence number.
Definition packet-bpv7.h:151
Definition packet-bpv7.h:379
bp_bundle_t * bundle
The overall bundle being decoded (so far)
Definition packet-bpv7.h:381
bp_block_canonical_t * block
This block being decoded.
Definition packet-bpv7.h:383
DTN time with derived UTC time.
Definition packet-bpv7.h:139
nstime_t utctime
Converted to UTC.
Definition packet-bpv7.h:143
uint64_t dtntime
DTN time.
Definition packet-bpv7.h:141
Metadata from a Endpoint ID.
Definition packet-bpv7.h:167
uint64_t * ipn_serv
Optional IPN-scheme service name.
Definition packet-bpv7.h:180
wmem_allocator_t * alloc
Allocator for uri text and optional members.
Definition packet-bpv7.h:169
const char * dtn_wkssp
Optional DTN-scheme well-known SSP.
Definition packet-bpv7.h:176
uint64_t scheme
Scheme ID number.
Definition packet-bpv7.h:171
address uri
Derived URI text as address.
Definition packet-bpv7.h:173
const char * dtn_serv
Optional DTN-scheme service name.
Definition packet-bpv7.h:178
Metadata for an entire file.
Definition packet-bpv7.h:368
wmem_map_t * admin_status
Definition packet-bpv7.h:374
wmem_map_t * bundles
Map from a bundle ID (bp_bundle_ident_t) to wmem_list_t of bundle (bp_bundle_t)
Definition packet-bpv7.h:370
Security marking metadata.
Definition packet-bpv7.h:199
wmem_map_t * data_i
Block numbers marking the data as security integrity protected.
Definition packet-bpv7.h:201
wmem_map_t * data_c
Block numbers marking the data as security-modified and not decodable.
Definition packet-bpv7.h:203
Definition tvbuff-int.h:35