OLSRd configuration and process management. More...
Go to the source code of this file.
Classes | |
struct | co_olsrd_process_t |
contains the OLSRd process protocol More... | |
struct | co_olsrd_conf_item_t |
contains the key and value for configuring OLSRd for Commotion More... | |
struct | co_olsrd_conf_plugin_t |
contains the number of configuration items for OLSRd More... | |
struct | co_olsrd_conf_iface_t |
contains interace configuration settings for OLSR, including interface name, mode and IPv4 broadcast message More... | |
struct | co_olsrd_conf_hna_t |
contains host network address settings, including family, address and netmask More... | |
Macros | |
#define | OLSR_HNA4 (1 << 0) |
#define | OLSR_HNA6 (1 << 1) |
#define | OLSR_IFACE_MESH (1 << 0) |
#define | OLSR_IFACE_ETHER (1 << 1) |
Functions | |
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_print_conf (const char *filename) |
prints OLSR configuration info from file (currently unimplemented) More... | |
int | co_olsrd_init (co_obj_t *self) |
initiates the OLSR daemon when a new process gets created (currently unimplemented) More... | |
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
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)
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
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.
Generated on Fri Jun 6 2014 13:22:05 for commotiond by 1.8.7