-
Notifications
You must be signed in to change notification settings - Fork 8
/
msg-type.h
53 lines (39 loc) · 1.12 KB
/
msg-type.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Copyright (C) 2016 Wentao Shang
*
* 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 net_ndn NDN packet processing
* @ingroup net
* @brief NDN packet sending and receiving.
* @{
*
* @file
* @brief Message type for internal communication between NDN thread
* and NDN App thread.
*
* @author Wentao Shang <[email protected]>
*/
#ifndef NDN_MSG_TYPE_H_
#define NDN_MSG_TYPE_H_
#ifdef __cplusplus
extern "C" {
#endif
#define NDN_APP_MSG_TYPE_TERMINATE (0x0300)
#define NDN_APP_MSG_TYPE_TIMEOUT (0x0301)
#define NDN_APP_MSG_TYPE_DATA (0x0302)
#define NDN_APP_MSG_TYPE_INTEREST (0x0303)
#define NDN_APP_MSG_TYPE_ADD_FACE (0x0304)
#define NDN_APP_MSG_TYPE_REMOVE_FACE (0x0305)
#define NDN_APP_MSG_TYPE_ADD_FIB (0x0306)
#define NDN_APP_MSG_TYPE_ADD_STRATEGY (0x0309)
#define NDN_PIT_MSG_TYPE_TIMEOUT (0x0307)
#define NDN_L2_FRAG_MSG_TYPE_TIMEOUT (0x0308)
#ifdef __cplusplus
}
#endif
#endif /* NDN_MSG_TYPE_H_ */
/** @} */