|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the implementation of reflection list structures. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <syslog.h>#include "../utils/allocs.h"#include "../utils/log.h"#include "reflection_list.h"Functions | |
| void | setup_reflection_if_el (struct reflection_list *el, unsigned int ifindex, const char *ifname) |
| struct reflection_list * | init_reflection_list (void) |
| Initialises the reflection list. More... | |
| struct reflection_list * | push_reflection_list (struct reflection_list *rif, unsigned int ifindex, const char *ifname) |
| Pushes an interface element to the reflection list. More... | |
| struct reflection_list * | pop_reflection_list (struct reflection_list *rif) |
| void | free_reflection_list_el (struct reflection_list *el) |
| void | free_reflection_list (struct reflection_list *rif) |
| Frees the reflection list. More... | |
File containing the implementation of reflection list structures.
| void free_reflection_list | ( | struct reflection_list * | rif | ) |
Frees the reflection list.
| rif | The reflection list |
| void free_reflection_list_el | ( | struct reflection_list * | el | ) |
| struct reflection_list* init_reflection_list | ( | void | ) |
Initialises the reflection list.
| struct reflection_list* pop_reflection_list | ( | struct reflection_list * | rif | ) |
| struct reflection_list* push_reflection_list | ( | struct reflection_list * | rif, |
| unsigned int | ifindex, | ||
| const char * | ifname | ||
| ) |
Pushes an interface element to the reflection list.
| rif | The reflection list |
| ifindex | The interface index |
| ifname | The interface name |
| void setup_reflection_if_el | ( | struct reflection_list * | el, |
| unsigned int | ifindex, | ||
| const char * | ifname | ||
| ) |