Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dimalinux/spoofsourceip
/ functions
Functions
11 in github.com/dimalinux/spoofsourceip
⨍
Functions
11
◇
Types & classes
3
↓ 4 callers
Function
standardizeMACFormat
standardizeMACFormat fixes dash-separated MAC addresses from Windows ipconfig and macOS arp results which don't include leading zeros (:9: instead of
udpspoof/cli.go:127
↓ 2 callers
Function
addrAsString
addrAsString returns a string with the format "ipv4:port" or "[ipv6]:port".
udpspoof/main.go:11
↓ 1 callers
Function
createSerializedUDPFrame
createSerializedUDPFrame creates an Ethernet frame encapsulating our UDP packet for injection to the local network
udpspoof/udp.go:25
↓ 1 callers
Function
getInterfaceIP
getInterfaceIP searches addresses of the passed-in interface for the first address matching the requested type (IPv4 or IPv6) and returns it's value a
udpspoof/cli.go:135
↓ 1 callers
Function
parseCommandLineArgs
()
udpspoof/cli.go:25
Method
SerializeTo
(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions)
udpspoof/udp.go:20
Function
TestFixMacosArpMAC
(t *testing.T)
udpspoof/cli_test.go:16
Function
TestFixWindowsIPConfigMAC
(t *testing.T)
udpspoof/cli_test.go:9
Function
init
Default listen on all IPv4 and IPv6 addresses
udpreceiver/main.go:15
Function
main
()
udpspoof/main.go:15
Function
main
()
udpreceiver/main.go:20