dessert-extra.h File Reference

#include <dessert.h>
#include <libcli.h>
Include dependency graph for dessert-extra.h:

Go to the source code of this file.

Functions

int dessert_cli_cmd_addsysif (struct cli_def *cli, char *command, char *argv[], int argc)
 Add TAP interface.
int dessert_cli_cmd_addsysif_tun (struct cli_def *cli, char *command, char *argv[], int argc)
 Add TUN interface.
int dessert_cli_cmd_addmeshif (struct cli_def *cli, char *command, char *argv[], int argc)
 Add mesh mesh interface.
int dessert_cli_cmd_ping (struct cli_def *cli, char *command, char *argv[], int argc)
 Send a ping packet.
int dessert_cli_cmd_traceroute (struct cli_def *cli, char *command, char *argv[], int argc)
 Trace route to destination.
int dessert_mesh_ping (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Handle ping packets.
int dessert_mesh_pong (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Handle pong packets.
int dessert_mesh_trace (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Handle trace packets.
int dessert_mesh_ipttl (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Enable IP-based tracing.
int dessert_mesh_drop_ethernet (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Drop messages with Ethernet extension.
int dessert_mesh_drop_ip (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *iface, dessert_frameid_t id)
 Drop messages without Ethernet extension.
int dessert_sys_drop_ipv6 (dessert_msg_t *msg, size_t len, dessert_msg_proc_t *proc, const dessert_sysif_t *sysif, dessert_frameid_t id)
 Drop IPv6 datagrams.

int dessert_msg_trace_initiate (dessert_msg_t *msg, uint8_t type, int mode)
 Helper Functions.

Detailed Description