udpbond

package
v0.0.0-...-3be6dbe Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADV_CLU_FR = 0 + iota
	ADV_CH_FR
	ADV_IN_FR
	ADV_OUT_FR
	IO_TR_FR
	ACK_FR
)
View Source
const (
	ADV_CLU_CM = 0x01
	ADV_CH_CM  = 0x02
	ADV_IN_CM  = 0x03
	ADV_OUT_CM = 0x04
	IO_TR_CM   = 0x05
	ACK_CM     = 0xff
)
View Source
const (
	TRANSNEW = uint8(0) + iota
	TRANSDONE
)
View Source
const (
	ETHERTYPE = 0x8888
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ClusterId uint32
	Peers     []Peer
}

func UnmarshallCluster

func UnmarshallCluster(c *Config, cluster_file string) (*Cluster, error)

type Config

type Config struct {
	Rsize uint8
	Debug bool
}

type Ips

type Ips struct {
	Assoc map[string]string
}

type Peer

type Peer struct {
	PeerId   uint32
	Channels []uint32
	Inputs   []uint32
	Outputs  []uint32
}

Jump to

Keyboard shortcuts

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