Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140511164
D36642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D36642.diff
View Options
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -2174,6 +2174,12 @@
}
}
+ if (flags & TH_ACK)
+ TCPSTAT_INC(tcps_sndacks);
+ else if (flags & (TH_SYN|TH_FIN|TH_RST))
+ TCPSTAT_INC(tcps_sndctrl);
+ TCPSTAT_INC(tcps_sndtotal);
+
#ifdef INET6
if (isipv6) {
TCP_PROBE5(send, NULL, tp, ip6, tp, nth);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 25, 7:06 PM (14 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27257614
Default Alt Text
D36642.diff (386 B)
Attached To
Mode
D36642: tcp: increment tcpstats in tcp_respond()
Attached
Detach File
Event Timeline
Log In to Comment