| /freebsd/tests/sys/kern/ |
| H A D | ktls_test.c | 578 int auth_alg, int minor, uint64_t seqno, struct tls_enable *en) in build_tls_enable() argument 633 be64enc(en->rec_seq, seqno); in build_tls_enable() 634 debug(tc, "seqno: %ju\n", (uintmax_t)seqno); in build_tls_enable() 770 const struct tls_record_layer *hdr, uint64_t seqno, struct tls_mac_data *ad) in tls_mte_aad() argument 772 ad->seq = htobe64(seqno); in tls_mte_aad() 781 const struct tls_record_layer *hdr, uint64_t seqno, in tls_12_aead_aad() argument 784 ad->seq = htobe64(seqno); in tls_12_aead_aad() 793 uint64_t seqno, struct tls_aead_data_13 *ad) in tls_13_aad() argument 810 tls_13_nonce(struct tls_enable *en, uint64_t seqno, char *nonce) in tls_13_nonce() argument 815 *(uint64_t *)(nonce + 4) ^= htobe64(seqno); in tls_13_nonce() [all …]
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | generate_seq_number.c | 39 uint32_t *seqno) in krb5_generate_seq_number() argument 41 if (RAND_bytes((void *)seqno, sizeof(*seqno)) <= 0) in krb5_generate_seq_number() 44 *seqno &= 0x3fffffff; in krb5_generate_seq_number() 45 if (*seqno == 0) in krb5_generate_seq_number() 46 *seqno = 1; in krb5_generate_seq_number()
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | gen_seqnum.c | 40 krb5_generate_seq_number(krb5_context context, const krb5_keyblock *key, krb5_ui_4 *seqno) in krb5_generate_seq_number() argument 45 seed.length = sizeof(*seqno); in krb5_generate_seq_number() 46 seed.data = (char *) seqno; in krb5_generate_seq_number() 59 *seqno &= 0x3fffffff; in krb5_generate_seq_number() 60 if (*seqno == 0) in krb5_generate_seq_number() 61 *seqno = 1; in krb5_generate_seq_number()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | agg-rx.c | 84 mt76_rx_aggr_release_frames(tid, frames, status->seqno); in mt76_rx_aggr_check_release() 126 u16 seqno; in mt76_rx_aggr_check_ctl() local 135 seqno = IEEE80211_SEQ_TO_SN(le16_to_cpu(bar->start_seq_num)); in mt76_rx_aggr_check_ctl() 142 mt76_rx_aggr_release_frames(tid, frames, seqno); in mt76_rx_aggr_check_ctl() 155 u16 seqno, head, size, idx; in mt76_rx_aggr_reorder() local 189 seqno = status->seqno; in mt76_rx_aggr_reorder() 191 sn_less = ieee80211_sn_less(seqno, head); in mt76_rx_aggr_reorder() 206 if (seqno == head) { in mt76_rx_aggr_reorder() 219 if (!ieee80211_sn_less(seqno, head + size)) { in mt76_rx_aggr_reorder() 220 head = ieee80211_sn_inc(ieee80211_sn_sub(seqno, size)); in mt76_rx_aggr_reorder() [all …]
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_spec.c | 72 _thread_keytable[i].seqno++; in _thr_key_create() 125 if (curthread->specific[key].seqno == in _thread_cleanupspecific() 126 _thread_keytable[key].seqno) { in _thread_cleanupspecific() 193 pthread->specific[key].seqno = _thread_keytable[key].seqno; in _thr_setspecific() 212 pthread->specific[key].seqno == _thread_keytable[key].seqno) { in _thr_getspecific()
|
| /freebsd/usr.sbin/ppp/ |
| H A D | deflate.c | 44 u_short seqno; member 60 state->seqno = 0; in DeflateResetOutput() 98 *wp++ = state->seqno >> 8; in DeflateOutput() 99 *wp++ = state->seqno & 0377; in DeflateOutput() 100 log_Printf(LogDEBUG, "DeflateOutput: Seq %d\n", state->seqno); in DeflateOutput() 101 state->seqno++; in DeflateOutput() 119 state->seqno--; in DeflateOutput() 192 state->seqno = 0; in DeflateResetInput() 215 if (seq != state->seqno) { in DeflateInput() 222 state->seqno = seq; in DeflateInput() [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-babel.c | 445 u_short seqno, interval, unicast; in babel_print_v2_tlvs() local 452 seqno = GET_BE_U_2(message + 4); in babel_print_v2_tlvs() 456 ND_PRINT("seqno %u ", seqno); in babel_print_v2_tlvs() 535 u_short interval, seqno, metric; in babel_print_v2_tlvs() local 551 seqno = GET_BE_U_2(message + 8); in babel_print_v2_tlvs() 558 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs() 597 u_short seqno; in babel_print_v2_tlvs() local 602 seqno = GET_BE_U_2(message + 4); in babel_print_v2_tlvs() 611 seqno, format_id(ndo, message + 8)); in babel_print_v2_tlvs() 646 u_short interval, seqno, metric; in babel_print_v2_tlvs() local [all …]
|
| H A D | print-dccp.c | 225 uint64_t seqno; in dccp_seqno() local 229 seqno = GET_BE_U_6(dhx->dccph_seq); in dccp_seqno() 231 seqno = GET_BE_U_3(dh->dccph_seq); in dccp_seqno() 234 return seqno; in dccp_seqno()
|
| /freebsd/crypto/openssh/ |
| H A D | mac.c | 155 mac_compute(struct sshmac *mac, uint32_t seqno, in mac_compute() argument 171 put_u32(b, seqno); in mac_compute() 180 POKE_U64(nonce, seqno); in mac_compute() 185 put_u64(nonce, seqno); in mac_compute() 201 mac_check(struct sshmac *mac, uint32_t seqno, in mac_check() argument 210 if ((r = mac_compute(mac, seqno, data, dlen, in mac_check()
|
| /freebsd/contrib/ofed/librdmacm/examples/ |
| H A D | udpong.c | 71 uint8_t seqno; member 358 static uint8_t seqno; in client_send_recv() local 361 msg->seqno = seqno; in client_send_recv() 368 } while (ret <= 0 || msg->seqno != seqno); in client_send_recv() 370 seqno++; in client_send_recv()
|
| /freebsd/sys/opencrypto/ |
| H A D | ktls_ocf.c | 57 uint64_t seqno); 62 uint64_t seqno, int *trailer_len); 435 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls_cbc_decrypt() argument 519 ad.seq = htobe64(seqno); in ktls_ocf_tls_cbc_decrypt() 629 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls12_aead_decrypt() argument 660 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls12_aead_decrypt() 669 ad.seq = htobe64(seqno); in ktls_ocf_tls12_aead_decrypt() 727 uint64_t seqno) in ktls_ocf_tls12_aead_recrypt() argument 859 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, in ktls_ocf_tls13_aead_decrypt() argument 882 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls13_aead_decrypt() [all …]
|
| H A D | ktls.h | 56 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno, 59 const struct tls_record_layer *hdr, struct mbuf *m, uint64_t seqno);
|
| /freebsd/sys/powerpc/pseries/ |
| H A D | phyp_console.c | 355 uint16_t seqno; in uart_phyp_put() local 375 seqno = sc->outseqno++; in uart_phyp_put() 378 cbuf.bytes[2] = (seqno >> 8) & 0xff; in uart_phyp_put() 379 cbuf.bytes[3] = seqno & 0xff; in uart_phyp_put()
|
| /freebsd/sys/net/ |
| H A D | debugnet.c | 214 debugnet_ack_output(struct debugnet_pcb *pcb, uint32_t seqno /* net endian */) in debugnet_ack_output() argument 219 DNETDEBUG("Acking with seqno %u\n", ntohl(seqno)); in debugnet_ack_output() 230 dn_ack->da_seqno = seqno; in debugnet_ack_output() 383 uint32_t seqno; in debugnet_handle_rx_msg() local 428 seqno = dnh->mh_seqno; /* net endian */ in debugnet_handle_rx_msg() 438 error = debugnet_ack_output(pcb, seqno); in debugnet_handle_rx_msg() 440 DNETDEBUG("Couldn't ACK rx packet %u; %d\n", ntohl(seqno), error); in debugnet_handle_rx_msg()
|
| /freebsd/sys/powerpc/powernv/ |
| H A D | opal_console.c | 400 uint16_t seqno; in uart_opal_put() local 420 seqno = sc->outseqno++; in uart_opal_put() 423 cbuf[2] = (seqno >> 8) & 0xff; in uart_opal_put() 424 cbuf[3] = seqno & 0xff; in uart_opal_put()
|
| /freebsd/crypto/heimdal/appl/gssmask/ |
| H A D | gssmask.c | 567 int32_t hContext, flags, seqno; in HandleOP() local 574 ret32(c, seqno); in HandleOP() 606 int32_t hContext, flags, seqno; in HandleOP() local 619 ret32(c, seqno); in HandleOP() 737 int32_t hContext, flags, seqno; in HandleOP() local 745 ret32(c, seqno); in HandleOP() 778 int32_t hContext, flags, seqno; in HandleOP() local 787 ret32(c, seqno); in HandleOP()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_tls.c | 398 uint64_t seqno) in write_tlstx_cpl() argument 414 cpl->scmd1 = htobe64(seqno); in write_tlstx_cpl() 1163 tls_update_tcb(struct adapter *sc, struct toepcb *toep, uint64_t seqno, in tls_update_tcb() argument 1251 toep->tid, seqno); in tls_update_tcb() 1254 V_TCB_RX_TLS_SEQ(seqno)); in tls_update_tcb() 1309 uint64_t seqno; in tls_check_rx_sockbuf() local 1316 have_header = ktls_pending_rx_info(sb, &seqno, &resid); in tls_check_rx_sockbuf() 1318 __func__, toep->tid, have_header, seqno, resid); in tls_check_rx_sockbuf() 1334 tls_update_tcb(sc, toep, seqno, resid); in tls_check_rx_sockbuf()
|
| /freebsd/crypto/heimdal/kdc/ |
| H A D | rx.h | 65 uint32_t seqno; member
|
| /freebsd/contrib/bsnmp/snmp_ntp/ |
| H A D | snmp_ntp.c | 120 static uint16_t seqno; variable 326 if (++seqno == 0) in ntpd_request() 327 seqno++; in ntpd_request() 328 *ptr++ = seqno >> 8; in ntpd_request() 329 *ptr++ = seqno; in ntpd_request() 469 if (n != seqno) { in ntpd_read() 470 syslog(LOG_ERR, "expecting seqno %u, got %u", seqno, n); in ntpd_read()
|
| /freebsd/tools/tools/net80211/w00t/libw00t/ |
| H A D | w00t.h | 44 unsigned short seqno(struct ieee80211_frame *wh);
|
| /freebsd/sys/dev/rtwn/rtl8812a/ |
| H A D | r12a_tx.c | 434 uint16_t seqno; in r12a_fill_tx_desc() local 438 seqno = M_SEQNO_GET(m); in r12a_fill_tx_desc() 440 txd->txdw9 |= htole32(SM(R12A_TXDW9_SEQ, seqno)); in r12a_fill_tx_desc()
|
| /freebsd/sys/dev/rtwn/rtl8192c/ |
| H A D | r92c_tx.c | 453 uint16_t seqno; in r92c_fill_tx_desc() local 458 seqno = M_SEQNO_GET(m); in r92c_fill_tx_desc() 461 txd->txdseq = htole16(seqno); in r92c_fill_tx_desc()
|
| /freebsd/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/ |
| H A D | Template.pm | 527 my $seqno = 0; 530 __PACKAGE__ . '::GEN' . $seqno++;
|
| /freebsd/sys/kern/ |
| H A D | uipc_ktls.c | 1238 uint64_t seqno; in ktls_pending_rx_info() local 1244 seqno = sb->sb_tls_seqno; in ktls_pending_rx_info() 1250 *seqnop = seqno; in ktls_pending_rx_info() 1256 seqno++; in ktls_pending_rx_info() 1259 *seqnop = seqno; in ktls_pending_rx_info() 1268 *seqnop = seqno; in ktls_pending_rx_info() 2513 uint64_t seqno; in ktls_decrypt() local 2577 seqno = sb->sb_tls_seqno; in ktls_decrypt() 2587 error = ktls_ocf_recrypt(tls, hdr, data, seqno); in ktls_decrypt() 2592 error = ktls_ocf_decrypt(tls, hdr, data, seqno, in ktls_decrypt() [all …]
|
| /freebsd/sys/sys/ |
| H A D | aio.h | 157 uint64_t seqno; /* (*) job number */ member
|