/home/aaron/olsrd-current/olsrd/src/core/olsr_ip_acl.c File Reference

#include "ipcalc.h"
#include "olsr_ip_prefix_list.h"
#include "olsr_ip_acl.h"
Include dependency graph for olsr_ip_acl.c:

Go to the source code of this file.

Functions

void ip_acl_init (struct ip_acl *acl)
void ip_acl_flush (struct ip_acl *acl)
void ip_acl_add (struct ip_acl *acl, const union olsr_ip_addr *net, uint8_t prefix_len, bool reject)
void ip_acl_remove (struct ip_acl *acl, const union olsr_ip_addr *net, uint8_t prefix_len, bool reject, int ip_version)
bool ip_acl_acceptable (struct ip_acl *acl, const union olsr_ip_addr *ip, int ip_version)

Function Documentation

bool ip_acl_acceptable ( struct ip_acl acl,
const union olsr_ip_addr ip,
int  ip_version 
)
void ip_acl_add ( struct ip_acl acl,
const union olsr_ip_addr net,
uint8_t  prefix_len,
bool  reject 
)

Definition at line 63 of file olsr_ip_acl.c.

References ip_acl::accept, ip_prefix_list_add(), and ip_acl::reject.

Referenced by debuginfo_enable(), ip_acl_add_plugin_accept(), ip_acl_add_plugin_reject(), olsrd_plugin_init(), and txtinfo_init().

Here is the call graph for this function:

void ip_acl_flush ( struct ip_acl acl  ) 

Definition at line 56 of file olsr_ip_acl.c.

References ip_acl::accept, ip_prefix_list_flush(), and ip_acl::reject.

Referenced by debuginfo_disable(), olsr_plugin_exit(), and txtinfo_exit().

Here is the call graph for this function:

void ip_acl_init ( struct ip_acl acl  ) 

Definition at line 47 of file olsr_ip_acl.c.

References ip_acl::accept, ip_acl::default_accept, ip_acl::first_accept, list_init_head(), and ip_acl::reject.

Referenced by debuginfo_init(), my_init(), and txtinfo_init().

Here is the call graph for this function:

void ip_acl_remove ( struct ip_acl acl,
const union olsr_ip_addr net,
uint8_t  prefix_len,
bool  reject,
int  ip_version 
)

Definition at line 69 of file olsr_ip_acl.c.

References ip_acl::accept, ip_prefix_list_remove(), and ip_acl::reject.

Here is the call graph for this function:

Generated on Thu May 16 06:00:06 2013 for olsrd by  doxygen 1.6.3