Pndpd/pndp/NDPRequest.go

23 lines
314 B
Go

package pndp
type ndpType int
const (
ndp_ADV ndpType = 0
ndp_SOL ndpType = 1
)
type ndpRequest struct {
requestType ndpType
srcIP []byte
answeringForIP []byte
dstIP []byte
sourceIface string
payload []byte
}
type ndpQuestion struct {
targetIP []byte
askedBy []byte
}