huge tap/bridge overhaul; udp node; dhcp node; DHCP example

This commit is contained in:
soypat
2025-06-15 18:01:04 -03:00
parent 29ac9a3a1a
commit dcc7a95e62
16 changed files with 706 additions and 157 deletions
+4
View File
@@ -4,6 +4,10 @@ const (
sizeHeaderNoVLAN = 14
)
func BroadcastAddr() [6]byte {
return [6]byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
}
//go:generate stringer -type=Type -linecomment -output stringers.go .
type Type uint16