Directories ¶
Path | Synopsis |
---|---|
dumpframes demostrates how to receive frames from a network link using github.com/asavie/xdp package, it sets up an XDP socket attached to a particular network link and dumps all frames it receives to standard output.
|
dumpframes demostrates how to receive frames from a network link using github.com/asavie/xdp package, it sets up an XDP socket attached to a particular network link and dumps all frames it receives to standard output. |
l2fwd is a primitive layer 2 frame forwarder, it attaches to two given network links and transmits any frames received on any of them on the other network link with the given destination MAC address.
|
l2fwd is a primitive layer 2 frame forwarder, it attaches to two given network links and transmits any frames received on any of them on the other network link with the given destination MAC address. |
rebroadcast demonstrates how to receive and transmit network frames using the github.com/asavie/xdp package, it receives frames on the given network interface using an XDP socket, prints the received frames to stdout, modifies their the destination MAC address to the broadcast address of ff:ff:ff:ff:ff:ff in-line and sends the frames back out the same network interface.
|
rebroadcast demonstrates how to receive and transmit network frames using the github.com/asavie/xdp package, it receives frames on the given network interface using an XDP socket, prints the received frames to stdout, modifies their the destination MAC address to the broadcast address of ff:ff:ff:ff:ff:ff in-line and sends the frames back out the same network interface. |
senddnsqueries pre-generates a frame with a DNS query and starts sending it in and endless loop to given destination as fast as possible.
|
senddnsqueries pre-generates a frame with a DNS query and starts sending it in and endless loop to given destination as fast as possible. |
sendudp pre-generates a frame with a UDP packet with a payload of the given size and starts sending it in and endless loop to given destination as fast as possible.
|
sendudp pre-generates a frame with a UDP packet with a payload of the given size and starts sending it in and endless loop to given destination as fast as possible. |
Click to show internal directories.
Click to hide internal directories.