Explorar el Código

add bind to device, socket buf size setting to socket options

Shelikhoo hace 4 años
padre
commit
84f2d47c74
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      transport/internet/config.proto

+ 6 - 0
transport/internet/config.proto

@@ -97,4 +97,10 @@ message SocketConfig {
   uint32 tfo_queue_length = 9;
 
   int32 tcp_keep_alive_idle = 10;
+
+  string bind_to_device = 11;
+
+  int64 socket_rx_buf_size = 12;
+
+  int64 socket_tx_buf_size = 13;
 }