| 844 | } |
| 845 | |
| 846 | void EncapsulationShutDown(void) { |
| 847 | OPENER_TRACE_INFO("encap.c: Encapsulation shutdown\n"); |
| 848 | for (size_t i = 0; i < OPENER_NUMBER_OF_SUPPORTED_SESSIONS; ++i) { |
| 849 | if (kEipInvalidSocket != g_registered_sessions[i]) { |
| 850 | CloseTcpSocket(g_registered_sessions[i]); |
| 851 | g_registered_sessions[i] = kEipInvalidSocket; |
| 852 | } |
| 853 | } |
| 854 | } |
| 855 | |
| 856 | void ManageEncapsulationMessages(const MilliSeconds elapsed_time) { |
| 857 | for (size_t i = 0; i < ENCAP_NUMBER_OF_SUPPORTED_DELAYED_ENCAP_MESSAGES; |
no test coverage detected