send packet to an ip using pcap_inject

909 views Asked by At

I am able to send a packet to a specific IP address using scapy like this. Now, I am new to libcap and I would like to do the same with pcap_inject(). I am unable to find any code snippet online that uses pcap_inject() to send to specific ip address. Could anyone help me ?

0

There are 0 answers