/haiku/headers/private/kernel/boot/net/ |
H A D | ARP.h | 26 status_t GetMACForIP(ip_addr_t ip, mac_addr_t &mac); 36 mac_addr_t mac; member in struct:ARPService::MapEntry 39 status_t _SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode); 42 void _PutEntry(ip_addr_t ip, const mac_addr_t &mac);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_aironet_ieee.h | 160 u_int8_t mac[6]; member in struct:an_ltv_key 769 #define AIROPMACON AIROPAPLIST + 1 /* Enable mac */ 770 #define AIROPMACOFF AIROPMACON + 1 /* Disable mac */
|
H A D | if_an.c | 2194 ireq->i_val = key->mac[0]; 2421 key->mac[0] = 1; /* The others are 0. */ 2471 key->mac[0] = ireq->i_val; 2775 /* minus src/dest mac & type */ 2838 /* minus src/dest mac & type */ 3123 /* did we find a matching mac address? 3167 * .mac src
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_keycache.c | 135 * Sets the mac part of the specified key cache entry (and any 142 const u_int8_t *mac) 156 if (mac != AH_NULL) { 165 if (mac[0] & 0x01) { 169 mac_hi = (mac[5] << 8) | mac[4]; 170 mac_lo = (mac[3] << 24) | (mac[2] << 16) 171 | (mac[1] << 8) | mac[ 139 ar9300_set_key_cache_entry_mac( struct ath_hal *ah, u_int16_t entry, const u_int8_t *mac) argument 189 ar9300_set_key_cache_entry(struct ath_hal *ah, u_int16_t entry, const HAL_KEYVAL *k, const u_int8_t *mac, int xor_key) argument [all...] |
H A D | ar9300_misc.c | 97 ar9300_get_mac_address(struct ath_hal *ah, u_int8_t *mac) argument 101 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); 105 ar9300_set_mac_address(struct ath_hal *ah, const u_int8_t *mac) argument 109 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 76 * Sets the mac part of the specified key cache entry and mark it valid. 79 ar5210SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument 88 if (mac != AH_NULL) { 89 macHi = (mac[5] << 8) | mac[4]; 90 macLo = (mac[3] << 24)| (mac[2] << 16) 91 | (mac[1] << 8) | mac[0]; 112 const HAL_KEYVAL *k, const uint8_t *mac, in 111 ar5210SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument [all...] |
H A D | ar5210_misc.c | 36 ar5210GetMacAddress(struct ath_hal *ah, uint8_t *mac) argument 40 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN); 44 ar5210SetMacAddress(struct ath_hal *ah, const uint8_t *mac) argument 48 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_keycache.c | 58 const HAL_KEYVAL *k, const uint8_t *mac, 63 if (ar5212SetKeyCacheEntry(ah, entry, k, mac, xorKey)) { 57 ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_debug.h | 103 #define KEYPRINTF(sc, ix, hk, mac) do { \ 105 ath_keyprint(sc, __func__, ix, hk, mac); \ 121 #define KEYPRINTF(sc, k, ix, mac) do { \
|
H A D | if_ath_keycache.c | 88 const HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) 103 printf(" mac %s", ether_sprintf(mac)); 125 HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) 145 KEYPRINTF(sc, k->wk_keyix+32, hk, mac); 147 return ath_hal_keyset(ah, k->wk_keyix+32, hk, mac); 156 KEYPRINTF(sc, k->wk_keyix, hk, mac); 157 return ath_hal_keyset(ah, k->wk_keyix, hk, mac); 168 KEYPRINTF(sc, k->wk_keyix, hk, mac); 169 return ath_hal_keyset(ah, k->wk_keyix, hk, mac); 87 ath_keyprint(struct ath_softc *sc, const char *tag, u_int ix, const HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) argument 124 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) argument 201 const u_int8_t *mac; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | bwimac.h | 74 #define MOBJ_WRITE_2(mac, objid, ofs, val) \ 75 bwi_memobj_write_2((mac), (objid), (ofs), (val)) 76 #define MOBJ_WRITE_4(mac, objid, ofs, val) \ 77 bwi_memobj_write_4((mac), (objid), (ofs), (val)) 78 #define MOBJ_READ_2(mac, objid, ofs) \ 79 bwi_memobj_read_2((mac), (objid), (ofs)) 80 #define MOBJ_READ_4(mac, objid, ofs) \ 81 bwi_memobj_read_4((mac), (objid), (ofs)) 83 #define MOBJ_SETBITS_4(mac, objid, ofs, bits) \ 84 MOBJ_WRITE_4((mac), (obji [all...] |
H A D | bwiphy.h | 68 #define PHY_WRITE(mac, ctrl, val) bwi_phy_write((mac), (ctrl), (val)) 69 #define PHY_READ(mac, ctrl) bwi_phy_read((mac), (ctrl)) 71 #define PHY_SETBITS(mac, ctrl, bits) \ 72 PHY_WRITE((mac), (ctrl), PHY_READ((mac), (ctrl)) | (bits)) 73 #define PHY_CLRBITS(mac, ctrl, bits) \ 74 PHY_WRITE((mac), (ctrl), PHY_READ((mac), (ctr [all...] |
H A D | bwirf.h | 113 #define RF_WRITE(mac, ofs, val) bwi_rf_write((mac), (ofs), (val)) 114 #define RF_READ(mac, ofs) bwi_rf_read((mac), (ofs)) 116 #define RF_SETBITS(mac, ofs, bits) \ 117 RF_WRITE((mac), (ofs), RF_READ((mac), (ofs)) | (bits)) 118 #define RF_CLRBITS(mac, ofs, bits) \ 119 RF_WRITE((mac), (ofs), RF_READ((mac), (of [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/ |
H A D | if_ipw.c | 404 const uint8_t mac[IEEE80211_ADDR_LEN]) 474 mac); 401 ipw_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 178 const uint8_t mac[IEEE80211_ADDR_LEN]); 622 const uint8_t mac[IEEE80211_ADDR_LEN]) 654 ieee80211_media_status, mac); 1620 wpi_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 619 wpi_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | mwlhal.c | 136 uint8_t mac[IEEE80211_ADDR_LEN];/* mac address */ member in struct:mwl_hal_vap 412 const uint8_t mac[IEEE80211_ADDR_LEN]) 424 mwl_hal_setmac_locked(vap, mac); 1182 const uint8_t mac[IEEE80211_ADDR_LEN]) 1221 IEEE80211_ADDR_COPY(pCmd->KeyParam.Macaddr, mac); 1223 IEEE80211_ADDR_COPY(pCmd->Macaddr, mac); 1231 mwl_hal_keyreset(struct mwl_hal_vap *vap, const MWL_HAL_KEYVAL *kv, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1246 IEEE80211_ADDR_COPY(pCmd->KeyParam.Macaddr, mac); 1248 IEEE80211_ADDR_COPY(pCmd->Macaddr, mac); 411 mwl_hal_newvap(struct mwl_hal *mh0, MWL_HAL_BSSTYPE type, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1181 mwl_hal_keyset(struct mwl_hal_vap *vap, const MWL_HAL_KEYVAL *kv, const uint8_t mac[IEEE80211_ADDR_LEN]) argument [all...] |
H A D | mwlhal.h | 99 const uint8_t mac[6]); 452 * Plumb a unicast/group key. The mac address identifies 456 const uint8_t mac[6]); 459 * Plumb a unicast/group key. The mac address identifies 463 const uint8_t mac[6]);
|
/haiku/src/bin/network/ |
H A D | wakeonlan.cpp | 19 unsigned char mac[6]; local 20 if (sscanf(argv[1], "%2x%*c%2x%*c%2x%*c%2x%*c%2x%*c%2x", &mac[0], &mac[1], 21 &mac[2], &mac[3], &mac[4], &mac[5]) != 6) { 29 memcpy(buffer + i * 6, mac, sizeof(mac)); 57 printf("magic packet sent to %02x:%02x:%02x:%02x:%02x:%02x\n", mac[ [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_uipc_mbuf.c | 89 #include <security/mac/mac_framework.h>
|
H A D | fbsd_uipc_mbuf2.c | 80 #include <security/mac/mac_framework.h>
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_acl.c | 175 acl_add(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 185 "ACL: add %s failed, no memory\n", ether_sprintf(mac)); 191 hash = ACL_HASH(mac); 193 if (IEEE80211_ADDR_EQ(acl->acl_macaddr, mac)) { 198 ether_sprintf(mac)); 202 IEEE80211_ADDR_COPY(new->acl_macaddr, mac); 209 "ACL: add %s\n", ether_sprintf(mac)); 214 acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 220 acl = _find_acl(as, mac); 226 "ACL: remove %s%s\n", ether_sprintf(mac), 331 static const struct ieee80211_aclator mac = { variable in typeref:struct:ieee80211_aclator [all...] |
H A D | ieee80211_scan.h | 193 const uint8_t mac[IEEE80211_ADDR_LEN]); 199 const uint8_t mac[IEEE80211_ADDR_LEN], int reason); 347 const uint8_t mac[IEEE80211_ADDR_LEN],
|
/haiku/src/servers/net/ |
H A D | AutoconfigLooper.cpp | 101 uint8* mac = link.LinkLevelAddress(); local 102 last = mac[0] ^ mac[1] ^ mac[2] ^ mac[3] ^ mac[4] ^ mac[5];
|
/haiku/src/system/boot/loader/net/ |
H A D | ARP.cpp | 113 ARPService::GetMACForIP(ip_addr_t ip, mac_addr_t &mac) argument 120 mac = kBroadcastMACAddress; 122 mac.ToUInt64())); 128 mac = entry->mac; 130 mac.ToUInt64())); 150 mac = entry->mac; 152 mac.ToUInt64())); 165 ARPService::_SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint1 argument 200 _PutEntry(ip_addr_t ip, const mac_addr_t &mac) argument [all...] |
/haiku/src/tests/kits/net/ |
H A D | link_echo.cpp | 32 parse_mac_address(const char* string, uint8* mac)
argument 34 if (sscanf(string, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", &mac[0],
35 &mac[1], &mac[2], &mac[3], &mac[4], &mac[5]) < 6) {
118 fprintf(stderr, "usage: %s <device> client <server-mac-address>\n"
135 fprintf(stderr, "usage: %s client <server-mac-address>\n",
|