Refactor file descriptor handling in rfsimulator
- add hashtable iterator to hashtable.c
- use hashtable for file descriptor to buffer_t mapping in rfsimulator
This enables the use of file descriptors above 250. The linux file descriptors can reach the value of FD_SETSIZE which could be e.g. 1024. This is not an issue in most cases but if the UE or gNB process opens a lot of file descriptors for other purposes we might see rfsimulator file descriptors reach > 250 and cause a segfault.
Also added tests for new hashtable functions.
Edited by Bartosz Podrygajlo