On 9/24/07, Amine Mustapha Smaali <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm a new member in this maling list and I'm pleased to join this list.
>
> So, I have one question concerning the libpcap. I wrote a C code to wait for
> specific ethernet frames. The frames received contains TCP/IP packets
> encapsulated in ESP packets. Those packets are destinated to the machine
> (FreeBSD machine with more than 1 IP address) capting the frames. My
> question is how to pass the TCP/IP packets received to the TCP/IP stack of
> the system? In other word, I have process running on the system which
> creates a TCP socket and which is waiting for those TCP/IP packets?

This is not something that libpcap can be used for.

Look at raw sockets or tun/tap sorts to do the injection into local stack.

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

Reply via email to