Networking Forums

Networking Forums > Computer Networking > Linux Networking > select-like implementation for kernel sockets

Reply
Thread Tools Display Modes

select-like implementation for kernel sockets

 
 
eitanr@audiocodes.com
Guest
Posts: n/a

 
      05-06-2007, 11:56 AM
Hi,

I'm using kernel sockets to Tx and Rx UDP packets between my hardware
device (DSP) to the external network (this is part of a VoIP
implementation). The motivation for using kernel sockets rather than
user-space sockets is to avoid the copying of data between kernel and
user spaces.

I have no problems on the Tx side (I simply call sock_sendmsg on one
of the sockets), but for the Rx side I want to listen-in on multiple
sockets in blocking mode (I don't want to use polling).

Is there a way to listen-in on multiple kernel sockets from one kernel
thread? In the user space I would have used select(), but I am not
familiar with a similar solution for the kernel space.

Thanks,
Eitan.

Eitan Richardson
AudioCodes Ltd.

 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 12:27 PM
killing a kernel thread ....... UDP server (kernel module)......... alex Linux Networking 0 09-20-2006 12:26 PM
Does select thread safe in kernel 2.4.x Readon Shaw Linux Networking 1 09-07-2006 08:20 AM
raw sockets for a layer 2 protocol implementation? Edu Linux Networking 0 06-06-2005 11:43 AM
TCP/IP implementation in Linux- Kernel Hooking sathish kumar Linux Networking 1 09-03-2003 07:41 PM



1 2 3 4 5 6 7 8 9 10 11