ports and processes

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

 




hi,
does anyone know how to find out task struct knowing only a bound port
number ie if I have a tcp port number can I find a task that owns the
port?
i know i can go from struct sock all the way to struct file and that
i can obtain struct sock from tcp_bhash...
another matter, when a connection is established on an bound port it
is moved to tcp_ehash list but does it remain in tcp_bhash as well?

thnx,
lynx


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[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