mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-12-01 17:02:33 +00:00
17 lines
414 B
Go
17 lines
414 B
Go
//go:build !windows
|
|
|
|
package mtu
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
)
|
|
|
|
func (p *socketProber) beginICMPResponseCapture(context.Context, time.Time) (icmpResponseCapture, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (p *socketProber) readICMPResponse(ctx context.Context, _ icmpResponseCapture, deadline time.Time, dstPort int, buf []byte) (probeResponse, error) {
|
|
return p.readICMPResponseFromSocket(ctx, deadline, dstPort, buf)
|
|
}
|