]> git.proxmox.com Git - systemd.git/blob - src/network/test-network-tables.c
Imported Upstream version 217
[systemd.git] / src / network / test-network-tables.c
1 #include "networkd.h"
2 #include "networkd-link.h"
3 #include "networkd-netdev-bond.h"
4 #include "networkd-netdev-macvlan.h"
5 #include "dhcp6-internal.h"
6 #include "dhcp6-protocol.h"
7 #include "rtnl-internal.h"
8 #include "ethtool-util.h"
9
10 #include "test-tables.h"
11
12 int main(int argc, char **argv) {
13 test_table(bond_mode, NETDEV_BOND_MODE);
14 /* test_table(link_state, LINK_STATE); -- not a reversible mapping */
15 test_table(link_operstate, LINK_OPERSTATE);
16 test_table(dhcp_support, DHCP_SUPPORT);
17 test_table(netdev_kind, NETDEV_KIND);
18 test_table(dhcp6_message_status, DHCP6_STATUS);
19 test_table(duplex, DUP);
20 test_table(wol, WOL);
21 test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA);
22
23 test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE);
24 test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE);
25
26 return EXIT_SUCCESS;
27 }