From: "Josef E. Galea" <josefeg@euroweb.net.mt>
To: Juergen Quade <quade@hsnr.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel space sockets
Date: Fri, 18 Mar 2005 15:14:31 +0100 [thread overview]
Message-ID: <423AE247.3060806@euroweb.net.mt> (raw)
In-Reply-To: <20050318140941.GA31622@hsnr.de>
Juergen Quade wrote:
>On Fri, Mar 18, 2005 at 02:53:31PM +0100, Josef E. Galea wrote:
>
>
>>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.
>>
>>
>
>Maybe the sample code on this (german) site helps:
>
>http://ezs.kr.hsnr.de/TreiberBuch/Artikel/index.html
>
>Look at "Folge" 16.
>
> Juergen.
>
>
>
Thanks :)
Josef
prev parent reply other threads:[~2005-03-18 14:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=423AE247.3060806@euroweb.net.mt \
--to=josefeg@euroweb.net.mt \
--cc=linux-kernel@vger.kernel.org \
--cc=quade@hsnr.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox