[ovs-dev] [flow-stats 06/14] packets: New function eth_from_hex().

Ethan Jackson ethan at nicira.com
Tue Dec 13 23:41:54 UTC 2011


Looks good to me.

> +    if (packet->size < ETH_HEADER_LEN) {

In theory, I think we would want ETH_TOTAL_MIN here.  However, that
could potentially be annoying for it's only user ofproto/trace.  So I
think it's fine.

Ethan



More information about the dev mailing list