cregit-Linux how code gets into the kernel

Release 4.12 include/net/tc_act/tc_mirred.h

#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;
	
int			tcfm_ifindex;
	
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

PersonTokensPropCommitsCommitProp
Sridhar Samudrala4497.78%150.00%
Shmulik Ladkani12.22%150.00%
Total45100.00%2100.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

PersonTokensPropCommitsCommitProp
Yotam Gigi4497.78%150.00%
Shmulik Ladkani12.22%150.00%
Total45100.00%2100.00%


static inline int tcf_mirred_ifindex(const struct tc_action *a) { return to_mirred(a)->tcfm_ifindex; }

Contributors

PersonTokensPropCommitsCommitProp
Sridhar Samudrala21100.00%1100.00%
Total21100.00%1100.00%

#endif /* __NET_TC_MIR_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Sridhar Samudrala6842.24%18.33%
Yotam Gigi4427.33%18.33%
Jamal Hadi Salim2414.91%18.33%
David S. Miller127.45%18.33%
Stephen Hemminger42.48%18.33%
Shmulik Ladkani42.48%216.67%
Américo Wang31.86%325.00%
Eric Dumazet10.62%18.33%
Thomas Graf10.62%18.33%
Total161100.00%12100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.