Home
last modified time | relevance | path

Searched refs:flow_stats (Results 1 – 9 of 9) sorted by relevance

/xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_stats.c47 flow_stats_size = sizeof(struct flow_stats); in flow_stats_init()
71 struct flow_stats *
74 struct flow_stats *fs; in flow_stats_alloc()
76 static_assert((offsetof(struct flow_stats, fs_stats) % 16) == 0); in flow_stats_alloc()
80 fs = __unsafe_forge_bidi_indexable(struct flow_stats *, in flow_stats_alloc()
100 flow_stats_free(struct flow_stats *fs) in flow_stats_free()
H A Dflow_var.h321 struct flow_stats *fe_stats;
1077 extern struct flow_stats *flow_stats_alloc(boolean_t cansleep);
/xnu-12377.41.6/bsd/net/aop/
H A Dkpi_aop.h70 uint32_t stats_index, struct aop_flow_stats *flow_stats);
118 int net_aop_get_flow_stats(uint32_t stats_index, struct aop_flow_stats *flow_stats);
H A Dkpi_aop.c420 net_aop_get_flow_stats(uint32_t stats_index, struct aop_flow_stats *flow_stats) in net_aop_get_flow_stats() argument
426 if (flow_stats == NULL) { in net_aop_get_flow_stats()
449 err = fs(fs_ctx, stats_index, flow_stats); in net_aop_get_flow_stats()
/xnu-12377.41.6/bsd/skywalk/
H A Dos_stats_private.h1432 struct flow_stats { struct
1443 extern void flow_stats_free(struct flow_stats *fs); argument
1447 flow_stats_retain(struct flow_stats *fs) in flow_stats_retain()
1454 flow_stats_release(struct flow_stats *fs) in flow_stats_release()
1463 flow_stats_refcnt(struct flow_stats *fs) in flow_stats_refcnt()
/xnu-12377.41.6/bsd/net/
H A Dnecp_client.c485 struct flow_stats *nexus_stats; /* shared stats objects between necp_client and skywalk */
1282 struct aop_flow_stats flow_stats = {}; in necp_client_collect_aop_flow_stats() local
1283 struct tcp_info *tcpi = &flow_stats.transport.tcp_stats.tcp_info; in necp_client_collect_aop_flow_stats()
1301 err = net_aop_get_flow_stats(flow->stats_index, &flow_stats); in necp_client_collect_aop_flow_stats()
1308 if (__improbable(flow->flow_tag != flow_stats.flow_id)) { in necp_client_collect_aop_flow_stats()
1310 flow->flow_tag, flow_stats.flow_id); in necp_client_collect_aop_flow_stats()
1363 sf->sf_ibytes = flow_stats.rxbytes; in necp_client_collect_aop_flow_stats()
1364 sf->sf_obytes = flow_stats.txbytes; in necp_client_collect_aop_flow_stats()
1365 sf->sf_ipackets = flow_stats.rxpkts; in necp_client_collect_aop_flow_stats()
1366 sf->sf_opackets = flow_stats.txpkts; in necp_client_collect_aop_flow_stats()
[all …]
H A Dnecp.h1588 u_int32_t flow_adv_index, void *flow_stats, uint32_t flow_id, size_t *message_length);
/xnu-12377.41.6/bsd/skywalk/nexus/
H A Dos_nexus_private.h420 struct flow_stats *nfr_flow_stats;
/xnu-12377.41.6/bsd/conf/
H A Dfiles600 bsd/skywalk/nexus/flowswitch/flow/flow_stats.c optional config_nexus_flowswitch bound-checks