[LIP] sending packets
"suresh kumar" <suresh_vin-/iAzse42w/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- 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