:orphan: .. index:: pair: enum; tapi_packetdrill_ip_version_t .. _doxid-group__tapi__packetdrill_1gaf3a6747b8c0af2671cd7a470a6a32790: enum tapi_packetdrill_ip_version_t ================================== Overview ~~~~~~~~ Flavors of IP versions we support. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum tapi_packetdrill_ip_version_t { :target:`TAPI_PACKETDRILL_IP_UNKNOWN` = -1, :ref:`TAPI_PACKETDRILL_IP_VERSION_4`, :ref:`TAPI_PACKETDRILL_IP_VERSION_4_MAPPED_6`, :ref:`TAPI_PACKETDRILL_IP_VERSION_6`, }; .. _details-group__tapi__packetdrill_1gaf3a6747b8c0af2671cd7a470a6a32790: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Flavors of IP versions we support. Enum Values ----------- .. index:: pair: enumvalue; TAPI_PACKETDRILL_IP_VERSION_4 .. _doxid-group__tapi__packetdrill_1ggaf3a6747b8c0af2671cd7a470a6a32790af9a1f0f5a90d1daeb8f7314b85321113: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_PACKETDRILL_IP_VERSION_4 Native IPv4, with AF_INET sockets and IPv4 addresses. .. index:: pair: enumvalue; TAPI_PACKETDRILL_IP_VERSION_4_MAPPED_6 .. _doxid-group__tapi__packetdrill_1ggaf3a6747b8c0af2671cd7a470a6a32790a02f7980b79728073cb37db994a374bc2: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_PACKETDRILL_IP_VERSION_4_MAPPED_6 IPv4-Mapped IPv6 addresses: (see RFC 4291 sec. 2.5.5.2) we use AF_INET6 sockets but all connect(), bind(), and accept() calls are for IPv4 addresses mapped into IPv6 address space. So all interface addresses and packets on the wire are IPv4. .. index:: pair: enumvalue; TAPI_PACKETDRILL_IP_VERSION_6 .. _doxid-group__tapi__packetdrill_1ggaf3a6747b8c0af2671cd7a470a6a32790a6d9e0947a1a1a9d6e21ca6f0192f39c8: .. ref-code-block:: cpp :class: doxyrest-title-code-block TAPI_PACKETDRILL_IP_VERSION_6 Native IPv6, with AF_INET6 sockets and IPv6 addresses.