From: kn Date: Sat, 12 Nov 2022 02:53:17 +0000 (+0000) Subject: Remove unused RS_LHCOOKIE macro X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a41b0a5b8e3396ef63ff1e19517aa7ec585ca596;p=openbsd Remove unused RS_LHCOOKIE macro Added in 2014 110585f259f4974284e531f0a1e121b001a580dc Move sending of router solicitations to the kernel; [...] but never used. --- diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h index 980524f16ea..a889ccc5ec6 100644 --- a/sys/netinet6/nd6.h +++ b/sys/netinet6/nd6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.h,v 1.79 2022/08/08 17:47:59 kn Exp $ */ +/* $OpenBSD: nd6.h,v 1.80 2022/11/12 02:53:17 kn Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -96,9 +96,6 @@ struct in6_ndifreq { #define ND_IFINFO(ifp) \ (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->nd_ifinfo) -#define RS_LHCOOKIE(ifp) \ - ((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->rs_lhcookie - struct llinfo_nd6 { TAILQ_ENTRY(llinfo_nd6) ln_list; struct rtentry *ln_rt;