tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Import nd6_output_ifp routing function from FreeBSD



What IPF does (external/bsd/ipf/netinet/ip_fil_netbsd.c) is:

# if __NetBSD_Version__ >= 499001100
			error = ip6_if_output(ifp, ifp, m0, satocsin6(dst), rt);
# else
			error = nd6_output(ifp, ifp, m0, dst6, rt);
# endif


I also stumbled across a comment in netinet6/nd6.c which needs to be adjusted:

	/*
	 * XXX: since nd6_output() below will cause
	 * state tansition to DELAY and reset the timer,
	 * we must set the timer now, although it is actually
	 * meaningless.
	 */


> Did you research why nd6_output has been removed?
FWIW, that was netinet6/nd6.c 1.227.


Home | Main Index | Thread Index | Old Index