Lines Matching refs:sf

1295 	struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats;  in necp_client_collect_aop_flow_stats()  local
1363 if (sf != NULL) { in necp_client_collect_aop_flow_stats()
1364 sf->sf_ibytes = flow_stats.rxbytes; in necp_client_collect_aop_flow_stats()
1365 sf->sf_obytes = flow_stats.txbytes; in necp_client_collect_aop_flow_stats()
1366 sf->sf_ipackets = flow_stats.rxpkts; in necp_client_collect_aop_flow_stats()
1367 sf->sf_opackets = flow_stats.txpkts; in necp_client_collect_aop_flow_stats()
1368 sf->sf_lseq = tcpi->tcpi_snd_nxt - 1; in necp_client_collect_aop_flow_stats()
1369 sf->sf_rseq = tcpi->tcpi_rcv_nxt - 1; in necp_client_collect_aop_flow_stats()
1370 sf->sf_lrtt = tcpi->tcpi_srtt; in necp_client_collect_aop_flow_stats()
1371 sf->sf_rrtt = tcpi->tcpi_rcv_srtt; in necp_client_collect_aop_flow_stats()
1372 sf->sf_ltrack.sft_state = tcpi->tcpi_state; in necp_client_collect_aop_flow_stats()
1373 sf->sf_lwscale = tcpi->tcpi_snd_wscale; in necp_client_collect_aop_flow_stats()
1374 sf->sf_rwscale = tcpi->tcpi_rcv_wscale; in necp_client_collect_aop_flow_stats()
1376 memcpy(&sf->sf_activity, &flow_stats.activity_bitmap, in necp_client_collect_aop_flow_stats()
1377 sizeof(sf->sf_activity)); in necp_client_collect_aop_flow_stats()
6621 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_find_extension_info() local
6622 if ((sf != NULL) && in necp_find_extension_info()
6625 bt_counts->nstat_rxbytes = sf->sf_ibytes; in necp_find_extension_info()
6626 bt_counts->nstat_txbytes = sf->sf_obytes; in necp_find_extension_info()
6813 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_request_nexus_tcp_netstats() local
6814 if (sf == NULL) { in necp_request_nexus_tcp_netstats()
6821 sf = &ntstat_sk_stats_zero; in necp_request_nexus_tcp_netstats()
6826 *ifflagsp |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_NON_LOCAL; in necp_request_nexus_tcp_netstats()
6874 countsp->nstat_rxpackets = sf->sf_ipackets; in necp_request_nexus_tcp_netstats()
6875 countsp->nstat_txpackets = sf->sf_opackets; in necp_request_nexus_tcp_netstats()
6877 countsp->nstat_cell_rxbytes = sf->sf_ibytes; in necp_request_nexus_tcp_netstats()
6878 countsp->nstat_cell_txbytes = sf->sf_obytes; in necp_request_nexus_tcp_netstats()
6880 countsp->nstat_wifi_rxbytes = sf->sf_ibytes; in necp_request_nexus_tcp_netstats()
6881 countsp->nstat_wifi_txbytes = sf->sf_obytes; in necp_request_nexus_tcp_netstats()
6883 countsp->nstat_wired_rxbytes = sf->sf_ibytes; in necp_request_nexus_tcp_netstats()
6884 countsp->nstat_wired_txbytes = sf->sf_obytes; in necp_request_nexus_tcp_netstats()
6904 …memcpy(&detailed_countsp->nstat_media_stats.ms_total.ts_bitmap, &sf->sf_activity, sizeof(sf->sf_ac… in necp_request_nexus_tcp_netstats()
6908 ts->ts_rxpackets = sf->sf_ipackets; in necp_request_nexus_tcp_netstats()
6909 ts->ts_txpackets = sf->sf_opackets; in necp_request_nexus_tcp_netstats()
6910 ts->ts_rxbytes = sf->sf_ibytes; in necp_request_nexus_tcp_netstats()
6911 ts->ts_txbytes = sf->sf_obytes; in necp_request_nexus_tcp_netstats()
6912 memcpy(&ts->ts_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_nexus_tcp_netstats()
6939 …desc->ifnet_properties |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_N… in necp_request_nexus_tcp_netstats()
6969 memcpy(&desc->activity_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_nexus_tcp_netstats()
7015 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_request_aop_tcp_netstats() local
7016 if (sf == NULL) { in necp_request_aop_tcp_netstats()
7023 sf = &ntstat_sk_stats_zero; in necp_request_aop_tcp_netstats()
7028 *ifflagsp |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_NON_LOCAL; in necp_request_aop_tcp_netstats()
7092 countsp->nstat_rxpackets = sf->sf_ipackets; in necp_request_aop_tcp_netstats()
7093 countsp->nstat_txpackets = sf->sf_opackets; in necp_request_aop_tcp_netstats()
7095 countsp->nstat_cell_rxbytes = sf->sf_ibytes; in necp_request_aop_tcp_netstats()
7096 countsp->nstat_cell_txbytes = sf->sf_obytes; in necp_request_aop_tcp_netstats()
7098 countsp->nstat_wifi_rxbytes = sf->sf_ibytes; in necp_request_aop_tcp_netstats()
7099 countsp->nstat_wifi_txbytes = sf->sf_obytes; in necp_request_aop_tcp_netstats()
7101 countsp->nstat_wired_rxbytes = sf->sf_ibytes; in necp_request_aop_tcp_netstats()
7102 countsp->nstat_wired_txbytes = sf->sf_obytes; in necp_request_aop_tcp_netstats()
7122 ts->ts_rxpackets = sf->sf_ipackets; in necp_request_aop_tcp_netstats()
7123 ts->ts_txpackets = sf->sf_opackets; in necp_request_aop_tcp_netstats()
7124 ts->ts_rxbytes = sf->sf_ibytes; in necp_request_aop_tcp_netstats()
7125 ts->ts_txbytes = sf->sf_obytes; in necp_request_aop_tcp_netstats()
7147 …desc->ifnet_properties |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_N… in necp_request_aop_tcp_netstats()
7245 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_request_udp_netstats() local
7246 if (sf == NULL) { in necp_request_udp_netstats()
7253 sf = &ntstat_sk_stats_zero; in necp_request_udp_netstats()
7258 *ifflagsp |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_NON_LOCAL; in necp_request_udp_netstats()
7279 countsp->nstat_rxpackets = sf->sf_ipackets; in necp_request_udp_netstats()
7280 countsp->nstat_txpackets = sf->sf_opackets; in necp_request_udp_netstats()
7282 countsp->nstat_cell_rxbytes = sf->sf_ibytes; in necp_request_udp_netstats()
7283 countsp->nstat_cell_txbytes = sf->sf_obytes; in necp_request_udp_netstats()
7285 countsp->nstat_wifi_rxbytes = sf->sf_ibytes; in necp_request_udp_netstats()
7286 countsp->nstat_wifi_txbytes = sf->sf_obytes; in necp_request_udp_netstats()
7288 countsp->nstat_wired_rxbytes = sf->sf_ibytes; in necp_request_udp_netstats()
7289 countsp->nstat_wired_txbytes = sf->sf_obytes; in necp_request_udp_netstats()
7309 …memcpy(&detailed_countsp->nstat_media_stats.ms_total.ts_bitmap, &sf->sf_activity, sizeof(sf->sf_ac… in necp_request_udp_netstats()
7313 ts->ts_rxpackets = sf->sf_ipackets; in necp_request_udp_netstats()
7314 ts->ts_txpackets = sf->sf_opackets; in necp_request_udp_netstats()
7315 ts->ts_rxbytes = sf->sf_ibytes; in necp_request_udp_netstats()
7316 ts->ts_txbytes = sf->sf_obytes; in necp_request_udp_netstats()
7317 memcpy(&ts->ts_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_udp_netstats()
7344 …desc->ifnet_properties |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_N… in necp_request_udp_netstats()
7350 memcpy(&desc->activity_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_udp_netstats()
7404 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_request_quic_netstats() local
7405 if (sf == NULL) { in necp_request_quic_netstats()
7412 sf = &ntstat_sk_stats_zero; in necp_request_quic_netstats()
7417 *ifflagsp |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_NON_LOCAL; in necp_request_quic_netstats()
7463 countsp->nstat_rxpackets = sf->sf_ipackets; in necp_request_quic_netstats()
7464 countsp->nstat_txpackets = sf->sf_opackets; in necp_request_quic_netstats()
7466 countsp->nstat_cell_rxbytes = sf->sf_ibytes; in necp_request_quic_netstats()
7467 countsp->nstat_cell_txbytes = sf->sf_obytes; in necp_request_quic_netstats()
7469 countsp->nstat_wifi_rxbytes = sf->sf_ibytes; in necp_request_quic_netstats()
7470 countsp->nstat_wifi_txbytes = sf->sf_obytes; in necp_request_quic_netstats()
7472 countsp->nstat_wired_rxbytes = sf->sf_ibytes; in necp_request_quic_netstats()
7473 countsp->nstat_wired_txbytes = sf->sf_obytes; in necp_request_quic_netstats()
7493 …memcpy(&detailed_countsp->nstat_media_stats.ms_total.ts_bitmap, &sf->sf_activity, sizeof(sf->sf_ac… in necp_request_quic_netstats()
7497 ts->ts_rxpackets = sf->sf_ipackets; in necp_request_quic_netstats()
7498 ts->ts_txpackets = sf->sf_opackets; in necp_request_quic_netstats()
7499 ts->ts_rxbytes = sf->sf_ibytes; in necp_request_quic_netstats()
7500 ts->ts_txbytes = sf->sf_obytes; in necp_request_quic_netstats()
7501 memcpy(&ts->ts_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_quic_netstats()
7528 …desc->ifnet_properties |= (sf->sf_flags & SFLOWF_ONLINK) ? NSTAT_IFNET_IS_LOCAL : NSTAT_IFNET_IS_N… in necp_request_quic_netstats()
7555 memcpy(&desc->activity_bitmap, &sf->sf_activity, sizeof(sf->sf_activity)); in necp_request_quic_netstats()