Data Structures | Namespaces | Defines

include/roc/defines_udp.h File Reference

(r4864/r884)

#include <stdint.h>
Include dependency graph for defines_udp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  roc::UdpMessage
struct  roc::UdpMessageFull
struct  roc::UdpDataRequest
struct  roc::UdpDataRequestFull
struct  roc::UdpDataPacket
struct  roc::UdpDataPacketFull
struct  roc::BoardStatistic
union  roc::ISEBinfileHeader

Namespaces

namespace  roc
 

namespace to hold core components of ROCsoft


Defines

#define ROC_PASSWORD   832226211
#define ROC_ETH_OCM   0x110090
#define ROC_ETH_CFG_READ   0x110060
#define ROC_ETH_CFG_WRITE   0x110064
#define ROC_ETH_OVERWRITE_SD_FILE   0x110068
#define ROC_ETH_SWITCHCONSOLE   0x110100
#define ROC_ETH_START_DAQ   0x100100
#define ROC_ETH_STOP_DAQ   0x100104
#define ROC_ETH_SUSPEND_DAQ   0x100108
#define ROC_ETH_IP_ADDRESS   0x110000
#define ROC_ETH_NETMASK   0x110004
#define ROC_ETH_MAC_ADDRESS_UPPER   0x110008
#define ROC_ETH_MAC_ADDRESS_LOWER   0x11000C
#define ROC_ETH_MASTER_LOGIN   0x110010
#define ROC_ETH_MASTER_DATAPORT   0x110014
#define ROC_ETH_MASTER_CTRLPORT   0x110018
#define ROC_ETH_BUFFER_FLUSH_TIMER   0x11001C
#define ROC_ETH_MASTER_LOGOUT   0x110020
#define ROC_ETH_MASTER_IP   0x110024
#define ROC_ETH_RESTART_NETWORK   0x110028
#define ROC_ETH_CONSOLE_OUTPUT   0x11002C
#define ROC_ETH_LOST_ETHER_FRAMES   0x110030
#define ROC_ETH_UKNOWN_ETHER_FRAMES   0x110034
#define ROC_ETH_TEMAC_PRINT   0x11003C
#define ROC_ETH_TEMAC_REG0   0x110040
#define ROC_ETH_CTRLPORT   0x110044
#define ROC_ETH_DATAPORT   0x110048
#define ROC_ETH_BURST_LOOPCNT   0x11004C
#define ROC_ETH_OCM_LOOPCNT   0x110050
#define ROC_ETH_CONSOLE_CMD   0x11006C
#define ROC_ETH_STATBLOCK   0x110070
#define ROC_ETH_DEBUGMSG   0x110074
#define ROC_ETH_HIGHWATER   0x110080
#define ROC_ETH_LOWWATER   0x110084
#define ROC_ETH_NUMBUFALLOC   0x110088
#define ROC_ETH_FLASH_KIBFILE_FROM_DDR   0x120000
#define ROC_ETH_FLASH_ADDR   0x120004
#define ROC_ETH_FLASH_DATA   0x120008
#define ROC_ETH_FLASH_CLEAR_FILEBUFFER   0x12000C
#define ROC_ETH_CHECK_BITFILEBUFFER   0x120010
#define ROC_ETH_CHECK_BITFILEFLASH0   0x120014
#define ROC_ETH_CHECK_BITFILEFLASH1   0x120018
#define ROC_ETH_CHECK_FILEBUFFER   0x120020
#define ROC_ETH_DLM   0x130000
#define ROC_DEFAULT_CTRLPORT   13132
#define ROC_DEFAULT_DATAPORT   13131
#define ROC_PEEK   111
#define ROC_POKE   112
#define ROC_CONSOLE   113
#define ROC_NOPER   114
#define NOPER_PUT   0x80000000
#define NOPER_GET   0x0
#define NOPER_OPER_MASK   0x80000000
#define NOPER_ADDR_MASK   0x7fffffff
#define UDP_PAYLOAD_OFFSET   42
#define MAX_UDP_PAYLOAD   1472
#define MESSAGES_PER_PACKET   243
#define SC_BITFILE_BUFFER_SIZE   4194304

Define Documentation

#define MAX_UDP_PAYLOAD   1472
#define MESSAGES_PER_PACKET   243

Definition at line 87 of file defines_udp.h.

#define NOPER_ADDR_MASK   0x7fffffff

Definition at line 82 of file defines_udp.h.

#define NOPER_GET   0x0

Definition at line 80 of file defines_udp.h.

Referenced by UdpSimulator::NOper().

#define NOPER_OPER_MASK   0x80000000

Definition at line 81 of file defines_udp.h.

#define NOPER_PUT   0x80000000

Definition at line 79 of file defines_udp.h.

Referenced by roc::UdpControlSocket::checkCommandsQueue(), and UdpSimulator::NOper().

#define ROC_CONSOLE   113

Definition at line 76 of file defines_udp.h.

Referenced by roc::UdpDevice::processCtrlMessage().

#define ROC_DEFAULT_CTRLPORT   13132

Definition at line 70 of file defines_udp.h.

#define ROC_DEFAULT_DATAPORT   13131

Definition at line 71 of file defines_udp.h.

#define ROC_ETH_BUFFER_FLUSH_TIMER   0x11001C
#define ROC_ETH_BURST_LOOPCNT   0x11004C

Definition at line 38 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_CFG_READ   0x110060
#define ROC_ETH_CFG_WRITE   0x110064
#define ROC_ETH_CHECK_BITFILEBUFFER   0x120010

Definition at line 52 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_CHECK_BITFILEFLASH0   0x120014

Definition at line 53 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_CHECK_BITFILEFLASH1   0x120018

Definition at line 54 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_CHECK_FILEBUFFER   0x120020

Definition at line 55 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_CONSOLE_CMD   0x11006C
#define ROC_ETH_CONSOLE_OUTPUT   0x11002C
#define ROC_ETH_CTRLPORT   0x110044

Definition at line 36 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_DATAPORT   0x110048

Definition at line 37 of file defines_udp.h.

Referenced by UdpSimulator::GetReg(), and roc::UdpBoard::UdpBoard().

#define ROC_ETH_DEBUGMSG   0x110074

Definition at line 42 of file defines_udp.h.

Referenced by roc::UdpDevice::processCtrlMessage(), and roc::UdpBoard::UdpBoard().

#define ROC_ETH_DLM   0x130000

Definition at line 57 of file defines_udp.h.

Referenced by roc::UdpBoard::invokeDLM(), and UdpSimulator::PutReg().

#define ROC_ETH_FLASH_ADDR   0x120004

Definition at line 49 of file defines_udp.h.

#define ROC_ETH_FLASH_CLEAR_FILEBUFFER   0x12000C

Definition at line 51 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard(), and roc::UdpBoard::uploadDataToRoc().

#define ROC_ETH_FLASH_DATA   0x120008

Definition at line 50 of file defines_udp.h.

Referenced by roc::UdpBoard::uploadDataToRoc().

#define ROC_ETH_FLASH_KIBFILE_FROM_DDR   0x120000
#define ROC_ETH_HIGHWATER   0x110080
#define ROC_ETH_IP_ADDRESS   0x110000

Definition at line 20 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_LOST_ETHER_FRAMES   0x110030

Definition at line 32 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_LOWWATER   0x110084
#define ROC_ETH_MAC_ADDRESS_LOWER   0x11000C

Definition at line 23 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_MAC_ADDRESS_UPPER   0x110008

Definition at line 22 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_MASTER_CTRLPORT   0x110018

Definition at line 26 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_MASTER_DATAPORT   0x110014
#define ROC_ETH_MASTER_IP   0x110024

Definition at line 29 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_MASTER_LOGIN   0x110010
#define ROC_ETH_MASTER_LOGOUT   0x110020
#define ROC_ETH_NETMASK   0x110004

Definition at line 21 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_NUMBUFALLOC   0x110088

Definition at line 45 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_OCM   0x110090
#define ROC_ETH_OCM_LOOPCNT   0x110050

Definition at line 39 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_OVERWRITE_SD_FILE   0x110068
#define ROC_ETH_RESTART_NETWORK   0x110028

Definition at line 30 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_START_DAQ   0x100100
#define ROC_ETH_STATBLOCK   0x110070
#define ROC_ETH_STOP_DAQ   0x100104
#define ROC_ETH_SUSPEND_DAQ   0x100108
#define ROC_ETH_SWITCHCONSOLE   0x110100

Definition at line 16 of file defines_udp.h.

Referenced by roc::UdpBoard::switchToConsole(), and roc::UdpBoard::UdpBoard().

#define ROC_ETH_TEMAC_PRINT   0x11003C

Definition at line 34 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_ETH_TEMAC_REG0   0x110040

Definition at line 35 of file defines_udp.h.

Referenced by cmd_printroc(), and roc::UdpBoard::UdpBoard().

#define ROC_ETH_UKNOWN_ETHER_FRAMES   0x110034

Definition at line 33 of file defines_udp.h.

Referenced by roc::UdpBoard::UdpBoard().

#define ROC_NOPER   114

Definition at line 77 of file defines_udp.h.

Referenced by UdpSimulator::OnRawData().

#define ROC_PASSWORD   832226211
#define ROC_PEEK   111
#define ROC_POKE   112
#define SC_BITFILE_BUFFER_SIZE   4194304

Definition at line 90 of file defines_udp.h.

#define UDP_PAYLOAD_OFFSET   42