Package list golang-github-farsightsec-go-nmsg / upstream/0.0_git20190917.04d2174 nmsg.proto
upstream/0.0_git20190917.04d2174

Tree @upstream/0.0_git20190917.04d2174 (Download .tar.gz)

nmsg.proto @upstream/0.0_git20190917.04d2174raw · history · blame

syntax = "proto2";
package nmsg;

message Nmsg {
    repeated NmsgPayload    payloads = 1;
    repeated uint32         payload_crcs = 2;
    optional uint32         sequence = 3;
    optional uint64         sequence_id = 4;
}

message NmsgFragment {
    required uint32         id = 1;
    required uint32         current = 2;
    required uint32         last = 3;
    required bytes          fragment = 4;
    optional uint32         crc = 5;
}

message NmsgPayload {
    required uint32         vid = 1;
    required uint32         msgtype = 2;
    required int64          time_sec = 3;
    required fixed32        time_nsec = 4;
    optional bytes          payload = 5;
    optional uint32         source = 7;
    optional uint32         operator = 8;
    optional uint32         group = 9;
}