#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include "conntrackd.h"
#include "date.h"
#include "fds.h"
Functions | |
struct fds * | create_fds (void) |
void | destroy_fds (struct fds *fds) |
int | register_fd (int fd, void(*cb)(void *data), void *data, struct fds *fds) |
int | unregister_fd (int fd, struct fds *fds) |
void | __attribute__ ((noreturn)) |
void __attribute__ | ( | (noreturn) | ) |
References do_alarm_run(), do_gettimeofday(), get_next_alarm_run(), NULL, and STATE.
References INIT_LIST_HEAD, fds::list, and NULL.
Referenced by init().
References fds_item::fd, fds_item::head, fds::list, list_for_each_entry_safe, and fds::readfds.
Referenced by killer().
References fds_item::cb, fds_item::data, data, fds_item::fd, fds_item::head, fds::list, fds::maxfd, NULL, and fds::readfds.
Referenced by cthelper_init(), ctnl_init(), and init().
References fds_item::fd, fds_item::head, fds::list, list_for_each_entry, list_for_each_entry_safe, fds::maxfd, and fds::readfds.
Referenced by tcp_accept(), and tcp_recv().