EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of reflection list structures. More...
#include <stdbool.h>
#include <sys/socket.h>
#include <net/if.h>
#include <sys/types.h>
#include <list.h>
Go to the source code of this file.
Data Structures | |
struct | reflection_list |
Functions | |
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... | |
void | free_reflection_list (struct reflection_list *rif) |
Frees the reflection list. More... | |
File containing the definition of reflection list structures.
void free_reflection_list | ( | struct reflection_list * | rif | ) |
Frees the reflection list.
rif | The reflection list |
struct reflection_list* init_reflection_list | ( | void | ) |
Initialises the reflection list.
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 |