Hi everybody,
I am doing kernel programming in IP-stack. I am facing problems bei sending
packets.
I receive 5 packets(udp-datagram) from other host.
1. I change the destination and source address of the same packet in
ip6_rcv() in /usr/src/linux/net/ipv6/ip6_input.c and send it back.
It works
I have then written my own module, which is doing this job. I called my
module_function in ip6_rcv.
IMPORTANT part!!!!!!
2. I want to buffer for example 3 packets. When fourth one comes, all three
packets together are sended.
This is a problem!!!
For this purpose I have chosen ip6_output.c. I call in my module a function
called ip6_output(skb). This function is located in ip6_outout.c.
My computer hangs. Am i going the right way or is there another possibility
or i need to implement my own sending function?
Thanks in advance
--
Atif Syed
NEC Europe Ltd. - Network Laboratories
Email: Atif.Syed@xxxxxxxxxxxx
|