File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import "protect/control/v1/common.proto";
77service ControlService {
88 rpc GetHostStatus (GetHostStatusRequest ) returns (GetHostStatusReply );
99 rpc SnoopIdm (SnoopIdmRequest ) returns (stream SnoopIdmReply );
10+ rpc SnoopControl (SnoopControlRequest ) returns (stream SnoopControlReply );
1011 rpc GetHostCpuTopology (GetHostCpuTopologyRequest ) returns (GetHostCpuTopologyReply );
1112
1213 rpc ListDevices (ListDevicesRequest ) returns (ListDevicesReply );
@@ -426,6 +427,30 @@ message SnoopIdmPacket {
426427 bytes packet = 3 ;
427428}
428429
430+ message SnoopControlRequest {}
431+
432+ message SnoopControlReply {
433+ repeated SnoopControlPacket packets = 1 ;
434+ uint64 skipped = 2 ;
435+ }
436+
437+ enum SnoopControlPacketForm {
438+ SNOOP_CONTROL_PACKET_FORM_UNKNOWN = 0 ;
439+ SNOOP_CONTROL_PACKET_FORM_REQUEST = 1 ;
440+ SNOOP_CONTROL_PACKET_FORM_ERROR = 2 ;
441+ SNOOP_CONTROL_PACKET_FORM_RESPONSE = 3 ;
442+ }
443+
444+ message SnoopControlPacket {
445+ uint64 id = 1 ;
446+ ResourceOrigin origin = 2 ;
447+ string service = 3 ;
448+ string method = 4 ;
449+ SnoopControlPacketForm form = 5 ;
450+ string payload = 6 ;
451+ bool closed = 7 ;
452+ }
453+
429454message PullImageRequest {
430455 string image = 1 ;
431456 OciImageFormat format = 2 ;
You can’t perform that action at this time.
0 commit comments