FreeBSD/sys/dev/ixl/if_ixlv.c
/*
** Get a new filter and add it to the mac filter list.
*/
Get a new filter and add it to the mac filter list.
Get a new filter and add it to the mac filter list .
static struct ixlv_mac_filter *
ixlv_get_mac_filter(struct ixlv_sc *sc)
{
	struct ixlv_mac_filter	*f;
	f = malloc(sizeof(struct ixlv_mac_filter),
	    M_DEVBUF, M_NOWAIT | M_ZERO);
	if (f)
		SLIST_INSERT_HEAD(sc->mac_filters, f, next);
	return (f);
}
static struct ixlv_mac_filter * ixlv_get_mac_filter ( struct ixlv_sc * sc ) { struct ixlv_mac_filter * f ; f = malloc ( sizeof ( struct ixlv_mac_filter ) , M_DEVBUF , M_NOWAIT | M_ZERO ) ; if ( f ) SLIST_INSERT_HEAD ( sc -> mac_filters , f , next ) ; return ( f ) ; }
Get a new filter and add it to the mac filter list.
Get a new filter and add it to the mac filter list .