Review Article

DDoS-Capable IoT Malwares: Comparative Analysis and Mirai Investigation

Listing 14

Struct that contains information of each worker.
root/loader/src/headers/server.h
(22)   struct server_worker
(23)    struct server  srv;
(24)    int  efd; // We create a separate epoll
      context per thread so thread safety
      isn’t our problem
(25)    pthread_t thread;
(26)    uint8_t thread_id;
(27)   ;