(struct sockaddr_storage): Define ss_family and __ss_family.
authorUlrich Drepper <drepper@redhat.com>
Sat, 27 Jan 2001 21:25:38 +0000 (21:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 27 Jan 2001 21:25:38 +0000 (21:25 +0000)
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.

sysdeps/unix/sysv/linux/mips/bits/socket.h

index ae68328..2d6ded9 100644 (file)
@@ -1,5 +1,5 @@
 /* System-specific socket constants and types.  Linux/MIPS version.
-   Copyright (C) 1991,92,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,92,1994-1999,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -157,7 +157,7 @@ struct sockaddr
 
 struct sockaddr_storage
   {
-    __SOCKADDR_COMMON (__ss_); /* Address family, etc.  */
+    __SOCKADDR_COMMON (ss_);   /* Address family, etc.  */
     __ss_aligntype __ss_align; /* Force desired alignment.  */
     char __ss_padding[_SS_PADSIZE];
   };
@@ -212,10 +212,10 @@ struct msghdr
     socklen_t msg_namelen;     /* Length of address data.  */
 
     struct iovec *msg_iov;     /* Vector of data to send/receive into.  */
-    size_t msg_iovlen;         /* Number of elements in the vector.  */
+    int msg_iovlen;            /* Number of elements in the vector.  */
 
     void *msg_control;         /* Ancillary data (eg BSD filedesc passing). */
-    size_t msg_controllen;     /* Ancillary data buffer length.  */
+    socklen_t msg_controllen;  /* Ancillary data buffer length.  */
 
     int msg_flags;             /* Flags on received message.  */
   };