net: use __be16 instead of u16 for the userspace code

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Changli Gao 2010-08-22 18:37:27 -07:00 committed by David S. Miller
parent 773bc97397
commit d8287fc864

View file

@ -50,8 +50,8 @@ struct pppoe_addr {
* PPTP addressing definition * PPTP addressing definition
*/ */
struct pptp_addr { struct pptp_addr {
u16 call_id; __be16 call_id;
struct in_addr sin_addr; struct in_addr sin_addr;
}; };
/************************************************************************ /************************************************************************