From 70a4320bdd44122d7a93bc71c77a9d684b3c9adc Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Mon, 12 Aug 2019 00:41:36 +0200 Subject: RAdv: Allow solicited RAs to be sent as unicast Add option to send solicited router advertisements as unicast directly to soliciting nodes instead of as multicast to all-nodes group. --- lib/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/socket.h') diff --git a/lib/socket.h b/lib/socket.h index e53ec5ba..03c15dcd 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -97,7 +97,7 @@ void sk_dump_all(void); int sk_is_ipv4(sock *s); /* True if socket is IPv4 */ int sk_is_ipv6(sock *s); /* True if socket is IPv6 */ -static inline int sk_send_buffer_empty(sock *sk) +static inline int sk_tx_buffer_empty(sock *sk) { return sk->tbuf == sk->tpos; } int sk_setup_multicast(sock *s); /* Prepare UDP or IP socket for multicasting */ -- cgit v1.2.3