File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -123,29 +123,29 @@ enum net_lldp_tlv_type {
123123/** Chassis ID TLV, see chapter 8.5.2 in IEEE 802.1AB */
124124struct net_lldp_chassis_tlv {
125125 /** 7 bits for type, 9 bits for length */
126- uint16_t type_length ;
126+ u16_t type_length ;
127127 /** ID subtype */
128- uint8_t subtype ;
128+ u8_t subtype ;
129129 /** Chassis ID value */
130- uint8_t value [NET_LLDP_CHASSIS_ID_VALUE_LEN ];
130+ u8_t value [NET_LLDP_CHASSIS_ID_VALUE_LEN ];
131131} __packed ;
132132
133133/** Port ID TLV, see chapter 8.5.3 in IEEE 802.1AB */
134134struct net_lldp_port_tlv {
135135 /** 7 bits for type, 9 bits for length */
136- uint16_t type_length ;
136+ u16_t type_length ;
137137 /** ID subtype */
138- uint8_t subtype ;
138+ u8_t subtype ;
139139 /** Port ID value */
140- uint8_t value [NET_LLDP_PORT_ID_VALUE_LEN ];
140+ u8_t value [NET_LLDP_PORT_ID_VALUE_LEN ];
141141} __packed ;
142142
143143/** Time To Live TLV, see chapter 8.5.4 in IEEE 802.1AB */
144144struct net_lldp_time_to_live_tlv {
145145 /** 7 bits for type, 9 bits for length */
146- uint16_t type_length ;
146+ u16_t type_length ;
147147 /** Time To Live (TTL) value */
148- uint16_t ttl ;
148+ u16_t ttl ;
149149} __packed ;
150150
151151/**
You can’t perform that action at this time.
0 commit comments