Hi, i'm working on an industrial pc with ubuntu installed on it, i need to capture network packets in linux an write them to memory
Now i can capture net packets in c++.
I'm using pcap_loop function which gives a pointer to the packet,but i have no idea how to manage them and write them to memory.
thanks for your helps