Goby v2
udp_driver.proto
1 
2 import "goby/common/protobuf/option_extensions.proto";
3 import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
4 
5 message UDPDriverConfig
6 {
7  message EndPoint
8  {
9  optional string ip = 1 [default = "127.0.0.1"];
10  required uint32 port = 2;
11  }
12 
13  extend goby.acomms.protobuf.DriverConfig
14  {
15  optional EndPoint local = 1341 [(goby.field).description =
16  "The endpoint of the local machine "
17  "(IP address can be omitted)"];
18  optional EndPoint remote = 1342
19  [(goby.field).description =
20  "The endpoint of the receiving machine."];
21  optional int32 max_frame_size = 1343 [default = 65536];
22  }
23 }