I found an XS file /root/.cpan/build/Net-RawIP-0.25/RawIP.xs
It contains this definition for the routine
void
send_eth_packet(fd,eth_device,pkt,flag)
int fd
char* eth_device
SV* pkt
int flag
CODE:
send_eth_packet(fd, eth_device, (char*)SvPV(pkt,PL_na), SvCUR(pkt)
+,flag);
but here too I am missing the actual code of the C function
UPDATE
I got some C code from this file
http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-RawIP-0.25.tar.gz
thanks.
Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.