X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fresponse-sched.c;h=6bc48cad55d80d3b518bafa7d5c682c624b0b99a;hb=1d6cecfe69fa2faea1c81ccd899bac24aad64273;hp=08598fc983f0707197945b781e5f4ada8bd711c4;hpb=4f0a5e7572a4257894b4bfede42c26d65152609e;p=catta diff --git a/avahi-core/response-sched.c b/avahi-core/response-sched.c index 08598fc..6bc48ca 100644 --- a/avahi-core/response-sched.c +++ b/avahi-core/response-sched.c @@ -29,9 +29,16 @@ #include "response-sched.h" #include "log.h" +/* Local packets are supressed this long after sending them */ #define AVAHI_RESPONSE_HISTORY_MSEC 500 + +/* Local packets are deferred this long before sending them */ #define AVAHI_RESPONSE_DEFER_MSEC 20 + +/* Additional jitter for deferred packets */ #define AVAHI_RESPONSE_JITTER_MSEC 100 + +/* Remote packets can suppress local traffic as long as this value */ #define AVAHI_RESPONSE_SUPPRESS_MSEC 700 typedef struct AvahiResponseJob AvahiResponseJob;