22 #include <sys/types.h> 23 #include <sys/socket.h> 24 #include <linux/if_packet.h> 25 #include <net/ethernet.h> 26 #include <netinet/in.h> void init_client(SocketType type=RawSocket, int protocol=-1) const
Create packet socket.
void init_packetSocket(SocketType type, int protocol) const
PacketSocketProtocol and PacketSocketHandle public header.