Lines Matching refs:suffix
103 uint8_t *suffix = NULL; in msg_suffix() local
107 suffix = msg->sync.suffix; in msg_suffix()
110 suffix = msg->delay_req.suffix; in msg_suffix()
113 suffix = msg->pdelay_req.suffix; in msg_suffix()
116 suffix = msg->pdelay_resp.suffix; in msg_suffix()
119 suffix = msg->follow_up.suffix; in msg_suffix()
122 suffix = msg->delay_resp.suffix; in msg_suffix()
125 suffix = msg->pdelay_resp_follow_up.suffix; in msg_suffix()
128 suffix = msg->announce.suffix; in msg_suffix()
131 suffix = msg->signaling.suffix; in msg_suffix()
134 suffix = msg->management.suffix; in msg_suffix()
138 return suffix; in msg_suffix()
145 uint8_t *suffix = msg_suffix(msg); in msg_tlv_post_recv() local
147 if (!suffix) { in msg_tlv_post_recv()
158 tlv_container->tlv = (struct ptp_tlv *)suffix; in msg_tlv_post_recv()
170 suffix += sizeof(struct ptp_tlv); in msg_tlv_post_recv()
180 suffix += tlv_container->tlv->length; in msg_tlv_post_recv()
447 uint8_t *suffix = msg_suffix(msg); in ptp_msg_add_tlv() local
449 if (!suffix) { in ptp_msg_add_tlv()
455 suffix = (uint8_t *)tlv_container->tlv; in ptp_msg_add_tlv()
456 suffix += sizeof(*tlv_container->tlv); in ptp_msg_add_tlv()
457 suffix += tlv_container->tlv->length; in ptp_msg_add_tlv()
460 if ((intptr_t)(suffix + length) >= (intptr_t)&msg->ref) { in ptp_msg_add_tlv()
467 tlv_container->tlv = (struct ptp_tlv *)suffix; in ptp_msg_add_tlv()