From 67994842694e57a42f524e228ca7acc564f2104f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 30 Nov 2008 14:01:29 +0100 Subject: network: make tx buffer initialization independent of mcast config This patch changes the prototype of mcast_buffered_init() to receive as argument the MTU size instead of the multicast configuration. This decouples the initialization of the tx buffer from the multicast configuration. This patch is needed by the multi-dedicated link support. Signed-off-by: Pablo Neira Ayuso --- include/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/network.h') diff --git a/include/network.h b/include/network.h index f24fb5f..5da1db5 100644 --- a/include/network.h +++ b/include/network.h @@ -75,7 +75,7 @@ int mcast_track_is_seq_set(void); struct mcast_conf; -int mcast_buffered_init(struct mcast_conf *mconf); +int mcast_buffered_init(int mtu); void mcast_buffered_destroy(void); int mcast_buffered_send_netmsg(struct mcast_sock *m, void *data, size_t len); ssize_t mcast_buffered_pending_netmsg(struct mcast_sock *m); -- cgit v1.2.3