MCPcopy
hub / github.com/shadow1ng/fscan / IncrementTCPSuccessPacketCount

Method IncrementTCPSuccessPacketCount

common/state.go:78–82  ·  view source on GitHub ↗

IncrementTCPSuccessPacketCount 增加TCP成功连接包计数

()

Source from the content-addressed store, hash-verified

76
77// IncrementTCPSuccessPacketCount 增加TCP成功连接包计数
78func (s *State) IncrementTCPSuccessPacketCount() int64 {
79 atomic.AddInt64(&s.tcpSuccessPacketCount, 1)
80 atomic.AddInt64(&s.tcpPacketCount, 1)
81 return atomic.AddInt64(&s.packetCount, 1)
82}
83
84// IncrementTCPFailedPacketCount 增加TCP失败连接包计数
85func (s *State) IncrementTCPFailedPacketCount() int64 {

Callers 15

TestState_ResetFunction · 0.95
DoRequestFunction · 0.80
DialTCPMethod · 0.80
WrapperTcpWithTimeoutFunction · 0.80
SafeHTTPDoFunction · 0.80
doMongoDBAuthMethod · 0.80
testCredentialMethod · 0.80
doFTPAuthMethod · 0.80
identifyServiceMethod · 0.80
doMySQLAuthMethod · 0.80
doRabbitMQAuthMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestState_ResetFunction · 0.76