Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 1997 16:22:08 -0500 (EST)
From:      Sudheer Tumuluru <ts1@cise.ufl.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   IP_HDRINCL Option for raw IP sockets
Message-ID:  <Pine.GSO.3.95.970329162020.21207A-100000@tangerine.cise.ufl.edu>

next in thread | raw e-mail | index | archive | help

Hi,
        I have superuser 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 tried 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              *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  E-mail : ts1@cise.ufl.edu      URL : http://www.cise.ufl.edu/~ts1/

              GO FLORIDA GATORS! 1996 NATIONAL CHAMPIONS!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95.970329162020.21207A-100000>