|
| 1 | +/**************************************************************************** |
| 2 | + * apps/testing/nettest/tcp/test_tcp.h |
| 3 | + * |
| 4 | + * Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 | + * contributor license agreements. See the NOTICE file distributed with |
| 6 | + * this work for additional information regarding copyright ownership. The |
| 7 | + * ASF licenses this file to you under the Apache License, Version 2.0 (the |
| 8 | + * "License"); you may not use this file except in compliance with the |
| 9 | + * License. You may obtain a copy of the License at |
| 10 | + * |
| 11 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | + * |
| 13 | + * Unless required by applicable law or agreed to in writing, software |
| 14 | + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 15 | + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 16 | + * License for the specific language governing permissions and limitations |
| 17 | + * under the License. |
| 18 | + * |
| 19 | + ****************************************************************************/ |
| 20 | + |
| 21 | +#ifndef __APPS_TESTING_NETTEST_TCP_TEST_TCP_H |
| 22 | +#define __APPS_TESTING_NETTEST_TCP_TEST_TCP_H |
| 23 | + |
| 24 | +/**************************************************************************** |
| 25 | + * Included Files |
| 26 | + ****************************************************************************/ |
| 27 | + |
| 28 | +#include <nuttx/config.h> |
| 29 | + |
| 30 | +#include <nuttx/compiler.h> |
| 31 | + |
| 32 | +/**************************************************************************** |
| 33 | + * Name: test_tcp_group_setup |
| 34 | + ****************************************************************************/ |
| 35 | + |
| 36 | +int test_tcp_group_setup(FAR void **state); |
| 37 | + |
| 38 | +/**************************************************************************** |
| 39 | + * Name: test_tcp_group_teardown |
| 40 | + ****************************************************************************/ |
| 41 | + |
| 42 | +int test_tcp_group_teardown(FAR void **state); |
| 43 | + |
| 44 | +/**************************************************************************** |
| 45 | + * Name: test_tcp_connect_ipv4_setup |
| 46 | + ****************************************************************************/ |
| 47 | + |
| 48 | +#ifdef CONFIG_NET_IPv4 |
| 49 | +int test_tcp_connect_ipv4_setup(FAR void **state); |
| 50 | + |
| 51 | +/**************************************************************************** |
| 52 | + * Name: test_tcp_connect_ipv4 |
| 53 | + ****************************************************************************/ |
| 54 | + |
| 55 | +void test_tcp_connect_ipv4(FAR void **state); |
| 56 | +#endif /* CONFIG_NET_IPv4 */ |
| 57 | +#endif /* __APPS_TESTING_NETTEST_TCP_TEST_TCP_H */ |
0 commit comments