6 #ifndef OPENER_CIPMESSAGEROUTER_H_
7 #define OPENER_CIPMESSAGEROUTER_H_
12 static const int kCipMessageRouterClassCode = 0x02;
45 const struct sockaddr *
const originator_address,
46 const int encapsulation_session);
Class is a subclass of Instance.
EipStatus RegisterCipClass(CipClass *cip_class)
Register a CIP Class to the message router.
EipStatus
EIP stack status enum.
EipStatus NotifyMessageRouter(EipUint8 *data, int data_length, const struct sockaddr *const originator_address, const int encapsulation_session)
Notify the MessageRouter that an explicit message (connected or unconnected) has been received...
CIP Message Router Response.
void DeleteAllClasses(void)
Free all data allocated by the classes created in the CIP stack.
EipStatus CipMessageRouterInit(void)
Initialize the data structures of the message router.
CipMessageRouterResponse g_message_router_response
Structure for storing the Response generated by an explict message.