Hi,
I have root access to a machine and thus have the ability to
create raw sockets. The OS is FreeBSD 2.2-CURRENT. I am trying to
reroute an IP packet from one machine to another based on some
criteria and I don't want to do kernel modification. I tried using the
IP_HDRINCL option for opening a raw socket, but it doesn't seem to do
that. I treied to isolate the error and when I tried "perror" the
error message says "no buffers available". I tried this many times and
still the same error appears. Any suggestions/ part of code to
implement this?
Thanks in advance,
Cheers,
Sudheer
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
* SUDHEER TUMULURU * Research Assistant *
* 307 SW 16th Avenue * E331 CSE *
* Apt. #307 * Dept. of Computer & Information *
* Gainesville * Sciences & Engineering *
* FL 32601-8508, USA * UNIVERSITY OF FLORIDA *
* Phone : (352) 335-8869 * Phone : (352) 392-5770 *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
GO FLORIDA GATORS! 1996 NATIONAL CHAMPIONS!