On Wed, Feb 12, 2003 at 02:39:35PM +1100, Darren Reed wrote:
> Now on this particular linux system, none of the header files in the
> /usr/include directory tree define SA_LEN

Not even <sys/socket.h>, which, in glibc 2.3 does

        /* Return the length of a `sockaddr' structure.  */
        #ifdef _HAVE_SA_LEN
        # define SA_LEN(_x)      (_x)->sa_len   
        #else
        extern int __libc_sa_len (sa_family_t __af);
        extern int __libc_sa_len_internal (sa_family_t __af) attribute_hidden;
        # ifndef NOT_IN_libc
        #  define SA_LEN(_x)      INTUSE(__libc_sa_len)((_x)->sa_family)
        # else
        #  define SA_LEN(_x)      __libc_sa_len((_x)->sa_family)
        # endif
        #endif

Is this a result of it having been removed before 2.2.93 came out but
getting put back when 2.3 came out, or a result of Red Hat "improving"
libc by removing it, or a result of "include/sys/socket.h" in the glibc
2.2.93 source not being installed as "/usr/include/sys/socket.h" on Red
Hat 8.0?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to