| /freebsd/contrib/netbsd-tests/ipf/expected/ |
| H A D | f29 | 27 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 D | ni6 | 26 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 D | f25 | 11 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 D | f11 | 168 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 D | ni23 | 17 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 D | quic_txpim_test.c | 19 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 D | quic_ackm_test.c | 49 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 D | 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))) 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 D | mlx5_en_dim.c | 46 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 D | pft_read_ipfix.py | 63 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 D | frag6.py | 63 pkts = [] 81 pkts.append(pkt) 85 sp.send(pkts, inter = 0.1)
|
| H A D | route_to.sh | 1747 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 D | stats.c | 100 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 D | ssltestlib.c | 270 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 D | lb.c | 255 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 D | pkt-gen.c | 1459 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 D | ctrs.h | 9 uint64_t pkts, bytes, events; member
|
| /freebsd/usr.sbin/ppp/ |
| H A D | lqr.c | 375 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 D | link.c | 151 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 D | carp.py | 32 def check_carp_src_mac(self, pkts): argument 33 for p in pkts:
|
| /freebsd/sys/netinet/ |
| H A D | tcp_ecn.c | 293 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 D | utils.c | 1006 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 D | pcap-linux.c | 4369 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 D | xgbe-txrx.c | 128 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 D | if_hn.c | 942 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 …]
|