[ovs-dev] [PATCH] flow: Rename 'tp_addr' field in flow_hash_symmetric_l4().

Ben Pfaff blp at nicira.com
Fri Feb 3 06:03:21 UTC 2012


On Thu, Feb 02, 2012 at 10:00:28PM -0800, Ethan Jackson wrote:
> The 'tp_addr' field name is inappropriate because its not an
> address, it's the transport port. Therefore tp is sufficient.
> 
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

My intention in inventing the dl_, nw_, and tp_ prefixes in struct flow
way back when was for them to stand for "data link", "network", and
"transport", the names of layer 2 through 4.  So "tp" seems a little
truncated to me.  How about "tp_port"?

Thanks,

Ben.



More information about the dev mailing list