dhcpd-pools  3.0
ISC dhcpd lease usage analyser
Functions
analyze.c File Reference

Data analysis functions. More...

#include <config.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include "dhcpd-pools.h"
Include dependency graph for analyze.c:

Functions

void prepare_data (struct conf_t *state)
 Prepare data for analysis. More...
 
void do_counting (struct conf_t *state)
 Perform counting. More...
 

Detailed Description

Data analysis functions.

Function Documentation

◆ do_counting()

void do_counting ( struct conf_t state)

Perform counting.

Join leases with ranges, and update range and shared network counters.

Referenced by main().

◆ prepare_data()

void prepare_data ( struct conf_t state)

Prepare data for analysis.

The function will sort leases and ranges.

Referenced by main().

Here is the call graph for this function: