1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
7 #include "rte_telemetry_internal.h"
9 #ifndef _RTE_TELEMETRY_SOCKET_TESTING_H_
10 #define _RTE_TELEMETRY_SOCKET_TESTING_H_
13 rte_telemetry_json_socket_message_test(struct telemetry_impl *telemetry,
17 rte_telemetry_invalid_json_test(struct telemetry_impl *telemetry, int fd);
20 rte_telemetry_valid_json_test(struct telemetry_impl *telemetry, int fd);
23 rte_telemetry_json_contents_test(struct telemetry_impl *telemetry, int fd);
26 rte_telemetry_json_empty_test(struct telemetry_impl *telemetry, int fd);
29 rte_telemetry_socket_register_test(struct telemetry_impl *telemetry, int *fd,
30 int send_fd, int recv_fd);
33 rte_telemetry_socket_test_setup(struct telemetry_impl *telemetry, int *send_fd,