]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/lldp-tlv.h
Merge pull request #1937 from evverx/fix-stdout-parsing
[thirdparty/systemd.git] / src / libsystemd-network / lldp-tlv.h
index 2d2c776be6eca224023687a202e4d2c7c1059a58..f5cd77477fd7d365b5828734fbf821ec2bd1277e 100644 (file)
 
 #include <net/ethernet.h>
 
-#include "util.h"
-#include "lldp.h"
-#include "list.h"
-
 #include "sd-lldp.h"
 
-typedef struct tlv_packet tlv_packet;
-typedef struct tlv_section tlv_section;
+#include "list.h"
+#include "lldp.h"
+#include "util.h"
+
+typedef struct sd_lldp_packet tlv_packet;
+typedef struct sd_lldp_section tlv_section;
 
 #define LLDP_OUI_LEN 3
 
-struct tlv_section {
+struct sd_lldp_section {
         uint16_t type;
         uint16_t length;
         uint8_t *oui;
@@ -54,7 +54,7 @@ struct tlv_section {
 int tlv_section_new(tlv_section **ret);
 void tlv_section_free(tlv_section *ret);
 
-struct tlv_packet {
+struct sd_lldp_packet {
         unsigned n_ref;
 
         uint16_t type;