[lkml]   [2005]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectKernel space sockets

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean