|
@ -144,7 +144,7 @@ static void exithelp(void) |
|
|
" --local-sndbuf=<bytes>\n" |
|
|
" --local-sndbuf=<bytes>\n" |
|
|
" --remote-rcvbuf=<bytes>\n" |
|
|
" --remote-rcvbuf=<bytes>\n" |
|
|
" --remote-sndbuf=<bytes>\n" |
|
|
" --remote-sndbuf=<bytes>\n" |
|
|
#ifdef __linux__ |
|
|
#ifdef SPLICE_PRESENT |
|
|
" --nosplice\t\t\t\t; do not use splice to transfer data between sockets\n" |
|
|
" --nosplice\t\t\t\t; do not use splice to transfer data between sockets\n" |
|
|
#endif |
|
|
#endif |
|
|
" --skip-nodelay\t\t\t\t; do not set TCP_NODELAY option for outgoing connections (incompatible with split options)\n" |
|
|
" --skip-nodelay\t\t\t\t; do not set TCP_NODELAY option for outgoing connections (incompatible with split options)\n" |
|
@ -336,7 +336,9 @@ void parse_params(int argc, char *argv[]) |
|
|
#elif defined(__linux__) |
|
|
#elif defined(__linux__) |
|
|
{ "mss",required_argument,0,0 },// optidx=53
|
|
|
{ "mss",required_argument,0,0 },// optidx=53
|
|
|
{ "mss-pf",required_argument,0,0 },// optidx=54
|
|
|
{ "mss-pf",required_argument,0,0 },// optidx=54
|
|
|
|
|
|
#ifdef SPLICE_PRESENT |
|
|
{ "nosplice",no_argument,0,0 },// optidx=55
|
|
|
{ "nosplice",no_argument,0,0 },// optidx=55
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
{ "hostlist-auto-retrans-threshold",optional_argument,0,0}, // ignored. for nfqws command line compatibility
|
|
|
{ "hostlist-auto-retrans-threshold",optional_argument,0,0}, // ignored. for nfqws command line compatibility
|
|
|
{ NULL,0,NULL,0 } |
|
|
{ NULL,0,NULL,0 } |
|
@ -777,9 +779,11 @@ void parse_params(int argc, char *argv[]) |
|
|
exit_clean(1); |
|
|
exit_clean(1); |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
|
|
|
#ifdef SPLICE_PRESENT |
|
|
case 55: /* nosplice */ |
|
|
case 55: /* nosplice */ |
|
|
params.nosplice = true; |
|
|
params.nosplice = true; |
|
|
break; |
|
|
break; |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|