From: Ben Pfaff Date: Wed, 11 Dec 2013 00:34:07 +0000 (-0800) Subject: ofproto-provider: Add comment on struct ofport. X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~221 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1a6495b5223687dc0998cbf2ab59aad312980f9f;p=sliver-openvswitch.git ofproto-provider: Add comment on struct ofport. Signed-off-by: Ben Pfaff Acked-by: Jarno Rajahalme --- diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 54d97f186..600b92be9 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -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. */