tcpdump mailing list archives

what is the meaning of netmask in pcap_compile() API?


From: "WANG Yong"<yongw () 21cn com>
Date: Sat, 29 Nov 2003 12:18:33 +0800

Hi All:

I am using libpcap to receive ISO8473 CLNP/802.2 LLC1 packets from network interface and I need to set some filter 
using pcap_compile() API. This API has a parameter named netmask. I suppose this is only useful when doing jobs related 
to TCP/IP, so in my case i can safely ignore it and set it any value.

Anybody who can explain the usage of this parameter? Many thanks!
 
                                 
        WANG Yong
        yongw () 21cn com
          2003-11-29

-
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: