Home
last modified time | relevance | path

Searched refs:exts (Results 1 – 1 of 1) sorted by relevance

/include/net/
Dpkt_cls.h222 static inline int tcf_exts_init(struct tcf_exts *exts, struct net *net, in tcf_exts_init() argument
226 exts->type = 0; in tcf_exts_init()
227 exts->nr_actions = 0; in tcf_exts_init()
228 exts->net = net; in tcf_exts_init()
229 exts->actions = kcalloc(TCA_ACT_MAX_PRIO, sizeof(struct tc_action *), in tcf_exts_init()
231 if (!exts->actions) in tcf_exts_init()
234 exts->action = action; in tcf_exts_init()
235 exts->police = police; in tcf_exts_init()
243 static inline bool tcf_exts_get_net(struct tcf_exts *exts) in tcf_exts_get_net() argument
246 exts->net = maybe_get_net(exts->net); in tcf_exts_get_net()
[all …]