summaryrefslogtreecommitdiffstats
path: root/src/network/networkctl-dump-util.h
blob: c4dfae9a46c29c252fe49aca03946391338170ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "sd-dhcp-lease.h"
#include "sd-hwdb.h"
#include "sd-netlink.h"

#include "ether-addr-util.h"
#include "format-table.h"

int dump_list(Table *table, const char *key, char * const *l);
int ieee_oui(sd_hwdb *hwdb, const struct ether_addr *mac, char **ret);
int dump_gateways(sd_netlink *rtnl, sd_hwdb *hwdb, Table *table, int ifindex);
int dump_addresses(sd_netlink *rtnl, sd_dhcp_lease *lease, Table *table, int ifindex);