android_kernel_xiaomi_sm8350/net/ipv6
Wei Yongjun 3687b1dc6f [TCP]: SNMPv2 tcpAttemptFails counter error
Refer to RFC2012, tcpAttemptFails is defined as following:
  tcpAttemptFails OBJECT-TYPE
      SYNTAX      Counter32
      MAX-ACCESS  read-only
      STATUS      current
      DESCRIPTION
              "The number of times TCP connections have made a direct
              transition to the CLOSED state from either the SYN-SENT
              state or the SYN-RCVD state, plus the number of times TCP
              connections have made a direct transition to the LISTEN
              state from the SYN-RCVD state."
      ::= { tcp 7 }

When I lookup into RFC793, I found that the state change should occured
under following condition:
  1. SYN-SENT -> CLOSED
     a) Received ACK,RST segment when SYN-SENT state.

  2. SYN-RCVD -> CLOSED
     b) Received SYN segment when SYN-RCVD state(came from LISTEN).
     c) Received RST segment when SYN-RCVD state(came from SYN-SENT).
     d) Received SYN segment when SYN-RCVD state(came from SYN-SENT).

  3. SYN-RCVD -> LISTEN
     e) Received RST segment when SYN-RCVD state(came from LISTEN).

In my test, those direct state transition can not be counted to
tcpAttemptFails.

Signed-off-by: Wei Yongjun <yjwei@nanjing-fnst.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-08-02 13:38:19 -07:00
..
netfilter [NET]: add+use poison defines 2006-07-03 19:47:27 -07:00
addrconf.c [IPV6] ADDRCONF: NLM_F_REPLACE support for RTM_NEWADDR 2006-08-02 13:38:12 -07:00
af_inet6.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
ah6.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
anycast.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
datagram.c
esp6.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
exthdrs_core.c
exthdrs.c [IPV6]: Added GSO support for TCPv6 2006-06-30 14:12:06 -07:00
icmp.c [PATCH] for_each_possible_cpu: network codes 2006-04-11 06:18:31 -07:00
inet6_connection_sock.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
inet6_hashtables.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip6_fib.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip6_flowlabel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ip6_input.c [IPV6]: Clean skb cb on IPv6 input. 2006-07-24 23:44:44 -07:00
ip6_output.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
ip6_tunnel.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
ipcomp6.c [IPCOMP]: Fix truesize after decompression 2006-07-12 13:58:55 -07:00
ipv6_sockglue.c [NET] gso: Fix up GSO packets with broken checksums 2006-07-08 13:34:56 -07:00
ipv6_syms.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
Makefile [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
mcast.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ndisc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
netfilter.c [NETFILTER]: Fix build with CONFIG_NETFILTER=y/m on IA64 2006-04-09 22:25:49 -07:00
proc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
protocol.c
raw.c [IPV4/IPV6]: Setting 0 for unused port field in RAW IP recvmsg(). 2006-07-25 17:05:35 -07:00
reassembly.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
route.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sit.c [IPV4]: Get rid of redundant IPCB->opts initialisation 2006-07-21 14:29:53 -07:00
sysctl_net_ipv6.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tcp_ipv6.c [TCP]: SNMPv2 tcpAttemptFails counter error 2006-08-02 13:38:19 -07:00
tunnel6.c [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 2006-04-09 22:25:25 -07:00
udp.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
xfrm6_input.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
xfrm6_mode_transport.c [IPSEC] proto: Move transport mode input path into xfrm_mode_transport 2006-06-17 21:28:41 -07:00
xfrm6_mode_tunnel.c [IPSEC] xfrm: Abstract out encapsulation modes 2006-06-17 21:28:39 -07:00
xfrm6_output.c [XFRM]: Fix protocol field value for outgoing IPv6 GSO packets 2006-08-02 13:38:13 -07:00
xfrm6_policy.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
xfrm6_state.c [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
xfrm6_tunnel.c [IPV6] xfrm6_tunnel: Delete debugging code. 2006-07-24 13:49:06 -07:00