|
join 1.0
lightweight network framework library
|
#include <join/condition.hpp>#include <join/error.hpp>#include <join/ndp.hpp>#include <gtest/gtest.h>#include <system_error>#include <atomic>#include <thread>#include <netinet/ip6.h>#include <net/ethernet.h>#include <cstddef>
Classes | |
| class | Inbox< Message > |
| messages received by a listener. More... | |
| class | NdpTest |
| Class used to test the neighbor discovery protocol API. More... | |
| class | NdpLinkTest |
| Class used to test the messages only a link peer can forge. More... | |
Functions | |
| TEST_F (NdpTest, create) | |
| test the construction of a client and a server. | |
| TEST_F (NdpTest, routerSolicit) | |
| test the routerSolicit method. | |
| TEST_F (NdpTest, routerSolicitSync) | |
| test the routerSolicit method waiting for the answer. | |
| TEST_F (NdpTest, routerSolicitFromListener) | |
| test the routerSolicit method called from a listener. | |
| TEST_F (NdpTest, setRouterAdvertisementListener) | |
| test the setRouterAdvertisementListener method. | |
| TEST_F (NdpTest, unsetRouterAdvertisementListener) | |
| test the unsetRouterAdvertisementListener method. | |
| TEST_F (NdpTest, setRouterSolicitationListener) | |
| test the setRouterSolicitationListener method. | |
| TEST_F (NdpTest, unsetRouterSolicitationListener) | |
| test the unsetRouterSolicitationListener method. | |
| TEST_F (NdpTest, routerAdvertise) | |
| test the routerAdvertise method. | |
| TEST_F (NdpTest, jumbo) | |
| test messages bigger than an ethernet frame. | |
| TEST_F (NdpTest, drop) | |
| test that the messages the checks reject are dropped. | |
| TEST_F (NdpTest, neighborAdvertise) | |
| test the neighborAdvertise method. | |
| TEST_F (NdpLinkTest, unspecifiedSource) | |
| test the solicitations sent from the unspecified address. | |
| TEST_F (NdpLinkTest, neighborSolicit) | |
| test the neighborSolicit method. | |
| TEST_F (NdpLinkTest, unspecifiedNeighborSource) | |
| test the neighbor solicitations sent from the unspecified address. | |
| TEST_F (NdpLinkTest, setNeighborSolicitationListener) | |
| test the setNeighborSolicitationListener method. | |
| TEST_F (NdpLinkTest, unsetNeighborSolicitationListener) | |
| test the unsetNeighborSolicitationListener method. | |
| TEST_F (NdpLinkTest, setNeighborAdvertisementListener) | |
| test the setNeighborAdvertisementListener method. | |
| TEST_F (NdpLinkTest, unsetNeighborAdvertisementListener) | |
| test the unsetNeighborAdvertisementListener method. | |
| TEST_F (NdpLinkTest, neighborAdvertiseReply) | |
| test the neighborAdvertise method answering a solicitation. | |
| int | main (int argc, char **argv) |
| main function. | |
| int main | ( | int | argc, |
| char ** | argv ) |
main function.
| TEST_F | ( | NdpLinkTest | , |
| neighborAdvertiseReply | ) |
test the neighborAdvertise method answering a solicitation.
| TEST_F | ( | NdpLinkTest | , |
| neighborSolicit | ) |
test the neighborSolicit method.
| TEST_F | ( | NdpLinkTest | , |
| setNeighborAdvertisementListener | ) |
test the setNeighborAdvertisementListener method.
| TEST_F | ( | NdpLinkTest | , |
| setNeighborSolicitationListener | ) |
test the setNeighborSolicitationListener method.
| TEST_F | ( | NdpLinkTest | , |
| unsetNeighborAdvertisementListener | ) |
test the unsetNeighborAdvertisementListener method.
| TEST_F | ( | NdpLinkTest | , |
| unsetNeighborSolicitationListener | ) |
test the unsetNeighborSolicitationListener method.
| TEST_F | ( | NdpLinkTest | , |
| unspecifiedNeighborSource | ) |
test the neighbor solicitations sent from the unspecified address.
| TEST_F | ( | NdpLinkTest | , |
| unspecifiedSource | ) |
test the solicitations sent from the unspecified address.
| TEST_F | ( | NdpTest | , |
| create | ) |
test the construction of a client and a server.
| TEST_F | ( | NdpTest | , |
| drop | ) |
test that the messages the checks reject are dropped.
| TEST_F | ( | NdpTest | , |
| jumbo | ) |
test messages bigger than an ethernet frame.
| TEST_F | ( | NdpTest | , |
| neighborAdvertise | ) |
test the neighborAdvertise method.
| TEST_F | ( | NdpTest | , |
| routerAdvertise | ) |
test the routerAdvertise method.
| TEST_F | ( | NdpTest | , |
| routerSolicit | ) |
test the routerSolicit method.
| TEST_F | ( | NdpTest | , |
| routerSolicitFromListener | ) |
test the routerSolicit method called from a listener.
| TEST_F | ( | NdpTest | , |
| routerSolicitSync | ) |
test the routerSolicit method waiting for the answer.
| TEST_F | ( | NdpTest | , |
| setRouterAdvertisementListener | ) |
test the setRouterAdvertisementListener method.
| TEST_F | ( | NdpTest | , |
| setRouterSolicitationListener | ) |
test the setRouterSolicitationListener method.
| TEST_F | ( | NdpTest | , |
| unsetRouterAdvertisementListener | ) |
test the unsetRouterAdvertisementListener method.
| TEST_F | ( | NdpTest | , |
| unsetRouterSolicitationListener | ) |
test the unsetRouterSolicitationListener method.