Files
nethogs/inode2prog.h
2005-01-15 12:29:49 +00:00

17 lines
338 B
C

/* this should be called quickly after the packet
* arrived, since the inode may disappear from the table
* quickly, too :) */
#include "nethogs.h"
// #define PROGNAME_WIDTH 200
struct prg_node {
long inode;
int pid;
char name[PROGNAME_WIDTH];
};
struct prg_node * findPID (unsigned long inode);
void prg_cache_clear();