Pndpd/NDPRequest.go

17 lines
254 B
Go
Raw Permalink Normal View History

2021-12-20 14:53:42 -05:00
package main
2021-12-20 16:46:26 -05:00
type NDPType int
const (
NDP_ADV NDPType = 0
NDP_SOL NDPType = 1
)
2021-12-20 14:53:42 -05:00
type NDRequest struct {
2021-12-20 16:46:26 -05:00
requestType NDPType
//TODO use global unicast for router advertisements
2021-12-20 14:53:42 -05:00
srcIP []byte
answeringForIP []byte
mac []byte
}