leiiwang

Linux网络工具学习之:IP命令学习16

标签(空格分隔): 网络


本文旨在通过IP命令介绍和学习Linux网络的相关知识

1. 概述

3. ip addr

4 ip addrlabel

5 ip route

6 ip rule

7 ip neighbour

8 ip ntable

9 ip tunnel

10 ip tuntap

11 ip maddr/mroute/mrule

12 ip monitor

13 ip xfrm

14 ip netns

15 ip l2tp

16 ip tcp_metrics

16.1 概述

ip tcp_metrics is used to manipulate entries in the kernel that keep TCP information for IPv4 and IPv6 destinations. The entries are created when TCP sockets want to share information for destinations and are stored in a cache keyed by the destination address. The saved information may include values for metrics (initially obtained from routes), recent TSVAL for TIME-WAIT recycling purposes, state for the Fast Open feature, etc. For performance reasons the cache can not grow above configured limit and the older entries are replaced with fresh information, sometimes reclaimed and used for new destinations. The kernel never removes entries, they can be flushed only with this tool.

|输出内容|描述| |-|-| |age sec| time after the entry was created, reset or updated with metrics from sockets. The entry is reset and refreshed on use with metrics from route if the metrics are not updated in last hour. Not all cached values reset the age on update. |cwnd | CWND metric value |fo_cookie | Cookie value received in SYN-ACK to be used by Fast Open for next SYNs |fo_mss | MSS value received in SYN-ACK to be used by Fast Open for next SYNs |fo_syn_drops /sec ago | Number of drops of initial outgoing Fast Open SYNs with data detected by monitoring the received SYN-ACK after SYN retransmission. The seconds show the time after last SYN drop and together with the drop count can be used to disable Fast Open for some time. |reordering | Reordering metric value |rtt us | RTT metric value |rttvar us | RTTVAR metric value |ssthresh | SSTHRESH metric value |tw_ts /sec ago | recent TSVAL and the seconds after saving it into TIME-WAIT socket

17 ip token

Usage: ip token [ list | set | get ] [ TOKEN ] [ dev DEV ]
comments powered by Disqus