diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-20 15:52:06 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-20 15:52:06 +0200 |
commit | da8717a4bfa8884a411ae2445b9f1654b0550a64 (patch) | |
tree | b04f02da10caf6d94e61d0d1496b8fd6f1573739 /src/sync-mode.c | |
parent | db91cafe5b72f9f591dd8c168427005503186c01 (diff) | |
download | conntrack-tools-da8717a4bfa8884a411ae2445b9f1654b0550a64.tar.gz conntrack-tools-da8717a4bfa8884a411ae2445b9f1654b0550a64.zip |
add Mcast[Snd|Rcv]SocketBuffer clauses to tune multicast socket buffers
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r-- | src/sync-mode.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c index 7d73e2f..ad55adc 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -211,6 +211,9 @@ static int init_sync(void) return -1; } + dlog(LOG_NOTICE, "multicast server socket receiver queue " + "has been set to %d bytes", CONFIG(mcast).rcvbuf); + /* multicast client to send events on the wire */ STATE_SYNC(mcast_client) = mcast_client_create(&CONFIG(mcast)); if (STATE_SYNC(mcast_client) == NULL) { @@ -219,6 +222,9 @@ static int init_sync(void) return -1; } + dlog(LOG_NOTICE, "multicast client socket sender queue " + "has been set to %d bytes", CONFIG(mcast).sndbuf); + if (mcast_buffered_init(&CONFIG(mcast)) == -1) { dlog(LOG_ERR, "can't init tx buffer!"); mcast_server_destroy(STATE_SYNC(mcast_server)); |