OLSRd configuration and process management. More...
#include <stdlib.h>
#include "extern/list.h"
#include "debug.h"
#include "util.h"
#include "olsrd.h"
Functions | |
int | co_olsrd_print_conf (const char *filename) |
prints OLSR configuration info from file (currently unimplemented) More... | |
int | co_olsrd_add_iface (const char *name, int mode, const char *Ipv4Broadcast) |
adds an interface to OLSRd More... | |
int | co_olsrd_remove_iface (char *name, int mode, char *Ipv4Broadcast) |
removes an interface from OLSRd More... | |
int | co_olsrd_add_hna (const int family, const char *address, const char *netmask) |
adds a host network address to OLSRd More... | |
int | co_olsrd_remove_hna (int family, char *address, char *netmask) |
remves a host network address from OLSRd More... | |
int | co_olsrd_init (co_obj_t *self) |
initiates the OLSR daemon when a new process gets created (currently unimplemented) More... | |
Variables | |
co_process_t | olsrd_process_proto |
Detailed Description
OLSRd configuration and process management.
Function Documentation
int co_olsrd_add_hna | ( | const int | family, |
const char * | address, | ||
const char * | netmask | ||
) |
adds a host network address to OLSRd
- Parameters
-
family the address family address the network address for the interface netmask the netmask for the interface
contains host network address settings, including family, address and netmask
Definition: olsrd.h:84
int co_olsrd_add_iface | ( | const char * | name, |
int | mode, | ||
const char * | Ipv4Broadcast | ||
) |
adds an interface to OLSRd
- Parameters
-
name name of the interface to be added mode network mode for interface Ipv4Broadcast IPv4 broadcast address (node address, using netmask as last octet)
contains interace configuration settings for OLSR, including interface name, mode and IPv4 broadcast ...
Definition: olsrd.h:74
int co_olsrd_init | ( | co_obj_t * | self | ) |
initiates the OLSR daemon when a new process gets created (currently unimplemented)
- Parameters
-
self process to be called
int co_olsrd_print_conf | ( | const char * | filename | ) |
prints OLSR configuration info from file (currently unimplemented)
- Parameters
-
filename the configuration file
References name.
int co_olsrd_remove_hna | ( | int | family, |
char * | address, | ||
char * | netmask | ||
) |
remves a host network address from OLSRd
- Parameters
-
family the address family address the network address for the interface netmask the netmask for the interface
contains host network address settings, including family, address and netmask
Definition: olsrd.h:84
int co_olsrd_remove_iface | ( | char * | name, |
int | mode, | ||
char * | Ipv4Broadcast | ||
) |
removes an interface from OLSRd
- Parameters
-
name name of the interface to be removed mode network mode for interface Ipv4Broadcast IPv4 broadcast address (node address, using netmask as last octet)
References name.
contains interace configuration settings for OLSR, including interface name, mode and IPv4 broadcast ...
Definition: olsrd.h:74
Variable Documentation
co_process_t olsrd_process_proto |
Initial value:
= {
.init = co_olsrd_init
}
int co_olsrd_init(co_obj_t *self)
initiates the OLSR daemon when a new process gets created (currently unimplemented) ...
Definition: olsrd.c:248
Generated on Fri Jun 6 2014 13:22:05 for commotiond by 1.8.7