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>
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 1525b21..770e8fa 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -50,8 +50,8 @@
* PPTP addressing definition
*/
struct pptp_addr {
- u16 call_id;
- struct in_addr sin_addr;
+ __be16 call_id;
+ struct in_addr sin_addr;
};
/************************************************************************