an

package
v0.0.0-...-6c4fd92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: NIST-PD-fallback Imports: 1 Imported by: 3

Documentation

Overview

Package an exports Assigned Numbers in NDN.

Index

Constants

View Source
const (
	ContentBlob      = 0x00
	ContentLink      = 0x01
	ContentKey       = 0x02
	ContentNack      = 0x03
	ContentPrefixAnn = 0x05
)

ContentType assigned numbers.

View Source
const (
	NackNone        = 0
	NackCongestion  = 50
	NackDuplicate   = 100
	NackNoRoute     = 150
	NackUnspecified = 255
)

NackReason assigned numbers.

View Source
const (
	EtherTypeNDN      = 0x8624
	EtherMulticastNDN = 0x01005E0017AA
	UDPPortNDN        = 6363
)

NDN protocol numbers.

View Source
const (
	SigSha256          = 0x00
	SigSha256WithRsa   = 0x01
	SigSha256WithEcdsa = 0x03
	SigHmacWithSha256  = 0x04
	SigEd25519         = 0x05
	SigNull            = 0xC8
)

SigType assigned numbers.

View Source
const (
	TtInvalid = 0x00

	TtLpPacket       = 0x64
	TtLpPayload      = 0x50
	TtLpSeqNum       = 0x51
	TtFragIndex      = 0x52
	TtFragCount      = 0x53
	TtPitToken       = 0x62
	TtNack           = 0x0320
	TtNackReason     = 0x0321
	TtCongestionMark = 0x0340

	TtName                            = 0x07
	TtGenericNameComponent            = 0x08
	TtImplicitSha256DigestComponent   = 0x01
	TtParametersSha256DigestComponent = 0x02
	TtKeywordNameComponent            = 0x20
	TtSegmentNameComponent            = 0x32
	TtByteOffsetNameComponent         = 0x34
	TtVersionNameComponent            = 0x36
	TtTimestampNameComponent          = 0x38
	TtSequenceNumNameComponent        = 0x3A

	TtInterest         = 0x05
	TtCanBePrefix      = 0x21
	TtMustBeFresh      = 0x12
	TtForwardingHint   = 0x1E
	TtNonce            = 0x0A
	TtInterestLifetime = 0x0C
	TtHopLimit         = 0x22
	TtAppParameters    = 0x24
	TtISigInfo         = 0x2C
	TtISigValue        = 0x2E

	TtData            = 0x06
	TtMetaInfo        = 0x14
	TtContentType     = 0x18
	TtFreshnessPeriod = 0x19
	TtFinalBlock      = 0x1A
	TtContent         = 0x15
	TtDSigInfo        = 0x16
	TtDSigValue       = 0x17

	TtSigType    = 0x1B
	TtKeyLocator = 0x1C
	TtKeyDigest  = 0x1D
	TtSigNonce   = 0x26
	TtSigTime    = 0x28
	TtSigSeqNum  = 0x2A

	TtValidityPeriod = 0x00FD
	TtNotBefore      = 0x00FE
	TtNotAfter       = 0x00FF

	TtSafeBag             = 0x80
	TtSafeBagEncryptedKey = 0x81
)

TLV-TYPE assigned numbers.

Variables

This section is empty.

Functions

func NackReasonString

func NackReasonString(reason uint8) string

NackReasonString converts NackReason to string.

func SigTypeString

func SigTypeString(sigType uint32) string

SigTypeString converts SigType to string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL