[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to fill sk_buff manually



Sir/Madam

Now i am working on a kernel module, whose work is to
fill the sk_buff by own and and send the packet to the
own NIC. Main aim is to bypass the Network stack(UDP &
IP layer). I am fill most of sk_buff members, and call
dev_queue_xmit(), but the result is 'Segmentation
fault'.

I am not gettng how to fill the net_device structure.
Please help me soon.

My id is chinu_cpp@xxxxxxxxxx

Waiting for your replay.....
Bye
Chinmaya


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/