MCPcopy Index your code
hub / github.com/google/gopacket / Src

Method Src

flows.go:194–197  ·  view source on GitHub ↗

Src returns the source Endpoint for this flow.

()

Source from the content-addressed store, hash-verified

192
193// Src returns the source Endpoint for this flow.
194func (f Flow) Src() (src Endpoint) {
195 src, _ = f.Endpoints()
196 return
197}
198
199// Dst returns the destination Endpoint for this flow.
200func (f Flow) Dst() (dst Endpoint) {

Callers 1

Calls 1

EndpointsMethod · 0.95

Tested by 1