2 import "goby/protobuf/option_extensions.proto";
3 import "dccl/option_extensions.proto";
5 package goby.middleware.protobuf;
7 message UDPOneToManyConfig
13 required uint32 bind_port = 2 [
14 (goby.field) = { description: "UDP Port to bind on" example: "50000" }
17 optional bool set_reuseaddr = 10 [default = false];
18 optional bool set_broadcast = 11 [default = false];
19 optional bool ipv6 = 12 [default = false];
22 message UDPPointToPointConfig
28 optional uint32 bind_port = 2 [
30 description: "UDP Port to bind on. Defaults to dynamically allocated (0)"
36 required string remote_address = 5 [(goby.field) = {
37 description: "Remote address to transfer data to"
38 example: "192.168.1.1"
40 required uint32 remote_port = 6 [(goby.field) = {
41 description: "UDP port for remote endpoint"
45 optional bool set_reuseaddr = 10 [default = false];
46 optional bool set_broadcast = 11 [default = false];
47 optional bool ipv6 = 12 [default = false];