flow: New function flow_unwildcard_tp_ports().
authorEthan Jackson <ethan@nicira.com>
Sat, 7 Dec 2013 02:53:12 +0000 (18:53 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 13 Dec 2013 17:35:00 +0000 (09:35 -0800)
commitd8d9c698b853d67fcf55cb0e8c57cc8fbcdfe0d9
treecd6053c62af7f27c004f71fe9acbd74193e797f7
parentbca43eff7ded606cbebb89f1ba78f14694cf3a6d
flow: New function flow_unwildcard_tp_ports().

This patch adds a new function flow_unildcard_tp_ports() which doesn't
unwildcard the upper half of tp_src and tp_dst with ICMP packets.
Unfortunately, this matters in future patches when we compare masks
carefully to determine if flows should be evicted from the datapath.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/flow.c
lib/flow.h
ofproto/netflow.c