Re: [PATCH] Make struct sockaddr_in::sin_port __be16

2006-08-29 Thread David Miller
From: Alexey Dobriyan [EMAIL PROTECTED]
Date: Mon, 21 Aug 2006 03:21:24 +0400

 Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]

Also applied, thanks.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Make struct sockaddr_in::sin_port __be16

2006-08-20 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]
---

 include/linux/in.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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'. */

-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html