/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/contrib/libpcap/testprogs/fuzz/ |
H A D | fuzz_filter.c | 12 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 D | fuzz_both.c | 40 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 D | fuzz_pcap.c | 39 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 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 | 76 pkts = [] 94 pkts.append(pkt) 98 sp.send(pkts, inter = 0.1)
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | ssltestlib.c | 275 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 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/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 | 294 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 D | utils.c | 1056 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 D | pcap-linux.c | 4231 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 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 | 955 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 D | pf_snmp.c | 125 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()
|