summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-12-08 11:08:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-12-08 11:08:19 +0100
commit29b5df53bcbef17722ab2b389f3352c4e86b4795 (patch)
tree20dcd8d4597959c0a27b550c1140c47fe8ebfcf6
parent6042436a188581a327580f7821c0a3b94c4ef5d7 (diff)
downloadconntrack-tools-29b5df53bcbef17722ab2b389f3352c4e86b4795.tar.gz
conntrack-tools-29b5df53bcbef17722ab2b389f3352c4e86b4795.zip
network: remove unused function mcast_send_netmsg()
This patch removes the unused function mcast_send_netmsg(). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--include/network.h1
-rw-r--r--src/network.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/include/network.h b/include/network.h
index 3f8123d..b64753c 100644
--- a/include/network.h
+++ b/include/network.h
@@ -59,7 +59,6 @@ struct mcast_sock;
void build_netmsg(struct nf_conntrack *ct, int query, struct nethdr *net);
size_t prepare_send_netmsg(struct mcast_sock *m, void *data);
-int mcast_send_netmsg(struct mcast_sock *m, void *data);
enum {
SEQ_UNKNOWN,
diff --git a/src/network.c b/src/network.c
index 78be1e2..2f83d3b 100644
--- a/src/network.c
+++ b/src/network.c
@@ -140,17 +140,6 @@ ssize_t mcast_buffered_pending_netmsg(struct mcast_sock *m)
return ret;
}
-int mcast_send_netmsg(struct mcast_sock *m, void *data)
-{
- int ret;
- size_t len = prepare_send_netmsg(m, data);
-
- ret = mcast_buffered_send_netmsg(m, data, len);
- mcast_buffered_pending_netmsg(m);
-
- return ret;
-}
-
void build_netmsg(struct nf_conntrack *ct, int query, struct nethdr *net)
{
struct netpld *pld = NETHDR_DATA(net);