From d7b03753f10d93d278091d39b95adf3b18a2770c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 29 Jun 2010 02:24:02 +0200 Subject: core: implement packet rate limiting and enable it by default --- avahi-core/iface.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'avahi-core/iface.h') 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); }; -- cgit