arp

package
v0.0.0-...-663be50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceArpPayloadIPv4Addresses

func ReplaceArpPayloadIPv4Addresses(packet gopacket.Packet, i802dot1QOffset int, userSuppliedIPv4Address, userSuppliedIPv4AddressNew []byte)

----------------------------------------------------------------------------- ReplaceArpPayloadIPv4Addresses() ----------------------------------------------------------------------------- Lets compare the IPv4 address supplied with the one in the ARP packet for both the SRC IP and TARGET IP in the ARP Payload

func ReplaceArpPayloadMacAddresses

func ReplaceArpPayloadMacAddresses(packet gopacket.Packet, i802dot1QOffset int, userSuppliedMacAddress, userSuppliedMacAddressNew []byte)

----------------------------------------------------------------------------- ReplaceArpPayloadMacAddresses() ----------------------------------------------------------------------------- Lets compare the mac address supplied with the one in the ARP packet for both the SRC MAC and TARGET MAC in the ARP Payload

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL