Home
last modified time | relevance | path

Searched refs:src_port_id (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.h48 struct gptp_port_identity src_port_id; member
Dgptp_mi.c566 memcpy(&state->pss_sync_ptr->sync_info.src_port_id.clk_id, in gptp_mi_pss_send_state_machine()
569 state->pss_sync_ptr->sync_info.src_port_id.port_number = port; in gptp_mi_pss_send_state_machine()
975 memcpy(&sync_info->src_port_id.clk_id, in gptp_mi_set_ps_sync_cmss()
979 sync_info->src_port_id.port_number = 0U; in gptp_mi_set_ps_sync_cmss()
1339 spi_cmp = memcmp(&hdr->port_id, &vector->src_port_id, in compare_priority_vectors()
1419 memcpy(&vector->src_port_id, &hdr->port_id, in copy_priority_vector()
1637 memcpy(gm_prio->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()
1655 if (memcmp(challenger->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()
1681 tmp = memcmp(&challenger->src_port_id, in compute_best_vector()
1682 &best_vector->src_port_id, in compute_best_vector()
[all …]
Dgptp_state.h170 struct gptp_port_identity src_port_id; member
Dgptp_md.c23 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_sync_prepare()
44 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_follow_up_prepare()
142 memcpy(&sync_rcv->src_port_id, &sync_hdr->port_id, in gptp_set_md_sync_receive()
/Zephyr-latest/subsys/net/lib/ptp/
Dport.c165 msg->header.src_port_id.port_number = ntohs(msg->header.src_port_id.port_number); in port_delay_req_timestamp_cb()
167 if (!ptp_port_id_eq(&port->port_ds.id, &msg->header.src_port_id) || in port_delay_req_timestamp_cb()
213 msg->header.src_port_id.port_number = ntohs(msg->header.src_port_id.port_number); in port_sync_timestamp_cb()
215 if (ptp_port_id_eq(&port->port_ds.id, &msg->header.src_port_id) && in port_sync_timestamp_cb()
231 resp->header.src_port_id = port->port_ds.id; in port_sync_timestamp_cb()
266 msg->header.src_port_id = port->port_ds.id; in port_announce_msg_transmit()
303 msg->header.src_port_id = port->port_ds.id; in port_delay_req_msg_transmit()
341 msg->header.src_port_id = port->port_ds.id; in port_sync_msg_transmit()
630 resp->header.src_port_id = port->port_ds.id; in port_delay_req_msg_process()
637 resp->delay_resp.req_port_id = msg->header.src_port_id; in port_delay_req_msg_process()
[all …]
Dmsg.c87 msg_port_id_post_recv(&header->src_port_id); in msg_header_post_recv()
98 msg_port_id_pre_send(&header->src_port_id); in msg_header_pre_send()
487 return ptp_port_id_eq(&pds->port_id, &msg->header.src_port_id); in ptp_msg_current_parent()
Dmsg.h77 struct ptp_port_id src_port_id; member