Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dnf_tables_offload.c242 static void nft_flow_cls_offload_setup(struct flow_cls_offload *cls_flow, in nft_flow_cls_offload_setup() argument
251 memset(cls_flow, 0, sizeof(*cls_flow)); in nft_flow_cls_offload_setup()
256 nft_flow_offload_common_init(&cls_flow->common, proto, in nft_flow_cls_offload_setup()
258 cls_flow->command = command; in nft_flow_cls_offload_setup()
259 cls_flow->cookie = (unsigned long) rule; in nft_flow_cls_offload_setup()
261 cls_flow->rule = flow->rule; in nft_flow_cls_offload_setup()
268 struct flow_cls_offload *cls_flow) in nft_flow_offload_cmd() argument
277 nft_flow_cls_offload_setup(cls_flow, basechain, rule, flow, &extack, in nft_flow_offload_cmd()
280 return nft_setup_cb_call(TC_SETUP_CLSFLOWER, cls_flow, in nft_flow_offload_cmd()
289 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.6.21/net/sched/
DMakefile71 obj-$(CONFIG_NET_CLS_FLOW) += cls_flow.o
DKconfig524 module will be called cls_flow.