-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! tests: provide gnrc_sock_ip tests
Fix and clean-up tests
- Loading branch information
Showing
5 changed files
with
306 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright (C) 2016 Freie Universität Berlin | ||
* | ||
* This file is subject to the terms and conditions of the GNU Lesser | ||
* General Public License v2.1. See the file LICENSE in the top level | ||
* directory for more details. | ||
*/ | ||
|
||
/** | ||
* @defgroup | ||
* @ingroup | ||
* @brief | ||
* @{ | ||
* | ||
* @file | ||
* @brief | ||
* | ||
* @author Martine Lenders <m.lenders@fu-berlin.de> | ||
*/ | ||
#ifndef CONSTANTS_H_ | ||
#define CONSTANTS_H_ | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#define _TEST_PROTO (254) /* https://tools.ietf.org/html/rfc3692#section-2.1 */ | ||
#define _TEST_NETIF (31) | ||
#define _TEST_TIMEOUT (1000000U) | ||
#define _TEST_ADDR_LOCAL { 0x7f, 0xc4, 0x11, 0x5a, 0xe6, 0x91, 0x8d, 0x5d, \ | ||
0x8c, 0xd1, 0x47, 0x07, 0xb7, 0x6f, 0x9b, 0x48 } | ||
#define _TEST_ADDR_REMOTE { 0xe8, 0xb3, 0xb2, 0xe6, 0x70, 0xd4, 0x55, 0xba, \ | ||
0x93, 0xcf, 0x11, 0xe1, 0x72, 0x44, 0xc5, 0x9d } | ||
#define _TEST_ADDR_WRONG { 0x2a, 0xce, 0x5d, 0x4e, 0xc8, 0xbf, 0x86, 0xf7, \ | ||
0x85, 0x49, 0xb4, 0x19, 0xf2, 0x28, 0xde, 0x9b } | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* CONSTANTS_H_ */ | ||
/** @} */ |
Oops, something went wrong.