]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/ip-address-access.h
Merge pull request #11823 from keszybz/more-fuzz-coverage
[thirdparty/systemd.git] / src / core / ip-address-access.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
b36672e0
DM
2#pragma once
3
a2106925 4#include "conf-parser.h"
b36672e0
DM
5#include "in-addr-util.h"
6#include "list.h"
7
8typedef struct IPAddressAccessItem IPAddressAccessItem;
9
10struct IPAddressAccessItem {
11 int family;
12 unsigned char prefixlen;
13 union in_addr_union address;
14 LIST_FIELDS(IPAddressAccessItem, items);
15};
16
a2106925 17CONFIG_PARSER_PROTOTYPE(config_parse_ip_address_access);
b36672e0
DM
18
19IPAddressAccessItem* ip_address_access_free_all(IPAddressAccessItem *first);
1274b6c6
LP
20
21IPAddressAccessItem* ip_address_access_reduce(IPAddressAccessItem *first);