can_eth_gw Gateway Module  0.1
A bidirectional CAN to Ethernet Gateway (Kernel Module)
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
ce_gw_job Struct Reference

#include <ce_gw_main.h>

Collaboration diagram for ce_gw_job:
Collaboration graph

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
 
}; 
 

Detailed Description

Definition at line 72 of file ce_gw_main.h.

Field Documentation

union { ... }

Filter incoming packet

struct can_filter can_rcv_filter
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().

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.

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().


The documentation for this struct was generated from the following file: