picolibrary

IP Facilities

WIZnet W5500 IP facilities are defined in the include/picolibrary/wiznet/w5500/ip.h/source/picolibrary/wiznet/w5500/ip.cc header/source file pair.

Table of Contents

  1. Port Allocator
  2. Network Stack

Port Allocator

The ::picolibrary::WIZnet::W5500::IP::Port_Allocator_Concept concept class defines the expected interface of a WIZnet W5500 IP protocol port allocator.

The ::picolibrary::WIZnet::W5500::IP::Unsupported_Protocol_Port_Allocator WIZnet W5500 IP protocol port allocator is used to catch attempts to allocate ports for protocols that are not used.

The ::picolibrary::WIZnet::W5500::IP::TCP_UDP_Port_Allocator_Without_Ephemeral_Port_Allocation WIZnet W5500 IP protocol port allocator is used to allocate TCP or UDP over IP ports. Ephemeral port allocation is not supported.

The ::picolibrary::Testing::Automated::WIZnet::W5500::IP::Mock_Port_Allocator mock WIZnet W5500 IP protocol port allocator class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/wiznet/w5500/ip.h/source/picolibrary/testing/automated/wiznet/w5500/ip.cc header/source file pair.

Network Stack

The ::picolibrary::WIZnet::W5500::IP::Network_Stack template class implements an IP network stack interface for interacting with a WIZnet W5500. The ::picolibrary::WIZnet::W5500::IP::Network_Stack template class is defined in the include/picolibrary/wiznet/w5500/ip/network_stack.h/source/picolibrary/wiznet/w5500/ip/network_stack.cc header/source file pair. See the ::picolibrary::IP::Network_Stack_Concept docuentation for more information.

::picolibrary::WIZnet::W5500::IP::Network_Stack automated tests are defined in the test/automated/picolibrary/wiznet/w5500/ip/network_stack/main.cc source file.

The ::picolibrary::Testing::Automated::WIZnet::W5500::IP::Mock_Network_Stack mock WIZnet W5500 IP network stack class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/wiznet/w5500/ip/network_stack.h/source/picolibrary/testing/automated/wiznet/w5500/ip/network_stack.cc header/source file pair.

The ::picolibrary::Testing::Interactive::WIZnet::W5500::IP::ping() interactive test helper is available if the PICOLIBRARY_ENABLE_INTERACTIVE_TESTING project configuration option is ON. The interactive test helper is defined in the include/picolibrary/testing/interactive/wiznet/w5500/ip/network_stack.h/source/picolibrary/testing/interactive/wiznet/w5500/ip/network_stack.cc header/source file pair.