#include <csp/csp_types.h>
Go to the source code of this file.
Macros | |
#define | CSP_NODE_MAC 0xFF |
#define | CSP_ROUTE_COUNT (CSP_ID_HOST_MAX + 2) |
#define | CSP_ROUTE_TABLE_SIZE 5 * CSP_ROUTE_COUNT |
#define | csp_route_set(node, ifc, mac) csp_rtable_set(node, CSP_ID_HOST_SIZE, ifc, mac) |
#define | csp_route_print_table() csp_rtable_print(); |
#define | csp_route_print_interfaces() csp_iflist_print(); |
Functions | |
csp_iface_t * | csp_rtable_find_iface (uint8_t id) |
uint8_t | csp_rtable_find_mac (uint8_t id) |
int | csp_rtable_set (uint8_t node, uint8_t mask, csp_iface_t *ifc, uint8_t mac) |
void | csp_rtable_print (void) |
void | csp_route_table_load (uint8_t route_table_in[CSP_ROUTE_TABLE_SIZE]) |
void | csp_route_table_save (uint8_t route_table_out[CSP_ROUTE_TABLE_SIZE]) |
int | csp_rtable_save (char *buffer, int maxlen) |
void | csp_rtable_load (char *buffer) |
int | csp_rtable_check (char *buffer) |
void | csp_rtable_clear (void) |