SingingCat
0
application
include
route_command.h
1
#ifndef __ROUTE_COMMAND_H
2
#define __ROUTE_COMMAND_H
3
#include "main-header.h"
4
5
typedef
struct
route
{
6
byte
used;
// non zero if this route is used
7
byte
match_device;
//the device on which it must be received
8
byte
out_device;
//the device via to send it
9
long
target;
// target match for this route (which it applies to) (0=ANY)
10
long
source;
// source match for this route (which it applies to) (0=ANY)
11
long
sendto;
// the next device to send to
12
}
_route
;
13
void
routing_command_debug(
byte
b);
14
void
routing_command_init();
15
void
route_command(
struct
command
*com);
/* set/remove a route */
16
struct
route
*get_configured_route(
struct
command
*com);
/* get a pre-configured route to a target */
17
void
print_forwarding_table();
18
#endif
command
Definition:
command.h:10
route
Definition:
route_command.h:5
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4