2014-07-10 04:29:24 +02:00
|
|
|
#include "dhcp6-internal.h"
|
|
|
|
#include "dhcp6-protocol.h"
|
|
|
|
#include "ethtool-util.h"
|
2015-11-16 22:09:36 +01:00
|
|
|
#include "netlink-internal.h"
|
2016-11-13 02:01:19 +01:00
|
|
|
#include "netdev/bond.h"
|
|
|
|
#include "netdev/macvlan.h"
|
2015-11-16 22:09:36 +01:00
|
|
|
#include "networkd.h"
|
2014-07-10 04:29:24 +02:00
|
|
|
#include "test-tables.h"
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
test_table(bond_mode, NETDEV_BOND_MODE);
|
2016-04-22 04:57:06 +02:00
|
|
|
/* test_table(link_state, LINK_STATE); — not a reversible mapping */
|
2014-07-10 04:29:24 +02:00
|
|
|
test_table(link_operstate, LINK_OPERSTATE);
|
2015-01-13 19:48:19 +01:00
|
|
|
test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN);
|
2014-07-10 04:29:24 +02:00
|
|
|
test_table(netdev_kind, NETDEV_KIND);
|
|
|
|
test_table(dhcp6_message_status, DHCP6_STATUS);
|
|
|
|
test_table(duplex, DUP);
|
|
|
|
test_table(wol, WOL);
|
|
|
|
test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA);
|
|
|
|
|
|
|
|
test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE);
|
2015-01-19 22:24:32 +01:00
|
|
|
test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE);
|
2014-07-10 04:29:24 +02:00
|
|
|
test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE);
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|