Lines Matching refs:rsp
46 h = (struct ncsi_rsp_pkt_hdr *)skb_network_header(nr->rsp); in ncsi_validate_rsp_pkt()
91 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_cis() local
97 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_cis()
98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis()
103 id = NCSI_CHANNEL_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_cis()
112 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sp() local
120 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sp()
121 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp()
127 id = NCSI_PACKAGE_INDEX(rsp->rsp.common.channel); in ncsi_rsp_handler_sp()
138 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dp() local
145 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dp()
146 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dp()
163 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_ec() local
169 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ec()
170 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_ec()
185 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dc() local
196 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dc()
197 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dc()
212 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_rc() local
218 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_rc()
219 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_rc()
234 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_ecnt() local
240 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ecnt()
241 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_ecnt()
256 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dcnt() local
262 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dcnt()
263 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dcnt()
279 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_ae() local
285 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ae()
286 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_ae()
308 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sl() local
314 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sl()
315 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sl()
330 struct ncsi_rsp_gls_pkt *rsp; in ncsi_rsp_handler_gls() local
337 rsp = (struct ncsi_rsp_gls_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gls()
338 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gls()
344 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls()
345 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls()
346 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls()
362 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_svf() local
370 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_svf()
371 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_svf()
399 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_ev() local
405 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ev()
406 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_ev()
426 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dv() local
432 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dv()
433 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dv()
451 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_sma() local
462 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sma()
463 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sma()
497 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_ebf() local
503 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ebf()
504 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, NULL, &nc); in ncsi_rsp_handler_ebf()
523 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dbf() local
528 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dbf()
529 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dbf()
549 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_egmf() local
555 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_egmf()
556 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_egmf()
576 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_dgmf() local
581 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dgmf()
582 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_dgmf()
602 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_snfc() local
608 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_snfc()
609 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_snfc()
633 struct ncsi_rsp_oem_pkt *rsp; in ncsi_rsp_handler_oem_gma() local
637 rsp = (struct ncsi_rsp_oem_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_oem_gma()
648 memcpy(saddr->sa_data, &rsp->data[mac_addr_off], ETH_ALEN); in ncsi_rsp_handler_oem_gma()
664 struct ncsi_rsp_oem_pkt *rsp; in ncsi_rsp_handler_oem_mlx() local
667 rsp = (struct ncsi_rsp_oem_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_oem_mlx()
668 mlx = (struct ncsi_rsp_oem_mlx_pkt *)(rsp->data); in ncsi_rsp_handler_oem_mlx()
680 struct ncsi_rsp_oem_pkt *rsp; in ncsi_rsp_handler_oem_bcm() local
683 rsp = (struct ncsi_rsp_oem_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_oem_bcm()
684 bcm = (struct ncsi_rsp_oem_bcm_pkt *)(rsp->data); in ncsi_rsp_handler_oem_bcm()
695 struct ncsi_rsp_oem_pkt *rsp; in ncsi_rsp_handler_oem_intel() local
698 rsp = (struct ncsi_rsp_oem_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_oem_intel()
699 intel = (struct ncsi_rsp_oem_intel_pkt *)(rsp->data); in ncsi_rsp_handler_oem_intel()
720 struct ncsi_rsp_oem_pkt *rsp; in ncsi_rsp_handler_oem() local
724 rsp = (struct ncsi_rsp_oem_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_oem()
725 mfr_id = ntohl(rsp->mfr_id); in ncsi_rsp_handler_oem()
751 struct ncsi_rsp_gvi_pkt *rsp; in ncsi_rsp_handler_gvi() local
758 rsp = (struct ncsi_rsp_gvi_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gvi()
759 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gvi()
772 ncv->major = decode_bcd_u8(rsp->major); in ncsi_rsp_handler_gvi()
773 ncv->minor = decode_bcd_u8(rsp->minor); in ncsi_rsp_handler_gvi()
774 ncv->update = decode_bcd_u8(rsp->update); in ncsi_rsp_handler_gvi()
775 ncv->alpha1 = rsp->alpha1; in ncsi_rsp_handler_gvi()
776 ncv->alpha2 = rsp->alpha2; in ncsi_rsp_handler_gvi()
777 memcpy(ncv->fw_name, rsp->fw_name, 12); in ncsi_rsp_handler_gvi()
778 ncv->fw_version = ntohl(rsp->fw_version); in ncsi_rsp_handler_gvi()
780 ncv->pci_ids[i] = ntohs(rsp->pci_ids[i]); in ncsi_rsp_handler_gvi()
781 ncv->mf_id = ntohl(rsp->mf_id); in ncsi_rsp_handler_gvi()
788 struct ncsi_rsp_gc_pkt *rsp; in ncsi_rsp_handler_gc() local
795 rsp = (struct ncsi_rsp_gc_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gc()
796 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gc()
802 nc->caps[NCSI_CAP_GENERIC].cap = ntohl(rsp->cap) & in ncsi_rsp_handler_gc()
804 nc->caps[NCSI_CAP_BC].cap = ntohl(rsp->bc_cap) & in ncsi_rsp_handler_gc()
806 nc->caps[NCSI_CAP_MC].cap = ntohl(rsp->mc_cap) & in ncsi_rsp_handler_gc()
808 nc->caps[NCSI_CAP_BUFFER].cap = ntohl(rsp->buf_cap); in ncsi_rsp_handler_gc()
809 nc->caps[NCSI_CAP_AEN].cap = ntohl(rsp->aen_cap) & in ncsi_rsp_handler_gc()
811 nc->caps[NCSI_CAP_VLAN].cap = rsp->vlan_mode & in ncsi_rsp_handler_gc()
814 size = (rsp->uc_cnt + rsp->mc_cnt + rsp->mixed_cnt) * ETH_ALEN; in ncsi_rsp_handler_gc()
818 nc->mac_filter.n_uc = rsp->uc_cnt; in ncsi_rsp_handler_gc()
819 nc->mac_filter.n_mc = rsp->mc_cnt; in ncsi_rsp_handler_gc()
820 nc->mac_filter.n_mixed = rsp->mixed_cnt; in ncsi_rsp_handler_gc()
822 nc->vlan_filter.vids = kcalloc(rsp->vlan_cnt, in ncsi_rsp_handler_gc()
831 nc->vlan_filter.n_vids = rsp->vlan_cnt; in ncsi_rsp_handler_gc()
832 np->ndp->channel_count = rsp->channel_cnt; in ncsi_rsp_handler_gc()
842 struct ncsi_rsp_gp_pkt *rsp; in ncsi_rsp_handler_gp() local
851 rsp = (struct ncsi_rsp_gp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gp()
852 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gp()
858 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
860 nc->modes[NCSI_MODE_BC].data[0] = ntohl(rsp->bc_mode); in ncsi_rsp_handler_gp()
862 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
864 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
866 if (ntohl(rsp->valid_modes) & 0x8) /* MC filter mode */ in ncsi_rsp_handler_gp()
871 nc->modes[NCSI_MODE_LINK].data[0] = ntohl(rsp->link_mode); in ncsi_rsp_handler_gp()
873 nc->modes[NCSI_MODE_VLAN].data[0] = rsp->vlan_mode; in ncsi_rsp_handler_gp()
875 nc->modes[NCSI_MODE_FC].data[0] = rsp->fc_mode; in ncsi_rsp_handler_gp()
877 nc->modes[NCSI_MODE_AEN].data[0] = ntohl(rsp->aen_mode); in ncsi_rsp_handler_gp()
880 pdata = (unsigned char *)rsp + 48; in ncsi_rsp_handler_gp()
881 enable = rsp->mac_enable; in ncsi_rsp_handler_gp()
885 for (i = 0; i < rsp->mac_cnt; i++, pdata += 6) { in ncsi_rsp_handler_gp()
896 enable = ntohs(rsp->vlan_enable); in ncsi_rsp_handler_gp()
900 for (i = 0; i < rsp->vlan_cnt; i++, pdata += 2) { in ncsi_rsp_handler_gp()
915 struct ncsi_rsp_gcps_pkt *rsp; in ncsi_rsp_handler_gcps() local
921 rsp = (struct ncsi_rsp_gcps_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gcps()
922 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gcps()
929 ncs->hnc_cnt_hi = ntohl(rsp->cnt_hi); in ncsi_rsp_handler_gcps()
930 ncs->hnc_cnt_lo = ntohl(rsp->cnt_lo); in ncsi_rsp_handler_gcps()
931 ncs->hnc_rx_bytes = ntohl(rsp->rx_bytes); in ncsi_rsp_handler_gcps()
932 ncs->hnc_tx_bytes = ntohl(rsp->tx_bytes); in ncsi_rsp_handler_gcps()
933 ncs->hnc_rx_uc_pkts = ntohl(rsp->rx_uc_pkts); in ncsi_rsp_handler_gcps()
934 ncs->hnc_rx_mc_pkts = ntohl(rsp->rx_mc_pkts); in ncsi_rsp_handler_gcps()
935 ncs->hnc_rx_bc_pkts = ntohl(rsp->rx_bc_pkts); in ncsi_rsp_handler_gcps()
936 ncs->hnc_tx_uc_pkts = ntohl(rsp->tx_uc_pkts); in ncsi_rsp_handler_gcps()
937 ncs->hnc_tx_mc_pkts = ntohl(rsp->tx_mc_pkts); in ncsi_rsp_handler_gcps()
938 ncs->hnc_tx_bc_pkts = ntohl(rsp->tx_bc_pkts); in ncsi_rsp_handler_gcps()
939 ncs->hnc_fcs_err = ntohl(rsp->fcs_err); in ncsi_rsp_handler_gcps()
940 ncs->hnc_align_err = ntohl(rsp->align_err); in ncsi_rsp_handler_gcps()
941 ncs->hnc_false_carrier = ntohl(rsp->false_carrier); in ncsi_rsp_handler_gcps()
942 ncs->hnc_runt_pkts = ntohl(rsp->runt_pkts); in ncsi_rsp_handler_gcps()
943 ncs->hnc_jabber_pkts = ntohl(rsp->jabber_pkts); in ncsi_rsp_handler_gcps()
944 ncs->hnc_rx_pause_xon = ntohl(rsp->rx_pause_xon); in ncsi_rsp_handler_gcps()
945 ncs->hnc_rx_pause_xoff = ntohl(rsp->rx_pause_xoff); in ncsi_rsp_handler_gcps()
946 ncs->hnc_tx_pause_xon = ntohl(rsp->tx_pause_xon); in ncsi_rsp_handler_gcps()
947 ncs->hnc_tx_pause_xoff = ntohl(rsp->tx_pause_xoff); in ncsi_rsp_handler_gcps()
948 ncs->hnc_tx_s_collision = ntohl(rsp->tx_s_collision); in ncsi_rsp_handler_gcps()
949 ncs->hnc_tx_m_collision = ntohl(rsp->tx_m_collision); in ncsi_rsp_handler_gcps()
950 ncs->hnc_l_collision = ntohl(rsp->l_collision); in ncsi_rsp_handler_gcps()
951 ncs->hnc_e_collision = ntohl(rsp->e_collision); in ncsi_rsp_handler_gcps()
952 ncs->hnc_rx_ctl_frames = ntohl(rsp->rx_ctl_frames); in ncsi_rsp_handler_gcps()
953 ncs->hnc_rx_64_frames = ntohl(rsp->rx_64_frames); in ncsi_rsp_handler_gcps()
954 ncs->hnc_rx_127_frames = ntohl(rsp->rx_127_frames); in ncsi_rsp_handler_gcps()
955 ncs->hnc_rx_255_frames = ntohl(rsp->rx_255_frames); in ncsi_rsp_handler_gcps()
956 ncs->hnc_rx_511_frames = ntohl(rsp->rx_511_frames); in ncsi_rsp_handler_gcps()
957 ncs->hnc_rx_1023_frames = ntohl(rsp->rx_1023_frames); in ncsi_rsp_handler_gcps()
958 ncs->hnc_rx_1522_frames = ntohl(rsp->rx_1522_frames); in ncsi_rsp_handler_gcps()
959 ncs->hnc_rx_9022_frames = ntohl(rsp->rx_9022_frames); in ncsi_rsp_handler_gcps()
960 ncs->hnc_tx_64_frames = ntohl(rsp->tx_64_frames); in ncsi_rsp_handler_gcps()
961 ncs->hnc_tx_127_frames = ntohl(rsp->tx_127_frames); in ncsi_rsp_handler_gcps()
962 ncs->hnc_tx_255_frames = ntohl(rsp->tx_255_frames); in ncsi_rsp_handler_gcps()
963 ncs->hnc_tx_511_frames = ntohl(rsp->tx_511_frames); in ncsi_rsp_handler_gcps()
964 ncs->hnc_tx_1023_frames = ntohl(rsp->tx_1023_frames); in ncsi_rsp_handler_gcps()
965 ncs->hnc_tx_1522_frames = ntohl(rsp->tx_1522_frames); in ncsi_rsp_handler_gcps()
966 ncs->hnc_tx_9022_frames = ntohl(rsp->tx_9022_frames); in ncsi_rsp_handler_gcps()
967 ncs->hnc_rx_valid_bytes = ntohl(rsp->rx_valid_bytes); in ncsi_rsp_handler_gcps()
968 ncs->hnc_rx_runt_pkts = ntohl(rsp->rx_runt_pkts); in ncsi_rsp_handler_gcps()
969 ncs->hnc_rx_jabber_pkts = ntohl(rsp->rx_jabber_pkts); in ncsi_rsp_handler_gcps()
976 struct ncsi_rsp_gns_pkt *rsp; in ncsi_rsp_handler_gns() local
982 rsp = (struct ncsi_rsp_gns_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gns()
983 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gns()
990 ncs->ncsi_rx_cmds = ntohl(rsp->rx_cmds); in ncsi_rsp_handler_gns()
991 ncs->ncsi_dropped_cmds = ntohl(rsp->dropped_cmds); in ncsi_rsp_handler_gns()
992 ncs->ncsi_cmd_type_errs = ntohl(rsp->cmd_type_errs); in ncsi_rsp_handler_gns()
993 ncs->ncsi_cmd_csum_errs = ntohl(rsp->cmd_csum_errs); in ncsi_rsp_handler_gns()
994 ncs->ncsi_rx_pkts = ntohl(rsp->rx_pkts); in ncsi_rsp_handler_gns()
995 ncs->ncsi_tx_pkts = ntohl(rsp->tx_pkts); in ncsi_rsp_handler_gns()
996 ncs->ncsi_tx_aen_pkts = ntohl(rsp->tx_aen_pkts); in ncsi_rsp_handler_gns()
1003 struct ncsi_rsp_gnpts_pkt *rsp; in ncsi_rsp_handler_gnpts() local
1009 rsp = (struct ncsi_rsp_gnpts_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gnpts()
1010 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gnpts()
1017 ncs->pt_tx_pkts = ntohl(rsp->tx_pkts); in ncsi_rsp_handler_gnpts()
1018 ncs->pt_tx_dropped = ntohl(rsp->tx_dropped); in ncsi_rsp_handler_gnpts()
1019 ncs->pt_tx_channel_err = ntohl(rsp->tx_channel_err); in ncsi_rsp_handler_gnpts()
1020 ncs->pt_tx_us_err = ntohl(rsp->tx_us_err); in ncsi_rsp_handler_gnpts()
1021 ncs->pt_rx_pkts = ntohl(rsp->rx_pkts); in ncsi_rsp_handler_gnpts()
1022 ncs->pt_rx_dropped = ntohl(rsp->rx_dropped); in ncsi_rsp_handler_gnpts()
1023 ncs->pt_rx_channel_err = ntohl(rsp->rx_channel_err); in ncsi_rsp_handler_gnpts()
1024 ncs->pt_rx_us_err = ntohl(rsp->rx_us_err); in ncsi_rsp_handler_gnpts()
1025 ncs->pt_rx_os_err = ntohl(rsp->rx_os_err); in ncsi_rsp_handler_gnpts()
1032 struct ncsi_rsp_gps_pkt *rsp; in ncsi_rsp_handler_gps() local
1037 rsp = (struct ncsi_rsp_gps_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gps()
1038 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gps()
1048 struct ncsi_rsp_gpuuid_pkt *rsp; in ncsi_rsp_handler_gpuuid() local
1053 rsp = (struct ncsi_rsp_gpuuid_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gpuuid()
1054 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_gpuuid()
1059 memcpy(np->uuid, rsp->uuid, sizeof(rsp->uuid)); in ncsi_rsp_handler_gpuuid()
1072 struct ncsi_rsp_pkt *rsp; in ncsi_rsp_handler_netlink() local
1078 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_netlink()
1079 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_netlink()
1094 struct ncsi_rsp_gmcma_pkt *rsp; in ncsi_rsp_handler_gmcma() local
1097 rsp = (struct ncsi_rsp_gmcma_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_gmcma()
1101 rsp->address_count); in ncsi_rsp_handler_gmcma()
1102 for (i = 0; i < rsp->address_count; i++) { in ncsi_rsp_handler_gmcma()
1104 i, rsp->addresses[i][0], rsp->addresses[i][1], in ncsi_rsp_handler_gmcma()
1105 rsp->addresses[i][2], rsp->addresses[i][3], in ncsi_rsp_handler_gmcma()
1106 rsp->addresses[i][4], rsp->addresses[i][5]); in ncsi_rsp_handler_gmcma()
1110 for (i = 0; i < rsp->address_count; i++) { in ncsi_rsp_handler_gmcma()
1111 if (!is_valid_ether_addr(rsp->addresses[i])) { in ncsi_rsp_handler_gmcma()
1113 rsp->addresses[i]); in ncsi_rsp_handler_gmcma()
1116 memcpy(saddr->sa_data, rsp->addresses[i], ETH_ALEN); in ncsi_rsp_handler_gmcma()
1213 nr->rsp = skb; in ncsi_rcv_rsp()