]>
Commit | Line | Data |
---|---|---|
86bbe5bf ZJS |
1 | #include "dhcp6-internal.h" |
2 | #include "dhcp6-protocol.h" | |
86bbe5bf | 3 | #include "ethtool-util.h" |
cf0fbc49 | 4 | #include "netlink-internal.h" |
441e9ae4 | 5 | #include "netdev/bond.h" |
23f53b99 | 6 | #include "netdev/ipvlan.h" |
441e9ae4 | 7 | #include "netdev/macvlan.h" |
23f53b99 TG |
8 | #include "networkd-link.h" |
9 | #include "networkd-util.h" | |
86bbe5bf ZJS |
10 | #include "test-tables.h" |
11 | ||
12 | int main(int argc, char **argv) { | |
13 | test_table(bond_mode, NETDEV_BOND_MODE); | |
ccddd104 | 14 | /* test_table(link_state, LINK_STATE); — not a reversible mapping */ |
86bbe5bf | 15 | test_table(link_operstate, LINK_OPERSTATE); |
cb9fc36a | 16 | test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN); |
86bbe5bf ZJS |
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); | |
c4a5ddc9 | 24 | test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE); |
86bbe5bf ZJS |
25 | test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE); |
26 | ||
27 | return EXIT_SUCCESS; | |
28 | } |