clihelper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapShow

func MapShow() error

MapShow - Lists out all active maps created by AWS Network Policy Agent

func MapWalk

func MapWalk(mapID int) error

MapWalk - Displays content of individual maps (IPv4)

func MapWalkv6

func MapWalkv6(mapID int) error

MapWalkv6 - Displays contents of individual maps (IPv6)

func ProgShow

func ProgShow() error

ProgShow - Lists out all programs created by AWS Network Policy Agent

func Show

func Show() error

Show - Displays all loaded AWS BPF Programs and their associated maps

Types

type BPFTrieKey

type BPFTrieKey struct {
	PrefixLen uint32
	IP        uint32
}

type BPFTrieKeyV6

type BPFTrieKeyV6 struct {
	PrefixLen uint32
	IP        [16]byte
}

type BPFTrieVal

type BPFTrieVal struct {
	Protocol  uint32
	StartPort uint32
	EndPort   uint32
}

type ConntrackKey

type ConntrackKey struct {
	Source_ip   uint32
	Source_port uint16
	Dest_ip     uint32
	Dest_port   uint16
	Protocol    uint8
}

type ConntrackKeyV6

type ConntrackKeyV6 struct {
	Source_ip   [16]byte //16
	Source_port uint16   // 2
	Dest_ip     [16]byte //16
	Dest_port   uint16   // 2
	Protocol    uint8    // 1
}

type ConntrackVal

type ConntrackVal struct {
	Value uint8
}

Jump to

Keyboard shortcuts

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