Home
last modified time | relevance | path

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

123

/linux-3.4.99/arch/mips/include/asm/mach-bcm47xx/
Dnvram.h40 static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6]) in nvram_parse_macaddr()
43 sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0], in nvram_parse_macaddr()
44 &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4], in nvram_parse_macaddr()
45 &macaddr[5]); in nvram_parse_macaddr()
47 sscanf(buf, "%hhx-%hhx-%hhx-%hhx-%hhx-%hhx", &macaddr[0], in nvram_parse_macaddr()
48 &macaddr[1], &macaddr[2], &macaddr[3], &macaddr[4], in nvram_parse_macaddr()
49 &macaddr[5]); in nvram_parse_macaddr()
/linux-3.4.99/arch/s390/include/asm/
Dqeth.h26 __u8 macaddr[6]; member
46 __u8 macaddr[6]; member
53 __u8 macaddr[6]; member
59 __u8 macaddr[6]; member
65 __u8 macaddr[6]; member
/linux-3.4.99/include/linux/ssb/
Dssb_driver_gige.h103 static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument
108 nvram_parse_macaddr(buf, macaddr); in ssb_gige_get_macaddr()
111 static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument
/linux-3.4.99/drivers/staging/rtl8712/
Drtl871x_event.h67 unsigned char macaddr[6]; member
73 unsigned char macaddr[6]; member
Drtl871x_mp_ioctl.c1068 u8 *macaddr; in oid_rt_pro_add_sta_info_hdl() local
1077 macaddr = (u8 *) poid_par_priv->information_buf; in oid_rt_pro_add_sta_info_hdl()
1078 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1080 psta = r8712_alloc_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1096 u8 *macaddr; in oid_rt_pro_dele_sta_info_hdl() local
1106 macaddr = (u8 *)poid_par_priv->information_buf; in oid_rt_pro_dele_sta_info_hdl()
1108 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_dele_sta_info_hdl()
/linux-3.4.99/drivers/staging/wlan-ng/
Dp80211netdev.c645 p80211item_pstr6_t *macaddr; in p80211knetdev_set_mac_address() local
655 macaddr = (p80211item_pstr6_t *) &mibattr->data; in p80211knetdev_set_mac_address()
670 macaddr->did = DIDmib_dot11mac_dot11OperationTable_dot11MACAddress; in p80211knetdev_set_mac_address()
671 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address()
672 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address()
673 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address()
674 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c655 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list()
680 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add()
681 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add()
686 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add()
700 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr()
706 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr()
742 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
1071 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del()
1074 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del()
1079 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.c1754 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_add()
1770 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add()
1817 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get()
1843 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get()
1869 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get_next()
1895 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get_next()
1922 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_delete()
1937 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_delete()
Dvxge-traffic.h2161 u8 *macaddr,
2168 u8 *macaddr,
2174 u8 *macaddr,
2180 u8 *macaddr,
/linux-3.4.99/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()
/linux-3.4.99/include/linux/
Dks8842.h33 u8 macaddr[ETH_ALEN]; member
Dath9k_platform.h26 u8 *macaddr; member
Dfs_enet_pd.h138 __u8 macaddr[6]; /* mac address */ member
/linux-3.4.99/net/wireless/
Dmesh.c125 const u8 *macaddr, const u8* ie, u8 ie_len, gfp_t gfp) in cfg80211_notify_new_peer_candidate() argument
133 macaddr, ie, ie_len, gfp); in cfg80211_notify_new_peer_candidate()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.h73 u32 key_index, u8 *macaddr, bool is_group,
/linux-3.4.99/drivers/net/ethernet/ibm/ehea/
Dehea.h409 u64 macaddr; member
428 u64 macaddr; member
Dehea_main.c277 arr[i++].macaddr = port->mac_addr; in ehea_update_bcmc_registrations()
283 arr[i++].macaddr = port->mac_addr; in ehea_update_bcmc_registrations()
295 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations()
297 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations()
303 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations()
305 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations()
1876 hret = ehea_multicast_reg_helper(port, mc_entry->macaddr, in ehea_drop_multicast_list()
1931 memcpy(&ehea_mcl_entry->macaddr, mc_mac_addr, ETH_ALEN); in ehea_add_multicast_entry()
1933 hret = ehea_multicast_reg_helper(port, ehea_mcl_entry->macaddr, in ehea_add_multicast_entry()
3408 ehea_bcmc_regs.arr[i].macaddr, in ehea_crash_handler()
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Dpcu.c374 memcpy(common->macaddr, mac, ETH_ALEN); in ath5k_hw_set_lladdr()
925 low_id = get_unaligned_le32(common->macaddr); in ath5k_hw_set_opmode()
926 high_id = get_unaligned_le16(common->macaddr + 4); in ath5k_hw_set_opmode()
/linux-3.4.99/drivers/net/ethernet/aeroflex/
Dgreth.c63 static int macaddr[6]; variable
64 module_param_array(macaddr, int, NULL, 0);
65 MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address");
1499 if (macaddr[i] != 0) in greth_of_probe()
1509 macaddr[i] = (unsigned int) addr[i]; in greth_of_probe()
1513 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe()
1519 dev->dev_addr[i] = macaddr[i]; in greth_of_probe()
1521 macaddr[5]++; in greth_of_probe()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c236 u8 *macaddr = p_macaddr; in rtl92c_set_key() local
285 macaddr = cam_const_addr[key_index]; in rtl92c_set_key()
289 macaddr = cam_const_broad; in rtl92c_set_key()
320 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
338 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
/linux-3.4.99/drivers/net/ethernet/sgi/
Dmeth.c105 u64 macaddr; in load_eaddr() local
108 macaddr = 0; in load_eaddr()
110 macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); in load_eaddr()
112 mace->eth.mac_addr = macaddr; in load_eaddr()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dfec.c117 static unsigned char macaddr[ETH_ALEN]; variable
118 module_param_array(macaddr, byte, NULL, 0);
119 MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address");
805 iap = macaddr; in fec_get_mac()
848 if (iap == macaddr) in fec_get_mac()
849 ndev->dev_addr[ETH_ALEN-1] = macaddr[ETH_ALEN-1] + fep->dev_id; in fec_get_mac()
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dinit.c571 if (pdata && pdata->macaddr) in ath9k_init_softc()
572 memcpy(common->macaddr, pdata->macaddr, ETH_ALEN); in ath9k_init_softc()
706 SET_IEEE80211_PERM_ADDR(hw, common->macaddr); in ath9k_set_hw_capab()
Dhtc_drv_main.c174 memcpy(common->macaddr, iter_data.hw_macaddr, ETH_ALEN); in ath9k_htc_set_mac_bssid_mask()
343 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in __ath9k_htc_remove_monitor_interface()
379 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
409 memcpy(&tsta.macaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
494 memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); in ath9k_htc_add_station()
499 memcpy(&tsta.macaddr, vif->addr, ETH_ALEN); in ath9k_htc_add_station()

123