AltraMayor / AltraMayor/gatekeeper
Adopting rte_pktmbuf_read()
Offen
enhancement
- Vorherrschende Sprache
- C
- Sterne
- 1.6k
- Forks
- 252
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We have written Gatekeeper without using `rte_pktmbuf_read()`, so the code assumes that the headers that need to be inspected are in the first segment of the `struct rte_mbuf` and the code explicitly checks that there are still bytes to be read in the packet whenever a new header must be inspected. Our code can drop that assumption and simplify the buffer size verification adopting `rte_pktmbuf_read()`.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.