Re: list of open sockets in kernel

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

 



Start looking from tcp_v4_lookup/udp_v4_lookup

tomar

On Fri, 1 Aug 2003, Sergey V. Burchu wrote:

> Hello!
> 
> I'm looking for the way to look through the list of all active sockets
> inside the kernel (2.4.21). 
> 
> I have only one idea: to go through the list of all open files( or
> filedescriptors)
> and somehow to distinguish sockets from files. 
> 
> Where can I read something of how to do it? 
> 
> Thanks :)
> 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux