multicast

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 17

Documentation

Index

Constants

View Source
const MulticastGroupPort = 60606
View Source
const MulticastIPv4GroupAddr = "224.0.0.114"
View Source
const MulticastIPv6GroupAddr = "[ff02::114]"

Variables

This section is empty.

Functions

This section is empty.

Types

type AltInterface added in v0.11.0

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

type InterfaceInfo added in v0.11.0

type InterfaceInfo struct {
	Name         string
	Index        int
	Mtu          int
	Up           bool
	Broadcast    bool
	Loopback     bool
	PointToPoint bool
	Multicast    bool
	Addrs        string
}

type Multicast

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

func NewMulticast

func NewMulticast(
	log types.Logger, r *router.Router,
) *Multicast

func (*Multicast) RegisterNetworkCallback added in v0.11.0

func (m *Multicast) RegisterNetworkCallback(intfCallback func() []InterfaceInfo)

func (*Multicast) Start

func (m *Multicast) Start()

func (*Multicast) Stop

func (m *Multicast) Stop()

Jump to

Keyboard shortcuts

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