From 5bac4f06e8ebc81ed16ec93a0db8682e6a359608 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Fri, 21 Dec 2007 18:04:49 +0000 Subject: o Use more appropriate names for the existing synchronization modes: o rename `persistent' mode to `alarm' o rename `nack' mode to `ftfw' o Now default synchronization mode is ftfw instead of alarm --- include/conntrackd.h | 10 +++++----- include/sync.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/conntrackd.h b/include/conntrackd.h index 2722f00..1bb3879 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -34,11 +34,11 @@ #define DEFAULT_SYSLOG_FACILITY LOG_DAEMON enum { - SYNC_MODE_PERSISTENT_BIT = 0, - SYNC_MODE_PERSISTENT = (1 << SYNC_MODE_PERSISTENT_BIT), + SYNC_MODE_ALARM_BIT = 0, + SYNC_MODE_ALARM = (1 << SYNC_MODE_ALARM_BIT), - SYNC_MODE_NACK_BIT = 1, - SYNC_MODE_NACK = (1 << SYNC_MODE_NACK_BIT), + SYNC_MODE_FTFW_BIT = 1, + SYNC_MODE_FTFW = (1 << SYNC_MODE_FTFW_BIT), DONT_CHECKSUM_BIT = 2, DONT_CHECKSUM = (1 << DONT_CHECKSUM_BIT), @@ -84,7 +84,7 @@ struct ct_conf { unsigned int listen_to_len; unsigned int flags; int family; /* protocol family */ - unsigned int resend_buffer_size;/* NACK protocol */ + unsigned int resend_buffer_size;/* FTFW protocol */ unsigned int window_size; int cache_write_through; }; diff --git a/include/sync.h b/include/sync.h index 6345513..a27fb93 100644 --- a/include/sync.h +++ b/include/sync.h @@ -18,7 +18,7 @@ struct sync_mode { void (*run)(int step); }; -extern struct sync_mode notrack; -extern struct sync_mode nack; +extern struct sync_mode alarm; +extern struct sync_mode ftfw; #endif -- cgit v1.2.3