Lines Matching refs:parent_ds
47 struct ptp_tlv_parent_ds *parent_ds; in tlv_mgmt_post_recv() local
216 parent_ds = (struct ptp_tlv_parent_ds *)mgmt_tlv->data; in tlv_mgmt_post_recv()
218 parent_ds->port_id.port_number = ntohs(parent_ds->port_id.port_number); in tlv_mgmt_post_recv()
219 parent_ds->obsreved_parent_offset_scaled_log_variance = in tlv_mgmt_post_recv()
220 ntohs(parent_ds->obsreved_parent_offset_scaled_log_variance); in tlv_mgmt_post_recv()
221 parent_ds->obsreved_parent_clk_phase_change_rate = in tlv_mgmt_post_recv()
222 ntohl(parent_ds->obsreved_parent_clk_phase_change_rate); in tlv_mgmt_post_recv()
223 parent_ds->gm_clk_quality.offset_scaled_log_variance = in tlv_mgmt_post_recv()
224 ntohs(parent_ds->gm_clk_quality.offset_scaled_log_variance); in tlv_mgmt_post_recv()
267 struct ptp_tlv_parent_ds *parent_ds; in tlv_mgmt_pre_send() local
296 parent_ds = (struct ptp_tlv_parent_ds *)mgmt_tlv->data; in tlv_mgmt_pre_send()
298 parent_ds->port_id.port_number = htons(parent_ds->port_id.port_number); in tlv_mgmt_pre_send()
299 parent_ds->obsreved_parent_offset_scaled_log_variance = in tlv_mgmt_pre_send()
300 htons(parent_ds->obsreved_parent_offset_scaled_log_variance); in tlv_mgmt_pre_send()
301 parent_ds->obsreved_parent_clk_phase_change_rate = in tlv_mgmt_pre_send()
302 htons(parent_ds->obsreved_parent_clk_phase_change_rate); in tlv_mgmt_pre_send()
303 parent_ds->gm_clk_quality.offset_scaled_log_variance = in tlv_mgmt_pre_send()
304 htons(parent_ds->gm_clk_quality.offset_scaled_log_variance); in tlv_mgmt_pre_send()