Add ping client
This commit is contained in:
parent
036d61a0aa
commit
8dbb51cfb7
21 changed files with 710 additions and 384 deletions
|
|
@ -88,12 +88,16 @@ type Network interface {
|
|||
|
||||
SourceAddr() netip.Addr
|
||||
|
||||
SourceAddressSlice() []byte
|
||||
|
||||
// DestinationAddress returns the value of the "destination address"
|
||||
// field.
|
||||
DestinationAddress() tcpip.Address
|
||||
|
||||
DestinationAddr() netip.Addr
|
||||
|
||||
DestinationAddressSlice() []byte
|
||||
|
||||
// Checksum returns the value of the "checksum" field.
|
||||
Checksum() uint16
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue