[IPV4]: struct ipcm_cookie annotation

->addr is net-endian

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-27 18:28:28 -07:00 committed by David S. Miller
parent 3ca3c68e76
commit c1d18f9fa0
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ struct inet_skb_parm
struct ipcm_cookie
{
u32 addr;
__be32 addr;
int oif;
struct ip_options *opt;
};

View File

@ -382,7 +382,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
struct rtable *rt = NULL;
int free = 0;
__be32 daddr;
u32 saddr;
__be32 saddr;
u8 tos;
int err;