Fixed libnet pointer

This comes after checking the libnet pointer structure.

It is obviously wrong, I'll merge this if no complains in the next few days.

in all libnet examples the libnet is "libnet_t* ptr", not "struct libnet_t*", I was misleading in this because of a struct error, caused by a non libnet.h inclusion (and not from a missing "struct" keyword)