Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 702 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 702 Bytes

packetgen

UDP packet bursting tool


Usage: ./packetgen_single_flow.sh [-vx] -i ethX
  -i : ($DEV)       output interface/device (required)
  -s : ($PKT_SIZE)  packet size
  -d : ($DEST_IP)   destination IP
  -m : ($DST_MAC)   destination MAC-addr
  -t : ($THREADS)   threads to start
  -f : ($F_THREAD)  index of first thread (zero indexed CPU number)
  -c : ($SKB_CLONE) SKB clones send before alloc new SKB
  -n : ($COUNT)     num messages to send per thread, 0 means indefinitely
  -b : ($BURST)     HW level bursting of SKBs
  -v : ($VERBOSE)   verbose
  -x : ($DEBUG)     debug
  -6 : ($IP6)       IPv6

Example

$ ./packetget_single_flow.sh -i eth1 -d 192.168.0.101