![]()  | 
  
    PDK API Guide for J721E
    
   | 
 
Defines and methods for gPTP2.
Go to the source code of this file.
Data Structures | |
| struct | gptpipc_notice_data | 
| gptp notice data type  More... | |
| struct | gptpipc_client_req_abnormal | 
| gptp ipc client request, register/deregister abnormal event.  More... | |
| struct | gptpipc_client_req_data | 
| gptp ipc client request data. this structure formed with following details:  More... | |
| struct | gptpipc_data_netlink | 
| struct | gptpipc_ndport_data | 
| to retreive netlink status. this structure has nlstatus type of gptpipc_data_netlinnk_t. for more details read  More... | |
| struct | gptpipc_gport_data | 
| grand master port data. this structure formed with following details:  More... | |
| struct | gptpipc_clock_data | 
| gptp clock data.  More... | |
| struct | gptpipc_statistics_system | 
| struct | gptpipc_statistics_tas | 
| struct | gptpipc_gptpd_data | 
| data type to be used in IPC.  More... | |
| struct | gptpipc_thread_data_t | 
| variables to run gptp ipc thread  More... | |
Typedefs | |
| typedef int(* | gptpipc_cb_t) (gptpipc_gptpd_data_t *ipcrd, void *cb_data) | 
Functions | |
| struct gptpipc_notice_data | __attribute__ ((packed)) gptpipc_notice_data_t | 
| gptp notice data type  More... | |
| int | send_ipc_request (int ipcfd, int domainNumber, int portIndex, gptp_ipc_command_t cmd) | 
| request IPC data  More... | |
| int | gptpipc_init (gptpipc_thread_data_t *ipctd, int wait_toutsec) | 
| run gptp2d ipc thread  More... | |
| int | gptpipc_close (gptpipc_thread_data_t *ipctd) | 
| close IPC thread.  More... | |
| uint32_t event_flags | 
| int32_t domainNumber | 
| int32_t domainIndex | 
| int32_t portIndex | 
| ClockIdentity gmIdentity | 
| int64_t lastGmPhaseChange_nsec | 
| uint16_t gmTimeBaseIndicator | 
| uint8_t lastGmFreqChangePk | 
| int32_t subcmd | 
| int32_t msgtype | 
| int32_t eventtype | 
| float eventrate | 
| int32_t repeat | 
| int32_t interval | 
| int32_t eventpara | 
| gptpipc_client_req_abnormal_t abnd | 
| union { ... } u | 
| uint32_t speed | 
| uint32_t duplex | 
| ClockIdentity portid | 
| uint8_t up | 
| char devname[GPTPIPC_MAX_NETDEV_NAME] | 
| char ptpdev[GPTPIPC_MAX_PTPDEV_NAME] | 
| gptpipc_data_netlink_t nlstatus | 
| ClockIdentity gmClockId | 
| uint8_t asCapable | 
| uint8_t portOper | 
| uint8_t gmStable | 
| uint8_t selectedState | 
| uint64_t pDelay | 
| double pDelayRateRatio | 
| uint8_t annPathSequenceCount | 
| ClockIdentity annPathSequence[MAX_PATH_TRACE_N] | 
| ClockIdentity clockId | 
| uint64_t lastSyncReceiptTime_nsec | 
| uint64_t lastSyncReceiptLocalTime_nsec | 
| int32_t adjppb | 
| uint16_t lastSyncSeqID | 
| uint8_t gmsync | 
| uint8_t domainActive | 
| uint32_t pdelay_req_send | 
| uint32_t pdelay_resp_rec | 
| uint32_t pdelay_resp_rec_valid | 
| uint32_t pdelay_resp_fup_rec | 
| uint32_t pdelay_resp_fup_rec_valid | 
| uint32_t pdelay_req_rec | 
| uint32_t pdelay_req_rec_valid | 
| uint32_t pdelay_resp_send | 
| uint32_t pdelay_resp_fup_send | 
| uint32_t sync_send | 
| uint32_t sync_fup_send | 
| uint32_t sync_rec | 
| uint32_t sync_rec_valid | 
| uint32_t sync_fup_rec | 
| uint32_t sync_fup_rec_valid | 
| uint32_t announce_send | 
| uint32_t announce_rec | 
| uint32_t announce_rec_valid | 
| uint32_t signal_msg_interval_send | 
| uint32_t signal_gptp_capable_send | 
| uint32_t signal_rec | 
| uint32_t signal_msg_interval_rec | 
| uint32_t signal_gptp_capable_rec | 
| gptpd_data_type_t dtype | 
| gptpipc_notice_data_t notice | 
| gptpipc_ndport_data_t ndportd | 
| gptpipc_gport_data_t gportd | 
| gptpipc_clock_data_t clockd | 
| gptpipc_statistics_system_t statsd | 
| gptpipc_statistics_tas_t stattd |