]>
Commit | Line | Data |
---|---|---|
737f1405 | 1 | #include "bond.h" |
86bbe5bf ZJS |
2 | #include "dhcp6-internal.h" |
3 | #include "dhcp6-protocol.h" | |
86bbe5bf | 4 | #include "ethtool-util.h" |
737f1405 | 5 | #include "ipvlan.h" |
90208b82 | 6 | #include "lldp-internal.h" |
737f1405 | 7 | #include "macvlan.h" |
90208b82 | 8 | #include "ndisc-internal.h" |
279eadd9 | 9 | #include "netlink-internal.h" |
23f53b99 | 10 | #include "networkd-link.h" |
018eaf74 | 11 | #include "networkd-network.h" |
23f53b99 | 12 | #include "networkd-util.h" |
86bbe5bf | 13 | #include "test-tables.h" |
737f1405 | 14 | #include "tunnel.h" |
86bbe5bf ZJS |
15 | |
16 | int main(int argc, char **argv) { | |
018eaf74 ZJS |
17 | test_table(bond_ad_select, NETDEV_BOND_AD_SELECT); |
18 | test_table(bond_arp_all_targets, NETDEV_BOND_ARP_ALL_TARGETS); | |
19 | test_table(bond_arp_validate, NETDEV_BOND_ARP_VALIDATE); | |
20 | test_table(bond_fail_over_mac, NETDEV_BOND_FAIL_OVER_MAC); | |
21 | test_table(bond_lacp_rate, NETDEV_BOND_LACP_RATE); | |
279eadd9 | 22 | test_table(bond_mode, NETDEV_BOND_MODE); |
018eaf74 ZJS |
23 | test_table(bond_primary_reselect, NETDEV_BOND_PRIMARY_RESELECT); |
24 | test_table(bond_xmit_hash_policy, NETDEV_BOND_XMIT_HASH_POLICY); | |
86bbe5bf | 25 | test_table(dhcp6_message_status, DHCP6_STATUS); |
98310c71 | 26 | test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE); /* enum starts from 1 */ |
018eaf74 | 27 | test_table(dhcp_use_domains, DHCP_USE_DOMAINS); |
86bbe5bf | 28 | test_table(duplex, DUP); |
018eaf74 ZJS |
29 | test_table(ip6tnl_mode, NETDEV_IP6_TNL_MODE); |
30 | test_table(ipv6_privacy_extensions, IPV6_PRIVACY_EXTENSIONS); | |
31 | test_table(ipvlan_flags, NETDEV_IPVLAN_FLAGS); | |
279eadd9 ZJS |
32 | test_table(link_operstate, LINK_OPERSTATE); |
33 | /* test_table(link_state, LINK_STATE); — not a reversible mapping */ | |
018eaf74 | 34 | test_table(lldp_mode, LLDP_MODE); |
279eadd9 | 35 | test_table(netdev_kind, NETDEV_KIND); |
86bbe5bf | 36 | test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA); |
5f74e49e | 37 | test_table(radv_prefix_delegation, RADV_PREFIX_DELEGATION); |
279eadd9 | 38 | test_table(wol, WOL); |
90208b82 YW |
39 | test_table(lldp_event, SD_LLDP_EVENT); |
40 | test_table(ndisc_event, SD_NDISC_EVENT); | |
86bbe5bf | 41 | |
279eadd9 ZJS |
42 | test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE); |
43 | test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE); | |
2d792895 | 44 | test_table_sparse(address_family, ADDRESS_FAMILY); |
86bbe5bf ZJS |
45 | |
46 | return EXIT_SUCCESS; | |
47 | } |