/external/qemu/slirp/ |
bootp.c | 36 uint8_t macaddr[6]; member in struct:__anon6388 53 const uint8_t *macaddr) 60 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) 72 const uint8_t *macaddr) 81 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) { 89 static BOOTPClient *find_addr(struct in_addr *paddr, const uint8_t *macaddr) 95 if (!memcmp(macaddr, bootp_clients[i].macaddr, 6) [all...] |
/external/qemu/slirp-android/ |
bootp.c | 37 uint8_t macaddr[6]; member in struct:__anon6396 54 const uint8_t *macaddr) 61 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) 75 const uint8_t *macaddr) 84 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) { 92 static BOOTPClient *find_addr(SockAddress *paddr, const uint8_t *macaddr) 98 if (!memcmp(macaddr, bootp_clients[i].macaddr, 6) [all...] |
/external/qemu/ |
net.h | 74 void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]); 88 uint8_t macaddr[6]; member in struct:NICInfo 140 void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr);
|
net-android.c | 190 static int parse_macaddr(uint8_t *macaddr, const char *p) 200 macaddr[3] = (offset & 0xFF0000) >> 16; 201 macaddr[4] = (offset & 0xFF00) >> 8; 202 macaddr[5] = offset & 0xFF; 206 macaddr[i] = strtol(p, (char **)&p, 16); 333 void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]) 336 "model=%s,macaddr=%02x:%02x:%02x:%02x:%02x:%02x", 338 macaddr[0], macaddr[1], macaddr[2] 2209 uint8_t *macaddr; local [all...] |
net.c | 161 static int parse_macaddr(uint8_t *macaddr, const char *p) 171 macaddr[3] = (offset & 0xFF0000) >> 16; 172 macaddr[4] = (offset & 0xFF00) >> 8; 173 macaddr[5] = offset & 0xFF; 177 macaddr[i] = strtol(p, (char **)&p, 16); 304 void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]) 307 "model=%s,macaddr=%02x:%02x:%02x:%02x:%02x:%02x", 309 macaddr[0], macaddr[1], macaddr[2] 2109 uint8_t *macaddr; local [all...] |
qemu-options.hx | 736 "-net nic[,vlan=n][,macaddr=addr][,model=type][,name=str]\n" 770 @item -net nic[,vlan=@var{n}][,macaddr=@var{addr}][,model=@var{type}][,name=@var{name}] 824 qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ 828 qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \ 852 qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ 855 qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \ 858 qemu linux.img -net nic,macaddr=52:54:00:12:34:58 \ 866 qemu linux.img -net nic,macaddr=52:54:00:12:34:56 \ [all...] |
/external/grub/netboot/ |
fa311.c | 129 unsigned char macaddr[6]; local 145 macaddr[i*2] = (eedata << 1) + (prev_eedata >> 15); 146 macaddr[i*2+1] = eedata >> 7; 151 mactest |= macaddr[i]; 155 nic->node_addr[i] = macaddr[i]; 175 writew(macaddr[i] + (macaddr[i+1] << 8),
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi.h | 114 * <td>DRIVER MACADDR<BR> Return mac address of the station</td> 115 * <td>Macaddr = xx.xx.xx.xx.xx.xx</td>
|
/external/wpa_supplicant/ |
driver_test.c | 901 else if( os_strncasecmp(cmd, "macaddr", 7) == 0 ) { 902 u8 *macaddr = (u8 *)wpa_driver_test_get_mac_addr(priv); local 903 wpa_printf(MSG_DEBUG,"Macaddr command"); 904 wpa_printf(MSG_DEBUG, " Macaddr = " MACSTR, MAC2STR(macaddr)); 905 ret = os_snprintf(buf, buf_len, "Macaddr = " MACSTR "\n", MAC2STR(macaddr));
|
/external/qemu/hw/ |
qdev.c | 270 void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr) 272 memcpy(macaddr, dev->nd->macaddr, 6);
|
smc91c111.c | 45 uint8_t macaddr[6]; member in struct:__anon6335 477 return s->macaddr[offset - 4]; 711 qdev_get_macaddr(&dev->qdev, s->macaddr); 718 qemu_format_nic_info_str(s->vc, s->macaddr);
|
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/ |
driver_ti.c | 341 wpa_printf(MSG_DEBUG, "Macaddr = " MACSTR, MAC2STR(drv->own_addr)); 473 const u8 *macaddr = NULL; local 481 macaddr = wpa_driver_tista_get_mac_addr(priv); 486 macaddr = (const u8 *)"\xFF\xFF\xFF\xFF\xFF\xFF"; 491 macaddr = (const u8 *)"\x01\x00\x5E"; 496 macaddr = (const u8 *)"\x33\x33"; 502 if (macaddr != NULL) { 507 os_memcpy( dfreq_ptr->pattern, macaddr, MAC_ADDR_LEN ); 628 else if( os_strcasecmp(cmd, "macaddr") == 0 ) { 630 wpa_printf(MSG_DEBUG, "Macaddr command") [all...] |
/system/wlan/ti/wilink_6_1/wpa_supplicant_lib/ |
driver_ti.c | 341 wpa_printf(MSG_DEBUG, "Macaddr = " MACSTR, MAC2STR(drv->own_addr)); 473 const u8 *macaddr = NULL; local 481 macaddr = wpa_driver_tista_get_mac_addr(priv); 486 macaddr = (const u8 *)"\xFF\xFF\xFF\xFF\xFF\xFF"; 491 macaddr = (const u8 *)"\x01\x00\x5E"; 496 macaddr = (const u8 *)"\x33\x33"; 502 if (macaddr != NULL) { 507 os_memcpy( dfreq_ptr->pattern, macaddr, MAC_ADDR_LEN ); 628 else if( os_strcasecmp(cmd, "macaddr") == 0 ) { 630 wpa_printf(MSG_DEBUG, "Macaddr command") [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_test.c | 1189 else if( os_strncasecmp(cmd, "macaddr", 7) == 0 ) { 1190 u8 *macaddr = (u8 *)wpa_driver_test_get_mac_addr(priv); local 1191 wpa_printf(MSG_DEBUG,"Macaddr command"); 1192 wpa_printf(MSG_DEBUG, " Macaddr = " MACSTR, MAC2STR(macaddr)); 1193 ret = os_snprintf(buf, buf_len, "Macaddr = " MACSTR "\n", MAC2STR(macaddr)); [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hw_ctrl/ |
whalHwCtrl.h | 113 extern int whal_hwCtrl_SetMacAddress (HwCtrl_T *pHwCtrl, macAddress_t *macAddr); 142 extern int whal_hwCtrl_TkipKeyEnable (HwCtrl_T *pHwCtrl, char* MACaddr, BOOL aKey0RxEnable, BOOL aKey0TxEnable);
|
whalHwMboxCmd.h | 87 extern int whal_hwMboxCmd_SetKey(HwMboxCmd_T *pHwMboxCmd, int Action, char *MacAddr, int KeySize,
|
whalHwMboxCmd.c | 469 * MacAddr - relevant only for mapping keys 479 int whal_hwMboxCmd_SetKey(HwMboxCmd_T *pHwMboxCmd, int Action, char *MacAddr, int KeySize, 494 os_memoryCopy(pHwMboxCmd->hOs, (void *)pCmd->addr, (void *)MacAddr, MAC_ADDR_SIZE); [all...] |
/packages/apps/Settings/res/layout/ |
wifi_status_test.xml | 84 <TextView android:id="@+id/macaddr" style="@style/info_value" />
|
/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/ |
driver_ti.c | 1512 u8 *macaddr = NULL; local 1601 u8 *macaddr = (u8 *)wpa_driver_tista_get_mac_addr(priv); local [all...] |
/system/wlan/ti/wilink_6_1/TWD/Ctrl/ |
CmdBldCmd.c | 175 TI_UINT8* macAddr; 177 macAddr = (TI_UINT8*)&tnetScanParams.basicScanChannelParameters[ i ].bssIdL; 182 macAddr[ j ] = pScanVals->channelEntry[ i ].normalChannelEntry.bssId[ MAC_ADDR_LEN - 1 - j ]; 268 TI_UINT8* macAddr; 270 macAddr = (TI_UINT8*)&tnetSPSScanParams.scheduledChannelParameters[ i ].bssIdL; 275 macAddr[ j ] = pScanVals->channelEntry[ i ].normalChannelEntry.bssId[ MAC_ADDR_LEN - 1 - j ]; [all...] |
/frameworks/base/core/jni/ |
android_net_wifi_Wifi.cpp | 374 if (doCommand("DRIVER MACADDR", reply, sizeof(reply)) != 0) { 377 // reply comes back in the form "Macaddr = XX.XX.XX.XX.XX.XX" where XX
|
/hardware/broadcom/wlan/bcm4329/src/wl/sys/ |
wl_iw.c | 601 p += snprintf(p, MAX_WX_STRING, "Macaddr = %02X:%02X:%02X:%02X:%02X:%02X\n", 7268 char *macaddr = (char *)&e->addr; local [all...] |
/hardware/ti/wlan/wl1271/TWD/Ctrl/ |
CmdBldCmd.c | 172 TI_UINT8* macAddr; 174 macAddr = (TI_UINT8*)&tnetScanParams.basicScanChannelParameters[ i ].bssIdL; 179 macAddr[ j ] = pScanVals->channelEntry[ i ].normalChannelEntry.bssId[ MAC_ADDR_LEN - 1 - j ]; 265 TI_UINT8* macAddr; 267 macAddr = (TI_UINT8*)&tnetSPSScanParams.scheduledChannelParameters[ i ].bssIdL; 272 macAddr[ j ] = pScanVals->channelEntry[ i ].normalChannelEntry.bssId[ MAC_ADDR_LEN - 1 - j ]; [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
plugin.c | 78 "Attach to existing session (sessid:macaddr)" },
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiStatusTest.java | 143 mMACAddr = (TextView) findViewById(R.id.macaddr);
|