class Sniffer
{
public:
    Sniffer();
    void processPacket(const u_char* instance, const pcap_pkthdr *pkthdr);


private:
    char* dev;
    char errbuff[PCAP_ERRBUF_SIZE];
    pcap_t *handle;
    struct pcap_pkthdr header;
    struct bpf_program filtro;
    bool match(const u_char* str1,int len);
    const struct sniff_ip *ip; /* The IP header */
    const u_char *payload; /* Packet payload */
    u_int size_ip;
    u_int size_tcp;

};

On Sat, Jun 4, 2011 at 3:41 PM, Guy Harris <[email protected]> wrote:

>
> On Jun 4, 2011, at 11:23 AM, Flavio Truzzi wrote:
>
> > In the class header
>
> How is it defined?  I.e., what is the statement that defines it?
> -
> This is the tcpdump-workers list.
> Visit https://cod.sandelman.ca/ to unsubscribe.
>



-- 
Flavio Sales Truzzi
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to