Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

bogons.h File Reference


Detailed Description

Support for IP bogons detection.

Author:
Raphael Manfredi
Date:
2004

#include <glib.h>
#include "lib/host_addr.h"

Go to the source code of this file.

Functions

gboolean bogons_check (const host_addr_t addr)
 Check the given IP against the entries in the bogus IP database.

void bogons_init (void)
 Called on startup.

void bogons_close (void)
 Frees all entries in the hostiles.


Function Documentation

gboolean bogons_check const host_addr_t  ha  ) 
 

Check the given IP against the entries in the bogus IP database.

Returns:
TRUE if found, and FALSE if not.

void bogons_close void   ) 
 

Frees all entries in the hostiles.

void bogons_init void   ) 
 

Called on startup.

Loads the bogons.txt into memory.


Generated on Sun Feb 12 10:49:59 2006 for Gtk-Gnutella by doxygen 1.3.6