aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_pppox.h
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-22 21:37:27 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-22 21:37:27 -0400
commitd8287fc864643beaf1623c92aceb1ab38eae0648 (patch)
treef24ab1748d6b96fe612e9d2744680d1f128ce38e /include/linux/if_pppox.h
parent773bc97397ea2cfc2ff3c075f712aaf376ed7cb0 (diff)
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>
Diffstat (limited to 'include/linux/if_pppox.h')
-rw-r--r--include/linux/if_pppox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 1525b2156b2a..770e8fa669d2 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -50,8 +50,8 @@ struct pppoe_addr {
50 * PPTP addressing definition 50 * PPTP addressing definition
51 */ 51 */
52struct pptp_addr { 52struct pptp_addr {
53 u16 call_id; 53 __be16 call_id;
54 struct in_addr sin_addr; 54 struct in_addr sin_addr;
55}; 55};
56 56
57/************************************************************************ 57/************************************************************************