libndp icon indicating copy to clipboard operation
libndp copied to clipboard

Neighbor Discovery library

Results 13 libndp issues
Sort by recently updated
recently updated
newest added

Signed-off-by: swimlessbird

The icmpv6 socket ist neither made nonblocking via O_NONBLOCK nor is recvfrom(2) passed MSG_DONTWAIT. One cloud of course make the the fd nonblocking after retrieving it via ndp_get_eventfd() and check...

enhancement

The current logic will be: if this is NA, the ns message target will be set. If this NS, the na message target will be set. Even the result is...

As you may know already, if we don't use -T or in previously version (v1.7 and before), this command totally not working because tgt address is "::", such like: ndptool...

enhancement

ndp_sock_open() sould probably set O_CLOEXEC, either via socket(2) or a separate fcntl(2) call depending on portability requirements.

enhancement

Hi, I have multiple IPs in my interface: 12: vlan40@ens3f0: mtu 1500 qdisc noqueue state UP qlen 1000 link/ether 52:54:00:56:48:ab brd ff:ff:ff:ff:ff:ff inet6 2001:db8:cafe:d::5/64 scope global valid_lft forever preferred_lft forever...

enhancement

At building 1.8 (Gentoo downstream bug report: https://bugs.gentoo.org/922613) and also at building from git-master with GCC 14 I get: ``` # make Making all in include make[1]: Entering directory '/root/builddir/libndp/include'...

``` libndp.c:212:43: warning: incompatible pointer types passing 'struct sockaddr_in6 *' to parameter of type 'const struct sockaddr *' [-Wincompatible-pointer-types] ret = sendto(sockfd, buf, buflen, flags, &sin6, sizeof(sin6)); ^~~~~ /usr/include/sys/socket.h:702:42: note:...

enhancement

Support for [RFC 8781](https://www.rfc-editor.org/rfc/rfc8781) - Discovering PREF64 in Router Advertisements, would be a nice addition. It can supply address prefix used to translate IPv4 address into working IPv6 address used...

enhancement

This patches a bug that made it impossible to compile on gentoo musl. This is my first patch. [Bug gentoo](https://bugs.gentoo.org/show_bug.cgi?id=922613).