public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel space sockets
@ 2005-03-18 13:53 Josef E. Galea
  2005-03-18 14:09 ` Juergen Quade
  0 siblings, 1 reply; 3+ messages in thread
From: Josef E. Galea @ 2005-03-18 13:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm trying to implement a UDP server in a kernel module. So far I have 
created the struct socket using sock_create_kern(), and used 
sock->ops->bind() on it. Now how do I send UDP datagrams? I looked at 
some code and found the function sock->ops->sendmsg() but I can't figure 
out where to put the destination address. I would appreciate it if 
someone could point me to some tutorial or sample code.

Thanks,
Josef

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-18 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18 13:53 Kernel space sockets Josef E. Galea
2005-03-18 14:09 ` Juergen Quade
2005-03-18 14:14   ` Josef E. Galea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox