Documentation
¶
Index ¶
- func ClosePacket(pkt ndn.IL3Packet)
- func CopyPitToken(pkt ndn.IL3Packet, src ndn.IL3Packet)
- func GetPitToken(pkt ndn.IL3Packet) uint64
- func MakeData(input interface{}, args ...interface{}) *ndn.Data
- func MakeInterest(input interface{}, args ...interface{}) *ndn.Interest
- func NameEqual(a *assert.Assertions, expected interface{}, actual interface{}, ...) bool
- func NameIsPrefix(a *assert.Assertions, prefix interface{}, name interface{}, ...) bool
- func SetFaceId(pkt ndn.IL3Packet, port uint16)
- func SetPitToken(pkt ndn.IL3Packet, token uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClosePacket ¶
func ClosePacket(pkt ndn.IL3Packet)
func CopyPitToken ¶
func CopyPitToken(pkt ndn.IL3Packet, src ndn.IL3Packet)
func GetPitToken ¶
func GetPitToken(pkt ndn.IL3Packet) uint64
func MakeData ¶
func MakeData(input interface{}, args ...interface{}) *ndn.Data
Make Data on dpdktestenv DirectMp. input: packet bytes as []byte or HEX, or name URI. args: additional arguments to ndn.MakeData. Panics if packet constructed from bytes is not Data.
func MakeInterest ¶
func MakeInterest(input interface{}, args ...interface{}) *ndn.Interest
Make Interest on dpdktestenv DirectMp. input: packet bytes as []byte or HEX, or name URI. args: additional arguments to ndn.MakeInterest. Panics if packet constructed from bytes is not Interest.
func NameEqual ¶
func NameEqual(a *assert.Assertions, expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool
func NameIsPrefix ¶
func NameIsPrefix(a *assert.Assertions, prefix interface{}, name interface{}, msgAndArgs ...interface{}) bool
func SetPitToken ¶
func SetPitToken(pkt ndn.IL3Packet, token uint64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.