Home
last modified time | relevance | path

Searched refs:seqno (Results 1 – 25 of 65) sorted by relevance

123

/freebsd-14.2/crypto/heimdal/lib/krb5/
H A Dgenerate_seq_number.c39 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-14.2/tests/sys/kern/
H A Dktls_test.c1070 memcpy(hdr + 1, &seqno, sizeof(seqno)); in encrypt_tls_12_aead()
1278 seqno++; in test_ktls_transmit_app_data()
1386 uint64_t seqno) in test_ktls_transmit_empty_fragment() argument
1544 seqno++; in test_ktls_receive_app_data()
1983 uint64_t seqno; \
1988 seqno, &en); \
2003 uint64_t seqno; \
2008 seqno, &en); \
2023 uint64_t seqno; \
2028 seqno, &en); \
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/
H A Dagg-rx.c84 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
187 seqno = status->seqno; in mt76_rx_aggr_reorder()
189 sn_less = ieee80211_sn_less(seqno, head); in mt76_rx_aggr_reorder()
204 if (seqno == head) { in mt76_rx_aggr_reorder()
217 if (!ieee80211_sn_less(seqno, head + size)) { in mt76_rx_aggr_reorder()
218 head = ieee80211_sn_inc(ieee80211_sn_sub(seqno, size)); in mt76_rx_aggr_reorder()
[all …]
/freebsd-14.2/lib/libthr/thread/
H A Dthr_spec.c72 _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-14.2/usr.sbin/ppp/
H A Ddeflate.c44 u_short seqno; member
60 state->seqno = 0; in DeflateResetOutput()
98 *wp++ = state->seqno >> 8; in DeflateOutput()
99 *wp++ = state->seqno & 0377; 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()
231 state->seqno++; in DeflateInput()
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dprint-babel.c445 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()
597 u_short seqno; in babel_print_v2_tlvs() local
602 seqno = GET_BE_U_2(message + 4); in babel_print_v2_tlvs()
646 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
657 seqno = GET_BE_U_2(message + 8); in babel_print_v2_tlvs()
723 u_short seqno; in babel_print_v2_tlvs() local
[all …]
H A Dprint-dccp.c225 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-14.2/crypto/openssh/
H A Dmac.c164 mac_compute(struct sshmac *mac, u_int32_t seqno, in mac_compute() argument
180 put_u32(b, seqno); in mac_compute()
189 POKE_U64(nonce, seqno); in mac_compute()
194 put_u64(nonce, seqno); in mac_compute()
210 mac_check(struct sshmac *mac, u_int32_t seqno, in mac_check() argument
219 if ((r = mac_compute(mac, seqno, data, dlen, in mac_check()
/freebsd-14.2/contrib/ofed/librdmacm/examples/
H A Dudpong.c71 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-14.2/sys/opencrypto/
H A Dktls_ocf.c58 uint64_t seqno);
63 uint64_t seqno, int *trailer_len);
522 ad.seq = htobe64(seqno); in ktls_ocf_tls_cbc_decrypt()
663 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls12_aead_decrypt()
672 ad.seq = htobe64(seqno); in ktls_ocf_tls12_aead_decrypt()
730 uint64_t seqno) in ktls_ocf_tls12_aead_recrypt() argument
885 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls13_aead_decrypt()
917 uint64_t seqno) in ktls_ocf_tls13_aead_recrypt() argument
940 *(uint64_t *)(crp.crp_iv + 4) ^= htobe64(seqno); in ktls_ocf_tls13_aead_recrypt()
1173 struct mbuf *m, uint64_t seqno, int *trailer_len) in ktls_ocf_decrypt() argument
[all …]
H A Dktls.h56 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-14.2/sys/powerpc/pseries/
H A Dphyp_console.c355 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-14.2/sys/net/
H A Ddebugnet.c214 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-14.2/sys/dev/rtwn/rtl8812a/
H A Dr12a_tx.c334 uint16_t seqno; in r12a_fill_tx_desc() local
337 seqno = ni->ni_txseqs[tid]; in r12a_fill_tx_desc()
340 seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE; in r12a_fill_tx_desc()
343 txd->txdw9 |= htole32(SM(R12A_TXDW9_SEQ, seqno)); in r12a_fill_tx_desc()
/freebsd-14.2/sys/dev/rtwn/rtl8192c/
H A Dr92c_tx.c333 uint16_t seqno; in r92c_fill_tx_desc() local
336 seqno = ni->ni_txseqs[tid] % IEEE80211_SEQ_RANGE; in r92c_fill_tx_desc()
339 seqno = M_SEQNO_GET(m) % IEEE80211_SEQ_RANGE; in r92c_fill_tx_desc()
342 txd->txdseq = htole16(seqno); in r92c_fill_tx_desc()
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_tls.c384 struct tls_hdr *tls_hdr, unsigned int plen, uint64_t seqno) in write_tlstx_cpl() argument
401 cpl->scmd1 = htobe64(seqno); in write_tlstx_cpl()
1083 tls_update_tcb(struct adapter *sc, struct toepcb *toep, uint64_t seqno) in tls_update_tcb() argument
1146 toep->tid, seqno); in tls_update_tcb()
1148 V_TCB_TLS_SEQ(M_TCB_TLS_SEQ), V_TCB_TLS_SEQ(seqno)); in tls_update_tcb()
1177 uint64_t seqno; in tls_check_rx_sockbuf() local
1184 have_header = ktls_pending_rx_info(sb, &seqno, &resid); in tls_check_rx_sockbuf()
1186 __func__, toep->tid, have_header, seqno, resid); in tls_check_rx_sockbuf()
1201 tls_update_tcb(sc, toep, seqno); in tls_check_rx_sockbuf()
/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_console.c400 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-14.2/crypto/heimdal/appl/gssmask/
H A Dgssmask.c567 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-14.2/crypto/heimdal/kdc/
H A Drx.h65 uint32_t seqno; member
/freebsd-14.2/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h44 unsigned short seqno(struct ieee80211_frame *wh);
/freebsd-14.2/sys/net80211/
H A Dieee80211_output.c896 ieee80211_seq seqno; in ieee80211_send_setup() local
989 seqno = ni->ni_txseqs[tid]++; in ieee80211_send_setup()
992 seqno = 0; in ieee80211_send_setup()
996 M_SEQNO_SET(m, seqno); in ieee80211_send_setup()
1487 ieee80211_seq seqno; in ieee80211_encap() local
1847 seqno = ni->ni_txseqs[tid]++; in ieee80211_encap()
1863 M_SEQNO_SET(m, seqno); in ieee80211_encap()
1877 M_SEQNO_SET(m, seqno); in ieee80211_encap()
3785 ieee80211_seq seqno; in ieee80211_beacon_update() local
3865 htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT); in ieee80211_beacon_update()
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c120 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-14.2/sys/kern/
H A Duipc_ktls.c1159 uint64_t seqno; in ktls_pending_rx_info() local
1165 seqno = sb->sb_tls_seqno; in ktls_pending_rx_info()
1171 *seqnop = seqno; in ktls_pending_rx_info()
1177 seqno++; in ktls_pending_rx_info()
1180 *seqnop = seqno; in ktls_pending_rx_info()
1189 *seqnop = seqno; in ktls_pending_rx_info()
2443 uint64_t seqno; in ktls_decrypt() local
2507 seqno = sb->sb_tls_seqno; in ktls_decrypt()
2522 error = ktls_ocf_decrypt(tls, hdr, data, seqno, in ktls_decrypt()
2651 ktls_resync_ifnet(so, tls_len, seqno); in ktls_decrypt()
[all …]
/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm527 my $seqno = 0;
530 __PACKAGE__ . '::GEN' . $seqno++;
/freebsd-14.2/sys/sys/
H A Daio.h157 uint64_t seqno; /* (*) job number */ member

123