summaryrefslogtreecommitdiffstats
path: root/avahi-core/iface.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-29 02:24:02 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-29 02:24:02 +0200
commitd7b03753f10d93d278091d39b95adf3b18a2770c (patch)
tree49e7a335eac64aa01a84c3c1cd0003e83f02c8eb /avahi-core/iface.h
parent17cb9485bbf194aadf94642eafe261303fe8a867 (diff)
core: implement packet rate limiting and enable it by default
Diffstat (limited to 'avahi-core/iface.h')
-rw-r--r--avahi-core/iface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/avahi-core/iface.h b/avahi-core/iface.h
index b38578c..c3f24af 100644
--- a/avahi-core/iface.h
+++ b/avahi-core/iface.h
@@ -85,6 +85,10 @@ struct AvahiHwInterface {
AvahiSEntryGroup *entry_group;
+ /* Packet rate limiting */
+ struct timeval ratelimit_begin;
+ unsigned ratelimit_counter;
+
AVAHI_LLIST_HEAD(AvahiInterface, interfaces);
};