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

bogons.h File Reference


Detailed Description

Support for IP bogons detection.

Author:
Raphael Manfredi
Date:
2004

#include "common.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 Sat Jun 30 17:53:25 2007 for gtk-gnutella by  doxygen 1.3.9.1