Hi Pablo, This patch uses a static inline function as you requested. I thought the macro would result in fewer instructions, but haven't checked. Anyway you have both versions now. Cheers ... Duncan. Duncan Roe (1): Simplify struct pkt_buff: remove tail src/extra/ipv4.c | 4 ++-- src/extra/ipv6.c | 8 ++++---- src/extra/pktbuff.c | 6 +----- src/extra/tcp.c | 6 +++--- src/extra/udp.c | 6 +++--- src/internal.h | 5 ++++- 6 files changed, 17 insertions(+), 18 deletions(-) -- 2.14.5