Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dnf_tables_offload.c241 static void nft_flow_cls_offload_setup(struct flow_cls_offload *cls_flow, in nft_flow_cls_offload_setup() argument
250 memset(cls_flow, 0, sizeof(*cls_flow)); in nft_flow_cls_offload_setup()
255 nft_flow_offload_common_init(&cls_flow->common, proto, in nft_flow_cls_offload_setup()
257 cls_flow->command = command; in nft_flow_cls_offload_setup()
258 cls_flow->cookie = (unsigned long) rule; in nft_flow_cls_offload_setup()
260 cls_flow->rule = flow->rule; in nft_flow_cls_offload_setup()
267 struct flow_cls_offload *cls_flow) in nft_flow_offload_cmd() argument
276 nft_flow_cls_offload_setup(cls_flow, basechain, rule, flow, &extack, in nft_flow_offload_cmd()
279 return nft_setup_cb_call(TC_SETUP_CLSFLOWER, cls_flow, in nft_flow_offload_cmd()
288 struct flow_cls_offload cls_flow; in nft_flow_offload_rule() local
[all …]
Dnf_flow_table_offload.c822 static void nf_flow_offload_init(struct flow_cls_offload *cls_flow, in nf_flow_offload_init() argument
828 cls_flow->common.protocol = proto; in nf_flow_offload_init()
829 cls_flow->common.prio = priority; in nf_flow_offload_init()
830 cls_flow->common.extack = extack; in nf_flow_offload_init()
831 cls_flow->command = cmd; in nf_flow_offload_init()
832 cls_flow->cookie = (unsigned long)tuple; in nf_flow_offload_init()
843 struct flow_cls_offload cls_flow = {}; in nf_flow_offload_tuple() local
849 nf_flow_offload_init(&cls_flow, proto, priority, cmd, in nf_flow_offload_tuple()
852 cls_flow.rule = flow_rule->rule; in nf_flow_offload_tuple()
856 err = block_cb->cb(TC_SETUP_CLSFLOWER, &cls_flow, in nf_flow_offload_tuple()
[all …]
/linux-6.1.9/net/sched/
DMakefile76 obj-$(CONFIG_NET_CLS_FLOW) += cls_flow.o
DKconfig599 module will be called cls_flow.