netdev: Add function netdev_is_open().
authorJesse Gross <jesse@nicira.com>
Tue, 13 Apr 2010 17:57:40 +0000 (13:57 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 19 Apr 2010 13:11:57 +0000 (09:11 -0400)
commitfdd8224884cbc92dd6e42f617018625f6a6d4c96
tree19050bbba772e7a32e5e2bb70dda02c45f57eac6
parentf2459fe7d91c4c325dfaa3ed18f56200b63ae27e
netdev: Add function netdev_is_open().

Add netdev_is_open(), which checks to see if a given netdev is
currently open.  It will be used to assist in cleaning up old ports
that are no longer in use.
lib/netdev.c
lib/netdev.h