OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cipethernetlink.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2009, Rockwell Automation, Inc.
3  * All rights reserved.
4  *
5  ******************************************************************************/
6 #ifndef OPENER_CIPETHERNETLINK_H_
7 #define OPENER_CIPETHERNETLINK_H_
8 
9 #include "typedefs.h"
10 #include "ciptypes.h"
11 
12 #define CIP_ETHERNETLINK_CLASS_CODE 0xF6
13 
14 /* public functions */
20 
21 int EncodeInterfaceCounters(EipUint8 **pa_acMsg);
22 
23 int EncodeMediaCounters(EipUint8 **pa_acMsg);
24 
25 int EncodeInterfaceControl(EipUint8 **pa_acMsg);
26 
27 int EncodeInterfaceCapability(EipUint8 **pa_acMsg);
28 
30  CipInstance *RESTRICT const instance,
31  CipMessageRouterRequest *const message_router_request,
32  CipMessageRouterResponse *const message_router_response,
33  struct sockaddr *originator_address,
34  const int encapsulation_session);
35 
37 typedef struct {
40  EipUint8 physical_address[6];
42 
43 /* global private variables */
44 
46 
47 #endif /* OPENER_CIPETHERNETLINK_H_*/
CIP Message Router Request.
Definition: ciptypes.h:187
EipStatus
EIP stack status enum.
Definition: typedefs.h:93
uint8_t EipUint8
Definition: typedefs.h:32
uint32_t EipUint32
Definition: typedefs.h:34
CIP Message Router Response.
Definition: ciptypes.h:199
Data of an CIP Ethernet Link object.