# libcorkipset documentation

This is the documentation for libcorkipset 1.1.1+20150311-8, last updated Oct 23, 2017.

## Introduction

The ipset library provides C data types for storing sets of IP addresses, and maps of IP addresses to integers. It supports both IPv4 and IPv6 addresses. It’s implemented using “Binary Decision Diagrams” (BDDs, https://en.wikipedia.org/wiki/Binary_decision_diagram), which (we hypothesize) makes it space efficient for large sets.

## Contents

- Command-line utilities
  - ipsetbuild
  - ipsetcat
  - ipsetdot
- File format reference
  - Overview
  - On-disk syntax
- IP maps
  - Creating and freeing maps
  - Adding and removing elements
  - Querying a map
  - Storing maps in files
- IP sets
  - Creating and freeing sets
  - Adding and removing elements
  - Querying a set
  - Iterating through a set
  - Storing sets in files

## Indices and tables

- Index
- Search Page