/home/aaron/olsrd-current/olsrd/src/bsd/kernel_routes.c File Reference

#include "kernel_routes.h"
#include "olsr.h"
#include "defs.h"
#include "process_routes.h"
#include "net_olsr.h"
#include "ipcalc.h"
#include <errno.h>
#include <unistd.h>
#include <net/if_dl.h>
#include <ifaddrs.h>
Include dependency graph for kernel_routes.c:

Go to the source code of this file.

Defines

#define OLSR_PID   getpid ()

Functions

static int add_del_route (const struct rt_entry *rt, int add)
int olsr_ioctl_add_route (const struct rt_entry *rt)
int olsr_ioctl_del_route (const struct rt_entry *rt)
static int add_del_route6 (const struct rt_entry *rt, int add)
int olsr_ioctl_add_route6 (const struct rt_entry *rt)
int olsr_ioctl_del_route6 (const struct rt_entry *rt)

Variables

static unsigned int seq = 0

Define Documentation

#define OLSR_PID   getpid ()

Definition at line 60 of file kernel_routes.c.

Referenced by add_del_route(), and add_del_route6().


Function Documentation

static int add_del_route ( const struct rt_entry rt,
int  add 
) [static]
static int add_del_route6 ( const struct rt_entry rt,
int  add 
) [static]
int olsr_ioctl_add_route ( const struct rt_entry rt  ) 

Definition at line 217 of file kernel_routes.c.

References add_del_route().

Here is the call graph for this function:

int olsr_ioctl_add_route6 ( const struct rt_entry rt  ) 

Definition at line 378 of file kernel_routes.c.

References add_del_route6().

Here is the call graph for this function:

int olsr_ioctl_del_route ( const struct rt_entry rt  ) 

Definition at line 223 of file kernel_routes.c.

References add_del_route().

Here is the call graph for this function:

int olsr_ioctl_del_route6 ( const struct rt_entry rt  ) 

Definition at line 384 of file kernel_routes.c.

References add_del_route6().

Here is the call graph for this function:


Variable Documentation

unsigned int seq = 0 [static]

Definition at line 63 of file kernel_routes.c.

Referenced by add_del_route(), and add_del_route6().

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