|
Protocol++® (Protocolpp®) v5.7.2
|


Additional Inherited Members | |
Protected Member Functions inherited from InterfacePP::jsecproducer | |
| void | set_mem (std::string &packet, uint8_t *ptr) |
| run the testbench | |
| void | free_mem (std::string &packet) |
| run the testbench | |
| InterfacePP::jsectestbench::jsectestbench | ( | ProtocolPP::platform_t | platform, |
| uint64_t | seed, | ||
| bool | use_crypto, | ||
| int | responders, | ||
| std::shared_ptr< jmmu > & | mmu, | ||
| std::shared_ptr< jlogger > & | logger, | ||
| std::shared_ptr< ProtocolPP::jdata > & | indata, | ||
| std::shared_ptr< jring< ringflow > > & | fring, | ||
| std::shared_ptr< jring< secin > > & | iring, | ||
| std::shared_ptr< jring< secout > > & | oring, | ||
| ProtocolPP::endian_t | endianess = ProtocolPP::BIG, |
||
| uint32_t | ptrsize = 8, |
||
| uint32_t | sgtsize = 16 |
||
| ) |
jsectestbench uses protocol++ to drive packets into a ring which can then be read by any device that supports a ring
| platform | - Platform to connect testbench to (W.A.S.P or SEC) |
| seed | - seed for the testbench |
| use_crypto | - use cryptographic quality random numbers |
| responders | - number of responders used |
| mmu | - dynamic memory tracking |
| logger | - object to print output |
| indata | - JDATA object containing flows and packets |
| fring | - Software ring for the flows |
| iring | - Software ring for the input packets |
| oring | - Software ring for the output packets |
| endianess | - Endianess of the platform to support |
| ptrsize | - size of pointer (either 4 or 8 default=8) |
| sgtsize | - size of SG table entries (either 8 or 16 default=16) |
Retrieve pointer to uninitialized memory
| packet | - name of packet to associate memory with |
| length | - Length in bytes for memory location |
Implements InterfacePP::jsecproducer.
Read function to overload in your testbench
| address | - Address to register |
Implements InterfacePP::jsecproducer.
|
virtual |
Read function to overload in your testbench
| address | - Address to read data from |
| data | - Retrieved data |
| length | - Length of data to read |
Implements InterfacePP::jsecproducer.
Read function to overload in your testbench
| address | - Address to read data from |
| data | - Retrieved data |
| length | - Length of data to read |
Implements InterfacePP::jsecproducer.
|
virtual |
Write function to overload in your testbench
| packet | - name of packet to associate memory with |
| data | - Word oriented data to write |
| length | - length of data to write |
Implements InterfacePP::jsecproducer.
|
virtual |
Write function to overload in your testbench
| packet | - name of packet to associate memory with |
| data | - Data to write to memory |
| length | - length of data to write |
Implements InterfacePP::jsecproducer.
Write function to overload in your testbench
| address | - Address to write data to |
| data | - Data to write to memory |
Implements InterfacePP::jsecproducer.
Write function to overload in your testbench
| address | - Address to write data to |
| data | - Data to write to memory |
Implements InterfacePP::jsecproducer.