AltraMayor / AltraMayor/gatekeeper
Adopting rte_pktmbuf_read()
Abierto
enhancement
- Lenguaje dominante
- C
- Estrellas
- 1.6k
- Forks
- 252
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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()`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.