Home
last modified time | relevance | path

Searched refs:cip (Results 1 – 22 of 22) sorted by relevance

/freebsd/usr.sbin/sa/
H A Dpdb.c164 struct cmdinfo *cip, ci, ci_total, ci_other, ci_junk; in pacct_print() local
192 cip = (struct cmdinfo *) data.data; in pacct_print()
193 bcopy(cip, &ci, sizeof ci); in pacct_print()
243 cip = (struct cmdinfo *) data.data; in pacct_print()
244 bcopy(cip, &ci, sizeof ci); in pacct_print()
257 check_junk(const struct cmdinfo *cip) in check_junk() argument
262 fprintf(stderr, "%s (%ju) -- ", cip->ci_comm, (uintmax_t)cip->ci_calls); in check_junk()
280 print_ci(const struct cmdinfo *cip, const struct cmdinfo *totalcip) in print_ci() argument
285 c = cip->ci_calls ? cip->ci_calls : 1; in print_ci()
286 t = (cip->ci_utime + cip->ci_stime) / 1000000; in print_ci()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_crypto.c261 ieee80211_crypto_register(const struct ieee80211_cipher *cip) in ieee80211_crypto_register() argument
263 if (cip->ic_cipher >= IEEE80211_CIPHER_MAX) { in ieee80211_crypto_register()
265 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_register()
268 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_register()
270 __func__, cip->ic_name); in ieee80211_crypto_register()
273 ciphers[cip->ic_cipher] = cip; in ieee80211_crypto_register()
280 ieee80211_crypto_unregister(const struct ieee80211_cipher *cip) in ieee80211_crypto_unregister() argument
282 if (cip->ic_cipher >= IEEE80211_CIPHER_MAX) { in ieee80211_crypto_unregister()
284 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_unregister()
287 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_unregister()
[all …]
H A Dieee80211_crypto.h250 const struct ieee80211_cipher *cip = k->wk_cipher; in ieee80211_crypto_enmic() local
251 return (cip->ic_miclen > 0 ? cip->ic_enmic(k, m, force) : 1); in ieee80211_crypto_enmic()
H A Dieee80211_ddb.c920 const struct ieee80211_cipher *cip = wk->wk_cipher; in _db_show_key() local
924 switch (cip->ic_cipher) { in _db_show_key()
953 cip->ic_cipher, wk->wk_keyix, 8*keylen); in _db_show_key()
965 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
968 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
H A Dieee80211_ioctl.c80 const struct ieee80211_cipher *cip; in ieee80211_ioctl_getkey() local
102 cip = wk->wk_cipher; in ieee80211_ioctl_getkey()
103 ik.ik_type = cip->ic_cipher; in ieee80211_ioctl_getkey()
113 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP) { in ieee80211_ioctl_getkey()
/freebsd/crypto/openssl/crypto/evp/
H A Dasymcipher.c532 const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *cip) in EVP_ASYM_CIPHER_gettable_ctx_params() argument
536 if (cip == NULL || cip->gettable_ctx_params == NULL) in EVP_ASYM_CIPHER_gettable_ctx_params()
539 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_gettable_ctx_params()
540 return cip->gettable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_gettable_ctx_params()
543 const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *cip) in EVP_ASYM_CIPHER_settable_ctx_params() argument
547 if (cip == NULL || cip->settable_ctx_params == NULL) in EVP_ASYM_CIPHER_settable_ctx_params()
550 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_settable_ctx_params()
551 return cip->settable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_settable_ctx_params()
/freebsd/sys/dev/md/
H A Dmd.c370 struct indir *cip; in s_read() local
377 for (cip = ip; cip != NULL;) { in s_read()
378 if (cip->shift) { in s_read()
379 idx = (offset >> cip->shift) & NMASK; in s_read()
380 up = cip->array[idx]; in s_read()
381 cip = (struct indir *)up; in s_read()
385 return (cip->array[idx]); in s_read()
397 struct indir *cip, *lip[10]; in s_write() local
405 cip = ip; in s_write()
407 lip[li++] = cip; in s_write()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_keycache.c197 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_keyset() local
210 KASSERT(cip->ic_cipher < nitems(ciphermap), in ath_keyset()
211 ("invalid cipher type %u", cip->ic_cipher)); in ath_keyset()
212 hk.kv_type = ciphermap[cip->ic_cipher]; in ath_keyset()
490 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_key_delete() local
501 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
510 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
H A Dif_ath_tx.c989 const struct ieee80211_cipher *cip; in ath_tx_tag_crypto() local
1015 cip = k->wk_cipher; in ath_tx_tag_crypto()
1016 (*hdrlen) += cip->ic_header; in ath_tx_tag_crypto()
1017 (*pktlen) += cip->ic_header + cip->ic_trailer; in ath_tx_tag_crypto()
1020 (*pktlen) += cip->ic_miclen; in ath_tx_tag_crypto()
/freebsd/tools/regression/net80211/ccmp/
H A Dtest_ccmp.c597 const struct ieee80211_cipher *cip; in runtest() local
626 cip = key->wk_cipher; in runtest()
628 m->m_data += cip->ic_header; in runtest()
637 if (!cip->ic_encap(key, m)) { in runtest()
663 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
/freebsd/tools/regression/net80211/tkip/
H A Dtest_tkip.c185 const struct ieee80211_cipher *cip; in runtest() local
215 cip = key->wk_cipher; in runtest()
217 m->m_data += cip->ic_header; in runtest()
249 if (!cip->ic_encap(key, m)) { in runtest()
283 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
/freebsd/tools/regression/net80211/wep/
H A Dtest_wep.c190 const struct ieee80211_cipher *cip; in runtest() local
218 cip = key->wk_cipher; in runtest()
228 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
256 if (!cip->ic_encap(key, m)) { in runtest()
/freebsd/tools/test/sort/regression/ref/
H A Dtest03bd5 cip
/freebsd/crypto/openssl/doc/man3/
H A DEVP_ASYM_CIPHER_free.pod31 const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *cip);
32 const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *cip);
/freebsd/usr.sbin/tcpdump/tcpdump/
H A DMakefile50 print-cip.c \
/freebsd/stand/i386/libi386/
H A Dpxe.h471 IP4_t cip; /* Client IP */ member
/freebsd/sys/dev/mwl/
H A Dif_mwl.c1617 const struct ieee80211_cipher *cip = k->wk_cipher; in _mwl_key_set() local
1636 switch (cip->ic_cipher) { in _mwl_key_set()
3091 const struct ieee80211_cipher *cip; in mwl_tx_start() local
3120 cip = k->wk_cipher; in mwl_tx_start()
3121 pktlen += cip->ic_header + cip->ic_miclen + cip->ic_trailer; in mwl_tx_start()
/freebsd/sys/dev/usb/wlan/
H A Dif_rum.c1366 const struct ieee80211_cipher *cip = k->wk_cipher; in rum_setup_tx_desc() local
1368 len += cip->ic_header + cip->ic_trailer + cip->ic_miclen; in rum_setup_tx_desc()
1371 cip->ic_setiv(k, (uint8_t *)&desc->iv); in rum_setup_tx_desc()
/freebsd/contrib/file/magic/Magdir/
H A Dos233 # Marcus Groeber (marcusg@ph-cip.uni-koeln.de)
/freebsd/contrib/tcpdump/
H A DMakefile.in121 print-cip.c \
H A DCMakeLists.txt1260 print-cip.c
/freebsd/sys/dev/wpi/
H A Dif_wpi.c4594 const struct ieee80211_cipher *cip = k->wk_cipher; in wpi_load_key() local
4610 switch (cip->ic_cipher) { in wpi_load_key()
4617 cip->ic_cipher); in wpi_load_key()