can_eth_gw Gateway Module
0.1
A bidirectional CAN to Ethernet Gateway (Kernel Module)
|
#include <ce_gw_main.h>
Data Fields | |
struct hlist_node | list |
struct rcu_head | rcu |
struct hlist_node | list_dev |
u32 | id |
enum ce_gw_type | type |
u32 | flags |
u32 | handled_frames |
u32 | dropped_frames |
union { | |
struct net_device * dev | |
} | src |
union { | |
struct net_device * dev | |
} | dst |
union { | |
struct can_filter can_rcv_filter | |
}; | |
Definition at line 72 of file ce_gw_main.h.
union { ... } |
Filter incoming packet
struct can_filter can_rcv_filter |
Definition at line 89 of file ce_gw_main.h.
Referenced by ce_gw_create_route(), ce_gw_register_can_src(), ce_gw_remove_route(), and ce_gw_unregister_can_src().
struct net_device* dev |
Definition at line 83 of file ce_gw_main.h.
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_dev_job_add(), ce_gw_dev_job_dst_add(), ce_gw_dev_job_src_add(), ce_gw_eth_rcv(), ce_gw_netlink_list(), ce_gw_register_can_src(), ce_gw_remove_route(), ce_gw_unregister_can_src(), and list_jobs().
u32 dropped_frames |
counter for dropped_frames
Definition at line 80 of file ce_gw_main.h.
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_eth_rcv(), ce_gw_netlink_list(), and test_hash_list().
union { ... } dst |
CAN / ETH frame data destination
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_dev_job_add(), ce_gw_dev_job_dst_add(), ce_gw_eth_rcv(), ce_gw_netlink_list(), ce_gw_remove_route(), and list_jobs().
u32 flags |
Flags with settings of the Gateway
Definition at line 78 of file ce_gw_main.h.
Referenced by ce_gw_create_route(), and ce_gw_netlink_list().
u32 handled_frames |
counter for handles frames
Definition at line 79 of file ce_gw_main.h.
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_eth_rcv(), and ce_gw_netlink_list().
u32 id |
Unique Identifier of Gateway
Definition at line 76 of file ce_gw_main.h.
Referenced by ce_gw_create_route(), ce_gw_dev_unregister(), ce_gw_eth_rcv(), ce_gw_netlink_list(), ce_gw_remove_route(), and list_jobs().
struct hlist_node list |
List entry for ce_gw_job_list main list
Definition at line 73 of file ce_gw_main.h.
Referenced by ce_gw_create_route(), ce_gw_remove_route(), and test_hash_list().
struct hlist_node list_dev |
List entry from the ETH device
Definition at line 75 of file ce_gw_main.h.
Referenced by ce_gw_dev_job_dst_add(), ce_gw_dev_job_remove(), and ce_gw_dev_job_src_add().
struct rcu_head rcu |
Lock monitor
Definition at line 74 of file ce_gw_main.h.
union { ... } src |
CAN / ETH frame data source
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_dev_job_add(), ce_gw_dev_job_src_add(), ce_gw_netlink_list(), ce_gw_register_can_src(), ce_gw_remove_route(), ce_gw_unregister_can_src(), and list_jobs().
enum ce_gw_type type |
Translation type of the Gateway
Definition at line 77 of file ce_gw_main.h.
Referenced by ce_gw_can_rcv(), ce_gw_create_route(), ce_gw_eth_rcv(), and ce_gw_netlink_list().