Lines Matching refs:ncf
365 struct ncsi_channel_vlan_filter *ncf; in ncsi_rsp_handler_svf() local
377 ncf = &nc->vlan_filter; in ncsi_rsp_handler_svf()
378 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf()
383 bitmap = &ncf->bitmap; in ncsi_rsp_handler_svf()
386 ncf->vids[cmd->index - 1] = 0; in ncsi_rsp_handler_svf()
389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()
454 struct ncsi_channel_mac_filter *ncf; in ncsi_rsp_handler_sma() local
473 ncf = &nc->mac_filter; in ncsi_rsp_handler_sma()
474 bitmap = &ncf->bitmap; in ncsi_rsp_handler_sma()
477 cmd->index > ncf->n_uc + ncf->n_mc + ncf->n_mixed) in ncsi_rsp_handler_sma()
484 memcpy(&ncf->addrs[index], cmd->mac, ETH_ALEN); in ncsi_rsp_handler_sma()
487 eth_zero_addr(&ncf->addrs[index]); in ncsi_rsp_handler_sma()