Release 4.16 include/net/tc_act/tc_mirred.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_TC_MIR_H
#define __NET_TC_MIR_H
#include <net/act_api.h>
#include <linux/tc_act/tc_mirred.h>
struct tcf_mirred {
struct tc_action common;
int tcfm_eaction;
bool tcfm_mac_header_xmit;
struct net_device __rcu *tcfm_dev;
struct list_head tcfm_list;
};
#define to_mirred(a) ((struct tcf_mirred *)a)
static inline bool is_tcf_mirred_egress_redirect(const struct tc_action *a)
{
#ifdef CONFIG_NET_CLS_ACT
if (a->ops && a->ops->type == TCA_ACT_MIRRED)
return to_mirred(a)->tcfm_eaction == TCA_EGRESS_REDIR;
#endif
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sridhar Samudrala | 44 | 97.78% | 1 | 50.00% |
Shmulik Ladkani | 1 | 2.22% | 1 | 50.00% |
Total | 45 | 100.00% | 2 | 100.00% |
static inline bool is_tcf_mirred_egress_mirror(const struct tc_action *a)
{
#ifdef CONFIG_NET_CLS_ACT
if (a->ops && a->ops->type == TCA_ACT_MIRRED)
return to_mirred(a)->tcfm_eaction == TCA_EGRESS_MIRROR;
#endif
return false;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yotam Gigi | 44 | 97.78% | 1 | 50.00% |
Shmulik Ladkani | 1 | 2.22% | 1 | 50.00% |
Total | 45 | 100.00% | 2 | 100.00% |
static inline struct net_device *tcf_mirred_dev(const struct tc_action *a)
{
return rtnl_dereference(to_mirred(a)->tcfm_dev);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sridhar Samudrala | 18 | 69.23% | 1 | 50.00% |
Américo Wang | 8 | 30.77% | 1 | 50.00% |
Total | 26 | 100.00% | 2 | 100.00% |
#endif /* __NET_TC_MIR_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sridhar Samudrala | 65 | 39.63% | 1 | 7.14% |
Yotam Gigi | 44 | 26.83% | 1 | 7.14% |
Jamal Hadi Salim | 22 | 13.41% | 1 | 7.14% |
Américo Wang | 11 | 6.71% | 4 | 28.57% |
David S. Miller | 11 | 6.71% | 1 | 7.14% |
Shmulik Ladkani | 4 | 2.44% | 2 | 14.29% |
Stephen Hemminger | 4 | 2.44% | 1 | 7.14% |
Eric Dumazet | 1 | 0.61% | 1 | 7.14% |
Greg Kroah-Hartman | 1 | 0.61% | 1 | 7.14% |
Thomas Graf | 1 | 0.61% | 1 | 7.14% |
Total | 164 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.