chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: gracefully handle failure to emit signals when dbus is not connected
[elogind.git]
/
src
/
libsystemd-network
/
lldp-internal.h
diff --git
a/src/libsystemd-network/lldp-internal.h
b/src/libsystemd-network/lldp-internal.h
index 028a35ffdd466288e5af1f48046453dbe7817178..8e09ee8f3a9e657601381071d0a540f50358d587 100644
(file)
--- 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_neighbour_port lldp_neighbour_port;
typedef struct lldp_chassis lldp_chassis;
typedef struct lldp_chassis_id lldp_chassis_id;
+typedef struct lldp_agent_statistics lldp_agent_statistics;
struct lldp_neighbour_port {
uint8_t type;
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_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__)
#define log_lldp(fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "LLDP: " fmt, ##__VA_ARGS__)