| 175 | } |
| 176 | |
| 177 | unsigned 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 | |
| 186 | unsigned int GetPathPortSegmentExtendedPortNumber( |
| 187 | const unsigned char *const cip_path) { |