ofproto-provider: Add comment on struct ofport.
[sliver-openvswitch.git] / ofproto / ofproto-provider.h
index 54d97f1..600b92b 100644 (file)
@@ -161,6 +161,8 @@ struct ofproto *ofproto_lookup(const char *name);
 struct ofport *ofproto_get_port(const struct ofproto *, ofp_port_t ofp_port);
 
 /* An OpenFlow port within a "struct ofproto".
+ *
+ * The port's name is netdev_get_name(port->netdev).
  *
  * With few exceptions, ofproto implementations may look at these fields but
  * should not modify them. */