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

  /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...]
  /src/sys/dev/ic/
an.c 1054 an_set_nwkey(struct an_softc *sc, struct ieee80211_nwkey *nwkey)
1063 switch (nwkey->i_wepon) {
1071 error = an_set_nwkey_wep(sc, nwkey);
1080 error = an_set_nwkey_eap(sc, nwkey);
1097 an_set_nwkey_wep(struct an_softc *sc, struct ieee80211_nwkey *nwkey)
1108 keys[i].an_wep_keylen = nwkey->i_key[i].i_keylen;
1116 if ((error = copyin(nwkey->i_key[i].i_keydat,
1121 txkey = nwkey->i_defkid - 1;
1135 ((nwkey->i_wepon & IEEE80211_NWKEY_PERSIST) ? "persist: " : ""),
1145 if (!(nwkey->i_wepon & IEEE80211_NWKEY_PERSIST))
    [all...]
  /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...]

Completed in 26 milliseconds