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