hi there, how I can change addres while reading from the dump?
I'm collecting the data to pcap_t and then injecting it and there I'm unsure with 2 and 3 arguments, where I can get it?
Code:
pcap_t *p;
// int pcap_inject(pcap_t *p, const void *buf, size_t size)
sentbytes=pcap_inject(p, (void*)&data , sizeof(data) ));
and more over, I can't change second argument, because it's a const.
actually, I can filtering the dump by this...
Code:
pcap_compile();
pcap_setfilter();