diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-10-08 15:26:43 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2015-10-08 15:48:33 +0200 |
commit | adf88a70f0d90ee9b7088375a0bc3a31503eb79e (patch) | |
tree | 32b8c2018ca80b78d31071b47f920eb727877d64 /src/libsystemd-network | |
parent | 4d860b20a19031c94f4829172f5e312450c0ae58 (diff) |
lldp: rename publicly visible structure
Rename struct 'tlv_packet' to 'sd_lldp_packet' and struct
'tlv_section' to 'sd_lldp_section' since the former is referenced in
public header sd-lldp.h.
Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/lldp-tlv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd-network/lldp-tlv.h b/src/libsystemd-network/lldp-tlv.h index 2d2c776be6..ca1da113d5 100644 --- a/src/libsystemd-network/lldp-tlv.h +++ b/src/libsystemd-network/lldp-tlv.h @@ -30,12 +30,12 @@ #include "sd-lldp.h" -typedef struct tlv_packet tlv_packet; -typedef struct tlv_section tlv_section; +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; |