Home
last modified time | relevance | path

Searched refs:nstat (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/Documentation/networking/
Dsnmp_counter.rst1038 nstatuser@nstat-a:~$ ping 8.8.8.8 -c 1
1048 nstatuser@nstat-a:~$ nstat
1082 nstatuser@nstat-b:~$ nc -lknv 0.0.0.0 9000
1087 nstatuser@nstat-a:~$ nc -nv 192.168.122.251 9000
1093 On server side, we can find below nstat output::
1095 nstatuser@nstat-b:~$ nstat | grep -i tcp
1101 On client side, we can find below nstat output::
1103 nstatuser@nstat-a:~$ nstat | grep -i tcp
1124 nstatuser@nstat-b:~$ nc -lkv 0.0.0.0 9000
1129 nstatuser@nstat-a:~$ nc -v nstat-b 9000
[all …]
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh124 rm -f /tmp/$netns.{nstat,out}
436 ip netns exec ${ns} nstat -as | grep MPTcpExtRmAddr | awk '{print $2}'
459 old_cnt=$(ip netns exec ${ns} nstat -as | grep MPJoinAckRx | awk '{print $2}')
463 cnt=$(ip netns exec ${ns} nstat -as | grep MPJoinAckRx | awk '{print $2}')
701 NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \
702 nstat -n
703 NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \
704 nstat -n
989 NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \
990 nstat | grep Tcp > /tmp/${listener_ns}.out
[all …]
Dmptcp_connect.sh140 rm -f /tmp/$netns.{nstat,out}
341 nstat -z -a "${mib}" | \
424 NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \
425 nstat -n
427 NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \
428 nstat -n
468 NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \
469 nstat | grep Tcp > /tmp/${listener_ns}.out
471 NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \
472 nstat | grep Tcp > /tmp/${connector_ns}.out
Duserspace_pm.sh835 count=$(ip netns exec "$ns2" nstat -as | grep MPTcpExtMPPrioTx | awk '{print $2}')
846 count=$(ip netns exec "$ns1" nstat -as | grep MPTcpExtMPPrioRx | awk '{print $2}')
/linux-6.1.9/drivers/net/ethernet/
Ddnet.c692 struct net_device_stats *nstat = &dev->stats; in dnet_get_stats() local
699 nstat->rx_errors = (hwstat->rx_len_chk_err + in dnet_get_stats()
706 nstat->tx_errors = hwstat->tx_bad_fcs; in dnet_get_stats()
707 nstat->rx_length_errors = (hwstat->rx_len_chk_err + in dnet_get_stats()
710 nstat->rx_crc_errors = hwstat->rx_crc_err; in dnet_get_stats()
711 nstat->rx_frame_errors = hwstat->rx_pre_shrink + hwstat->rx_drib_nib; in dnet_get_stats()
712 nstat->rx_packets = hwstat->rx_ok_pkt; in dnet_get_stats()
713 nstat->tx_packets = (hwstat->tx_unicast + in dnet_get_stats()
715 nstat->rx_bytes = hwstat->rx_byte; in dnet_get_stats()
716 nstat->tx_bytes = hwstat->tx_byte; in dnet_get_stats()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c117 struct rtnl_link_stats64 *nstat; in i40e_dbg_dump_vsi_seid() local
163 nstat = i40e_get_vsi_stats_struct(vsi); in i40e_dbg_dump_vsi_seid()
166 (unsigned long int)nstat->rx_packets, in i40e_dbg_dump_vsi_seid()
167 (unsigned long int)nstat->rx_bytes, in i40e_dbg_dump_vsi_seid()
168 (unsigned long int)nstat->rx_errors, in i40e_dbg_dump_vsi_seid()
169 (unsigned long int)nstat->rx_dropped); in i40e_dbg_dump_vsi_seid()
172 (unsigned long int)nstat->tx_packets, in i40e_dbg_dump_vsi_seid()
173 (unsigned long int)nstat->tx_bytes, in i40e_dbg_dump_vsi_seid()
174 (unsigned long int)nstat->tx_errors, in i40e_dbg_dump_vsi_seid()
175 (unsigned long int)nstat->tx_dropped); in i40e_dbg_dump_vsi_seid()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/fpga/
Daltera-passive-serial.txt16 - nstat-gpios: status pin (referred to as nSTATUS in the manual)
27 nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
/linux-6.1.9/tools/testing/selftests/net/
Dtcp_fastopen_backup_key.sh31 val=$(ip netns exec "${NETNS}" nstat -az | \
Dveth.sh107 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
124 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c1676 struct rtnl_link_stats64 *nstat) in b44_get_stats64() argument
1686 nstat->rx_packets = hwstat->rx_pkts; in b44_get_stats64()
1687 nstat->tx_packets = hwstat->tx_pkts; in b44_get_stats64()
1688 nstat->rx_bytes = hwstat->rx_octets; in b44_get_stats64()
1689 nstat->tx_bytes = hwstat->tx_octets; in b44_get_stats64()
1690 nstat->tx_errors = (hwstat->tx_jabber_pkts + in b44_get_stats64()
1695 nstat->multicast = hwstat->rx_multicast_pkts; in b44_get_stats64()
1696 nstat->collisions = hwstat->tx_total_cols; in b44_get_stats64()
1698 nstat->rx_length_errors = (hwstat->rx_oversize_pkts + in b44_get_stats64()
1700 nstat->rx_over_errors = hwstat->rx_missed_pkts; in b44_get_stats64()
[all …]
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c2975 struct net_device_stats *nstat = &bp->dev->stats; in gem_get_stats() local
2978 return nstat; in gem_get_stats()
2982 nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + in gem_get_stats()
2990 nstat->tx_errors = (hwstat->tx_late_collisions + in gem_get_stats()
2994 nstat->multicast = hwstat->rx_multicast_frames; in gem_get_stats()
2995 nstat->collisions = (hwstat->tx_single_collision_frames + in gem_get_stats()
2998 nstat->rx_length_errors = (hwstat->rx_oversize_frames + in gem_get_stats()
3002 nstat->rx_over_errors = hwstat->rx_resource_errors; in gem_get_stats()
3003 nstat->rx_crc_errors = hwstat->rx_frame_check_sequence_errors; in gem_get_stats()
3004 nstat->rx_frame_errors = hwstat->rx_alignment_errors; in gem_get_stats()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dimx6q-evi.dts105 nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
/linux-6.1.9/include/linux/
Dnvme.h440 __u8 nstat; member
/linux-6.1.9/drivers/nvme/host/
Dcore.c1504 info->is_ready = id->nstat & NVME_NSTAT_NRDY; in nvme_ns_info_from_id_cs_indep()