|
int32_t | nai_ether_ConvertGen4RspCode (nai_ether_typecode_t typecode, int32_t offset) |
|
int32_t | nai_ether_GetSegmentPointer (int32_t maxPacketSize, int32_t datawidth, int32_t bufferSize, const void *dataStart, int32_t segmentCount, void **dataSegment, int32_t *segmentSize) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetSockInfo (nai_socket_t s, nai_ether_upr_type_t *outtype, uint8_t ipaddr[], uint16_t *port) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_CreateUDPServerSocket (nai_socket_t *outsock, uint16_t port) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_Open (nai_socket_t *outsock, bool_t udp, const char *ipaddr, const char *port, uint32_t timeout) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_Close (nai_socket_t sock) |
|
NAIFUNC nai_ether_gen_t NAIAPI | nai_ether_GetEtherGen (int32_t typecode) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MessageHeader (uint8_t msgbuf[], uint16_t seq, nai_ether_typecode_t typecode, nai_ether_gen_t gen) |
|
NAIFUNC int32_t NAIAPI | nai_ether_FinishMessage (uint8_t msgbuf[], int32_t offset, nai_ether_gen_t gen) |
| Handles filling in the message size field and the postamble fields in the message buffer.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeMessageHeader (const uint8_t msg[], int32_t msgsize, uint16_t *seq, nai_ether_typecode_t *typecode, nai_ether_gen_t gen, int32_t *size) |
| Handles decoding the Ethernet Message Header and extracting the sequence number, type code and message size.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_BeginWriteMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth) |
| Handles filling in the message buffer with the data associated with the Ethernet Write Registers message. The data to be written to the Ethernet Write Registers message is handled by calling nai_ether_WriteMessageData().
|
|
NAIFUNC int32_t NAIAPI | nai_ether_BeginWriteNoReplyMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth) |
| Handles filling in the message buffer with the data associated with the Ethernet Write with No Reply Registers message. The data to be written to the Ethernet Write No Reply Registers message is handled by calling nai_ether_WriteMessageData().
|
|
NAIFUNC int32_t NAIAPI | nai_ether_BeginSendRecvMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteRegMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t data) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeNopMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen) |
| Handles filling in the message buffer with the data associated with the Ethernet NOP message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeReadMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth) |
| Handles filling in the message buffer with the data associated with the Ethernet Read Registers message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeReadMessage (nai_ether_typecode_t typecode, nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint32_t *regwidth, void *buffer, uint32_t bufferwidth, uint32_t buffercnt) |
| Handles decoding the Ethernet Read Message and extracting the count, register width and start of the data.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteMaskMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t regwidth, uint32_t mask, uint32_t data) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeMaskRegMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t regwidth, uint32_t mask, nai_maskreg_op_t maskop) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeFifoReadMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t dataaddr, uint32_t countaddr, uint32_t count, uint32_t regwidth, uint32_t timeout) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeFifoReadMessage (nai_ether_typecode_t typecode, const uint8_t msg[], int32_t offset, uint32_t *count, uint32_t *regwidth, void *buffer, uint32_t bufferwidth, uint32_t buffercnt, uint32_t *countRemaining) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeReadRegMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeReadRegMessage (nai_ether_typecode_t typecode, const uint8_t msg[], int32_t offset, uint32_t *value) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeSetBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, nai_intf_t intf, uint32_t regwidth, uint32_t count, uint32_t address[]) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeGetBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeGetBlockMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint32_t *regcount, void *buffer, uint32_t bufferwidth, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeClearBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeReadBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
| Handles filling in the message buffer with the data associated with the Ethernet Read Block message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeReadBlockMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t regwidth, uint32_t *datacount, void *buffer, uint32_t bufferwidth, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
| Handles filling in the message buffer with the data associated with the Ethernet Write Block message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteNoReplyBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
| Handles filling in the message buffer with the data associated with the Ethernet Write Block with No Reply message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeSetZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint16_t addrflags[], uint32_t address[]) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeGetZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeGetZBlockMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint32_t *regcount, void *flags, void *buffer, uint32_t bufferwidth, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeClearZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeReadZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeReadZBlockMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t regwidth, uint32_t *datacount, void *buffer, uint32_t bufferwidth, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteNoReplyZBlockMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeSetTDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid, uint16_t protocol, uint16_t iplen, uint8_t ip[], uint16_t port, uint16_t period, uint16_t cmdcount, uint8_t buffer[], uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeGetTDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeGetTDRMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint16_t *protocol, uint16_t *iplen, uint8_t ip[], uint16_t *port, uint16_t *period, uint16_t *cmdcount, void *buffer, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeClearTDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeStartTDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeStopTDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeSetIDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t idrid, uint16_t protocol, uint16_t iplen, uint8_t ip[], uint16_t port, uint32_t vector, uint16_t cmdcount, uint8_t buffer[], uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeGetIDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeGetIDRMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint16_t *protocol, uint16_t *iplen, uint8_t ip[], uint16_t *port, uint32_t *vector, uint16_t *cmdcount, void *buffer, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeClearIDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeStartIDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeStopIDRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeWriteScriptMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid, uint16_t cmdcount, uint8_t buffer[], uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeReadScriptMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeReadScriptMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint32_t *count, uint16_t *cmdcount, void *buffer, uint32_t buffercnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeClearScriptMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeExecuteScriptMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeRunScriptMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeSetSafeStateScriptIDMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeGetSafeStateScriptIDMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeGetSafeStateScriptIDMessage (nai_ether_gen_t gen, const uint8_t msg[], int32_t offset, uint16_t *scriptid) |
|
NAIFUNC int32_t NAIAPI | nai_ether_BeginFlashProgMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint32_t addr, uint32_t count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeFlashProgMessage (nai_ether_typecode_t typecode, const uint8_t msg[], int32_t offset, uint32_t *count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeFlashReadMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint32_t addr, uint32_t count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_DecodeFlashReadMessage (nai_ether_typecode_t typecode, const uint8_t msg[], int32_t offset, uint32_t *count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeFlashEraseMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint32_t addr) |
|
NAIFUNC int32_t NAIAPI | nai_ether_MakeUPRMessage (uint8_t msgbuf[], uint16_t seq, nai_ether_gen_t gen, uint8_t slot, nai_ether_upr_type_t type, const uint8_t ip[], uint16_t udpport, uint16_t vector_periodms, const uint8_t uprmsg[], int32_t uprlen) |
|
NAIFUNC int32_t NAIAPI | nai_ether_WriteMessageData (uint8_t msgbuf[], int32_t offset, uint32_t msgdatawidth, const void *data, uint32_t datawidth, uint32_t count) |
| Handles filling in the message buffer with the data values associated with the Ethernet Write Registers message.
|
|
NAIFUNC int32_t NAIAPI | nai_ether_ReadMessageData (void *data, uint32_t datawidth, const uint8_t msgbuf[], int32_t offset, uint32_t msgdatawidth, uint32_t count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_WriteRxMessage (uint8_t msgbuf[], int32_t offset, uint32_t rxaddress, uint32_t rxcountaddress, uint32_t rxcount) |
|
NAIFUNC int32_t NAIAPI | nai_ether_ReadZBlockConfigData (void *flag, void *regaddr, const uint8_t msgbuf[], int32_t offset, uint32_t count) |
|
NAIFUNC int32_t NAIAPI | nai_ether_ReceiveMessage (nai_socket_t sock, uint8_t outmsg[], int32_t outmsgsize, uint16_t *respseq, nai_ether_typecode_t *resptc, nai_ether_gen_t gen, int32_t *respsize, int32_t timeout) |
|
NAIFUNC int32_t NAIAPI | nai_ether_SendMessage (nai_socket_t sock, const uint8_t inmsg[], int32_t inmsglen, uint8_t outmsg[], int32_t outmsgsize, uint16_t seq, nai_ether_typecode_t *resptc, nai_ether_gen_t gen, int32_t *respsize, int32_t timeout) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_LogIn (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, const char *password) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_LogOut (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_Write (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t regwidth, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth, const void *data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_NOP (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_Read (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t regwidth, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth, void *data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteReg (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ReadReg (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t *data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteMask (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint32_t regwidth, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t mask, uint32_t data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_MaskReg (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint32_t regwidth, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t addr, uint32_t mask, nai_maskreg_op_t maskop) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_SetBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, nai_intf_t intf, uint32_t regwidth, uint32_t count, uint32_t address[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t arraysize, uint32_t outaddress[], uint32_t *regcount) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ClearBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ReadBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t arraysize, uint32_t outdata[], uint32_t *datacount) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_SetZBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint16_t addrflags[], uint32_t address[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetZBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t arraysize, uint16_t outaddrflags[], uint32_t outaddress[], uint32_t *regcount) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ClearZBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ReadZBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t arraysize, uint32_t outdata[], uint32_t *datacount) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteZBlock (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_SetTDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid, uint16_t protocol, uint16_t iplen, uint8_t ip[], uint16_t port, uint16_t period, uint16_t count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetTDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid, uint16_t *protocol, uint16_t *iplen, uint8_t ip[], uint16_t *port, uint16_t *period, uint16_t *count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ClearTDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_StartTDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_StopTDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t tdrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_SetIDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t idrid, uint16_t protocol, uint16_t iplen, uint8_t ip[], uint16_t port, uint32_t vector, uint16_t count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetIDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t idrid, uint16_t *protocol, uint16_t *iplen, uint8_t ip[], uint16_t *port, uint32_t *vector, uint16_t *count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ClearIDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_StartIDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_StopIDR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t idrid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteScript (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid, uint16_t count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ReadScript (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid, uint16_t *count, uint32_t arraysize, uint8_t command[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ClearScript (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_RunScript (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid, int32_t cmdcount, int32_t dataSz, int32_t *dataLen, uint8_t *data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_ExecuteScript (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_SetSafeStateScriptID (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t scriptid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_GetSafeStateScriptID (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t *scriptid) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_FifoRead (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t dataaddr, uint32_t countaddr, uint32_t count, uint32_t *countRemaining, uint32_t datawidth, uint32_t timeout, void *data, uint32_t *outread) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteNoReply (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t regwidth, uint32_t addr, uint32_t stride, uint32_t count, uint32_t datawidth, const void *data) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteBlockNoReply (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_WriteZBlockNoReply (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint16_t blockid, uint32_t regwidth, uint32_t count, uint32_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_1553_send_and_receive (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, nai_intf_t intf, uint32_t regwidth, uint32_t txaddress, uint32_t rxaddress, uint32_t rxcountaddress, uint32_t stride, uint32_t txcount, uint32_t width, const void *txdata, uint32_t rxcount, void *rxdata) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_FlashProg (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint32_t addr, uint32_t count, const uint8_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_FlashRead (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint32_t addr, uint32_t count, uint8_t data[]) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_FlashErase (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, int32_t gen, uint32_t addr) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_UPR (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint8_t slot, nai_ether_upr_type_t type, const uint8_t ip[], uint16_t udpport, uint16_t vector_periodms, const uint8_t uprmsg[], int32_t uprlen) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_DirectInterrupts (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint32_t direction) |
|
NAIFUNC nai_status_t NAIAPI | nai_ether_QueryDirectInterrupts (nai_socket_t sock, uint8_t msgbuf[], uint32_t msgsize, uint16_t seq, nai_ether_gen_t gen, uint32_t *outdirection) |
|
NAIFUNC int32_t | nai_ether_GetMsgDataWidth (nai_ether_gen_t gen, uint32_t reqwidth) |
|
NAIFUNC int32_t NAIAPI | nai_ether_FlushData (nai_socket_t sock, uint32_t *flushcnt) |
|
NAIFUNC int32_t NAIAPI | nai_ether_GetTimeout (void) |
|
NAIFUNC int32_t NAIAPI | nai_ether_SetTimeout (int32_t timeout) |
|