can-eth-gw-utils Utilities
0.1
A bidirectional CAN to Ethernet Gateway (Utilities)
|
Control Area Network - Ethernet - Gateway - Netlink Header (Utility) More...
#include <stdint.h>
Go to the source code of this file.
#define | F_CAN_FD 0x00000001 |
#define | TYPE_MAX (__TYPE_MAX - 1) |
#define | CE_GW_C_MAX (__CE_GW_C_MAX - 1) |
enum | gw_type { TYPE_NONE, TYPE_ETH, TYPE_NET, TYPE_TCP, TYPE_UDP, __TYPE_MAX } |
enum | { CE_GW_C_UNSPEC, CE_GW_C_ECHO, CE_GW_C_ADD, CE_GW_C_DEL, CE_GW_C_LIST, __CE_GW_C_MAX } |
int | ce_gw_add (char *dst_name, char *src_name, uint8_t type, uint32_t flags) |
add a virtual ethernet device or a route More... | |
int | ce_gw_del (uint32_t id, char *dev_name) |
Deletes a device or a route in Kernel Module. More... | |
int | ce_gw_list (uint32_t id) |
Print informations of actual active routes to stdout. More... | |
int | ce_gw_echo (char *message) |
send a message and return the received message from Kernel. (for testing) More... | |
int | nl_sk_fam_init (void) |
creakte socket and family and connect More... | |
void | nl_sk_fam_exit (void) |
freeing the alloccated memory. The Function free the memory allocated by nl_sk_fam_init(). More... | |
Control Area Network - Ethernet - Gateway - Netlink Header (Utility)
Definition in file netlink.h.
#define CE_GW_C_MAX (__CE_GW_C_MAX - 1) |
#define F_CAN_FD 0x00000001 |
#define TYPE_MAX (__TYPE_MAX - 1) |
Definition at line 51 of file netlink.h.
Referenced by nl_cb_list_entry().
anonymous enum |
Definition at line 58 of file netlink.h.
enum gw_type |