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-21 06:00:28 -05:00
|
|
|
requestType NDPType
|
|
|
|
srcIP []byte
|
|
|
|
answeringForIP []byte
|
|
|
|
dstIP []byte
|
|
|
|
mac []byte
|
|
|
|
receivedIfaceMac []byte
|
|
|
|
sourceIface string
|
2021-12-20 14:53:42 -05:00
|
|
|
}
|