scapy: fix port -p option parsing in fake_tcp_options01.py

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: adding my old pktgen generic function scripts

This stuff dates back to 2009, when I made my 10Gbit/s presentations
at LinuxCon 2009.

Signed-off-by: Jesper Dangaard Brouer <netoptimizer@brouer.com>
pktgen: More generic shell cmds for pktgen proc file manipulation

More generic replacement for pgset(), that does not depend on global
variable for the proc file via $PGDEV.

Function have not been converted to use the new proc_cmd yet.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: fix some bugs in proc_cmd()

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: General shell logging cmds

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: Add new parameters

 -d : output device
 -m : destination MAC-addr
 -x : debug

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: rename new proc commands prefix cmd_*

I'm actually not sure I like this design. Bash scripting
is not the best choice for this design, an object oriented
language would be better to handle the per device config.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
pktgen: fix some small bugs in functions.sh

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>