summaryrefslogtreecommitdiff
path: root/src/sync-ftfw.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-03-12 21:19:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-03-12 21:19:19 +0100
commit338d8fc2da19f5d6a75c339d9e6ecac43b68a1e4 (patch)
tree4fcdc9911c9831de78bd5ae3ae7f0a805fc7ffc2 /src/sync-ftfw.c
parent656d5ad7c69a5a7d356c6251743890f1eec0bb71 (diff)
downloadconntrack-tools-338d8fc2da19f5d6a75c339d9e6ecac43b68a1e4.tar.gz
conntrack-tools-338d8fc2da19f5d6a75c339d9e6ecac43b68a1e4.zip
sync-mode: rename mcast_track_*() by nethdr_track_*()
This patch is a cleanup. It renames the mcast_track_*() functions by nethdr_track_*() because this functions are related to message sequence tracking. They are not stick to multicast at all. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index cacbb13..e026b1c 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -129,7 +129,7 @@ static void tx_queue_add_ctlmsg2(uint32_t flags)
/* this function is called from the alarm framework */
static void do_alive_alarm(struct alarm_block *a, void *data)
{
- if (ack_from_set && mcast_track_is_seq_set()) {
+ if (ack_from_set && nethdr_track_is_seq_set()) {
/* exp_seq contains the last update received */
tx_queue_add_ctlmsg(NET_F_ACK,
ack_from,
@@ -396,7 +396,7 @@ static int ftfw_recv(const struct nethdr *net)
goto bypass;
}
- switch (mcast_track_seq(net->seq, &exp_seq)) {
+ switch (nethdr_track_seq(net->seq, &exp_seq)) {
case SEQ_AFTER:
ret = digest_msg(net);
if (ret == MSG_BAD) {
@@ -446,7 +446,7 @@ bypass:
out:
if ((ret == MSG_DATA || ret == MSG_CTL))
- mcast_track_update_seq(net->seq);
+ nethdr_track_update_seq(net->seq);
return ret;
}