NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
an.h
Go to the documentation of this file.
1 // <auto-generated> ndn-dpdk/mk/enumgen
2 #ifndef NDNDPDK_NDNI_AN_H
3 #define NDNDPDK_NDNI_AN_H
4 #include <stdbool.h>
5 
6 enum {
7  EtherTypeNDN = 0x8624,
8  EtherMulticastNDN = 0x01005E0017AA,
9  UDPPortNDN = 6363,
10  TtInvalid = 0x00,
11  TtLpPacket = 0x64,
12  TtLpPayload = 0x50,
13  TtLpSeqNum = 0x51,
14  TtFragIndex = 0x52,
15  TtFragCount = 0x53,
16  TtPitToken = 0x62,
17  TtNack = 0x0320,
18  TtNackReason = 0x0321,
19  TtCongestionMark = 0x0340,
20  TtName = 0x07,
30  TtInterest = 0x05,
31  TtCanBePrefix = 0x21,
32  TtMustBeFresh = 0x12,
34  TtNonce = 0x0A,
36  TtHopLimit = 0x22,
38  TtISigInfo = 0x2C,
39  TtISigValue = 0x2E,
40  TtData = 0x06,
41  TtMetaInfo = 0x14,
42  TtContentType = 0x18,
44  TtFinalBlock = 0x1A,
45  TtContent = 0x15,
46  TtDSigInfo = 0x16,
47  TtDSigValue = 0x17,
48  TtSigType = 0x1B,
49  TtKeyLocator = 0x1C,
50  TtKeyDigest = 0x1D,
51  TtSigNonce = 0x26,
52  TtSigTime = 0x28,
53  TtSigSeqNum = 0x2A,
54  TtValidityPeriod = 0x00FD,
55  TtNotBefore = 0x00FE,
56  TtNotAfter = 0x00FF,
57  TtSafeBag = 0x80,
59 };
60 
61 typedef enum ContentType {
62  ContentBlob = 0x00,
63  ContentLink = 0x01,
64  ContentKey = 0x02,
65  ContentNack = 0x03,
67 } __attribute__((packed)) ContentType;
68 
69 typedef enum NackReason {
70  NackNone = 0,
73  NackNoRoute = 150,
75 } __attribute__((packed)) NackReason;
76 
77 typedef enum SigType {
78  SigSha256 = 0x00,
82  SigEd25519 = 0x05,
83  SigNull = 0xC8,
84 } __attribute__((packed)) SigType;
85 
86 #endif // NDNDPDK_NDNI_AN_H
ContentType
Definition: an.h:61
@ ContentLink
Definition: an.h:63
@ ContentKey
Definition: an.h:64
@ ContentPrefixAnn
Definition: an.h:66
@ ContentBlob
Definition: an.h:62
@ ContentNack
Definition: an.h:65
SigType
Definition: an.h:77
@ SigEd25519
Definition: an.h:82
@ SigSha256WithRsa
Definition: an.h:79
@ SigNull
Definition: an.h:83
@ SigHmacWithSha256
Definition: an.h:81
@ SigSha256
Definition: an.h:78
@ SigSha256WithEcdsa
Definition: an.h:80
NackReason
Definition: an.h:69
@ NackNone
Definition: an.h:70
@ NackUnspecified
Definition: an.h:74
@ NackCongestion
Definition: an.h:71
@ NackDuplicate
Definition: an.h:72
@ NackNoRoute
Definition: an.h:73
@ TtCongestionMark
Definition: an.h:19
@ TtParametersSha256DigestComponent
Definition: an.h:23
@ TtSafeBagEncryptedKey
Definition: an.h:58
@ TtPitToken
Definition: an.h:16
@ UDPPortNDN
Definition: an.h:9
@ TtSegmentNameComponent
Definition: an.h:25
@ TtDSigInfo
Definition: an.h:46
@ TtVersionNameComponent
Definition: an.h:27
@ TtLpSeqNum
Definition: an.h:13
@ TtSafeBag
Definition: an.h:57
@ EtherTypeNDN
Definition: an.h:7
@ TtInvalid
Definition: an.h:10
@ TtNackReason
Definition: an.h:18
@ TtCanBePrefix
Definition: an.h:31
@ TtName
Definition: an.h:20
@ TtFreshnessPeriod
Definition: an.h:43
@ TtNotAfter
Definition: an.h:56
@ TtMustBeFresh
Definition: an.h:32
@ TtISigInfo
Definition: an.h:38
@ TtFragIndex
Definition: an.h:14
@ TtSigNonce
Definition: an.h:51
@ TtContentType
Definition: an.h:42
@ TtKeywordNameComponent
Definition: an.h:24
@ TtFinalBlock
Definition: an.h:44
@ TtTimestampNameComponent
Definition: an.h:28
@ TtNack
Definition: an.h:17
@ TtSigTime
Definition: an.h:52
@ EtherMulticastNDN
Definition: an.h:8
@ TtSequenceNumNameComponent
Definition: an.h:29
@ TtKeyLocator
Definition: an.h:49
@ TtMetaInfo
Definition: an.h:41
@ TtDSigValue
Definition: an.h:47
@ TtImplicitSha256DigestComponent
Definition: an.h:22
@ TtAppParameters
Definition: an.h:37
@ TtInterestLifetime
Definition: an.h:35
@ TtContent
Definition: an.h:45
@ TtInterest
Definition: an.h:30
@ TtNotBefore
Definition: an.h:55
@ TtData
Definition: an.h:40
@ TtGenericNameComponent
Definition: an.h:21
@ TtISigValue
Definition: an.h:39
@ TtValidityPeriod
Definition: an.h:54
@ TtFragCount
Definition: an.h:15
@ TtLpPayload
Definition: an.h:12
@ TtNonce
Definition: an.h:34
@ TtHopLimit
Definition: an.h:36
@ TtKeyDigest
Definition: an.h:50
@ TtSigSeqNum
Definition: an.h:53
@ TtSigType
Definition: an.h:48
@ TtForwardingHint
Definition: an.h:33
@ TtLpPacket
Definition: an.h:11
@ TtByteOffsetNameComponent
Definition: an.h:26