Home
last modified time | relevance | path

Searched refs:pkts (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/netbsd-tests/ipf/expected/
H A Df2927 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
28 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
33 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
34 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
39 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
40 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
45 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56
46 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
H A Dni626 FWD: IN pkts 2 bytes 96 OUT pkts 1 bytes 68
27 REV: IN pkts 1 bytes 52 OUT pkts 1 bytes 52
32 FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
33 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
38 FWD: IN pkts 1 bytes 84 OUT pkts 1 bytes 84
39 REV: IN pkts 1 bytes 56 OUT pkts 1 bytes 56
H A Df2511 FWD: IN pkts 1 bytes 129 OUT pkts 0 bytes 0
12 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
17 FWD: IN pkts 1 bytes 129 OUT pkts 0 bytes 0
18 REV: IN pkts 0 bytes 0 OUT pkts 1 bytes 264
H A Df11168 FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
169 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
174 FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
175 REV: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
216 FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
217 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
222 FWD: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
223 REV: IN pkts 1 bytes 28 OUT pkts 0 bytes 0
265 FWD: IN pkts 1 bytes 40 OUT pkts 0 bytes 0
266 REV: IN pkts 1 bytes 40 OUT pkts 0 bytes 0
H A Dni2317 FWD: IN pkts 1 bytes 28 OUT pkts 1 bytes 28
18 REV: IN pkts 1 bytes 28 OUT pkts 1 bytes 28
/freebsd/crypto/openssl/test/
H A Dquic_txpim_test.c19 QUIC_TXPIM_PKT *pkts[10] = { NULL }; in test_txpim() local
26 for (i = 0; i < OSSL_NELEM(pkts); ++i) { in test_txpim()
27 if (!TEST_ptr(pkts[i] = ossl_quic_txpim_pkt_alloc(txpim))) in test_txpim()
30 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]), 0)) in test_txpim()
38 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j))) in test_txpim()
42 if (!TEST_size_t_eq(ossl_quic_txpim_pkt_get_num_chunks(pkts[i]), in test_txpim()
46 rchunks = ossl_quic_txpim_pkt_get_chunks(pkts[i]); in test_txpim()
55 for (i = 0; i < OSSL_NELEM(pkts); ++i) in test_txpim()
56 if (txpim != NULL && pkts[i] != NULL) in test_txpim()
57 ossl_quic_txpim_pkt_release(txpim, pkts[i]); in test_txpim()
H A Dquic_ackm_test.c49 struct pkt_info *pkts; member
75 if (h->pkts != NULL) { in helper_destroy()
77 OPENSSL_free(h->pkts[i].pkt); in helper_destroy()
78 h->pkts[i].pkt = NULL; in helper_destroy()
81 OPENSSL_free(h->pkts); in helper_destroy()
82 h->pkts = NULL; in helper_destroy()
115 h->pkts = OPENSSL_zalloc(sizeof(struct pkt_info) * num_pkts); in helper_init()
116 if (!TEST_ptr(h->pkts)) in helper_init()
119 h->pkts = NULL; in helper_init()
366 h.pkts[i].pkt = tx = OPENSSL_zalloc(sizeof(*tx)); in test_tx_ack_case_actual()
[all …]
H A Dquic_cc_test.c102 PRIORITY_QUEUE_OF(NET_PKT) * pkts;
122 if (!TEST_ptr(s->pkts = ossl_pqueue_NET_PKT_new(net_pkt_cmp))) in net_sim_init()
135 ossl_pqueue_NET_PKT_pop_free(s->pkts, do_free); in net_sim_cleanup()
190 if (!TEST_true(ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx))) in net_sim_send()
202 NET_PKT *pkt = ossl_pqueue_NET_PKT_peek(s->pkts); in net_sim_process_one()
217 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
219 if (!ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx)) in net_sim_process_one()
244 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
256 ossl_pqueue_NET_PKT_pop(s->pkts); in net_sim_process_one()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_dim.c46 MLX5_SET(cqc, cqc, cq_max_count, prof.pkts); in mlx5e_dim_build_cq_param()
53 MLX5_SET(cqc, cqc, cq_max_count, prof.pkts); in mlx5e_dim_build_cq_param()
86 cur_profile.pkts > MLX5E_DIM_MAX_RX_CQ_MODERATION_PKTS_WITH_LRO) { in mlx5e_dim_work()
87 cur_profile.pkts = MLX5E_DIM_MAX_RX_CQ_MODERATION_PKTS_WITH_LRO; in mlx5e_dim_work()
92 cur_profile.usec, cur_profile.pkts); in mlx5e_dim_work()
/freebsd/tests/sys/netpfil/pf/
H A Dpft_read_ipfix.py63 pkts = sp.sniff(iface=recvif, timeout=65, filter="udp port 2055")
65 if len(pkts) == 0:
69 pkts = sp.ipfix_defragment(pkts)
71 for pkt in pkts:
H A Dfrag6.py63 pkts = []
81 pkts.append(pkt)
85 sp.send(pkts, inter = 0.1)
H A Droute_to.sh1747 pkts=$(rt_leak_probe_pkts)
1750 atf_fail "directed broadcast leaked to wan despite block-out rule (${pkts} packet(s))"
1781 pkts=$(rt_leak_probe_pkts)
1784 atf_fail "limited broadcast leaked to wan despite block-out rule (${pkts} packet(s))"
1814 pkts=$(rt_leak_probe_pkts)
1847 pkts=$(rt_leak_probe_pkts)
1880 pkts=$(rt_leak_probe_pkts)
1883 atf_fail "IPv4 multicast leaked to wan despite block-out rule (${pkts} packet(s))"
1913 pkts=$(rt_leak_probe_pkts)
1916 atf_fail "IPv6 multicast leaked to wan despite block-out rule (${pkts} packet(s))"
[all …]
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dstats.c100 u64 pkts; in bnxt_re_get_qos_stats() local
174 pkts = bnxt_re_stat_diff(tmp_counters[0].cnp_tx_pkts, in bnxt_re_get_qos_stats()
177 cnps->cur[0].cnp_tx_pkts += pkts; in bnxt_re_get_qos_stats()
181 bytes = diff + pkts * 4; in bnxt_re_get_qos_stats()
183 pkts = bnxt_re_stat_diff(tmp_counters[0].cnp_rx_pkts, in bnxt_re_get_qos_stats()
186 cnps->cur[0].cnp_rx_pkts += pkts; in bnxt_re_get_qos_stats()
197 pkts = bnxt_re_stat_diff(tmp_counters[1].cnp_tx_pkts, in bnxt_re_get_qos_stats()
200 cnps->cur[1].cnp_tx_pkts += pkts; in bnxt_re_get_qos_stats()
204 cnps->cur[1].cnp_tx_bytes += diff + pkts * 4; in bnxt_re_get_qos_stats()
205 pkts = bnxt_re_stat_diff(tmp_counters[1].cnp_rx_pkts, in bnxt_re_get_qos_stats()
[all …]
/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.c270 STACK_OF(MEMPACKET) *pkts;
318 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) { in mempacket_test_new()
333 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free); in mempacket_test_free()
358 if ((thispkt = sk_MEMPACKET_value(ctx->pkts, 0)) == NULL in mempacket_test_read()
364 (void)sk_MEMPACKET_shift(ctx->pkts); in mempacket_test_read()
429 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_swap_epoch()
438 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1); in mempacket_swap_epoch()
486 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) { in mempacket_swap_epoch()
506 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_move_packet()
517 thispkt = sk_MEMPACKET_value(ctx->pkts, s); in mempacket_move_packet()
[all …]
/freebsd/tools/tools/netmap/
H A Dlb.c255 cur.pkts += c->pkts; in print_stats()
261 x.pkts = c->pkts - pipe_prev[j].pkts; in print_stats()
265 pps = (x.pkts*1000000 + usec/2) / usec; in print_stats()
288 c->pkts, in print_stats()
302 x.pkts = cur.pkts - prev.pkts; in print_stats()
306 pps = (x.pkts*1000000 + usec/2) / usec; in print_stats()
330 cur.pkts, in print_stats()
542 port->ctr.pkts++; in forward_packet()
H A Dpkt-gen.c1459 targ->ctr.pkts = sent; in ping_body()
1660 targ->ctr.pkts = sent; in pong_body()
1721 targ->ctr.pkts = sent; in sender_body()
1736 targ->ctr.pkts = sent; in sender_body()
1835 targ->ctr.pkts = sent; in sender_body()
1867 targ->ctr.pkts = sent; in sender_body()
1886 ctr->pkts++; in receive_pcap()
1959 while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) { in receiver_body()
1964 targ->ctr.pkts++; in receiver_body()
1971 while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) { in receiver_body()
[all …]
H A Dctrs.h9 uint64_t pkts, bytes, events; member
/freebsd/usr.sbin/ppp/
H A Dlqr.c375 u_int32_t LQRs, transitLQRs, pkts, octets, disc, err; in lqr_Analyse() local
385 pkts = (newlqr->LastOutPackets - oldlqr->LastOutPackets) - in lqr_Analyse()
391 (int)pkts, pkts == 1 ? "" : "s", in lqr_Analyse()
394 pkts = (newlqr->PeerOutPackets - oldlqr->PeerOutPackets) - in lqr_Analyse()
399 (int)pkts, pkts == 1 ? "" : "s", in lqr_Analyse()
411 else if (pkts) in lqr_Analyse()
H A Dlink.c151 link_PendingLowPriorityData(struct link *l, size_t *pkts, size_t *octets) in link_PendingLowPriorityData() argument
169 *pkts = *octets = 0; in link_PendingLowPriorityData()
172 *pkts += len; in link_PendingLowPriorityData()
/freebsd/tests/sys/netinet/
H A Dcarp.py32 def check_carp_src_mac(self, pkts): argument
33 for p in pkts:
/freebsd/sys/netinet/
H A Dtcp_ecn.c293 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos) in tcp_ecn_input_segment() argument
316 if (delta_cep < pkts) in tcp_ecn_input_segment()
317 delta_cep = pkts - in tcp_ecn_input_segment()
318 ((pkts - delta_cep) & 7); in tcp_ecn_input_segment()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c1006 vo_vi_pkts += mdata->rx.pkts[ac] + in iwl_mvm_calc_tcm_stats()
1007 mdata->tx.pkts[ac]; in iwl_mvm_calc_tcm_stats()
1017 memset(&mdata->rx.pkts, 0, sizeof(mdata->rx.pkts)); in iwl_mvm_calc_tcm_stats()
1018 memset(&mdata->tx.pkts, 0, sizeof(mdata->tx.pkts)); in iwl_mvm_calc_tcm_stats()
1136 memset(&mdata->rx.pkts, 0, sizeof(mdata->rx.pkts)); in iwl_mvm_resume_tcm()
1137 memset(&mdata->tx.pkts, 0, sizeof(mdata->tx.pkts)); in iwl_mvm_resume_tcm()
/freebsd/contrib/libpcap/
H A Dpcap-linux.c4369 int pkts = 0; in pcap_read_linux_mmap_v2() local
4400 while (pkts < max_packets) { in pcap_read_linux_mmap_v2()
4423 pkts++; in pcap_read_linux_mmap_v2()
4456 return pkts; in pcap_read_linux_mmap_v2()
4466 int pkts = 0; in pcap_read_linux_mmap_v3() local
4486 if (pkts == 0 && handlep->timeout == 0) { in pcap_read_linux_mmap_v3()
4490 return pkts; in pcap_read_linux_mmap_v3()
4508 while (pkts < max_packets) { in pcap_read_linux_mmap_v3()
4521 if (packets_to_read > (max_packets - pkts)) { in pcap_read_linux_mmap_v3()
4529 packets_to_read = max_packets - pkts; in pcap_read_linux_mmap_v3()
[all …]
/freebsd/sys/dev/axgbe/
H A Dxgbe-txrx.c128 uint16_t max_len, hlen, payload_len, pkts = 0; in axgbe_calculate_tx_parms() local
149 pkts++; in axgbe_calculate_tx_parms()
156 pkts = 1; in axgbe_calculate_tx_parms()
160 packet->tx_packets = pkts; in axgbe_calculate_tx_parms()
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c942 uint32_t size, pkts; in hn_set_txagg() local
963 pkts = 0; in hn_set_txagg()
975 pkts = UINT32_MAX; in hn_set_txagg()
977 pkts = sc->hn_agg_pkts; in hn_set_txagg()
979 if (sc->hn_rndis_agg_pkts < pkts) in hn_set_txagg()
980 pkts = sc->hn_rndis_agg_pkts; in hn_set_txagg()
982 if (pkts <= 1) { in hn_set_txagg()
985 pkts = 0; in hn_set_txagg()
990 if (pkts > SHRT_MAX) in hn_set_txagg()
991 pkts = SHRT_MAX; in hn_set_txagg()
[all …]

12