12#include <netinet/in.h>
17#ifndef IPPORT_USERRESERVED
18 #define IPPORT_USERRESERVED 5000
24#define DPID_BASE_PORT (IPPORT_USERRESERVED + 20)
27#define SRS_NAME "dpid.srs"
void send_sockport(int sock_fd, char *dpi_tag, struct dp *dpi_attr_list)
void free_services_list(Dlist *s_list)
void free_dpi_attr(struct dp *dpi_attr)
int init_all_dpi_sockets(struct dp *dpi_attr_list)
volatile sig_atomic_t caught_sigchld
int register_all_cmd(void)
int register_all(struct dp **attlist)
int init_dpi_socket(struct dp *dpi_attr)
void rm_dpi_sockets(struct dp *dpi_attr_list, int numdpis)
char * get_message(int sock, char *dpi_tag)
int init_ids_srs_socket(void)
void est_dpi_sigchld(void)
void handle_sigchld(void)
int get_dpi_attr(char *dpi_dir, char *service, struct dp *dpi_attr)
int service_match(const struct service *A, const char *B)
void stop_active_dpis(struct dp *dpi_attr_list, int numdpis)
int register_service(struct dp *dpi_attr, char *service)
void est_dpi_terminator(void)
enum file_type get_file_type(char *file_name)
int fill_services_list(struct dp *attlist, int numdpis, Dlist **services_list)
void free_plugin_list(struct dp **dpi_attr_list_ptr, int numdpis)
void dpi_sigchld(int sig)
struct dp * dpi_attr_list
void ignore_dpi_sockets(struct dp *dpi_attr_list, int numdpis)