FreeBSD/sys/netinet6/nd6.c
/*
 * Remove the rtentry for the given llentry,
 * both of which were installed by a redirect.
 */
Remove the rtentry for the given llentry,
both of which were installed by a redirect.
Remove the rtentry for the given llentry both of which were installed by a redirect .
static void
nd6_free_redirect(const struct llentry *ln)
{
	int fibnum;
	struct sockaddr_in6 sin6;
	struct rt_addrinfo info;
	lltable_fill_sa_entry(ln, (struct sockaddr *)&sin6);
	memset(&info, 0, sizeof(info));
	info.rti_info[RTAX_DST] = (struct sockaddr *)&sin6;
	info.rti_filter = nd6_isdynrte;
	for (fibnum = 0; fibnum < rt_numfibs; fibnum++)
		rtrequest1_fib(RTM_DELETE, &info, NULL, fibnum);
}
static void nd6_free_redirect ( const struct llentry * ln ) { int fibnum ; struct sockaddr_in6 sin6 ; struct rt_addrinfo info ; lltable_fill_sa_entry ( ln , ( struct sockaddr * ) & sin6 ) ; memset ( & info , 0 , sizeof ( info ) ) ; info . rti_info [ RTAX_DST ] = ( struct sockaddr * ) & sin6 ; info . rti_filter = nd6_isdynrte ; for ( fibnum = 0 ; fibnum < rt_numfibs ; fibnum ++ ) rtrequest1_fib ( RTM_DELETE , & info , NULL , fibnum ) ; }
Remove the rtentry for the given llentry,
 both of which were installed by a redirect.
Remove the rtentry for the given llentry both of which were installed by a redirect .