| /src/sys/dev/wscons/ |
| wsemulconf.c | 70 struct wsemulentry *wep; local 81 LIST_FOREACH(wep, &wsemuls, next) 82 if (!strcmp(name, wep->ops->name)) { 83 wep->usecnt++; 84 return wep->ops; 97 struct wsemulentry *wep; local 99 LIST_FOREACH(wep, &wsemuls, next) 100 if (ops == wep->ops) { 101 wep->usecnt--; 109 struct wsemulentry *wep; local 121 struct wsemulentry *wep; local [all...] |
| /src/games/hack/ |
| hack.wield.c | 81 struct obj *wep; local 85 if (!(wep = getobj("#-)", "wield"))) /* nothing */ 87 else if (uwep == wep) 92 else if (wep == &zeroobj) { 100 } else if (uarms && wep->otyp == TWO_HANDED_SWORD) 102 else if (wep->owornmask & (W_ARMOR | W_RING)) 105 setuwep(wep);
|
| /src/sys/fs/msdosfs/ |
| msdosfs_conv.c | 541 msdosfs_unix2winfn(const u_char *un, int unlen, struct winentry *wep, int cnt, 569 memset(wep, 0xff, sizeof(*wep)); 570 wep->weCnt = cnt; 571 wep->weAttributes = ATTR_WIN95; 572 wep->weReserved1 = 0; 573 wep->weChksum = chksum; 574 wep->weReserved2 = 0; 580 memcpy(wep->wePart1, p, sizeof(wep->wePart1)) [all...] |
| direntry.h | 139 struct winentry *wep, int cnt, int chksum, int utf8); 141 struct winentry *wep, int chksum, int utf8); 142 int msdosfs_win2unixfn(struct winentry *wep, struct dirent *dp, int chksum,
|
| /src/sys/dev/mca/ |
| if_we_mca.c | 131 const struct we_mca_product *wep; local 133 for(wep = we_mca_products; wep->we_name; wep++) 134 if (wep->we_id == id) 135 return (wep); 154 const struct we_mca_product *wep; local 213 wep = we_mca_lookup(ma->ma_id); 215 if (wep == NULL) { 222 if (wep->we_flag & WD_8003) [all...] |
| /src/sys/net80211/ |
| ieee80211_crypto_wep.c | 43 * IEEE 802.11 WEP crypto support. 69 .ic_name = "WEP", 83 #define wep ieee80211_cipher_wep macro 142 * for WEP. And the IV may be duplicated at other stations 150 * WEP this seems worthwhile. 221 "[%s] WEP ICV mismatch on decrypt\n", 230 memmove(mtod(m, u_int8_t *) + wep.ic_header, mtod(m, void *), hdrlen); 231 m_adj(m, wep.ic_header); 232 m_adj(m, -wep.ic_trailer); 335 off = hdrlen + wep.ic_header [all...] |
| /src/external/bsd/wpa/dist/src/ap/ |
| ap_config.c | 815 hostapd_config_free_wep(&conf->ssid.wep); 1272 int wep, i; local 1274 wep = bss->default_wep_key_len > 0 || 1277 if (bss->ssid.wep.keys_set) { 1278 wep = 1; 1283 if (wep) { 1284 wpa_printf(MSG_ERROR, "WEP configuration in a WPA network is not supported"); 1350 wpa_printf(MSG_ERROR, "HT (IEEE 802.11n) with WEP is not " 1372 "VHT (IEEE 802.11ac) with WEP is not allowed, disabling VHT capabilities"); 1393 "HE (IEEE 802.11ax) with WEP is not allowed, disabling HE capabilities") [all...] |
| wps_hostapd.c | 439 * WPS 2.0 does not allow WEP to be configured, so no need to 658 * WPS 2.0 does not allow WEP to be configured, so no need to 1238 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) { 1239 wps->network_key = os_malloc(conf->ssid.wep.len[0]); 1242 os_memcpy(wps->network_key, conf->ssid.wep.key[0], 1243 conf->ssid.wep.len[0]); 1244 wps->network_key_len = conf->ssid.wep.len[0]; 1488 } else if (conf->ssid.wep.keys_set && conf->ssid.wep.key[0]) [all...] |
| vlan_init.c | 30 if (!hapd->conf->ssid.wep.key[i]) 33 "VLAN: Refusing to set up VLAN iface %s with WEP",
|
| hostapd.c | 383 idx = ssid->wep.idx; 384 if (ssid->wep.default_len && ssid->wep.key[idx] && 387 1, NULL, 0, ssid->wep.key[idx], 388 ssid->wep.len[idx], 390 wpa_printf(MSG_WARNING, "Could not set WEP encryption."); 749 if (hapd->conf->ssid.wep.default_len) { 756 * set authentication algorithms for static WEP. 761 if (hapd->conf->ssid.wep.key[i] && 763 i == hapd->conf->ssid.wep.idx, NULL, 0 [all...] |
| ap_config.h | 117 struct hostapd_wep_keys wep; member in struct:hostapd_ssid
|
| ieee802_11.c | 300 privacy = hapd->conf->ssid.wep.keys_set; 2932 "auth_transaction=%d status_code=%d wep=%d%s " 6435 if (ssid->wep.key[i] && 6437 0, i == ssid->wep.idx, NULL, 0, 6438 ssid->wep.key[i], ssid->wep.len[i], 6439 i == ssid->wep.idx ? 6443 "Could not set WEP keys for WDS interface; %s", 6609 * Open, static WEP, FT protocol, or FILS; no separate
|
| beacon.c | 2453 params->privacy |= hapd->conf->ssid.wep.keys_set ||
|
| /src/lib/libedit/ |
| vi.c | 1091 const wchar_t *wep, *wsp; local 1099 wep = wsp = NULL; 1108 wep = wp; 1116 len = (int)(wep - wsp); 1124 while (wsp < wep && cp < lim)
|
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_ndis.c | 937 NDIS_802_11_WEP *wep; local 942 wep = os_zalloc(len); 943 if (wep == NULL) 945 wep->Length = len; 946 wep->KeyIndex = key_idx; 948 wep->KeyIndex |= 1 << 31; 951 wep->KeyIndex |= 1 << 30; 953 wep->KeyLength = key_len; 954 os_memcpy(wep->KeyMaterial, key, key_len); 957 (u8 *) wep, len) [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| ap.c | 600 struct hostapd_wep_keys *wep = &bss->ssid.wep; local 605 wep->key[i] = os_memdup(ssid->wep_key[i], 607 if (wep->key[i] == NULL) 609 wep->len[i] = ssid->wep_key_len[i]; 611 wep->idx = ssid->wep_tx_keyidx; 612 wep->keys_set = 1; 706 bss->ssid.wep.default_len = bss->default_wep_key_len; 713 } else if (bss->ssid.wep.keys_set) { 715 if (bss->ssid.wep.len[0] >= 13 [all...] |
| /src/external/bsd/wpa/dist/hostapd/ |
| config_file.c | 765 static int hostapd_config_read_wep(struct hostapd_wep_keys *wep, int keyidx, 776 bin_clear_free(wep->key[keyidx], wep->len[keyidx]); 777 wep->key[keyidx] = NULL; 778 wep->len[keyidx] = 0; 780 if (wep->key[i]) 784 wep->keys_set = 0; 788 if (wep->key[keyidx] != NULL) 795 wep->key[keyidx] = os_memdup(val + 1, len); 796 if (wep->key[keyidx] == NULL [all...] |