syntax = "proto3";

package NNetworkCaptureFrame;

message TNetworkCaptureFrame {
    uint64 tssec = 1;
    uint64 tsusec = 2;
    uint32 caplen = 3;
    uint32 len = 4;
    
    bytes packet = 10;    
}

message TEmpty {
}

service TNetworkCaptureRouter {
    rpc CaptureStream(stream TNetworkCaptureFrame) returns(TEmpty) {};
}