mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #1896 from kevinGC:parseports
PiperOrigin-RevId: 296017834
This commit is contained in:
@@ -277,7 +277,7 @@ type NetworkProtocol interface {
|
||||
// DefaultPrefixLen returns the protocol's default prefix length.
|
||||
DefaultPrefixLen() int
|
||||
|
||||
// ParsePorts returns the source and destination addresses stored in a
|
||||
// ParseAddresses returns the source and destination addresses stored in a
|
||||
// packet of this protocol.
|
||||
ParseAddresses(v buffer.View) (src, dst tcpip.Address)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user