[IPV4]: annotate inetdev.h helpers

inet_confirm_addr(), inet_ifa_byprefix(), ip_dev_find(), inet_make_mask() and
inet_ifa_match() annotated, along with inferred net-endian variables

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro
2006-09-26 22:17:09 -07:00
committed by David S. Miller
parent a7a628c442
commit 60cad5da57
4 changed files with 14 additions and 14 deletions

View File

@ -122,7 +122,7 @@ static void fib_flush(void)
* Find the first device with a given source address.
*/
struct net_device * ip_dev_find(u32 addr)
struct net_device * ip_dev_find(__be32 addr)
{
struct flowi fl = { .nl_u = { .ip4_u = { .daddr = addr } } };
struct fib_result res;