MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / CalculateIndex

Function CalculateIndex

source/src/cip/cipcommon.c:906–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904}
905
906size_t CalculateIndex(EipUint16 attribute_number) {
907 size_t index = attribute_number / 8;
908 return index;
909}
910
911size_t GetSizeOfAttribute(const CipAttributeStruct *const attribute_struct) {
912 size_t data_type_size = 0;

Callers 8

SetAttributeSingleQoSFunction · 0.85
InsertAttributeFunction · 0.85
GetAttributeSingleFunction · 0.85
GetAttributeAllFunction · 0.85
AllocateAttributeMasksFunction · 0.85
SetAttributeSingleTcpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected