Re: [PATCH 2/2] netdev: docbook comment update (revised)
From: Randy.Dunlap <hidden>
Date: 2008-09-23 17:12:10
From: Randy.Dunlap <hidden>
Date: 2008-09-23 17:12:10
On Tue, 23 Sep 2008, Stephen Hemminger wrote:
Add more docbook comments to network device functions and cleanup the comments. Signed-off-by: Stephen Hemminger <redacted>--- a/net/core/dev.c 2008-09-23 08:32:48.000000000 -0700 +++ b/net/core/dev.c 2008-09-23 10:00:10.000000000 -0700@@ -3322,6 +3323,12 @@ static void dev_addr_discard(struct net_ netif_addr_unlock_bh(dev); } +/** + * dev_get_flags - get flags reported to userspace + * @dev: device + * + * Get the combination of flag bits exported throug APIs to userspace.
still needs: through
+ */
unsigned dev_get_flags(const struct net_device *dev)
{
unsigned flags;-- ~Randy