Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 24 of 24) sorted by relevance

/xnu-11215/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_compat.c161 mbuf_svc_class_t sc, uint32_t *packets, uint32_t *bytes, errno_t orig_err) in nx_netif_tx_processed_mbuf_get_len() argument
190 if (packets != NULL) { in nx_netif_tx_processed_mbuf_get_len()
191 *packets += qlen; in nx_netif_tx_processed_mbuf_get_len()
203 uint32_t, (packets != NULL) ? *packets : 0, in nx_netif_tx_processed_mbuf_get_len()
294 uint32_t *packets, uint32_t *bytes, errno_t orig_err) in nx_netif_compat_tx_get_len() argument
301 return nx_netif_tx_processed_mbuf_get_len(nifna, sc, packets, in nx_netif_compat_tx_get_len()
H A Dnx_netif_filter_native.c162 kern_packet_svc_class_t sc, uint32_t *packets, uint32_t *bytes, in nx_netif_tx_processed_pkt_get_len() argument
192 if (packets != NULL) { in nx_netif_tx_processed_pkt_get_len()
193 *packets += qlen; in nx_netif_tx_processed_pkt_get_len()
205 uint32_t, (packets != NULL) ? *packets : 0, in nx_netif_tx_processed_pkt_get_len()
295 uint32_t sc, uint32_t *packets, uint32_t *bytes, in nx_netif_native_tx_get_len() argument
303 return nx_netif_tx_processed_pkt_get_len(nifna, sc, packets, in nx_netif_native_tx_get_len()
H A Dnx_netif_poll.c158 ptot = (uint32_t)ifp->if_poll_sstats.packets; in netif_rxpoll_compat_update_rxpoll_stats()
225 if (ifp->if_poll_tstats.packets != 0) { in netif_rxpoll_compat_update_rxpoll_stats()
227 ifp->if_poll_tstats.packets; in netif_rxpoll_compat_update_rxpoll_stats()
228 ifp->if_poll_tstats.packets = 0; in netif_rxpoll_compat_update_rxpoll_stats()
H A Dnx_netif_mit.c806 ptot = (uint32_t)mit->mit_sstats.packets; in nx_netif_mit_stats()
/xnu-11215/bsd/net/classq/
H A Dclassq.h145 u_int64_t packets; member
203 (_cntr)->packets += (_pkt); \
208 (_cntr)->packets = 0; \
H A Dclassq_subr.c262 u_int32_t *packets, u_int32_t *bytes) in ifclassq_get_len() argument
272 VERIFY(packets != NULL); in ifclassq_get_len()
274 *packets = 0; in ifclassq_get_len()
276 *packets = IFCQ_LEN(ifq); in ifclassq_get_len()
284 if (packets != NULL) { in ifclassq_get_len()
285 *packets = req.packets; in ifclassq_get_len()
292 packets ? *packets : 0, bytes ? *bytes : 0, fq_if_is_all_paced(ifq)); in ifclassq_get_len()
301 err = ifp->if_na_ops->ni_get_len(ifp->if_na, sc, packets, in ifclassq_get_len()
H A Dif_classq.h54 u_int32_t packets; /* (out) purged packets */ member
68 u_int32_t packets; /* (out) packets enqueued */ member
/xnu-11215/bsd/net/pktsched/
H A Dpktsched_fq_codel.c1344 req->packets = req->bytes = 0; in fq_if_purge_sc()
1364 req->packets += pkts; in fq_if_purge_sc()
1551 stat->packets = (uint32_t)fq_cl->fcl_stat.fcl_pkt_cnt; in fq_if_grp_stat_sc()
1556 stat->packets = 0; in fq_if_grp_stat_sc()
1622 stat->packets = 0; in fq_if_stat_sc()
1628 stat->packets = IFCQ_LEN(fqs->fqs_ifq); in fq_if_stat_sc()
1639 stat->packets += grp_sc_stat.packets; in fq_if_stat_sc()
1652 stat->packets += FQG_LEN(grp); in fq_if_stat_sc()
1658 stat->packets = FQG_LEN(grp); in fq_if_stat_sc()
1669 stat->packets += grp_sc_stat.packets; in fq_if_stat_sc()
/xnu-11215/bsd/net/
H A Dif_mib.c137 (unsigned int)ifp->if_snd->ifcq_dropcnt.packets;
H A Dpf_ioctl.c1298 pf_state_counter_to_pfsync(s->packets[0], sp->packets[0]); in pf_state_export()
1299 pf_state_counter_to_pfsync(s->packets[1], sp->packets[1]); in pf_state_export()
1358 s->packets[0] = s->packets[1] = 0; in pf_state_import()
1828 rule->packets[0] = rule->packets[1] = 0; in pfioctl()
2845 rule->evaluations = rule->packets[0] = rule->packets[1] = in pf_rule_setup()
3033 rule->packets[0] = rule->packets[1] = 0; in pfioctl_ioc_rule()
3188 newrule->packets[0] = newrule->packets[1] = 0; in pfioctl_ioc_rule()
H A Dpfvar.h705 u_int64_t packets[2]; member
901 u_int64_t packets[2]; member
1067 u_int64_t packets[2]; member
1138 u_int32_t packets[2][2]; member
H A Dpf.c6409 r->packets[dirndx]++; in pf_test_dummynet()
6424 r->packets[dirndx]++; in pf_test_dummynet()
6680 gs->packets[0] = gs->packets[1] = 0; in pf_pptp_handler()
7459 (*state)->packets[1], in pf_test_state_tcp()
7524 (*state)->packets[0], (*state)->packets[1], in pf_test_state_tcp()
10164 r->packets[dirndx]++; in pf_test()
10167 a->packets[dirndx]++; in pf_test()
10185 s->packets[dirndx]++; in pf_test()
10814 r->packets[dirndx]++; in pf_test6()
10817 a->packets[dirndx]++; in pf_test6()
[all …]
H A Dntstat.h1419 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
1420 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
H A Dkpi_interface.h1507 extern errno_t ifnet_get_sndq_len(ifnet_t interface, u_int32_t *packets);
1530 mbuf_svc_class_t sc, u_int32_t *packets, u_int32_t *bytes);
H A Dpf_norm.c1960 r->packets[dir == PF_OUT]++; in pf_normalize_ip()
2302 r->packets[dir == PF_OUT]++; in pf_normalize_ip6()
2658 r->packets[dir == PF_OUT]++; in pf_normalize_tcp()
H A Dif.c1717 u_int32_t *packets, u_int32_t *bytes, int ifq_locked) in if_qflush_sc() argument
1738 cnt = req.packets; in if_qflush_sc()
1746 if (packets != NULL) { in if_qflush_sc()
1747 *packets = cnt; in if_qflush_sc()
H A Dntstat.c1358 u_int32_t packets, in nstat_route_tx() argument
1368 OSAddAtomic64((SInt64)packets, (SInt64*)&stats->nstat_txpackets); in nstat_route_tx()
1380 u_int32_t packets, in nstat_route_rx() argument
1388 OSAddAtomic64((SInt64)packets, (SInt64*)&stats->nstat_rxpackets); in nstat_route_rx()
H A Drtsock.c2189 (int)ifp->if_snd->ifcq_dropcnt.packets; in sysctl_iflist2()
H A Ddlil.c3190 ptot = (u_int32_t)ifp->if_poll_sstats.packets; in dlil_rxpoll_input_thread_cont()
5892 if (ifp->if_poll_tstats.packets != 0) { in dlil_input_stats_sync()
5893 ifp->if_poll_pstats.ifi_poll_packets += ifp->if_poll_tstats.packets; in dlil_input_stats_sync()
5894 ifp->if_poll_tstats.packets = 0; in dlil_input_stats_sync()
/xnu-11215/bsd/skywalk/nexus/
H A Dnexus_var.h647 uint64_t *__counted_by(*count)packets, uint32_t *count) in nx_rx_sync_packets() argument
654 KRNA(kring)->na_nx, kring, packets, count, 0); in nx_rx_sync_packets()
H A Dos_nexus.h694 kern_nexus_t nexus, kern_channel_ring_t ring, uint64_t packets[],
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c655 flow_track_stats(struct flow_entry *fe, uint64_t bytes, uint64_t packets, in flow_track_stats() argument
667 fst->sft_packets += packets; in flow_track_stats()
/xnu-11215/tests/skywalk/
H A Dskywalk_test_common.c3040 ifcqs->ifqs_xmitcnt.packets, ifcqs->ifqs_xmitcnt.bytes, in skt_aqstatpr()
3041 ifcqs->ifqs_dropcnt.packets, ifcqs->ifqs_dropcnt.bytes); in skt_aqstatpr()
/xnu-11215/bsd/netinet/
H A Dip_input.c814 u_int32_t packets, u_int32_t bytes) in ip_input_update_nstat() argument
820 nstat_route_rx(rt, packets, bytes, 0); in ip_input_update_nstat()