Skip to main content

Module network

Module network 

Source
Expand description

Linux network connection walker.

Enumerates TCP connections by scanning the kernel’s tcp_hashinfo.ehash hash table. Each bucket contains a hlist_nulls chain of sock structs.

Functions§

walk_connections
Walk Linux TCP connections via tcp_hashinfo.ehash.
walk_connections6
Walk Linux TCP IPv6 connections via tcp6_hashinfo.ehash.