AltraMayor / AltraMayor/gatekeeper

Adopting rte_pktmbuf_read()

Aperta
#93 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C
Stelle
1.6k
Fork
252
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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()`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.