Codebase list atop / 40b6b671-bdf8-449e-8ad1-af45af2b71c1/main netatopd.h
40b6b671-bdf8-449e-8ad1-af45af2b71c1/main

Tree @40b6b671-bdf8-449e-8ad1-af45af2b71c1/main (Download .tar.gz)

netatopd.h @40b6b671-bdf8-449e-8ad1-af45af2b71c1/mainraw · history · blame

#define SEMAKEY         1541961

#define NETEXITFILE     "/var/run/netatop.log"
#define MYMAGIC         (unsigned int) 0xfeedb0b0

struct naheader {
        u_int32_t	magic;	// magic number MYMAGIC
        u_int32_t	curseq;	// sequence number of last netpertask
        u_int16_t	hdrlen;	// length of this header
        u_int16_t	ntplen;	// length of netpertask structure
        pid_t    	mypid;	// PID of netatopd itself
};