ndnparse

package
v0.0.0-...-005ee03 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: ISC Imports: 8 Imported by: 0

Documentation

Overview

Package ndnparse parses NDN packets and extracts names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(ctx context.Context, source gopacket.PacketDataSource) <-chan Packet

Parse parses NDN packets.

Types

type Packet

type Packet struct {
	Timestamp int64    `json:"timestamp"`
	Name      ndn.Name `json:"name"`
	Type      string   `json:"type"`
}

Packet contains information about an NDN packet.

Jump to

Keyboard shortcuts

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