dpif: Add new dpif_port_exists() function.
authorJustin Pettit <jpettit@nicira.com>
Thu, 18 Oct 2012 06:11:53 +0000 (23:11 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Nov 2012 05:54:27 +0000 (22:54 -0700)
commit4afba28d559511a5ee03e005b65be8323bf26ad3
treedbb02334b5ade65c8545209e9b05074ba28fb20d
parent11a574a737fa506c8e66c7bd42fa3186e70c286f
dpif: Add new dpif_port_exists() function.

Provide the ability to determine whether a port exists in a datapath
without having to deal with a "dpif_port" structure as with
dpif_port_query_by_name().  A future patch will use this function.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h