Screen packet types

Types of packets

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_REQUEST_PACKET = 0,
    SCREEN_BLIT_PACKET = 1,
    SCREEN_INPUT_PACKET = 2,
    SCREEN_EVENT_PACKET = 3,
    SCREEN_ERROR_PACKET = 4
};

Data:

SCREEN_REQUEST_PACKET
A binary chunk from the request ring buffer.

(/dev/screen/request/)

SCREEN_BLIT_PACKET
A binary chunk from the blit ring buffer or log.

(/dev/screen/0/blit#/)

SCREEN_INPUT_PACKET
A binary chunk from the input ring buffer or log.

(/dev/screen/input/)

SCREEN_EVENT_PACKET
A binary chunk from the event queue.

(/dev/screen/pid/)

SCREEN_ERROR_PACKET
A binary chunk from the request ring buffers (errors only).

Library:

libscreen

Description:

Screen packet types are for debugging purposes only. It identifies binary chunks that are used only by the screeninfo utility (a command- line tool in /dev/screen/ that is only visible if you have root access) that is used to decode these packets.