mirror of
https://github.com/go-ping/ping.git
synced 2025-08-01 21:49:06 +00:00
9 lines
139 B
Go
9 lines
139 B
Go
// +build !windows
|
|
|
|
package ping
|
|
|
|
// Returns the length of an ICMP message.
|
|
func (p *Pinger) getMessageLength() int {
|
|
return p.Size + 8
|
|
}
|