[LIP] Re: [blug-prog] sending packets
"suresh kumar" <suresh_vin-/iAzse42w/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi, I used ip_output/ip_forward not ip_route_output. I think I can not use ip_queue_xmit as it will prepend ip header b4 xmitting. Kindly help me out. Suresh ----- Original Message ----- From: "suresh kumar" <suresh_vin-/iAzse42w/[email protected]> Date: Thu, 22 Jan 2004 11:03:09 +0530 To: linux-bangalore-programming-hHKSG33TihhbjbujkaE4pw@public.gmane.org,[email protected] Subject: [blug-prog] sending packets > Hi, > I am using netfilters to capture packets. I am applying some packet processing and want to send the packets the packets to the n/w through linux ip stack. Since I capture the packets at d/l layer, the dst field in skbuff is not filled.(correct me if I am wrong). I am calling ip_route_input to fill in the dst field. and I am calling ip_route_output to xmitt the packet. I am getting unresolved symbols for ip_route_output and not for ip_route_input. I don't want to use dev_queue_transmit as I am supposed to give it back to the linux IP stack. I tried ip_send etc... Tell me whether my approach is proper or not. Thank you. I am using the kernel version 2.4.18-14. of redhat flavour. I have compiled code with level 2 optimization and included the path /usr/src/linux-2.4.18-14/include in the make files. > cheers > Suresh > > V.V Suresh Kumar > > > -- > ______________________________________________ > IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com > Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes! > > Powered by Outblaze > > > Before posting to this list, read the list rules FIRST! > > http://linux-bangalore.org/discussions/rules.php > > > Yahoo! Groups Links > > To visit your group on the web, go to: > http://groups.yahoo.com/group/linux-bangalore-programming/ > > To unsubscribe from this group, send an email to: > linux-bangalore-programming-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org > > Your use of Yahoo! Groups is subject to: > http://docs.yahoo.com/info/terms/ > > V.V Suresh Kumar -- ______________________________________________ IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes! Powered by Outblaze ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn