inet_diag.c: added filter building code from socketstat (Alexey Kuznetsov, <>)
             added filter options to create function
             added listening states constant
  	     added process, pid and fd getter functions
             using standard inet_idag.h instead of copy
	     using inet_diag_req_v2
	     various memory leak cleanups
diag_filter.h: new header file
               added various filter condition constants
               added diag_filter structure

Signed-off-by: James Hulka <>
Signed-off-by: Jiri Kastner <>
2 files changed