mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
3268ba87bb478dd009cb9273db43d6c3ec38442d
Refactor TC and XDP programs to reuse common logic for parsing packets. Add functions for parsing packets for an identifier to pping_helpers.h which both TC and XDP parts use. Also make it easier to extend pping with support for new protocols, as only new parsing functions have to be added and inserted into a single place. Also add reserved members to end of structs in pping.h to indicate padding. Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
Description
No description provided
Languages
C
93.6%
Shell
4.7%
Makefile
1.6%