Searched refs:gptp_hdr (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 29 struct gptp_hdr *one_hdr = GPTP_HDR(pkt); \ 57 struct gptp_hdr *gptp_get_hdr(struct net_pkt *pkt) in gptp_get_hdr() 63 if (sizeof(struct gptp_hdr) <= buf->len) { in gptp_get_hdr() 64 return (struct gptp_hdr *)buf->data; in gptp_get_hdr() 75 return (struct gptp_hdr *)pkt->frags->data; in gptp_get_hdr() 78 return (struct gptp_hdr *)buf->data; in gptp_get_hdr() 85 struct gptp_hdr *hdr; in gptp_sync_timestamp_callback() 113 struct gptp_hdr *hdr; in gptp_pdelay_response_timestamp_callback() 159 pkt = net_pkt_alloc_with_buffer_debug(iface, sizeof(struct gptp_hdr) + in setup_gptp_frame_debug() 163 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct gptp_hdr) + in setup_gptp_frame_debug() [all …]
|
D | gptp_messages.h | 52 (sizeof(struct gptp_hdr) + sizeof(struct gptp_sync)) 54 (sizeof(struct gptp_hdr) + sizeof(struct gptp_follow_up)) 56 (sizeof(struct gptp_hdr) + sizeof(struct gptp_pdelay_req)) 58 (sizeof(struct gptp_hdr) + sizeof(struct gptp_pdelay_resp)) 60 (sizeof(struct gptp_hdr) + sizeof(struct gptp_pdelay_resp_follow_up)) 62 (sizeof(struct gptp_hdr) + sizeof(struct gptp_signaling)) 69 (sizeof(struct gptp_hdr) + sizeof(struct gptp_announce) \ 321 return (uint8_t *)GPTP_HDR(pkt) + sizeof(struct gptp_hdr); in gptp_data()
|
D | gptp_md.c | 19 struct gptp_hdr *hdr; in gptp_md_sync_prepare() 36 struct gptp_hdr *hdr; in gptp_md_follow_up_prepare() 122 struct gptp_hdr *sync_hdr, *fup_hdr; in gptp_set_md_sync_receive() 244 struct gptp_hdr *hdr; in gptp_md_compute_pdelay_rate_ratio() 310 struct gptp_hdr *hdr; in gptp_md_compute_prop_time() 379 struct gptp_hdr *hdr; in gptp_md_pdelay_compute()
|
D | gptp.c | 92 struct gptp_hdr *hdr = GPTP_HDR(pkt); in gptp_handle_critical_msg() 132 struct gptp_hdr *hdr = GPTP_HDR(pkt); in gptp_handle_msg() 325 struct gptp_hdr *hdr = GPTP_HDR(pkt); in net_gptp_recv()
|
D | gptp_mi.c | 1235 struct gptp_hdr *hdr; in gptp_mi_qualify_announce() 1321 struct gptp_hdr *hdr; in compare_priority_vectors() 1390 struct gptp_hdr *hdr; in record_other_announce_info() 1410 struct gptp_hdr *hdr; in copy_priority_vector() 1431 struct gptp_hdr *hdr; in gptp_mi_port_announce_information_state_machine()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_native_posix.c | 84 static bool need_timestamping(struct gptp_hdr *hdr) in need_timestamping() 95 static struct gptp_hdr *check_gptp_msg(struct net_if *iface, in check_gptp_msg() 100 struct gptp_hdr *gptp_hdr; in check_gptp_msg() local 121 gptp_hdr = (struct gptp_hdr *)pkt->frags->frags->data; in check_gptp_msg() 123 gptp_hdr = (struct gptp_hdr *)(pkt->frags->data + eth_hlen); in check_gptp_msg() 126 return gptp_hdr; in check_gptp_msg() 129 static void update_pkt_priority(struct gptp_hdr *hdr, struct net_pkt *pkt) in update_pkt_priority() 142 struct gptp_hdr *hdr; in update_gptp()
|
D | eth_sam_gmac.c | 539 static struct gptp_hdr *check_gptp_msg(struct net_if *iface, in check_gptp_msg() 544 struct gptp_hdr *gptp_hdr; in check_gptp_msg() local 565 gptp_hdr = (struct gptp_hdr *)pkt->frags->frags->data; in check_gptp_msg() 567 gptp_hdr = (struct gptp_hdr *)(pkt->frags->data + eth_hlen); in check_gptp_msg() 570 return gptp_hdr; in check_gptp_msg() 573 static bool need_timestamping(struct gptp_hdr *hdr) in need_timestamping() 584 static void update_pkt_priority(struct gptp_hdr *hdr, struct net_pkt *pkt) in update_pkt_priority() 648 static inline void timestamp_tx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_tx_pkt() 668 static inline void timestamp_rx_pkt(Gmac *gmac, struct gptp_hdr *hdr, in timestamp_rx_pkt() 708 struct gptp_hdr *hdr; in tx_completed() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | gptp.h | 147 struct gptp_hdr { struct 342 struct gptp_hdr *gptp_get_hdr(struct net_pkt *pkt);
|