Seems like you need to read up some on the doc's.
Like TCP_H should be LIBNET_TCP_H, IP_H should be LIBNET_IPV4_H, I
don't know what you ETH_H is ment to be.
You pass some wrong arguments to the functions also, check the samples
that comes with libnet to see the correct syntax or go and buy Mike's
...
Like TCP_H should be LIBNET_TCP_H, IP_H should be LIBNET_IPV4_H, I
don't know what you ETH_H is ment to be.
You pass some wrong arguments to the functions also, check the samples
that comes with libnet to see the correct syntax or go and buy Mike's
...
[ more ]