tcp: config option for the async write block size
[sip-router] / cfg.lex
diff --git a/cfg.lex b/cfg.lex
index b8d2877..175ac68 100644 (file)
--- a/cfg.lex
+++ b/cfg.lex
@@ -305,6 +305,8 @@ TCP_OPT_FD_CACHE    "tcp_fd_cache"
 TCP_OPT_BUF_WRITE      "tcp_buf_write"|"tcp_async"
 TCP_OPT_CONN_WQ_MAX    "tcp_conn_wq_max"
 TCP_OPT_WQ_MAX         "tcp_wq_max"
+TCP_OPT_RD_BUF         "tcp_rd_buf_size"
+TCP_OPT_WQ_BLK         "tcp_wq_blk_size"
 TCP_OPT_DEFER_ACCEPT "tcp_defer_accept"
 TCP_OPT_DELAYED_ACK    "tcp_delayed_ack"
 TCP_OPT_SYNCNT         "tcp_syncnt"
@@ -605,6 +607,10 @@ EAT_ABLE   [\ \t\b\r]
                                                                        return TCP_OPT_CONN_WQ_MAX; }
 <INITIAL>{TCP_OPT_WQ_MAX}      { count(); yylval.strval=yytext;
                                                                        return TCP_OPT_WQ_MAX; }
+<INITIAL>{TCP_OPT_RD_BUF}      { count(); yylval.strval=yytext;
+                                                                       return TCP_OPT_RD_BUF; }
+<INITIAL>{TCP_OPT_WQ_BLK}      { count(); yylval.strval=yytext;
+                                                                       return TCP_OPT_WQ_BLK; }
 <INITIAL>{TCP_OPT_BUF_WRITE}   { count(); yylval.strval=yytext;
                                                                        return TCP_OPT_BUF_WRITE; }
 <INITIAL>{TCP_OPT_DEFER_ACCEPT}        { count(); yylval.strval=yytext;