HomeSort by: relevance | last modified time | path
    Searched defs:nwkey (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/net80211/
ieee80211_ioctl.c 2567 struct ieee80211_nwkey *nwkey; local in function:ieee80211_ioctl
2622 nwkey = (struct ieee80211_nwkey *)data;
2624 kid = nwkey->i_defkid - 1;
2630 if (nwkey->i_key[kid].i_keylen == 0 ||
2631 (nwkey->i_key[kid].i_keylen == -1 &&
2633 if (nwkey->i_wepon != IEEE80211_NWKEY_OPEN) {
2640 klen = nwkey->i_key[kid].i_keylen;
2655 klen = nwkey->i_key[kid].i_keylen;
2658 if ((error = copyin(nwkey->i_key[kid].i_keydat,
2669 klen = nwkey->i_key[kid].i_keylen
    [all...]
  /src/sbin/ifconfig/
ieee80211.c 150 , {.k_word = "nwkey", .k_nextparser = &parse_nwkey.ps_parser}
151 , {.k_word = "-nwkey", .k_exec = unsetifnwkey,
188 struct pstr parse_nwkey = PSTR_INITIALIZER1(&parse_nwkey, "nwkey", setifnwkey,
189 "nwkey", false, &command_root.pb_parser);
345 struct ieee80211_nwkey nwkey; local in function:setifnwkey
349 if (getargstr(env, "nwkey", buf, sizeof(buf)) == -1)
350 errx(EXIT_FAILURE, "%s: nwkey too long", __func__);
354 nwkey.i_wepon = IEEE80211_NWKEY_WEP;
355 nwkey.i_defkid = 1;
357 nwkey.i_key[i].i_keylen = sizeof(keybuf[i])
409 struct ieee80211_nwkey nwkey; local in function:unsetifnwkey
596 struct ieee80211_nwkey nwkey; local in function:ieee80211_status
    [all...]

Completed in 13 milliseconds