numam-dpdk/examples
Michael Pfeiffer 9863627f52 net: add function to calculate IPv4 header length
Add a function to calculate the length of an IPv4 header as suggested
on the mailing list [1]. Call where appropriate.

[1] https://mails.dpdk.org/archives/dev/2020-October/184471.html

Suggested-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Michael Pfeiffer <michael.pfeiffer@tu-ilmenau.de>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-10-16 19:48:17 +02:00
..
bbdev_app examples: use new link status print format 2020-09-21 18:05:38 +02:00
bond examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00
distributor examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
ethtool examples/ethtool: convert to pkg-config-based build 2020-09-07 23:51:57 +02:00
eventdev_pipeline eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
fips_validation examples/fips_validation: update GCM test 2020-10-14 22:22:06 +02:00
flow_classify examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
flow_filtering examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
helloworld examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
ioat examples/ioat: fix stats print 2020-10-08 14:38:02 +02:00
ip_fragmentation examples: use new link status print format 2020-09-21 18:05:38 +02:00
ip_pipeline examples/ip_pipeline: update subport rate dynamically 2020-10-15 02:14:09 +02:00
ip_reassembly examples: use new link status print format 2020-09-21 18:05:38 +02:00
ipsec-secgw examples: use new link status print format 2020-09-21 18:05:38 +02:00
ipv4_multicast examples: use new link status print format 2020-09-21 18:05:38 +02:00
kni examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd-cat examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
l2fwd-crypto crypto/scheduler: rename slave to worker 2020-10-14 21:31:46 +02:00
l2fwd-event eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
l2fwd-jobstats examples: use new link status print format 2020-09-21 18:05:38 +02:00
l2fwd-keepalive examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd net: add function to calculate IPv4 header length 2020-10-16 19:48:17 +02:00
l3fwd-acl examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd-graph examples: use new link status print format 2020-09-21 18:05:38 +02:00
l3fwd-power examples: use new link status print format 2020-09-21 18:05:38 +02:00
link_status_interrupt examples: use new link status print format 2020-09-21 18:05:38 +02:00
multi_process examples: use new link status print format 2020-09-21 18:05:38 +02:00
ntb examples: use new link status print format 2020-09-21 18:05:38 +02:00
packet_ordering examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
performance-thread examples: use new link status print format 2020-09-21 18:05:38 +02:00
pipeline examples/pipeline: fix files for table update 2020-10-08 15:09:28 +02:00
ptpclient examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
qos_meter examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
qos_sched examples/qos_sched: update subport rate dynamically 2020-10-15 02:13:59 +02:00
rxtx_callbacks examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
server_node_efd examples: use new link status print format 2020-09-21 18:05:38 +02:00
service_cores examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
skeleton examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
tep_termination examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
timer examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vdpa examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vhost examples/vhost: remove dequeue zero-copy support 2020-09-30 23:16:56 +02:00
vhost_blk examples/vhost_blk: check driver start failure 2020-09-30 23:16:55 +02:00
vhost_crypto vhost/crypto: fix feature negotiation 2020-10-16 19:18:47 +02:00
vm_power_manager examples/vm_power: fix 32-bit build 2020-10-06 09:49:29 +02:00
vmdq examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vmdq_dcb examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
meson.build examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00