|
OpENer - Open Source EtherNet/IP(TM) I/O Target Stack
2.1
|
#include "typedefs.h"#include "networkhandler.h"#include "enipmessage.h"#include "opener_user_conf.h"Go to the source code of this file.
Data Structures | |
| struct | cip_class |
| Class is a subclass of Instance. More... | |
| struct | cip_instance |
| struct | cip_service_struct |
| Service descriptor. These are stored in an array. More... | |
| struct | CipAttributeStruct |
| struct | CipByteArray |
| CIP Byte Array. More... | |
| struct | CipConnectionManagerConnectionEntryList |
| struct | CipConnectionPath |
| CIP Connection Path. More... | |
| struct | CipEpath |
| Struct for padded EPATHs. More... | |
| struct | CipMessageRouterRequest |
| CIP Message Router Request. More... | |
| struct | CipMessageRouterResponse |
| CIP Message Router Response. More... | |
| struct | CipRevision |
| Struct storing the CIP revision. More... | |
| struct | CipRoutePath |
| struct | CipShortString |
| CIP Short String. More... | |
| struct | CipString |
| CIP String. More... | |
| struct | CipStringN |
| struct | CipTcpIpNetworkInterfaceConfiguration |
| Struct for saving TCP/IP interface information. More... | |
| struct | CipUnconnectedSendParameter |
Macros | |
| #define | MASK1(a) ( 1 << (a) ) |
| #define | MASK2(a, b) ( 1 << (a) | 1 << (b) ) |
| #define | MASK3(a, b, c) ( 1 << (a) | 1 << (b) | 1 << (c) ) |
| #define | MASK4(a, b, c, d) ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) ) |
| #define | MASK5(a, b, c, d, e) ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) ) |
| #define | MASK6(a, b, c, d, e, f) ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) | 1 << (f) ) |
| #define | MASK7(a, b, c, d, e, f, g) ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) | 1 << (f) | 1 << (g) ) |
| #define | MASK8(a, b, c, d, e, f, g, h) |
| #define | MAX_SIZE_OF_ADD_STATUS 2 /* for now we support extended status codes up to 2 16bit values there is mostly only one 16bit value used */ |
Typedefs | |
| typedef struct cip_class | CipClass |
| Class is a subclass of Instance. More... | |
| typedef enum cip_data_types | CipDataType |
| Enum containing the encoding values for CIP data types for CIP Messages. More... | |
| typedef struct cip_instance | CipInstance |
| typedef EipStatus(* | CipServiceFunction )(CipInstance *const instance, CipMessageRouterRequest *const message_router_request, CipMessageRouterResponse *const message_router_response, struct sockaddr *originator_address, const int encapsulation_session) |
| Signature definition for the implementation of CIP services. More... | |
| typedef struct cip_service_struct | CipServiceStruct |
| Service descriptor. These are stored in an array. More... | |
| typedef enum connection_point_type | ConnectionPointType |
| #define MASK1 | ( | a | ) | ( 1 << (a) ) |
Definition at line 327 of file ciptypes.h.
| #define MASK2 | ( | a, | |
| b | |||
| ) | ( 1 << (a) | 1 << (b) ) |
Definition at line 328 of file ciptypes.h.
| #define MASK3 | ( | a, | |
| b, | |||
| c | |||
| ) | ( 1 << (a) | 1 << (b) | 1 << (c) ) |
Definition at line 329 of file ciptypes.h.
| #define MASK4 | ( | a, | |
| b, | |||
| c, | |||
| d | |||
| ) | ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) ) |
Definition at line 330 of file ciptypes.h.
| #define MASK5 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e | |||
| ) | ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) ) |
Definition at line 331 of file ciptypes.h.
| #define MASK6 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f | |||
| ) | ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) | 1 << (f) ) |
Definition at line 333 of file ciptypes.h.
| #define MASK7 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g | |||
| ) | ( 1 << (a) | 1 << (b) | 1 << (c) | 1 << (d) | 1 << (e) | 1 << (f) | 1 << (g) ) |
Definition at line 335 of file ciptypes.h.
| #define MASK8 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h | |||
| ) |
Definition at line 337 of file ciptypes.h.
| #define MAX_SIZE_OF_ADD_STATUS 2 /* for now we support extended status codes up to 2 16bit values there is mostly only one 16bit value used */ |
Definition at line 194 of file ciptypes.h.
Referenced by EncodeExtendedStatusDataItems().
| typedef enum cip_data_types CipDataType |
Enum containing the encoding values for CIP data types for CIP Messages.
| typedef struct cip_instance CipInstance |
| typedef struct cip_service_struct CipServiceStruct |
Service descriptor. These are stored in an array.
| typedef enum connection_point_type ConnectionPointType |
| enum cip_data_types |
Enum containing the encoding values for CIP data types for CIP Messages.
Definition at line 17 of file ciptypes.h.
| enum CIPAttributeFlag |
Definition of Get and Set Flags for CIP Attributes.
Definition at line 103 of file ciptypes.h.
| enum CIPServiceCode |
Definition of CIP service codes.
An Enum with all CIP service codes. Common services codes range from 0x01 to 0x1C
Definition at line 68 of file ciptypes.h.
| Enumerator | |
|---|---|
| kConnectionPointTypeProducing | |
| kConnectionPointTypeConsuming | |
| kConnectionPointTypeConfig | |
| kConnectionPointTypeMaxValue | |
Definition at line 159 of file ciptypes.h.
| enum IoConnectionEvent |
| Enumerator | |
|---|---|
| kIoConnectionEventOpened | |
| kIoConnectionEventTimedOut | |
| kIoConnectionEventClosed | |
Definition at line 113 of file ciptypes.h.