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
Click to show internal directories.
Click to hide internal directories.