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

Function GetPathPortSegmentLinkAddressSize

source/src/cip/cipepath.c:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177unsigned int GetPathPortSegmentLinkAddressSize(
178 const unsigned char *const cip_path) {
179/* OPENER_ASSERT(false == GetPathPortSegmentExtendedLinkAddressSizeBit(cip_path),
180 "Call to non existent extended link address size\n") */
181 OPENER_ASSERT( true ==
182 GetPathPortSegmentExtendedLinkAddressSizeBit(cip_path) )
183 return *(cip_path + 1);
184}
185
186unsigned int GetPathPortSegmentExtendedPortNumber(
187 const unsigned char *const cip_path) {

Callers 1

TESTFunction · 0.85

Tested by 1

TESTFunction · 0.68