Browse Source

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

Shelikhoo 3 years ago
parent
commit
84f2d47c74
1 changed files with 6 additions and 0 deletions
  1. 6 0
      transport/internet/config.proto

+ 6 - 0
transport/internet/config.proto

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