ndp

package
v1.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package ndp contains functions to send NDP neighbor advertisement on Linux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GratuitousNDPOverIface added in v1.8.0

func GratuitousNDPOverIface(srcIP net.IP, iface *net.Interface) error

GratuitousNDPOverIface sends a gratuitous NDP from 'iface' using 'srcIP' as the source IP.

func NeighborAdvertisement

func NeighborAdvertisement(srcIP net.IP, iface *net.Interface) error

NeighborAdvertisement sends an unsolicited Neighbor Advertisement ICMPv6 multicast packet, over interface 'iface' from 'srcIP', announcing a given IPv6 address('srcIP') to all IPv6 nodes as per RFC4861.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL