helloBye3.hpp
Go to the documentation of this file.
void HelloBye3_Server_free(void *obj)
Free recources used by the state machine.
Definition: helloBye3.cpp:340
Definition: helloBye3.hpp:13
void * HelloBye3_Client_process(void *obj, struct rte_mbuf **inPkts, unsigned int inCount, unsigned int *sendCount, unsigned int *freeCount)
Process a batch of packets.
Definition: helloBye3.cpp:395
ConnectionID(uint64_t i)
Definition: helloBye3.hpp:51
Definition: helloBye3.hpp:89
bool operator<(const ConnectionID &c) const
Definition: helloBye3.hpp:43
void HelloBye3_Client_free(void *obj)
Free recources used by the state machine.
Definition: helloBye3.cpp:408
void runHello(StateMachine< Identifier< mbuf >, mbuf >::State &state, mbuf *pkt, StateMachine< Identifier< mbuf >, mbuf >::FunIface &funIface)
Definition: helloBye3.cpp:28
StateMachine< Identifier< mbuf >, mbuf >::State createHello(uint32_t srcIp, uint32_t dstIp, uint16_t srcPort, uint16_t dstPort, uint64_t ident)
Definition: helloBye3.cpp:145
void runHello(StateMachine< Identifier< mbuf >, mbuf >::State &state, mbuf *pkt, StateMachine< Identifier< mbuf >, mbuf >::FunIface &funIface)
Definition: helloBye3.cpp:162
void HelloBye3_Server_getPkts(void *obj, struct rte_mbuf **sendPkts, struct rte_mbuf **freePkts)
Get the packets to send and free.
Definition: helloBye3.cpp:330
ConnectionID(const ConnectionID &c)
Definition: helloBye3.hpp:49
uint64_t operator()(const ConnectionID &c) const
Definition: helloBye3.hpp:54
void * HelloBye3_Server_process(void *obj, struct rte_mbuf **inPkts, unsigned int inCount, unsigned int *sendCount, unsigned int *freeCount)
Process a batch of packets.
Definition: helloBye3.cpp:316
void runBye(StateMachine< Identifier< mbuf >, mbuf >::State &state, mbuf *pkt, StateMachine< Identifier< mbuf >, mbuf >::FunIface &funIface)
Definition: helloBye3.cpp:91
Definition: helloBye3.hpp:36
bool operator==(const ConnectionID &c) const
Definition: helloBye3.hpp:42
Definition: helloBye3.hpp:93
Definition: exceptions.hpp:7
Definition: helloBye3.hpp:117
Definition: helloBye3.hpp:15
void runBye(StateMachine< Identifier< mbuf >, mbuf >::State &state, mbuf *pkt, StateMachine< Identifier< mbuf >, mbuf >::FunIface &funIface)
Definition: helloBye3.cpp:204
Definition: helloBye3.hpp:53
Definition: helloBye3.hpp:127
void runRecvBye(StateMachine< Identifier< mbuf >, mbuf >::State &state, mbuf *pkt, StateMachine< Identifier< mbuf >, mbuf >::FunIface &funIface)
Definition: helloBye3.cpp:255
void * HelloBye3_Client_connect(void *obj, struct rte_mbuf **inPkts, unsigned int inCount, unsigned int *sendCount, unsigned int *freeCount, uint32_t srcIP, uint32_t dstIP, uint16_t srcPort, uint16_t dstPort, uint64_t ident)
Open a connection to a server.
Definition: helloBye3.cpp:363
static ConnectionID identify(Packet *pkt)
Definition: helloBye3.hpp:56
void HelloBye3_Client_getPkts(void *obj, struct rte_mbuf **sendPkts, struct rte_mbuf **freePkts)
Get the packets to send and free.
Definition: helloBye3.cpp:385
void * factory(Identifier< mbuf >::ConnectionID id)
Definition: helloBye3.cpp:20