tcpdump mailing list archives

Re: libpcap on linux issue


From: Guy Harris <guy () alum mit edu>
Date: Thu, 13 Feb 2003 17:33:51 -0800

On Thu, Feb 13, 2003 at 10:06:53PM +1100, Darren Reed wrote:
OK, what about "/usr/include/bits/sockaddr.h" or
"/usr/include/bits/socket.h"?  Does one of them define SA_LEN and, if
so, does that header eventually get included by <sys/socket.h>?

# find /usr/include -print | xargs grep SA_LEN
/usr/include/linux/atm.h:#define        ATM_ESA_LEN     20              /* ATM End System Address length */
/usr/include/linux/atm.h:        unsigned char  prv[ATM_ESA_LEN];/* private ATM address */
/usr/include/linux/atmlec.h:                        unsigned char atm_addr[ATM_ESA_LEN];
/usr/include/linux/atmlec.h:                        unsigned char atm_addr[ATM_ESA_LEN]; /* reqestor ATM addr */
/usr/include/linux/atmlec.h:        unsigned char atm_addr[ATM_ESA_LEN];
/usr/include/linux/atmmpc.h:        uint8_t   eg_MPC_ATM_addr[ATM_ESA_LEN];
/usr/include/linux/atmmpc.h:        uint8_t   in_MPC_data_ATM_addr[ATM_ESA_LEN];
/usr/include/linux/atmmpc.h:        uint8_t  MPS_ctrl[ATM_ESA_LEN];

So what's in the RH 8.0

        /usr/include/sys/socket.h

        /usr/include/bits/socket.h

        /usr/include/bits/sockaddr.h

?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: