Nigel Horne writes:
> According to man pcap: "pcap_lookupnet() is used to determine the
> network number and mask associated with the network device".
> In fact the value in *netp is set to the address masked with the
> value in maskp (i.e. *netp &= *maskp).
Yes, that's right.
What did you exp
Package: libpcap0.8-dev
Version: 0.9.8-5
Severity: normal
According to man pcap: "pcap_lookupnet() is used to determine the network
number and mask associated with the network device".
In fact the value in *netp is set to the address masked with the value in
maskp (i.e. *netp &=
2 matches
Mail list logo