]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[IPV4]: Make struct sockaddr_in::sin_port __be16
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 29 Aug 2006 06:58:32 +0000 (23:58 -0700)
committerDavid 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

index 9a9d5dd32e737545d755b679e8d648dce019632e..bcaca8399aed62006eb601272771dbfe7c997039 100644 (file)
@@ -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'. */