Release 4.11 net/batman-adv/network-coding.h
/* Copyright (C) 2012-2017 B.A.T.M.A.N. contributors:
*
* Martin Hundebøll, Jeppe Ledet-Pedersen
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _NET_BATMAN_ADV_NETWORK_CODING_H_
#define _NET_BATMAN_ADV_NETWORK_CODING_H_
#include "main.h"
#include <linux/types.h>
struct batadv_ogm_packet;
struct net_device;
struct seq_file;
struct sk_buff;
#ifdef CONFIG_BATMAN_ADV_NC
void batadv_nc_status_update(struct net_device *net_dev);
int batadv_nc_init(void);
int batadv_nc_mesh_init(struct batadv_priv *bat_priv);
void batadv_nc_mesh_free(struct batadv_priv *bat_priv);
void batadv_nc_update_nc_node(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
struct batadv_orig_node *orig_neigh_node,
struct batadv_ogm_packet *ogm_packet,
int is_single_hop_neigh);
void batadv_nc_purge_orig(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
bool (*to_purge)(struct batadv_priv *,
struct batadv_nc_node *));
void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv);
void batadv_nc_init_orig(struct batadv_orig_node *orig_node);
bool batadv_nc_skb_forward(struct sk_buff *skb,
struct batadv_neigh_node *neigh_node);
void batadv_nc_skb_store_for_decoding(struct batadv_priv *bat_priv,
struct sk_buff *skb);
void batadv_nc_skb_store_sniffed_unicast(struct batadv_priv *bat_priv,
struct sk_buff *skb);
int batadv_nc_nodes_seq_print_text(struct seq_file *seq, void *offset);
int batadv_nc_init_debugfs(struct batadv_priv *bat_priv);
#else /* ifdef CONFIG_BATMAN_ADV_NC */
static inline void batadv_nc_status_update(struct net_device *net_dev)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Marek Lindner | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
static inline int batadv_nc_init(void)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Matthias Schiffer | 7 | 58.33% | 1 | 50.00% |
Martin Hundeböll | 5 | 41.67% | 1 | 50.00% |
Total | 12 | 100.00% | 2 | 100.00% |
static inline int batadv_nc_mesh_init(struct batadv_priv *bat_priv)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 10 | 66.67% | 1 | 50.00% |
Matthias Schiffer | 5 | 33.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
static inline void batadv_nc_mesh_free(struct batadv_priv *bat_priv)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 9 | 81.82% | 1 | 33.33% |
Matthias Schiffer | 1 | 9.09% | 1 | 33.33% |
Antonio Quartulli | 1 | 9.09% | 1 | 33.33% |
Total | 11 | 100.00% | 3 | 100.00% |
static inline void
batadv_nc_update_nc_node(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
struct batadv_orig_node *orig_neigh_node,
struct batadv_ogm_packet *ogm_packet,
int is_single_hop_neigh)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 28 | 96.55% | 1 | 50.00% |
Antonio Quartulli | 1 | 3.45% | 1 | 50.00% |
Total | 29 | 100.00% | 2 | 100.00% |
static inline void
batadv_nc_purge_orig(struct batadv_priv *bat_priv,
struct batadv_orig_node *orig_node,
bool (*to_purge)(struct batadv_priv *,
struct batadv_nc_node *))
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 30 | 96.77% | 1 | 50.00% |
Antonio Quartulli | 1 | 3.23% | 1 | 50.00% |
Total | 31 | 100.00% | 2 | 100.00% |
static inline void batadv_nc_init_bat_priv(struct batadv_priv *bat_priv)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 10 | 90.91% | 1 | 50.00% |
Antonio Quartulli | 1 | 9.09% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
static inline void batadv_nc_init_orig(struct batadv_orig_node *orig_node)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 10 | 90.91% | 1 | 50.00% |
Antonio Quartulli | 1 | 9.09% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
static inline bool batadv_nc_skb_forward(struct sk_buff *skb,
struct batadv_neigh_node *neigh_node)
{
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
static inline void
batadv_nc_skb_store_for_decoding(struct batadv_priv *bat_priv,
struct sk_buff *skb)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 15 | 93.75% | 1 | 50.00% |
Antonio Quartulli | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline void
batadv_nc_skb_store_sniffed_unicast(struct batadv_priv *bat_priv,
struct sk_buff *skb)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 15 | 93.75% | 1 | 50.00% |
Antonio Quartulli | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline int batadv_nc_nodes_seq_print_text(struct seq_file *seq,
void *offset)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
static inline int batadv_nc_init_debugfs(struct batadv_priv *bat_priv)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
#endif /* ifdef CONFIG_BATMAN_ADV_NC */
#endif /* _NET_BATMAN_ADV_NETWORK_CODING_H_ */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Martin Hundeböll | 359 | 84.47% | 4 | 44.44% |
Marek Lindner | 20 | 4.71% | 1 | 11.11% |
Matthias Schiffer | 20 | 4.71% | 1 | 11.11% |
Sven Eckelmann | 19 | 4.47% | 2 | 22.22% |
Antonio Quartulli | 7 | 1.65% | 1 | 11.11% |
Total | 425 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.