Main page | Install | ttyreplay(1) | rpldev(4) | rpl(5) | ttyrpld(7) | rplctl(8) | rpld(8) | Netlogging | 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 field is not present. (Since ttyrpld v2.00, the timestamp is already added in the kernel.) All fields are little endian and packed, i.e. there are no alignment gaps. The structure is:

struct rpldsk_packet {
    uint16_t size;
    uint8_t event, magic;
    struct timeval time;
} __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 the program with which it was created. Otherwise, it is currently doing nothing.

 
See also > rpldev(4)
 

by Jan Engelhardt