Main page | Install | ttyreplay(1) | rpldev(4) | rpl(5) | ttyrpld(7) | rplctl(8) | rpld(8) | Netlogging | Legal | Support


Name > rpl - ttyrpld log file format
 
Description >

The logfiles rpld creates are a small variation of the packet protocol as described in rpldev(4). The .dev and .dev2 fields are not present and a timestamp has been added. All fields are little endian and packed, i.e. there are no alignment gaps. The structure is:

struct disk_packet {
    uint16_t size;
    uint8_t event, magic;
    struct timeval tv;
} __attribute__((packed));

The .magic is always 0xEE.

Possible values for .event equal those listed in rpldev(4), plus the following:

enum {
    EVT_IDENT = 240,
};

EVT_IDENT is added by rpld to contain human-readable information about the logfile. Otherwise, it is currently doing nothing.

 
See also > rpldev(4)
 

by Jan Engelhardt