Lines Matching refs:global_ds
470 struct gptp_global_ds *global_ds; in gptp_prepare_announce() local
480 global_ds = GPTP_GLOBAL_DS(); in gptp_prepare_announce()
486 ntohs(global_ds->path_trace.len)); in gptp_prepare_announce()
510 global_ds->global_flags.octets[1] | GPTP_FLAG_PTP_TIMESCALE; in gptp_prepare_announce()
524 ann->cur_utc_offset = htons(global_ds->current_utc_offset); in gptp_prepare_announce()
525 ann->time_source = global_ds->time_source; in gptp_prepare_announce()
527 gm_prio = &global_ds->gm_priority; in gptp_prepare_announce()
539 ann->steps_removed = global_ds->master_steps_removed; in gptp_prepare_announce()
551 ntohs(global_ds->path_trace.len)); in gptp_prepare_announce()
553 ann->tlv.len = global_ds->path_trace.len; in gptp_prepare_announce()
564 net_pkt_write(pkt, &global_ds->path_trace.path_sequence[0][0], in gptp_prepare_announce()
565 ntohs(global_ds->path_trace.len))) { in gptp_prepare_announce()