report

package
v0.0.0-...-0840cd6 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalReport

func UnmarshalReport(message *nsdp.Message, report any) error

Types

type ScannedReport

type ScannedReport struct {
	DeviceModel    string           `nsdp-scan:"0001"`
	DeviceName     string           `nsdp-scan:"0003"`
	MAC            net.HardwareAddr `nsdp-scan:"0004"`
	IP             net.IP           `nsdp-scan:"0006"`
	Mask           net.IP           `nsdp-scan:"0007"`
	Gateway        net.IP           `nsdp-scan:"0008"`
	UseDHCP        bool             `nsdp-scan:"000b"`
	ActiveFirmware uint8            `nsdp-scan:"000c"`
	Firmware1      string           `nsdp-scan:"000d"`
	Firmware2      string           `nsdp-scan:"000e"`
	Ports          uint8            `nsdp-scan:"6000"`
	SerialNumber   string           `nsdp-scan:"7800"`
}

func (ScannedReport) IPNet

func (r ScannedReport) IPNet() *net.IPNet

Jump to

Keyboard shortcuts

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