Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModelID = 12 ModelLabel = "IPv4" ModelDescription = "Include to support an IPv4 protocol stack on this interface" )
View Source
const ( Addr = "Addr" Cap = "Cap" Cfg = "Cfg" CfgSt = "CfgSt" ChgSt = "ChgSt" Ctl = "Ctl" DNS1 = "DNS1" DNS2 = "DNS2" DomNam = "DomNam" Gw = "Gw" HostNam = "HostNam" Msk = "Msk" NTP1 = "NTP1" NTP2 = "NTP2" Nam = "Nam" Pad = "Pad" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block12 ¶
type Block12 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=8,access=rw"` Msk string `sunspec:"offset=17,len=8,access=rw"` Gw string `sunspec:"offset=25,len=8,access=rw"` DNS1 string `sunspec:"offset=33,len=8,access=rw"` DNS2 string `sunspec:"offset=41,len=8,access=rw"` NTP1 string `sunspec:"offset=49,len=12,access=rw"` NTP2 string `sunspec:"offset=61,len=12,access=rw"` DomNam string `sunspec:"offset=73,len=12,access=rw"` HostNam string `sunspec:"offset=85,len=12,access=rw"` Pad sunspec.Pad `sunspec:"offset=97"` }
Click to show internal directories.
Click to hide internal directories.