FreeBSD/sys/net/if_llatbl.c
/*
 * Free all entries from given table and free itself.
 */
Free all entries from given table and free itself.
Free all entries from given table and free itself .
static int
lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg)
{
	struct llentries *dchain;
	dchain = (struct llentries *)farg;
	LLE_WLOCK(lle);
	LIST_INSERT_HEAD(dchain, lle, lle_chain);
	return (0);
}
static int lltable_free_cb ( struct lltable * llt , struct llentry * lle , void * farg ) { struct llentries * dchain ; dchain = ( struct llentries * ) farg ; LLE_WLOCK ( lle ) ; LIST_INSERT_HEAD ( dchain , lle , lle_chain ) ; return ( 0 ) ; }
Free all entries from given table and free itself.
Free all entries from given table and free itself .