Cristian Dumitrescu 77a334675f examples/pipeline: packet framework sample
This Packet Framework sample application illustrates the capabilities
of the Intel DPDK Packet Framework toolbox.

It creates different functional blocks used by a typical IPv4 framework like:
flow classification, firewall, routing, etc.

CPU cores are connected together through standard interfaces built on SW rings,
which each CPU core running a separate pipeline instance.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
Acked-by: Pablo de Lara Guarch <pablo.de.lara.guarch@intel.com>
Acked by: Ivan Boule <ivan.boule@6wind.com>
2014-06-17 03:34:11 +02:00

19 lines
498 B
Bash

#Address Resolution Protocol (ARP) Table
#arp add iface ipaddr macaddr
arp add 0 0.0.0.1 0a:0b:0c:0d:0e:0f
arp add 1 0.128.0.1 1a:1b:1c:1d:1e:1f
#Routing Table
#route add ipaddr prefixlen iface gateway
route add 0.0.0.0 9 0 0.0.0.1
route add 0.128.0.0 9 1 0.128.0.1
#Flow Table
flow add all
#flow add 0.0.0.0 1.2.3.4 0 0 6 0
#flow add 10.11.12.13 0.0.0.0 0 0 6 1
#Firewall
#firewall add 1 0.0.0.0 0 0.0.0.0 9 0 65535 0 65535 6 0xf 0
#firewall add 1 0.0.0.0 0 0.128.0.0 9 0 65535 0 65535 6 0xf 1