Hi,
Is it intentional that rte_ipv4_phdr_cksum and others in this file assume that 
ipv4 header is sizeof(struct ipv4_hdr), actually assuming that there are no 
IPv4 options?
If not, I would like to submit a patch changing that.
Something in the line of:
sizeof(struct ipv4_hdr) changes to ipv4_hdr->version_ihl & IPV4_HDR_IHL_MASK) * 
IPV4_IHL_MULTIPLIER)

Thanks,
Ido

Reply via email to