getting fd from pointer to sock

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

 



hello,
    i wanted to know if there is any function which can from the pointer to
the sock structure or the pointer to the socket structure give me the
corressponding socket descriptor value.
Or even if it can give me the descriptor value from the pointer to the file
structure...that would be helpful too.
thanks,
amit.


--- 

  - Amit
Want to know more about me? Follow this link-> http://amitshah.nav.to/
--
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