With the help of PF_PACKET socket interface, you can send and receive packets to any interface from user level.
paridhi bansal <paridhibansal@yahoo.com> wrote:
hello everybody!!
I have included linux/skbuff.h in my program.When i
compile this program, it gives me error that asm/msr.h
and asm/fixmap.h are not in /usr/include.
Redhat site has the updated rpm for this bug in linux
7.3. But even aftyer installing that rpm, the files
are still missing....What is the way out for this
problem??
One more question. If i have a socket bound to an
interface. Will this fn --- sock_queue_rcv_skb(s1,
skb)
work for getting the packets from that interface???
To put the packets on an interface , what fn is to be
used??
paridhi
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now