ipsectunnel

package
v0.0.0-...-e76145d Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TunnelConnected

func TunnelConnected(nodeName string) error

TunnelConnected Check if the IPSec tunnel is connected. Return nil if its connected, otherwise return an error.

Types

type IpsecTunnelPackets

type IpsecTunnelPackets struct {
	InBytes  int `default:"0"`
	OutBytes int `default:"0"`
}

IpsecTunnelPackets IPSec Tunnel packet counters.

func TunnelPackets

func TunnelPackets(nodeName string) *IpsecTunnelPackets

TunnelPackets Return the tunnel ingress and egress packets.

Jump to

Keyboard shortcuts

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