NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
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
6enum {
7 EtherTypeNDN = 0x8624,
8 EtherMulticastNDN = 0x01005E0017AA,
9 UDPPortNDN = 6363,
10 TtInvalid = 0x00,
11 TtLpPacket = 0x64,
13 TtLpSeqNum = 0x51,
16 TtPitToken = 0x62,
17 TtNack = 0x0320,
18 TtNackReason = 0x0321,
20 TtName = 0x07,
30 TtInterest = 0x05,
34 TtNonce = 0x0A,
36 TtHopLimit = 0x22,
38 TtISigInfo = 0x2C,
40 TtData = 0x06,
41 TtMetaInfo = 0x14,
45 TtContent = 0x15,
46 TtDSigInfo = 0x16,
48 TtSigType = 0x1B,
51 TtSigNonce = 0x26,
52 TtSigTime = 0x28,
55 TtNotBefore = 0x00FE,
56 TtNotAfter = 0x00FF,
57 TtSafeBag = 0x80,
59};
60
61typedef enum ContentType {
64 ContentKey = 0x02,
67} __attribute__((packed)) ContentType;
68
69typedef enum NackReason {
75} __attribute__((packed)) NackReason;
76
77typedef 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
@ 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
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