Lines Matching full:message

31 /* values of the bits of the flagField array for PTP message */
37 * @brief PTP message type.
40 /* PTP event message types */
45 /* General PTP message types */
55 * @brief Common PTP message header.
58 /** PTP message type and most significant 4 bytes of SdoId. */
62 /** Number of bytes in the message. */
68 /** Array of message flags. */
78 /** unique ID number of the message. */
84 /** Logarithm base of 2 of message interval. */
89 * @brief PTP Announce message header.
92 /** PTP message header. */
95 * when message was transmitted.
121 * @brief PTP Sync message header.
124 /** PTP message header. */
126 /** PTP Instance Time of an originating PTP Instance when message was transmitted. */
133 * @brief PTP Delay_Req message header.
136 /** PTP message header. */
138 /** PTP Instance Time of an originating PTP Instance when message was transmitted. */
145 * @brief PTP Follow_Up message header.
148 /** PTP message header. */
150 /** Precise timestamp of Sync message corresponding to that message. */
157 * @brief PTP Delay_Resp message header.
160 /** PTP message header. */
162 /** Ingress timestamp of Delay_Req message. */
164 /** Port's ID of the sender of Delay_Req message. */
171 * @brief PTP Pdelay_Req message header.
174 /** PTP message header. */
176 /** PTP Instance Time of an originating PTP Instance when message was transmitted. */
187 * @brief PTP Pdelay_Resp message header.
190 /** PTP message header. */
192 /** Ingress timestamp of Pdelay_Req message. */
194 /** Port's ID of the sender of Pdelay_Req message. */
201 * @brief PTP Pdelay_Resp_Follow_Up message header.
204 /** PTP message header. */
206 /** Precise timestamp of Pdelay_Resp message corresponding to that message. */
208 /** Port's ID of the sender of Pdelay_Req message. */
215 * @brief PTP Signaling message header.
218 /** PTP message header. */
220 /** Port's ID to which this message is addressed. */
227 * @brief PTP Management message header.
230 /** PTP message header. */
232 /** Port's ID to which this message is addressed. */
235 * of the requesting message.
238 /** Number of successive retransmissions of the message
239 * by Boundary Clocks receiving message.
242 /** Action to be taken on receipt of the message */
253 * @brief Generic PTP message structure.
257 /** General PTP message header. */
259 /** Announce message. */
261 /** Sync message. */
263 /** Delay_Req message. */
265 /** Follow_Up message. */
267 /** Delay_Resp message. */
269 /** Pdelay_Req message. */
271 /** Pdelay_Resp message. */
273 /** Pdelay_Resp_Follow_Up message. */
275 /** Signaling message. */
277 /** Management message. */
286 * Timestamp extracted from the message in a host binary format.
287 * Depending on the message type the value comes from different
288 * field of the message.
299 /** Single-linked list of TLVs attached to the message. */
301 /** Protocol address of the sender/receiver of the message. */
306 * @brief Function allocating space for a new PTP message.
308 * @return Pointer to the new PTP Message.
313 * @brief Function removing reference to the PTP message.
315 * @note If the message is not referenced anywhere, the memory space is cleared.
317 * @param[in] msg Pointer to the PTP message.
322 * @brief Function incrementing reference count for the PTP message.
324 * @param[in] msg Pointer to the PTP message.
329 * @brief Function extracting message type from it.
331 * @param[in] msg Pointer to the message.
333 * @return Type of the message.
338 * @brief Function extracting PTP message from network packet.
342 * @note Returned message has all data in the network byte order.
344 * @return Pointer to a PTP message.
349 * @brief Function preparing message right before transmission.
351 * @param[in] msg Pointer to the prepared PTP message.
356 * @brief Function preparing message for further processing after reception.
359 * @param[in] msg Pointer to the received PTP message.
360 * @param[in] cnt Length of the message in bytes.
367 * @brief Function adding TLV of specified length to the message.
369 * @param[in] msg Pointer to the message that will have TLV added.
372 * @return Pointer to the TLV or NULL if there was no space to append TLV to the message.
379 * @param[in] m1 Pointer to the Announce message to be compared.
380 * @param[in] m2 Pointer to the Announce message to be compared.
387 * @brief Function checking if given message comes from current PTP Port's
390 * @param[in] msg Pointer to the message.
392 * @return True if the message is received from the current PTP Port's TimeTransmitter,