FreeBSD/sys/dev/cxgb/common/cxgb_xgmac.c
/**
 *	t3_mac_set_num_ucast - set the number of unicast addresses needed
 *	@mac: the MAC handle
 *	@n: number of unicast addresses needed
 *
 *	Specify the number of exact address filters that should be reserved for
 *	unicast addresses.  Caller should reload the unicast and multicast
 *	addresses after calling this.
 *
 *	Generally, this is 1 with the first one used for the station address,
 *	and the rest are available for multicast addresses.
 */
set the number of unicast addresses needed
@mac: the MAC handle
@n: number of unicast addresses needed

Specify the number of exact address filters that should be reserved for
unicast addresses.  Caller should reload the unicast and multicast
addresses after calling this.

Generally, this is 1 with the first one used for the station address,
and the rest are available for multicast addresses.
set the number of unicast addresses needed @mac : the MAC handle @n : number of unicast addresses needed Specify the number of exact address filters that should be reserved for unicast addresses . Caller should reload the unicast and multicast addresses after calling this . Generally this is 1 with the first one used for the station address and the rest are available for multicast addresses .
int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n)
{
	if (n > EXACT_ADDR_FILTERS)
		return -EINVAL;
	mac->nucast = n;
	return 0;
}
int t3_mac_set_num_ucast ( struct cmac * mac , unsigned char n ) { if ( n > EXACT_ADDR_FILTERS ) return - EINVAL ; mac -> nucast = n ; return 0 ; }
t3_mac_set_num_ucast - set the number of unicast addresses needed
      @mac: the MAC handle
      @n: number of unicast addresses needed
t3_mac_set_num_ucast - set the number of unicast addresses needed @mac : the MAC handle @n : number of unicast addresses needed