summaryrefslogtreecommitdiff
path: root/include/linux/if_pppox.h
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-23 05:37:27 +0400
committerDavid S. Miller <davem@davemloft.net>2010-08-23 05:37:27 +0400
commitd8287fc864643beaf1623c92aceb1ab38eae0648 (patch)
treef24ab1748d6b96fe612e9d2744680d1f128ce38e /include/linux/if_pppox.h
parent773bc97397ea2cfc2ff3c075f712aaf376ed7cb0 (diff)
downloadlinux-d8287fc864643beaf1623c92aceb1ab38eae0648.tar.xz
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 {
* PPTP addressing definition
*/
struct pptp_addr {
- u16 call_id;
- struct in_addr sin_addr;
+ __be16 call_id;
+ struct in_addr sin_addr;
};
/************************************************************************