connections.c File Reference

#include "auth_srv.h"

Include dependency graph for connections.c:

Go to the source code of this file.

Defines

#define compare_iface(x)

Functions

void free_connection_callback (gpointer conn, gpointer unused)
void free_connection_list (GSList *list)
nu_error_t compare_iface_nfo_t (iface_nfo_t *a, iface_nfo_t *b)
void free_connection (connection_t *conn)
void duplicate_iface_nfo (iface_nfo_t *copy, iface_nfo_t *orig)
connection_tduplicate_connection (connection_t *element)
int conn_cl_remove (gconstpointer conn)
int conn_cl_delete (gconstpointer conn)
gboolean get_old_conn (gpointer key, gpointer value, gpointer user_data)
 This function is used by clean_connections_list() to check if a connection is 'old' (outdated) or not.
static void clean_connection_list_callback (gpointer key, gpointer value, gpointer data)
void clean_connections_list ()
 Find old connection and delete them.
static char * decision_to_str (decision_t decision)
static char * str_print_tracking_t (tracking_t *tracking)
nu_error_t print_tracking_t (tracking_t *tracking)
gint print_connection (gpointer data, gpointer userdata)


Define Documentation

#define compare_iface (  ) 

Value:

if (a->x[0]) { \
                                if (b->x[0]) { \
                                        if (strncmp(a->x, b->x, IFNAMSIZ)) { \
                                                return NU_EXIT_ERROR; \
                                        } \
                                } else { \
                                        return NU_EXIT_ERROR; \
                                } \
                        }

Referenced by compare_iface_nfo_t().


Generated on Wed Jan 7 04:00:42 2009 for NuFW by  doxygen 1.4.7