util

package
v0.0.0-...-d3e489a Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateICMPFragmentationFlow

func GenerateICMPFragmentationFlow(ipAddr, outputPort, inPort, cookie string, priority int) string

func GetDPUHostPrimaryIPAddresses

func GetDPUHostPrimaryIPAddresses(k8sNodeIP net.IP, ifAddrs []*net.IPNet) ([]*net.IPNet, error)

GetDPUHostPrimaryIPAddresses returns the DPU host IP/Network based on K8s Node IP and DPU IP subnet overriden by config config.Gateway.RouterSubnet

func GetNetworkInterfaceIPAddresses

func GetNetworkInterfaceIPAddresses(iface string) ([]*net.IPNet, error)

GetNetworkInterfaceIPAddresses returns the IP addresses for the network interface 'iface'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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