11bd4fe43Sopenharmony_ci/* ----------------------------------------------------------------------------
21bd4fe43Sopenharmony_ci * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
31bd4fe43Sopenharmony_ci * Description: implementation for iperf2.
41bd4fe43Sopenharmony_ci *
51bd4fe43Sopenharmony_ci * Redistribution and use in source and binary forms, with or without modification,
61bd4fe43Sopenharmony_ci * are permitted provided that the following conditions are met:
71bd4fe43Sopenharmony_ci * 1. Redistributions of source code must retain the above copyright notice, this list of
81bd4fe43Sopenharmony_ci * conditions and the following disclaimer.
91bd4fe43Sopenharmony_ci * 2. Redistributions in binary form must reproduce the above copyright notice, this list
101bd4fe43Sopenharmony_ci * of conditions and the following disclaimer in the documentation and/or other materials
111bd4fe43Sopenharmony_ci * provided with the distribution.
121bd4fe43Sopenharmony_ci * 3. Neither the name of the copyright holder nor the names of its contributors may be used
131bd4fe43Sopenharmony_ci * to endorse or promote products derived from this software without specific prior written
141bd4fe43Sopenharmony_ci * permission.
151bd4fe43Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
161bd4fe43Sopenharmony_ci * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
171bd4fe43Sopenharmony_ci * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
181bd4fe43Sopenharmony_ci * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
191bd4fe43Sopenharmony_ci * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
201bd4fe43Sopenharmony_ci * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
211bd4fe43Sopenharmony_ci * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
221bd4fe43Sopenharmony_ci * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
231bd4fe43Sopenharmony_ci * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
241bd4fe43Sopenharmony_ci * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
251bd4fe43Sopenharmony_ci * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
261bd4fe43Sopenharmony_ci * --------------------------------------------------------------------------- */
271bd4fe43Sopenharmony_ci
281bd4fe43Sopenharmony_ci#ifndef __IPERF_H__
291bd4fe43Sopenharmony_ci#define __IPERF_H__
301bd4fe43Sopenharmony_ci
311bd4fe43Sopenharmony_ci#ifdef __cplusplus
321bd4fe43Sopenharmony_ci#if __cplusplus
331bd4fe43Sopenharmony_ciextern "C" {
341bd4fe43Sopenharmony_ci#endif
351bd4fe43Sopenharmony_ci#endif
361bd4fe43Sopenharmony_ci
371bd4fe43Sopenharmony_ciuint32_t cmd_iperf(int32_t argc, const char **argv);
381bd4fe43Sopenharmony_ci
391bd4fe43Sopenharmony_ci#ifdef __cplusplus
401bd4fe43Sopenharmony_ci#if __cplusplus
411bd4fe43Sopenharmony_ci    }
421bd4fe43Sopenharmony_ci#endif
431bd4fe43Sopenharmony_ci#endif
441bd4fe43Sopenharmony_ci
451bd4fe43Sopenharmony_ci#endif /* __IPERF_H__ */
46