cfg 619 src/libsir/src/sirinternal.c sirconfig cfg; cfg 620 src/libsir/src/sirinternal.c (void)memcpy(&cfg, _cfg, sizeof(sirconfig)); cfg 623 src/libsir/src/sirinternal.c buf.timestamp = cfg.state.timestamp; cfg 624 src/libsir/src/sirinternal.c buf.hostname = cfg.state.hostname; cfg 625 src/libsir/src/sirinternal.c buf.pid = cfg.state.pidbuf; cfg 626 src/libsir/src/sirinternal.c buf.name = cfg.si.name; cfg 653 src/libsir/src/sirinternal.c if (cfg.state.last.level == level && cfg 654 src/libsir/src/sirinternal.c cfg.state.last.prefix[0] == buf.message[0] && cfg 655 src/libsir/src/sirinternal.c cfg.state.last.prefix[1] == buf.message[1]) { cfg 657 src/libsir/src/sirinternal.c match = cfg.state.last.hash == hash; cfg 661 src/libsir/src/sirinternal.c cfg.state.last.counter++; cfg 663 src/libsir/src/sirinternal.c if (cfg.state.last.counter >= cfg.state.last.threshold - 2) { cfg 664 src/libsir/src/sirinternal.c size_t old_threshold = cfg.state.last.threshold; cfg 667 src/libsir/src/sirinternal.c cfg.state.last.threshold *= SIR_SQUELCH_BACKOFF_FACTOR; cfg 668 src/libsir/src/sirinternal.c cfg.state.last.squelch = true; cfg 672 src/libsir/src/sirinternal.c cfg.state.last.threshold, SIR_SQUELCH_BACKOFF_FACTOR); cfg 675 src/libsir/src/sirinternal.c } else if (cfg.state.last.squelch) { cfg 679 src/libsir/src/sirinternal.c cfg.state.last.squelch = false; cfg 680 src/libsir/src/sirinternal.c cfg.state.last.counter = 0; cfg 681 src/libsir/src/sirinternal.c cfg.state.last.threshold = SIR_SQUELCH_THRESHOLD; cfg 689 src/libsir/src/sirinternal.c _cfg->state.last.squelch = cfg.state.last.squelch; cfg 698 src/libsir/src/sirinternal.c _cfg->state.last.counter = cfg.state.last.counter; cfg 699 src/libsir/src/sirinternal.c _cfg->state.last.threshold = cfg.state.last.threshold; cfg 706 src/libsir/src/sirinternal.c bool dispatched = _sir_dispatch(&cfg.si, level, &buf);