summaryrefslogtreecommitdiff
path: root/lib/netdev.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-06-19 14:09:39 -0700
committerBen Pfaff <blp@nicira.com>2009-07-06 09:55:06 -0700
commit72865317a41d065fcc47a33fc68cdd2081cecb3d (patch)
tree7584e93285652bf896b70620741903ae97f216e6 /lib/netdev.h
parente9e28be359f64c03944c0a282c17e714fcb0afc4 (diff)
downloadopenvswitch-72865317a41d065fcc47a33fc68cdd2081cecb3d.tar.gz
New implementation of userspace datapath, based on the netdev library.
Diffstat (limited to 'lib/netdev.h')
-rw-r--r--lib/netdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/netdev.h b/lib/netdev.h
index de312d62d..6586ab2ee 100644
--- a/lib/netdev.h
+++ b/lib/netdev.h
@@ -34,7 +34,8 @@ struct svec;
enum netdev_flags {
NETDEV_UP = 0x0001, /* Device enabled? */
- NETDEV_PROMISC = 0x0002 /* Promiscuous mode? */
+ NETDEV_PROMISC = 0x0002, /* Promiscuous mode? */
+ NETDEV_LOOPBACK = 0x0004 /* This is a loopback device. */
};
enum netdev_pseudo_ethertype {