Code for the Pathport protocol.
|
typedef enum pathport_packet_type_e | pathport_packet_type_t |
|
typedef struct pathport_pdu_data_s | pathport_pdu_data |
|
typedef struct pathport_pdu_get_s | pathport_pdu_get |
|
typedef struct pathport_pdu_getrep_s | pathport_pdu_getrep |
|
typedef struct pathport_pdu_getrep_alv_s | pathport_pdu_getrep_alv |
|
typedef struct pathport_pdu_arp_reply_s | pathport_pdu_arp_reply |
|
typedef struct pathport_pdu_header_s | pathport_pdu_header |
|
typedef struct pathport_packet_pdu_s | pathport_packet_pdu |
|
typedef struct pathport_packet_header_s | pathport_packet_header |
|
|
enum ola::plugin::pathport::pathport_packet_type_e | __attribute__ ((packed)) |
|
| PACK (struct pathport_pdu_data_s { uint16_t type;uint16_t channel_count;uint8_t universe;uint8_t start_code;uint16_t offset;uint8_t data[0];}) |
|
| PACK (struct pathport_pdu_get_s { uint16_t params[0];}) |
|
| PACK (struct pathport_pdu_getrep_s { uint8_t params[0];}) |
|
| PACK (struct pathport_pdu_arp_reply_s { uint32_t id;uint8_t ip[ola::network::IPV4Address::LENGTH];uint8_t manufacturer_code;uint8_t device_class;uint8_t device_type;uint8_t component_count;}) |
|
| PACK (struct pathport_pdu_header_s { uint16_t type;uint16_t len;}) |
|
| PACK (struct pathport_packet_pdu_s { pathport_pdu_header head;union { pathport_pdu_data data;pathport_pdu_get get;pathport_pdu_getrep getrep;pathport_pdu_arp_reply arp_reply;} d;}) |
|
| PACK (struct pathport_packet_header_s { uint16_t protocol;uint8_t version_major;uint8_t version_minor;uint16_t sequence;uint8_t reserved[6];uint32_t source;uint32_t destination;}) |
|
| PACK (struct pathport_packet_s { pathport_packet_header header;union { uint8_t data[1480];pathport_packet_pdu pdu;} d;}) |
|