HomeSort by: relevance | last modified time | path
    Searched refs:pkts (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/test/
quic_txpim_test.c 19 QUIC_TXPIM_PKT *pkts[10] = { NULL }; local
26 for (i = 0; i < OSSL_NELEM(pkts); ++i) {
27 if (!TEST_ptr(pkts[i] = ossl_quic_txpim_pkt_alloc(txpim)))
30 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]), 0))
38 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j)))
42 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]),
46 rchunks = ossl_quic_txpim_pkt_get_chunks(pkts[i]);
55 for (i = 0; i < OSSL_NELEM(pkts); ++i)
56 if (txpim != NULL && pkts[i] != NULL)
57 ossl_quic_txpim_pkt_release(txpim, pkts[i])
    [all...]
quic_ackm_test.c 49 struct pkt_info *pkts; member in struct:helper
75 if (h->pkts != NULL) {
77 OPENSSL_free(h->pkts[i].pkt);
78 h->pkts[i].pkt = NULL;
81 OPENSSL_free(h->pkts);
82 h->pkts = NULL;
115 h->pkts = OPENSSL_zalloc(sizeof(struct pkt_info) * num_pkts);
116 if (!TEST_ptr(h->pkts))
119 h->pkts = NULL;
366 h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx))
918 struct pkt_info *pkts = NULL; local
    [all...]
quic_cc_test.c 102 PRIORITY_QUEUE_OF(NET_PKT) * pkts;
122 if (!TEST_ptr(s->pkts = ossl_pqueue_NET_PKT_new(net_pkt_cmp)))
135 ossl_pqueue_NET_PKT_pop_free(s->pkts, do_free);
190 if (!TEST_true(ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx)))
202 NET_PKT *pkt = ossl_pqueue_NET_PKT_peek(s->pkts);
217 ossl_pqueue_NET_PKT_pop(s->pkts);
219 if (!ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx))
244 ossl_pqueue_NET_PKT_pop(s->pkts);
256 ossl_pqueue_NET_PKT_pop(s->pkts);
  /src/external/bsd/nsd/dist/
xfrd-notify.c 160 zone->apex_str, zone->pkts[index].dest->ip_address_spec);
165 if(ID(packet) != zone->pkts[index].notify_query_id) {
167 zone->apex_str, zone->pkts[index].dest->ip_address_spec);
174 zone->pkts[index].dest->ip_address_spec);
180 zone->apex_str, zone->pkts[index].dest->ip_address_spec));
227 zone->pkts[index].dest = NULL;
228 zone->pkts[index].notify_retry = 0;
229 zone->pkts[index].send_time = 0;
230 zone->pkts[index].notify_query_id = 0;
237 if(++zone->pkts[index].notify_retry >
    [all...]
xfrd-notify.h 69 struct notify_pkt pkts[NOTIFY_CONCURRENT_MAX]; member in struct:notify_zone
70 int notify_pkt_count; /* number of entries nonNULL in pkts */
  /src/crypto/external/bsd/openssl/dist/test/helpers/
ssltestlib.c 275 STACK_OF(MEMPACKET) *pkts;
323 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) {
338 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free);
363 if ((thispkt = sk_MEMPACKET_value(ctx->pkts, 0)) == NULL
369 (void)sk_MEMPACKET_shift(ctx->pkts);
434 int numpkts = sk_MEMPACKET_num(ctx->pkts);
443 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1);
491 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) {
511 int numpkts = sk_MEMPACKET_num(ctx->pkts);
522 thispkt = sk_MEMPACKET_value(ctx->pkts, s)
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/helpers/
ssltestlib.c 270 STACK_OF(MEMPACKET) *pkts;
318 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) {
333 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free);
358 if ((thispkt = sk_MEMPACKET_value(ctx->pkts, 0)) == NULL
364 (void)sk_MEMPACKET_shift(ctx->pkts);
429 int numpkts = sk_MEMPACKET_num(ctx->pkts);
438 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1);
486 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) {
506 int numpkts = sk_MEMPACKET_num(ctx->pkts);
517 thispkt = sk_MEMPACKET_value(ctx->pkts, s)
    [all...]
  /src/sys/dev/pci/
if_bwfm_pci.c 106 struct bwfm_pci_buf *pkts; member in struct:bwfm_pci_pkts
716 sc->sc_rx_pkts.pkts = kmem_zalloc(BWFM_NUM_RX_PKTIDS *
721 &sc->sc_rx_pkts.pkts[i].bb_map);
725 sc->sc_tx_pkts.pkts = kmem_zalloc(BWFM_NUM_TX_PKTIDS
730 &sc->sc_tx_pkts.pkts[i].bb_map);
927 bwfm_pci_pktid_avail(struct bwfm_pci_softc *sc, struct bwfm_pci_pkts *pkts)
931 idx = pkts->last + 1;
932 for (i = 0; i < pkts->npkt; i++) {
933 if (idx == pkts->npkt)
935 if (pkts->pkts[idx].bb_m == NULL
    [all...]
if_msk.c 2013 int pkts = 0; local
2034 pkts++;
2042 if (pkts == 0)
if_sk.c 1943 int pkts = 0; local
1965 pkts++;
1973 if (pkts == 0)
  /src/crypto/external/bsd/openssl.old/dist/test/
ssltestlib.c 290 STACK_OF(MEMPACKET) *pkts;
338 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) {
353 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free);
378 thispkt = sk_MEMPACKET_value(ctx->pkts, 0);
384 (void)sk_MEMPACKET_shift(ctx->pkts);
443 int numpkts = sk_MEMPACKET_num(ctx->pkts);
450 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 2);
454 if (sk_MEMPACKET_delete(ctx->pkts, numpkts - 2) != thispkt)
459 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts - 1) <= 0)
463 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 2)
    [all...]
  /src/crypto/external/bsd/netpgp/dist/src/libverify/
libverify.c 1155 ARRAY_APPEND(pgp->pkts, pkt);
1168 ARRAY_APPEND(pgp->pkts, pkt);
1177 return (ARRAY_ELEMENT(pgp->pkts, pgp->pkt).tag == wanted);
1187 return (ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.sigpkt.sig.type == wanted);
1196 if ((got = ARRAY_ELEMENT(pgp->pkts, pgp->pkt).tag) == expected) {
1212 memcpy(signature, &ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.sigpkt.sig, sizeof(*signature));
1232 pkt = &ARRAY_ELEMENT(pgp->pkts, pgp->pkt);
1263 userattr->userattr = ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.userattr;
1285 pkt = &ARRAY_ELEMENT(pgp->pkts, pgp->pkt);
1738 for (pkt = datastart ; pkt < ARRAY_COUNT(cursor->pgp->pkts) ; pkt++)
    [all...]
verify.h 246 PGPV_ARRAY(pgpv_pkt_t, pkts); /* packet array */
  /src/sys/external/bsd/ena-com/
ena_com.h 1002 * @pkts: Number of packets since the last update
1009 unsigned int pkts,
1024 if (!pkts || !bytes)
1040 if ((pkts > curr_moder_entry->pkts_per_interval) ||
1047 if ((pkts <= pred_moder_entry->pkts_per_interval) ||
1051 else if ((pkts > curr_moder_entry->pkts_per_interval) ||
  /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
libverify.c 270 ARRAY(pgpv_pkt_t, pkts); /* packet array */
1550 ARRAY_APPEND(pgp->pkts, pkt);
1563 ARRAY_APPEND(pgp->pkts, pkt);
1572 return (ARRAY_ELEMENT(pgp->pkts, pgp->pkt).tag == wanted);
1582 return (ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.sigpkt.sig.type == wanted);
1591 if ((got = ARRAY_ELEMENT(pgp->pkts, pgp->pkt).tag) == expected) {
1607 memcpy(signature, &ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.sigpkt.sig, sizeof(*signature));
1627 pkt = &ARRAY_ELEMENT(pgp->pkts, pgp->pkt);
1660 userattr->userattr = ARRAY_ELEMENT(pgp->pkts, pgp->pkt).u.userattr;
1683 pkt = &ARRAY_ELEMENT(pgp->pkts, pgp->pkt)
    [all...]
  /src/sys/arch/mips/cavium/dev/
octeon_pip.c 274 uint64_t tmp, pkts; local
289 pkts = __SHIFTOUT(tmp, PIP_STAT0_PRTN_DRP_PKTS);
290 if_statadd(ifp, if_iqdrops, pkts);
  /src/sys/arch/mips/alchemy/dev/
if_aumac.c 545 int pkts = 0; local
552 pkts++;
583 if (pkts)
596 return pkts;
611 int pkts = 0; local
617 pkts++;
720 if (pkts)
722 if (pkts == AUMAC_NRXDESC)
728 return pkts;
  /src/sys/dev/usb/
vhci.c 228 vhci_packet_list_t pkts; member in struct:vhci_xfer
338 TAILQ_INIT(&vxfer->pkts);
339 TAILQ_INSERT_TAIL(&vxfer->pkts, req, xferlist);
341 TAILQ_INSERT_TAIL(&vxfer->pkts, res, xferlist);
343 TAILQ_INSERT_TAIL(&vxfer->pkts, dat, xferlist);
372 TAILQ_REMOVE(&vxfer->pkts, pkt, xferlist);
380 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL);
456 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL);
661 pkt = TAILQ_FIRST(&vxfer->pkts);
665 KASSERT(TAILQ_FIRST(&vxfer->pkts) == NULL)
    [all...]
  /src/sys/dev/ic/
bcmgenet.c 707 int pkts = 0; local
780 ++pkts;
789 if (pkts != 0)
790 rnd_add_uint32(&sc->sc_rndsource, pkts);
797 int cidx, i, pkts = 0; local
802 pkts += genet_free_txbuf(sc, i);
807 if (pkts != 0) {
808 if_statadd(ifp, if_opackets, pkts);
809 rnd_add_uint32(&sc->sc_rndsource, pkts);
dwc_eqos.c 936 int error, index, pkts = 0; local
1072 ++pkts;
1097 if (pkts != 0) {
1098 rnd_add_uint32(&sc->sc_rndsource, pkts);
1109 int i, pkts = 0; local
1136 ++pkts;
1162 if (pkts != 0) {
1163 rnd_add_uint32(&sc->sc_rndsource, pkts);
  /src/external/bsd/libpcap/dist/
pcap-linux.c 4374 int pkts = 0; local
4405 while (pkts < max_packets) {
4428 pkts++;
4461 return pkts;
4471 int pkts = 0; local
4491 if (pkts == 0 && handlep->timeout == 0) {
4495 return pkts;
4513 while (pkts < max_packets) {
4526 if (packets_to_read > (max_packets - pkts)) {
4534 packets_to_read = max_packets - pkts;
    [all...]
  /src/sys/arch/mips/adm5120/dev/
if_admsw.c 912 int pkts = 0; local
968 pkts++;
1006 if (pkts)
1009 if (pkts == ADMSW_NRXLDESC)
  /src/external/bsd/ipf/dist/ipsd/
ipsdr.c 56 int pkts; variable
  /src/sys/dev/hyperv/
if_hvn.c 1358 int error, pkts; local
1368 pkts = txr->txr_stat_pkts;
1381 if_statadd(ifp, if_oerrors, pkts);
2593 uint32_t size, pkts; local
2614 pkts = 0;
2626 pkts = UINT32_MAX;
2628 pkts = sc->sc_agg_pkts;
2630 if (pkts > sc->sc_rndis_agg_pkts)
2631 pkts = sc->sc_rndis_agg_pkts;
2633 if (pkts <= 1)
    [all...]
  /src/sys/dev/marvell/
if_mvgbe.c 1058 int pkts = 0; local
1087 pkts++;
1095 if (pkts == 0)

Completed in 60 milliseconds

1 2