netdev-vport: Create new TUNNEL_CLASS macro.
authorEthan Jackson <ethan@nicira.com>
Wed, 9 Jan 2013 04:01:24 +0000 (20:01 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 11 Jan 2013 23:15:56 +0000 (15:15 -0800)
commitdb078f85c709300b5e2d7d13921b0fc553205ee5
tree9db7d8ccf7e8367de255792f454f83fa209e2893
parent6033d9d9d7058b1fb83f8235a6eed0572285b97c
netdev-vport: Create new TUNNEL_CLASS macro.

There are a lot of tunnels, and they all use the exact same
functions, so it makes sense to collapse their initialization into
a macro.

Suggested-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/netdev-vport.c