This is a discussion on Re: Sending UDP Packets from a kernel thread/module within the Linux Networking forums, part of the Linux Forums category; [note, Followup-To list has been shortened] In comp.os.linux.development.system ShriRam <vshrirama@gmail.com> wrote: | ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
[note, Followup-To list has been shortened]
In comp.os.linux.development.system ShriRam <vshrirama@gmail.com> wrote: | Hi, | I am trying to send audio from one machine to another at 96KHZ | | I want to eliminate the system call delays. | | | I want my code to run in the kernel module. | | | Can u please let me know how do one send a udp packet from within | the kernel. It would basically be the same set of syscalls as done from user space. You would save the overhead of user space context switching, but the system call delays would not be saved. If you really want to avoid the system call delays, you would need to have your code replicate all that is done in those system calls, and this would be a monumental task. Audio at 96 kHz is trivial compared to something like video. Yet video is easily handled from user space on machines as slow as 400 MHz. What kind of machine is this you are using? -- ----------------------------------------------------------------------------- | Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | ----------------------------------------------------------------------------- |