Re: Sending UDP Packets from a kernel thread/module

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: | ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-05-2005
phil-news-nospam@ipal.net
 
Posts: n/a
Default Re: Sending UDP Packets from a kernel thread/module

[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/ |
-----------------------------------------------------------------------------
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0