CVS log entries from 16.01.2001 (Tue) 10:09:31 - 17.01.2001 (Wed) 10:06:51 GMT
=====================================================
Summary by authors
=====================================================
Author: guy
        File: libpcap/pcap-linux.c; Revisions: 1.53

=====================================================
Log entries
=====================================================
Description:
At least some libc5 systems don't have <netinet/if_ether.h> but do have
<net/if_arp.h>, and the stuff we want is in <net/if_arp.h>, so include
that rather than <netinet/if_ether.h>.

At least some libc5 systems don't have <netpacket/packet.h>, but have a
<sys/socket.h> that includes <linux/socket.h>, and the latter defines
SO_ATTACH_FILTER if the kernel is a 2.2 or later kernel, so there exist
systems that have SO_ATTACH_FILTER defined but don't have
<netpacket/packet.h>.  Work around that by:

        checking whether we have PF_PACKET sockets by checking whether
        PF_PACKET is defined, not whether we have <netpacket/packet.h>
        (but we still check whether we have <netpacket/packet.h> before
        including it);

        if PF_PACKET is defined but we don't have <netpacket/packet.h>,
        include <linux/if_packet.h> to get the relevant definitions.
Modified files:
        File: libpcap/pcap-linux.c; Revision: 1.53;
        Date: 2001/01/17 07:42:37; Author: guy; Lines:  (+34 -13)
=====================================================
Summary of modified files
=====================================================
File: libpcap/pcap-linux.c
Revisions: 1.53
Authors: guy (+34 -13)
-- 
Automatic cron job from /tcpdump/bin/makelog
-
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