FreeBSD/sys/net/if_llatbl.c
/*
 * Update all calculated headers for given @llt
 */
Update all calculated headers for given @llt
Update all calculated headers for given @llt
void
lltable_update_ifaddr(struct lltable *llt)
{
	if (llt->llt_ifp->if_flags & IFF_LOOPBACK)
		return;
	IF_AFDATA_WLOCK(llt->llt_ifp);
	lltable_foreach_lle(llt, llentry_update_ifaddr, llt->llt_ifp);
	IF_AFDATA_WUNLOCK(llt->llt_ifp);
}
void lltable_update_ifaddr ( struct lltable * llt ) { if ( llt -> llt_ifp -> if_flags & IFF_LOOPBACK ) return ; IF_AFDATA_WLOCK ( llt -> llt_ifp ) ; lltable_foreach_lle ( llt , llentry_update_ifaddr , llt -> llt_ifp ) ; IF_AFDATA_WUNLOCK ( llt -> llt_ifp ) ; }
Update all calculated headers for given @llt
Update all calculated headers for given @llt