Lines Matching refs:ntohs
54 msg->timestamp.protocol._sec.high = ntohs(ts->seconds_high); in msg_timestamp_post_recv()
68 port_id->port_number = ntohs(port_id->port_number); in msg_port_id_post_recv()
83 header->msg_length = ntohs(header->msg_length); in msg_header_post_recv()
85 header->sequence_id = ntohs(header->sequence_id); in msg_header_post_recv()
159 tlv_container->tlv->type = ntohs(tlv_container->tlv->type); in msg_tlv_post_recv()
160 tlv_container->tlv->length = ntohs(tlv_container->tlv->length); in msg_tlv_post_recv()
292 payload = ntohs(hdr->len) - NET_UDPH_LEN; in ptp_msg_from_pkt()
293 port = ntohs(hdr->dst_port); in ptp_msg_from_pkt()
302 if (payload == ntohs(msg->header.msg_length)) { in ptp_msg_from_pkt()
417 msg->announce.current_utc_offset = ntohs(msg->announce.current_utc_offset); in ptp_msg_post_recv()
419 ntohs(msg->announce.gm_clk_quality.offset_scaled_log_variance); in ptp_msg_post_recv()
420 msg->announce.steps_rm = ntohs(msg->announce.steps_rm); in ptp_msg_post_recv()