func (b NDPNeighborAdvert) RouterFlag() bool {
	return b[ndpNAFlagsOffset]&ndpNARouterFlagMask != 0
}
RouterFlag returns the value of the Router Flag field.
package header
import "github.com/google/netstack/tcpip"
type NDPNeighborAdvert []byte
const (
	NDPNAMinimumSize = 20
	ndpNATargetAddressOffset = 4
	ndpNAOptionsOffset = ndpNATargetAddressOffset + IPv6AddressSize
	ndpNAFlagsOffset = 0
	ndpNARouterFlagMask = (1 << 7)
	ndpNASolicitedFlagMask = (1 << 6)
	ndpNAOverrideFlagMask = (1 << 5)
)
func (b NDPNeighborAdvert) TargetAddress() tcpip.Address {
	return tcpip.Address(b[ndpNATargetAddressOffset:][:IPv6AddressSize])
}
func (b NDPNeighborAdvert) SetTargetAddress(addr tcpip.Address) {
	copy(b[ndpNATargetAddressOffset:][:IPv6AddressSize], addr)
}