Mercurial > ecos-v2_0-branch
comparison packages/net/tcpip/current/tests/ping_lo_test.c @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | 84e4bde58b26 |
| children | d60da272beeb |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 55 // PING test code | 55 // PING test code |
| 56 | 56 |
| 57 #include <network.h> | 57 #include <network.h> |
| 58 | 58 |
| 59 #include <cyg/infra/testcase.h> | 59 #include <cyg/infra/testcase.h> |
| 60 | |
| 61 #ifndef CYGPKG_LIBC_STDIO | |
| 62 #define perror(s) diag_printf(#s ": %s\n", strerror(errno)) | |
| 63 #endif | |
| 60 | 64 |
| 61 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_TYPICAL + 0x1000) | 65 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_TYPICAL + 0x1000) |
| 62 static char stack[STACK_SIZE]; | 66 static char stack[STACK_SIZE]; |
| 63 static cyg_thread thread_data; | 67 static cyg_thread thread_data; |
| 64 static cyg_handle_t thread_handle; | 68 static cyg_handle_t thread_handle; |
