projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def42ff
)
[IPV4]: Make struct sockaddr_in::sin_port __be16
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 29 Aug 2006 06:58:32 +0000
(23:58 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:29 +0000
(15:18 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/in.h
b/include/linux/in.h
index 9a9d5dd32e737545d755b679e8d648dce019632e..bcaca8399aed62006eb601272771dbfe7c997039 100644
(file)
--- a/
include/linux/in.h
+++ b/
include/linux/in.h
@@
-177,7
+177,7
@@
struct in_pktinfo
#define __SOCK_SIZE__ 16 /* sizeof(struct sockaddr) */
struct sockaddr_in {
sa_family_t sin_family; /* Address family */
-
unsigned short int
sin_port; /* Port number */
+
__be16
sin_port; /* Port number */
struct in_addr sin_addr; /* Internet address */
/* Pad to size of `struct sockaddr'. */