diff options
Diffstat (limited to 'net/batman-adv/network-coding.h')
-rw-r--r-- | net/batman-adv/network-coding.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/batman-adv/network-coding.h b/net/batman-adv/network-coding.h index 4c56cd98d9de..c32602a3939a 100644 --- a/net/batman-adv/network-coding.h +++ b/net/batman-adv/network-coding.h | |||
@@ -35,6 +35,9 @@ void batadv_nc_purge_orig(struct batadv_priv *bat_priv, | |||
35 | struct batadv_nc_node *)); | 35 | struct batadv_nc_node *)); |
36 | void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv); | 36 | void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv); |
37 | void batadv_nc_init_orig(struct batadv_orig_node *orig_node); | 37 | void batadv_nc_init_orig(struct batadv_orig_node *orig_node); |
38 | bool batadv_nc_skb_forward(struct sk_buff *skb, | ||
39 | struct batadv_neigh_node *neigh_node, | ||
40 | struct ethhdr *ethhdr); | ||
38 | int batadv_nc_nodes_seq_print_text(struct seq_file *seq, void *offset); | 41 | int batadv_nc_nodes_seq_print_text(struct seq_file *seq, void *offset); |
39 | int batadv_nc_init_debugfs(struct batadv_priv *bat_priv); | 42 | int batadv_nc_init_debugfs(struct batadv_priv *bat_priv); |
40 | 43 | ||
@@ -79,6 +82,13 @@ static inline void batadv_nc_init_orig(struct batadv_orig_node *orig_node) | |||
79 | return; | 82 | return; |
80 | } | 83 | } |
81 | 84 | ||
85 | static inline bool batadv_nc_skb_forward(struct sk_buff *skb, | ||
86 | struct batadv_neigh_node *neigh_node, | ||
87 | struct ethhdr *ethhdr) | ||
88 | { | ||
89 | return false; | ||
90 | } | ||
91 | |||
82 | static inline int batadv_nc_nodes_seq_print_text(struct seq_file *seq, | 92 | static inline int batadv_nc_nodes_seq_print_text(struct seq_file *seq, |
83 | void *offset) | 93 | void *offset) |
84 | { | 94 | { |