:orphan: .. index:: pair: group; ICMP .. _doxid-group__tapi__tad__icmp: ICMP ==== .. toctree:: :hidden: Overview ~~~~~~~~ Copyright (C) 2019-2022 OKTET Labs Ltd. :ref:`More...<details-group__tapi__tad__icmp>` .. ref-code-block:: cpp :class: doxyrest-overview-code-block // global functions :ref:`te_errno<doxid-te__errno_8h_1ac9fc14f28b70f4785037c1df70ebc2a5>` :ref:`tapi_udp_ip_icmp_ip_eth_csap_create<doxid-group__tapi__tad__icmp_1ga09d0bfb65a91d2960b47eee9ab34e9cc>`(const char* ta_name, int sid, const char* eth_dev, unsigned int receive_mode, const uint8_t* loc_eth, const uint8_t* rem_eth, const struct sockaddr* loc_saddr, const struct sockaddr* rem_saddr, const struct sockaddr* msg_loc_saddr, const struct sockaddr* msg_rem_saddr, int af, :ref:`csap_handle_t<doxid-tad__common_8h_1a7e2c7bef7cfecc60d78d3abd2c200ea8>`* udp_csap); :ref:`te_errno<doxid-te__errno_8h_1ac9fc14f28b70f4785037c1df70ebc2a5>` :ref:`tapi_tcp_ip_icmp_ip_eth_csap_create<doxid-group__tapi__tad__icmp_1gaac6c6b60c4b49f58ea80dd2692773a44>`(const char* ta_name, int sid, const char* eth_dev, unsigned int receive_mode, const uint8_t* loc_eth, const uint8_t* rem_eth, const struct sockaddr* loc_saddr, const struct sockaddr* rem_saddr, const struct sockaddr* msg_loc_saddr, const struct sockaddr* msg_rem_saddr, int af, :ref:`csap_handle_t<doxid-tad__common_8h_1a7e2c7bef7cfecc60d78d3abd2c200ea8>`* tcp_csap); .. _details-group__tapi__tad__icmp: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Copyright (C) 2019-2022 OKTET Labs Ltd. All rights reserved. Global Functions ---------------- .. index:: pair: function; tapi_udp_ip_icmp_ip_eth_csap_create .. _doxid-group__tapi__tad__icmp_1ga09d0bfb65a91d2960b47eee9ab34e9cc: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno<doxid-te__errno_8h_1ac9fc14f28b70f4785037c1df70ebc2a5>` tapi_udp_ip_icmp_ip_eth_csap_create(const char* ta_name, int sid, const char* eth_dev, unsigned int receive_mode, const uint8_t* loc_eth, const uint8_t* rem_eth, const struct sockaddr* loc_saddr, const struct sockaddr* rem_saddr, const struct sockaddr* msg_loc_saddr, const struct sockaddr* msg_rem_saddr, int af, :ref:`csap_handle_t<doxid-tad__common_8h_1a7e2c7bef7cfecc60d78d3abd2c200ea8>`* udp_csap) Create 'udp.ip.icmp.ip.eth' CSAP on the specified Agent, IPv4 or IPv6 version depends on the ``af``. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ta_name - Test Agent name * - sid - RCF SID * - eth_dev - Name of Ethernet interface * - receive_mode - Bitmask with receive mode, see 'enum tad_eth_recv_mode' in ``tad_common.h``. Use TAD_ETH_RECV_DEF by default. * - loc_eth - Local MAC address (or NULL) * - rem_eth - Remote MAC address (or NULL) * - loc_saddr - Local IP address (or NULL) * - rem_saddr - Remote IP address (or NULL) * - msg_loc_saddr - Local IP address/port of ICMP Error message (or NULL) * - msg_rem_saddr - Remote IP address/port of ICMP Error message (or NULL) * - af - Address family * - udp_csap - Location for the CSAP handle (OUT) .. rubric:: Returns: Status code .. index:: pair: function; tapi_tcp_ip_icmp_ip_eth_csap_create .. _doxid-group__tapi__tad__icmp_1gaac6c6b60c4b49f58ea80dd2692773a44: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno<doxid-te__errno_8h_1ac9fc14f28b70f4785037c1df70ebc2a5>` tapi_tcp_ip_icmp_ip_eth_csap_create(const char* ta_name, int sid, const char* eth_dev, unsigned int receive_mode, const uint8_t* loc_eth, const uint8_t* rem_eth, const struct sockaddr* loc_saddr, const struct sockaddr* rem_saddr, const struct sockaddr* msg_loc_saddr, const struct sockaddr* msg_rem_saddr, int af, :ref:`csap_handle_t<doxid-tad__common_8h_1a7e2c7bef7cfecc60d78d3abd2c200ea8>`* tcp_csap) Create 'tcp.ip.icmp.ip.eth' CSAP on the specified Agent, IPv4 or IPv6 version depends on the ``af``. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ta_name - Test Agent name * - sid - RCF SID * - eth_dev - Name of Ethernet interface * - receive_mode - Bitmask with receive mode, see 'enum tad_eth_recv_mode' in ``tad_common.h``. Use TAD_ETH_RECV_DEF by default. * - loc_eth - Local MAC address (or NULL) * - rem_eth - Remote MAC address (or NULL) * - loc_saddr - Local IP address (or NULL) * - rem_saddr - Remote IP address (or NULL) * - msg_loc_saddr - Local IP address/port of ICMP Error message (or NULL) * - msg_rem_saddr - Remote IP address/port of ICMP Error message (or NULL) * - af - Address family * - tcp_csap - Location for the CSAP handle (OUT) .. rubric:: Returns: Status code