X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flibsystemd-network%2Flldp-internal.h;h=c7235c11ee90ad8b871b89deb7da28fd7d4cd068;hp=028a35ffdd466288e5af1f48046453dbe7817178;hb=7a6f1457462840ed52f2a332e2bd56ca210cff2d;hpb=2cd3aa24820e5d82375c8cc3e4446d884ee4fee0 diff --git a/src/libsystemd-network/lldp-internal.h b/src/libsystemd-network/lldp-internal.h index 028a35ffd..c7235c11e 100644 --- a/src/libsystemd-network/lldp-internal.h +++ b/src/libsystemd-network/lldp-internal.h @@ -31,6 +31,7 @@ typedef struct lldp_neighbour_port lldp_neighbour_port; typedef struct lldp_chassis lldp_chassis; typedef struct lldp_chassis_id lldp_chassis_id; +typedef struct lldp_agent_statitics lldp_agent_statitics; struct lldp_neighbour_port { uint8_t type; @@ -94,4 +95,5 @@ int lldp_read_system_description(tlv_packet *tlv, uint16_t *length, char **data) int lldp_read_system_capability(tlv_packet *tlv, uint16_t *data); int lldp_read_port_description(tlv_packet *tlv, uint16_t *length, char **data); +int lldp_handle_packet(tlv_packet *m, uint16_t length); #define log_lldp(fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "LLDP: " fmt, ##__VA_ARGS__)