Release 4.7 net/batman-adv/bridge_loop_avoidance.h
/* Copyright (C) 2011-2016 B.A.T.M.A.N. contributors:
*
* Simon Wunderlich
*
* 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_BLA_H_
#define _NET_BATMAN_ADV_BLA_H_
#include "main.h"
#include <linux/types.h>
struct net_device;
struct seq_file;
struct sk_buff;
#ifdef CONFIG_BATMAN_ADV_BLA
bool batadv_bla_rx(struct batadv_priv *bat_priv, struct sk_buff *skb,
unsigned short vid, bool is_bcast);
bool batadv_bla_tx(struct batadv_priv *bat_priv, struct sk_buff *skb,
unsigned short vid);
bool batadv_bla_is_backbone_gw(struct sk_buff *skb,
struct batadv_orig_node *orig_node,
int hdr_size);
int batadv_bla_claim_table_seq_print_text(struct seq_file *seq, void *offset);
int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq,
void *offset);
bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, u8 *orig,
unsigned short vid);
bool batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv,
struct sk_buff *skb);
void batadv_bla_update_orig_address(struct batadv_priv *bat_priv,
struct batadv_hard_iface *primary_if,
struct batadv_hard_iface *oldif);
void batadv_bla_status_update(struct net_device *net_dev);
int batadv_bla_init(struct batadv_priv *bat_priv);
void batadv_bla_free(struct batadv_priv *bat_priv);
#define BATADV_BLA_CRC_INIT 0
#else /* ifdef CONFIG_BATMAN_ADV_BLA */
static inline bool batadv_bla_rx(struct batadv_priv *bat_priv,
struct sk_buff *skb, unsigned short vid,
bool is_bcast)
{
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 22 | 81.48% | 2 | 33.33% |
sven eckelmann | sven eckelmann | 4 | 14.81% | 3 | 50.00% |
antonio quartulli | antonio quartulli | 1 | 3.70% | 1 | 16.67% |
| Total | 27 | 100.00% | 6 | 100.00% |
static inline bool batadv_bla_tx(struct batadv_priv *bat_priv,
struct sk_buff *skb, unsigned short vid)
{
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 19 | 79.17% | 1 | 20.00% |
sven eckelmann | sven eckelmann | 4 | 16.67% | 3 | 60.00% |
antonio quartulli | antonio quartulli | 1 | 4.17% | 1 | 20.00% |
| Total | 24 | 100.00% | 5 | 100.00% |
static inline bool batadv_bla_is_backbone_gw(struct sk_buff *skb,
struct batadv_orig_node *orig_node,
int hdr_size)
{
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 19 | 82.61% | 1 | 25.00% |
sven eckelmann | sven eckelmann | 4 | 17.39% | 3 | 75.00% |
| Total | 23 | 100.00% | 4 | 100.00% |
static inline int batadv_bla_claim_table_seq_print_text(struct seq_file *seq,
void *offset)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 18 | 94.74% | 2 | 66.67% |
sven eckelmann | sven eckelmann | 1 | 5.26% | 1 | 33.33% |
| Total | 19 | 100.00% | 3 | 100.00% |
static inline int batadv_bla_backbone_table_seq_print_text(struct seq_file *seq,
void *offset)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 19 | 100.00% | 2 | 100.00% |
| Total | 19 | 100.00% | 2 | 100.00% |
static inline bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv,
u8 *orig, unsigned short vid)
{
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 14 | 60.87% | 1 | 20.00% |
antonio quartulli | antonio quartulli | 6 | 26.09% | 1 | 20.00% |
sven eckelmann | sven eckelmann | 3 | 13.04% | 3 | 60.00% |
| Total | 23 | 100.00% | 5 | 100.00% |
static inline bool
batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv,
struct sk_buff *skb)
{
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 16 | 80.00% | 2 | 40.00% |
sven eckelmann | sven eckelmann | 4 | 20.00% | 3 | 60.00% |
| Total | 20 | 100.00% | 5 | 100.00% |
static inline void
batadv_bla_update_orig_address(struct batadv_priv *bat_priv,
struct batadv_hard_iface *primary_if,
struct batadv_hard_iface *oldif)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 17 | 80.95% | 1 | 33.33% |
sven eckelmann | sven eckelmann | 4 | 19.05% | 2 | 66.67% |
| Total | 21 | 100.00% | 3 | 100.00% |
static inline int batadv_bla_init(struct batadv_priv *bat_priv)
{
return 1;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 13 | 86.67% | 1 | 33.33% |
sven eckelmann | sven eckelmann | 2 | 13.33% | 2 | 66.67% |
| Total | 15 | 100.00% | 3 | 100.00% |
static inline void batadv_bla_free(struct batadv_priv *bat_priv)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 9 | 81.82% | 1 | 33.33% |
sven eckelmann | sven eckelmann | 2 | 18.18% | 2 | 66.67% |
| Total | 11 | 100.00% | 3 | 100.00% |
#endif /* ifdef CONFIG_BATMAN_ADV_BLA */
#endif /* ifndef _NET_BATMAN_ADV_BLA_H_ */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
simon wunderlich | simon wunderlich | 318 | 79.70% | 9 | 50.00% |
sven eckelmann | sven eckelmann | 66 | 16.54% | 7 | 38.89% |
antonio quartulli | antonio quartulli | 15 | 3.76% | 2 | 11.11% |
| Total | 399 | 100.00% | 18 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.