summaryrefslogtreecommitdiffstats
path: root/src/vector.c
Commit message (Collapse)AuthorAgeFilesLines
* conntrackd: prevent memory loss if reallocation failsDonald Yandt2024-03-041-2/+5
| | | | | | | | Vector data will be lost if reallocation fails, leading to undefined behaviour. Signed-off-by: Donald Yandt <donald.yandt@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* filter: CIDR-based filtering supportPablo Neira Ayuso2008-11-251-0/+88
This patch adds CIDR-based filtering support. The current implementation is O(n). This patch also introduces the vector data type which is used to store the IP address and the network mask. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>