[Javanetsim-cvs] IceScan/icesockets sock_eth.h,NONE,1.1
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-12-17 14:31:30
|
Update of /cvsroot/javanetsim/IceScan/icesockets In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23354 Added Files: sock_eth.h Log Message: --- NEW FILE: sock_eth.h --- #ifndef _iceeth_H #define _iceeth_H #ifndef __CYGWIN__ #include "sock_types.h" int send_ip_packet(const void *buf, size_t len){ ip_t *i = ip_open(); ip_send(i, buf, len); ip_close(i); return 0; } #else int send_ip_packet(const void *buf, size_t len){ return 1; } #endif #endif |