mcastmanager

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package mcastmanager manages endpoint's IPv6 addresses and join the node solicitation multicast addresses

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCastManager

type MCastManager struct {
	// contains filtered or unexported fields
}

MCastManager manages IPv6 address

func New

func New(iface string) *MCastManager

New creates a McastManager instance. Create a dummy manager when iface is empty string.

func (*MCastManager) AddAddress

func (mgr *MCastManager) AddAddress(ipv6 netip.Addr)

AddAddress is called when a new endpoint is added

func (*MCastManager) RemoveAddress

func (mgr *MCastManager) RemoveAddress(ipv6 netip.Addr)

RemoveAddress is called when an endpoint is removed

Jump to

Keyboard shortcuts

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