Home
last modified time | relevance | path

Searched refs:macaddr (Results 1 – 25 of 92) sorted by relevance

1234

/drivers/staging/wlan-ng/
Dp80211netdev.c618 p80211item_pstr6_t *macaddr; in p80211knetdev_set_mac_address() local
628 macaddr = (p80211item_pstr6_t *) &mibattr->data; in p80211knetdev_set_mac_address()
643 macaddr->did = DIDmib_dot11mac_dot11OperationTable_dot11MACAddress; in p80211knetdev_set_mac_address()
644 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address()
645 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address()
646 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address()
647 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
/drivers/staging/rtl8723au/include/
Drtw_event.h52 unsigned char macaddr[6]; member
58 unsigned char macaddr[6]; member
/drivers/net/wireless/cw1200/
Dmain.c49 module_param_array_named(macaddr, cw1200_mac_template, byte, NULL, S_IRUGO);
50 MODULE_PARM_DESC(macaddr, "Override platform_data MAC address");
255 static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr, in cw1200_init_common() argument
334 if (macaddr) in cw1200_init_common()
335 SET_IEEE80211_PERM_ADDR(hw, (u8 *)macaddr); in cw1200_init_common()
518 int ref_clk, const u8 *macaddr, in cw1200_core_probe() argument
529 dev = cw1200_init_common(macaddr, have_5ghz); in cw1200_core_probe()
/drivers/staging/rtl8188eu/include/
Drtw_event.h68 unsigned char macaddr[6]; member
74 unsigned char macaddr[6]; member
/drivers/staging/rtl8712/
Drtl871x_event.h67 unsigned char macaddr[6]; member
73 unsigned char macaddr[6]; member
Drtl871x_mp_ioctl.c1059 u8 *macaddr; in oid_rt_pro_add_sta_info_hdl() local
1068 macaddr = (u8 *) poid_par_priv->information_buf; in oid_rt_pro_add_sta_info_hdl()
1069 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1071 psta = r8712_alloc_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1086 u8 *macaddr; in oid_rt_pro_dele_sta_info_hdl() local
1096 macaddr = (u8 *)poid_par_priv->information_buf; in oid_rt_pro_dele_sta_info_hdl()
1098 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_dele_sta_info_hdl()
/drivers/staging/unisys/common-spar/include/channels/
Diochannel.h558 u8 macaddr[MAX_MACADDR_LEN]; /* 6 bytes */ member
574 struct net_pkt_macaddr macaddr; member
697 u8 macaddr[MAX_MACADDR_LEN]; /* 6 bytes */ member
834 unsigned char *macaddr, in ULTRA_VNIC_init_channel() argument
848 memcpy(x->vnic.macaddr, macaddr, MAX_MACADDR_LEN); in ULTRA_VNIC_init_channel()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c660 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list()
685 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add()
686 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add()
691 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add()
705 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr()
711 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr()
744 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
1073 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del()
1076 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del()
1081 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_del()
[all …]
Dvxge-main.h161 unsigned char macaddr[ETH_ALEN]; member
218 u64 macaddr; member
311 u8 macaddr[ETH_ALEN]; member
Dvxge-traffic.c1753 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_add()
1769 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add()
1816 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get()
1842 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get()
1868 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get_next()
1894 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get_next()
1921 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_delete()
1936 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_delete()
Dvxge-traffic.h2158 u8 *macaddr,
2165 u8 *macaddr,
2171 u8 *macaddr,
2177 u8 *macaddr,
/drivers/staging/unisys/virtpci/
Dvirtpci.c92 struct vhba_wwnn *wwnn, unsigned char macaddr[]);
95 unsigned char macaddr[]);
98 unsigned char macaddr[]);
359 chanptr)->vnic.macaddr, \
1067 unsigned char macaddr[]) in virtpci_device_serverdown() argument
1100 memcmp(tmpvpcidev->net.mac_addr, macaddr, in virtpci_device_serverdown()
1126 unsigned char macaddr[]) in virtpci_device_serverup() argument
1158 memcmp(tmpvpcidev->net.mac_addr, macaddr, in virtpci_device_serverup()
1192 unsigned char macaddr[]) in virtpci_device_del() argument
1214 ((devtype == VIRTNIC_TYPE) && (macaddr == NULL)); in virtpci_device_del()
[all …]
/drivers/net/wireless/ath/
Dhw.c123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); in ath_hw_setbssidmask()
125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
/drivers/uwb/
Duwb-debug.c88 struct uwb_mac_addr macaddr; in cmd_rsv_establish() local
93 memcpy(&macaddr, cmd->target, sizeof(macaddr)); in cmd_rsv_establish()
94 target = uwb_dev_get_by_macaddr(rc, &macaddr); in cmd_rsv_establish()
/drivers/net/ethernet/intel/i40e/
Di40e.h386 u8 macaddr[ETH_ALEN]; member
623 u8 *macaddr, s16 vlan,
625 void i40e_del_filter(struct i40e_vsi *vsi, u8 *macaddr, s16 vlan,
683 struct i40e_mac_filter *i40e_put_mac_in_vlan(struct i40e_vsi *vsi, u8 *macaddr,
686 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, u8 *macaddr,
Di40e_main.c1142 u8 *macaddr, s16 vlan, in i40e_find_filter() argument
1147 if (!vsi || !macaddr) in i40e_find_filter()
1151 if ((ether_addr_equal(macaddr, f->macaddr)) && in i40e_find_filter()
1170 struct i40e_mac_filter *i40e_find_mac(struct i40e_vsi *vsi, u8 *macaddr, in i40e_find_mac() argument
1175 if (!vsi || !macaddr) in i40e_find_mac()
1179 if ((ether_addr_equal(macaddr, f->macaddr)) && in i40e_find_mac()
1220 struct i40e_mac_filter *i40e_put_mac_in_vlan(struct i40e_vsi *vsi, u8 *macaddr, in i40e_put_mac_in_vlan() argument
1226 if (!i40e_find_filter(vsi, macaddr, f->vlan, in i40e_put_mac_in_vlan()
1228 if (!i40e_add_filter(vsi, macaddr, f->vlan, in i40e_put_mac_in_vlan()
1246 static int i40e_rm_default_mac_filter(struct i40e_vsi *vsi, u8 *macaddr) in i40e_rm_default_mac_filter() argument
[all …]
/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c740 u8 *macaddr) in i40evf_find_filter() argument
744 if (!macaddr) in i40evf_find_filter()
748 if (ether_addr_equal(macaddr, f->macaddr)) in i40evf_find_filter()
763 u8 *macaddr) in i40evf_add_filter() argument
767 if (!macaddr) in i40evf_add_filter()
774 f = i40evf_find_filter(adapter, macaddr); in i40evf_add_filter()
783 ether_addr_copy(f->macaddr, macaddr); in i40evf_add_filter()
849 if (is_multicast_ether_addr(f->macaddr)) { in i40evf_set_rx_mode()
851 if (ether_addr_equal(mca->addr, f->macaddr)) { in i40evf_set_rx_mode()
858 if (ether_addr_equal(uca->addr, f->macaddr)) { in i40evf_set_rx_mode()
[all …]
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c238 u8 *macaddr = p_macaddr; in rtl92c_set_key() local
287 macaddr = cam_const_addr[key_index]; in rtl92c_set_key()
291 macaddr = cam_const_broad; in rtl92c_set_key()
338 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
356 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
/drivers/net/ethernet/aeroflex/
Dgreth.c62 static int macaddr[6]; variable
63 module_param_array(macaddr, int, NULL, 0);
64 MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address");
1489 if (macaddr[i] != 0) in greth_of_probe()
1499 macaddr[i] = (unsigned int) addr[i]; in greth_of_probe()
1503 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe()
1509 dev->dev_addr[i] = macaddr[i]; in greth_of_probe()
1511 macaddr[5]++; in greth_of_probe()
/drivers/net/wireless/ath/ath5k/
Dpcu.c377 memcpy(common->macaddr, mac, ETH_ALEN); in ath5k_hw_set_lladdr()
928 low_id = get_unaligned_le32(common->macaddr); in ath5k_hw_set_opmode()
929 high_id = get_unaligned_le16(common->macaddr + 4); in ath5k_hw_set_opmode()
/drivers/net/ethernet/ibm/ehea/
Dehea.h408 u64 macaddr; member
427 u64 macaddr; member
/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.h73 u32 key_index, u8 *macaddr, bool is_group,
/drivers/net/ethernet/sgi/
Dmeth.c104 u64 macaddr; in load_eaddr() local
107 macaddr = 0; in load_eaddr()
109 macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); in load_eaddr()
111 mace->eth.mac_addr = macaddr; in load_eaddr()
/drivers/net/wireless/ath/carl9170/
Dmac.c318 mac_addr = common->macaddr; in carl9170_set_operating_mode()
363 mac_addr = common->macaddr; in carl9170_set_operating_mode()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_main.c165 memcpy(common->macaddr, iter_data.hw_macaddr, ETH_ALEN); in ath9k_htc_set_mac_bssid_mask()
337 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in __ath9k_htc_remove_monitor_interface()
373 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
403 memcpy(&tsta.macaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
488 memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); in ath9k_htc_add_station()
496 memcpy(&tsta.macaddr, vif->addr, ETH_ALEN); in ath9k_htc_add_station()

1234