model13

package
v0.0.0-...-1daccfa Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelID          = 13
	ModelLabel       = "IPv6"
	ModelDescription = "Include to support an IPv6 protocol stack on this interface"
)
View Source
const (
	Addr    = "Addr"
	CIDR    = "CIDR"
	Cap     = "Cap"
	Cfg     = "Cfg"
	CfgSt   = "CfgSt"
	ChgSt   = "ChgSt"
	Ctl     = "Ctl"
	DNS1    = "DNS1"
	DNS2    = "DNS2"
	DomNam  = "DomNam"
	Gw      = "Gw"
	HostNam = "HostNam"
	NTP1    = "NTP1"
	NTP2    = "NTP2"
	Nam     = "Nam"
	Pad     = "Pad"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block13

type Block13 struct {
	Nam     string             `sunspec:"offset=0,len=4,access=rw"`
	CfgSt   sunspec.Enum16     `sunspec:"offset=4"`
	ChgSt   sunspec.Bitfield16 `sunspec:"offset=5"`
	Cap     sunspec.Bitfield16 `sunspec:"offset=6"`
	Cfg     sunspec.Enum16     `sunspec:"offset=7,access=rw"`
	Ctl     sunspec.Enum16     `sunspec:"offset=8,access=rw"`
	Addr    string             `sunspec:"offset=9,len=20,access=rw"`
	CIDR    string             `sunspec:"offset=29,len=20,access=rw"`
	Gw      string             `sunspec:"offset=49,len=20,access=rw"`
	DNS1    string             `sunspec:"offset=69,len=20,access=rw"`
	DNS2    string             `sunspec:"offset=89,len=20,access=rw"`
	NTP1    string             `sunspec:"offset=109,len=20,access=rw"`
	NTP2    string             `sunspec:"offset=129,len=20,access=rw"`
	DomNam  string             `sunspec:"offset=149,len=12,access=rw"`
	HostNam string             `sunspec:"offset=161,len=12,access=rw"`
	Pad     sunspec.Pad        `sunspec:"offset=173"`
}

func (*Block13) GetId

func (block *Block13) GetId() sunspec.ModelId

Jump to

Keyboard shortcuts

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