picolibrary

IP Facilities

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

Table of Contents

  1. Address
  2. Port
  3. Endpoint
  4. Network Stack

Address

The ::picolibrary::IP::Address class is used to store an IP address.

::picolibrary::IP::Address automated tests are defined in the test/automated/picolibrary/ip/address/main.cc source file.

::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Address. The ::picolibrary::Output_Formatter<::picolibrary::IP::Address> specialization does not support user formatting configuration. ::picolibrary::Output_Formatter<::picolibrary::IP::Address> automated tests are defined in the test/automated/picolibrary/ip/address/main.cc source file.

A std::ostream insertion operator is defined for ::picolibrary::IP::Address if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc header/source file pair.

Port

The ::picolibrary::IP::Port class is used to store a protocol port.

::picolibrary::IP::Port automated tests are defined in the test/automated/picolibrary/ip/port/main.cc source file.

::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Port. The ::picolibrary::Output_Formatter<::picolibrary::IP::Port> specialization does not support user formatting configuration. ::picolibrary::Output_Formatter<::picolibrary::IP::Port> automated tests are defined in the test/automated/picolibrary/ip/port/main.cc source file.

A std::ostream insertion operator is defined for ::picolibrary::IP::Port if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc header/source file pair.

Endpoint

The ::picolibrary::IP::Endpoint class is used to store a protocol endpoint (IP address, protocol port pair).

::picolibrary::IP::Endpoint automated tests are defined in the test/automated/picolibrary/ip/endpoint/main.cc source file.

::picolibrary::Output_Formatter is specialized for ::picolibrary::IP::Endpoint. The ::picolibrary::Output_Formatter<::picolibrary::IP::Endpoint> specialization does not support user formatting configuration. ::picolibrary::Output_Formatter<::picolibrary::IP::Endpoint> automated tests are defined in the test/automated/picolibrary/ip/endpoint/main.cc source file.

A std::ostream insertion operator is defined for ::picolibrary::IP::Endpoint if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The insertion operator is defined in the include/picolibrary/testing/automated/ip.h/source/picolibrary/testing/automated/ip.cc header/source file pair.

Network Stack

The ::picolibrary::IP::Network_Stack_Concept concept class defines the expected interface of an IP network stack. The ::picolibrary::IP::Network_Stack_Concept concept class is defined in the include/picolibrary/ip/network_stack.h/source/picolibrary/ip/network_stack.cc header/source file pair.

The ::picolibrary::Testing::Automated::IP::Mock_Network_Stack mock 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/ip/network_stack.h/source/picolibrary/testing/automated/ip/network_stack.cc header/source file pair.