]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/in.h
USB: move <linux/usb_otg.h> to <linux/usb/otg.h>
[linux-2.6-omap-h63xx.git] / include / linux / in.h
index ba355384016afa440a492b25c3fd6149f0603a3b..bcaca8399aed62006eb601272771dbfe7c997039 100644 (file)
@@ -52,7 +52,7 @@ enum {
 
 /* Internet address. */
 struct in_addr {
-       __u32   s_addr;
+       __be32  s_addr;
 };
 
 #define IP_TOS         1
@@ -72,6 +72,7 @@ struct in_addr {
 #define IP_FREEBIND    15
 #define IP_IPSEC_POLICY        16
 #define IP_XFRM_POLICY 17
+#define IP_PASSSEC     18
 
 /* BSD compatibility */
 #define IP_RECVRETOPTS IP_RETOPTS
@@ -176,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'. */