Home
last modified time | relevance | path

Searched refs:pkts (Results 1 – 25 of 36) 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/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_filter.c12 pcap_t * pkts; in LLVMFuzzerTestOneInput() local
22 pkts = pcap_open_dead(Data[Size-1], 0xFFFF); in LLVMFuzzerTestOneInput()
23 if (pkts == NULL) { in LLVMFuzzerTestOneInput()
32 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) { in LLVMFuzzerTestOneInput()
33 pcap_setfilter(pkts, &bpf); in LLVMFuzzerTestOneInput()
34 pcap_close(pkts); in LLVMFuzzerTestOneInput()
38 pcap_close(pkts); in LLVMFuzzerTestOneInput()
H A Dfuzz_both.c40 pcap_t * pkts; in LLVMFuzzerTestOneInput() local
72 pkts = pcap_open_offline("/tmp/fuzz.pcap", errbuf); in LLVMFuzzerTestOneInput()
73 if (pkts == NULL) { in LLVMFuzzerTestOneInput()
83 if (pcap_compile(pkts, &bpf, filter, 1, PCAP_NETMASK_UNKNOWN) == 0) { in LLVMFuzzerTestOneInput()
85 r = pcap_next_ex(pkts, &header, &pkt); in LLVMFuzzerTestOneInput()
89 r = pcap_next_ex(pkts, &header, &pkt); in LLVMFuzzerTestOneInput()
92 pcap_close(pkts); in LLVMFuzzerTestOneInput()
96 pcap_close(pkts); in LLVMFuzzerTestOneInput()
H A Dfuzz_pcap.c39 pcap_t * pkts; in LLVMFuzzerTestOneInput() local
60 pkts = pcap_open_offline("/tmp/fuzz.pcap", errbuf); in LLVMFuzzerTestOneInput()
61 if (pkts == NULL) { in LLVMFuzzerTestOneInput()
67 r = pcap_next_ex(pkts, &header, &pkt); in LLVMFuzzerTestOneInput()
71 r = pcap_next_ex(pkts, &header, &pkt); in LLVMFuzzerTestOneInput()
73 if (pcap_stats(pkts, &stats) == 0) { in LLVMFuzzerTestOneInput()
77 pcap_close(pkts); in LLVMFuzzerTestOneInput()
/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.py76 pkts = []
94 pkts.append(pkt)
98 sp.send(pkts, inter = 0.1)
/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.c275 STACK_OF(MEMPACKET) *pkts;
323 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) { in mempacket_test_new()
338 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free);
363 if ((thispkt = sk_MEMPACKET_value(ctx->pkts, 0)) == NULL in mempacket_test_read()
369 (void)sk_MEMPACKET_shift(ctx->pkts); in mempacket_test_read()
434 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_swap_epoch()
443 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1); in mempacket_swap_epoch()
491 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) { in mempacket_swap_epoch()
511 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_move_packet()
522 thispkt = sk_MEMPACKET_value(ctx->pkts, in mempacket_move_packet()
[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/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.c294 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos) in tcp_ecn_input_segment() argument
317 if (delta_cep < pkts) in tcp_ecn_input_segment()
318 delta_cep = pkts - in tcp_ecn_input_segment()
319 ((pkts - delta_cep) & 7); in tcp_ecn_input_segment()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c1056 vo_vi_pkts += mdata->rx.pkts[ac] + in iwl_mvm_recalc_tcm()
1057 mdata->tx.pkts[ac]; in iwl_mvm_recalc_tcm()
1067 memset(&mdata->rx.pkts, 0, sizeof(mdata->rx.pkts)); in iwl_mvm_recalc_tcm()
1068 memset(&mdata->tx.pkts, 0, sizeof(mdata->tx.pkts)); in iwl_mvm_recalc_tcm()
1186 memset(&mdata->rx.pkts, 0, sizeof(mdata->rx.pkts)); in iwl_mvm_have_links_same_channel()
1187 memset(&mdata->tx.pkts, 0, sizeof(mdata->tx.pkts)); in iwl_mvm_have_links_same_channel()
[all...]
/freebsd/contrib/libpcap/
H A Dpcap-linux.c4231 int pkts = 0; in pcap_read_linux_mmap_v2() local
4262 while (pkts < max_packets) { in pcap_read_linux_mmap_v2()
4285 pkts++; in pcap_read_linux_mmap_v2()
4318 return pkts; in pcap_read_linux_mmap_v2()
4328 int pkts = 0; in pcap_read_linux_mmap_v3() local
4348 if (pkts == 0 && handlep->timeout == 0) { in pcap_read_linux_mmap_v3()
4352 return pkts; in pcap_read_linux_mmap_v3()
4370 while (pkts < max_packets) { in pcap_read_linux_mmap_v3()
4383 if (packets_to_read > (max_packets - pkts)) { in pcap_read_linux_mmap_v3()
4391 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.c955 uint32_t size, pkts; in hn_set_txagg() local
976 pkts = 0; in hn_set_txagg()
988 pkts = UINT32_MAX; in hn_set_txagg()
990 pkts = sc->hn_agg_pkts; in hn_set_txagg()
992 if (sc->hn_rndis_agg_pkts < pkts) in hn_set_txagg()
993 pkts = sc->hn_rndis_agg_pkts; in hn_set_txagg()
995 if (pkts <= 1) { in hn_set_txagg()
998 pkts = 0; in hn_set_txagg()
1003 if (pkts > SHRT_MAX) in hn_set_txagg()
1004 pkts = SHRT_MAX; in hn_set_txagg()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c125 u_int64_t pkts[2]; member
1077 val->v.counter64 = e->pkts[IN]; in pf_lbltable()
1080 val->v.counter64 = e->pkts[OUT]; in pf_lbltable()
1535 e->pkts[IN] = rule.packets[IN]; in pfl_scan_ruleset()
1536 e->pkts[OUT] = rule.packets[OUT]; in pfl_scan_ruleset()

12