Re: Sockets: synchronous I/O

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jens Kramel" wrote...
> the problem is, that I need a (struct file*) to do the poll(..)-call and a 
> "kernel socket" returned by sock_create() isn't attached to a file 
> (sock->file == NULL). So what now?

sock_map_fd() seems to be what I was looking for

Jens 



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux