1 #include "newpacket.hpp"
8 #include "timeparse.hpp"
10 int real_main(int argc
, char** argv
)
13 std::cerr
<< "syntax: mknulldmp.exe <length> <output>" << std::endl
;
17 uint64_t length
= parse_timespec(argv
[1]);
18 write_channel
wchan(argv
[2]);
20 std::vector
<struct channel
> channels
;
22 channels
[0].c_channel
= 0;
23 channels
[0].c_type
= 3;
24 channels
[0].c_channel_name
= "<DUMMY>";
25 wchan
.start_segment(channels
);
29 p2
.rp_timestamp
= length
;