Release 4.7 include/net/tc_act/tc_gact.h
#ifndef __NET_TC_GACT_H
#define __NET_TC_GACT_H
#include <net/act_api.h>
#include <linux/tc_act/tc_gact.h>
struct tcf_gact {
struct tcf_common common;
#ifdef CONFIG_GACT_PROB
u16 tcfg_ptype;
u16 tcfg_pval;
int tcfg_paction;
atomic_t packets;
#endif
};
#define to_gact(a) \
container_of(a->priv, struct tcf_gact, common)
static inline bool is_tcf_gact_shot(const struct tc_action *a)
{
#ifdef CONFIG_NET_CLS_ACT
struct tcf_gact *gact;
if (a->ops && a->ops->type != TCA_ACT_GACT)
return false;
gact = a->priv;
if (gact->tcf_action == TC_ACT_SHOT)
return true;
#endif
return false;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
john fastabend | john fastabend | 55 | 91.67% | 1 | 50.00% |
amir vadai | amir vadai | 5 | 8.33% | 1 | 50.00% |
| Total | 60 | 100.00% | 2 | 100.00% |
#endif /* __NET_TC_GACT_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
john fastabend | john fastabend | 60 | 55.05% | 1 | 14.29% |
jamal hadi salim | jamal hadi salim | 24 | 22.02% | 1 | 14.29% |
david s. miller | david s. miller | 14 | 12.84% | 1 | 14.29% |
amir vadai | amir vadai | 5 | 4.59% | 1 | 14.29% |
eric dumazet | eric dumazet | 3 | 2.75% | 1 | 14.29% |
americo wang | americo wang | 2 | 1.83% | 1 | 14.29% |
thomas graf | thomas graf | 1 | 0.92% | 1 | 14.29% |
| Total | 109 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.