Go to the source code of this file.
Classes | |
struct | otto_llc_pulse |
Data link device kernel interface data word. More... | |
struct | otto_llc_timing |
Timing table entry for LLC decode. More... | |
struct | otto_llc_format |
LLC format definition. More... | |
Defines | |
#define | OTTO_PACKET_PULSES_MAX 102 |
Maximum number of pulses per packet. | |
Enumerations | |
enum | otto_llc_symbol { OTTO_LLC_SYM_UNKNOWN = 0, OTTO_LLC_SYM_ZERO, OTTO_LLC_SYM_ONE, OTTO_LLC_SYM_SOF, OTTO_LLC_SYM_EOD, OTTO_LLC_SYM_EOF, OTTO_LLC_SYM_BRK, OTTO_LLC_SYM_NB0, OTTO_LLC_SYM_NB1, OTTO_LLC_SYM_IFS } |
Logical link control symbols. More... | |
Functions | |
int | otto_llc_set_busenable (unsigned int busmask) |
Enable specified busses on software data link device. | |
int | otto_llc_get_busenable (unsigned int *busmask) |
Retrieve enabled busses on software data link device. | |
int | otto_llc_set_pulse (enum otto_llc_symbol id, struct otto_llc_pulse pulse) |
Configure special pulses on software data link device. | |
int | otto_llc_get_pulse (enum otto_llc_symbol id, struct otto_llc_pulse *pulse) |
Get special pulse configuration on software data link device. | |
int | otto_llc_decode (union otto_packet *pkt, struct otto_llc_pulse pulses[], int npulses) |
Data link decode. | |
int | otto_llc_encode (union otto_packet *pkt, struct otto_llc_pulse pulses[], int *npulses) |
Data link encode. |
|
Maximum number of pulses per packet.
|
|
|
Data link decode.
|
|
Data link encode.
|
|
Retrieve enabled busses on software data link device.
|
|
Get special pulse configuration on software data link device.
|
|
Enable specified busses on software data link device.
|
|
Configure special pulses on software data link device.
|